作者
Asta Risak Johansen,Isabella Kjær Laursen,Vár Jacobsen,Zacharias Henriksson Møller,Simon Lebech Cichosz
摘要
Accurate carbohydrate estimation is a cornerstone of insulin dosing in many individuals with diabetes.1 However, many real-world eating situations, such as mixed dishes, restaurant meals, or home cooking without measurements pose challenges: ingredient information can be incomplete or missing, and portion sizes may be unknown. This limits the effectiveness of traditional carbohydrate counting and often forces patients to rely on coarse estimations. In our recent study 2 comparing carbohydrate estimates from a large language model (LLM) versus manual counting, we observed mixed results regarding accuracy. These findings underscore the limitations of relying solely on free-form text output for dosing decisions. Recent developments in multimodal LLM systems, combining image recognition, generation, and language-based reasoning, offer an interesting approach.3 When applied to meal photographs, such augmented image-based systems can provide not only a carbohydrate estimate, but also transparent reasoning in form of augmented images: a breakdown of what ingredients were detected, how portion size was inferred, and how the final carbohydrate estimate was derived. This transparency could help users understand, assess and, over time, calibrate their intuitive sense of carbohydrate content. Transforming the system from a "blackbox estimator" into an educational aid. We present a case-based example illustrating how a multimodal LLM system can be employed to generate annotated, evidence-informed guidance for carbohydrate estimation. As shown in Figure 1, a meal photograph is submitted to the system using a specialized prompt, resulting in an augmented image that identifies individual food items, provides estimated carbohydrate content for each component, and includes a reliability score reflecting the confidence of the estimation. The specialized prompt is structured in JSON format to provide a clear hierarchical organization of the task, assigned role, objectives, and specifications for the visual overlays applied to the augmented image. In our experience, this format yields more coherent and consistent outputs across diverse input photographs.