Open-KNEAD: Agent-Based Decomposition with Knowledge Retrieval for Localized Dietary Nutrition Estimation

This paper presents Open-KNEAD, a knowledge-driven dietary nutrition estimation framework that requires no training and can be deployed locally. While modern multimodal large language models (MLLMs) have surpassed traditional retrieval-augmented approaches in direct estimation, this work re-examines the clinical value of retrieval techniques for delivering precise portion sizes and traceable item-by-item records. Open-KNEAD employs agent-based decomposition to map food items in meal images to FNDDS database codes, enabling nutrition-aware selective retrieval. Experiments demonstrate that the method outperforms both direct estimation and prior approaches across multiple benchmarks. Notably, on the ACETADA dataset, its locally run open-source model achieves approximately 30–53% higher accuracy in portion estimation than two state-of-the-art closed-source models. Furthermore, a novel recipe prior step effectively corrects caloric bias in non-American cuisines caused by energy added during cooking. The framework preserves the advantages of single-image input, interpretability, and privacy protection, and both the framework and its knowledge base are open-sourced, offering a new path toward clinical deployment.

Background and Context

The integration of digital health technologies with personalized nutrition intervention has established multimodal large language models (MLLMs) as a central research focus for automatically assessing nutritional intake from meal images. Historically, retrieval-augmented generation (RAG) was considered the critical mechanism for enhancing the precision of these estimations, serving as a bridge between visual data and structured nutritional databases. However, recent empirical analyses indicate that the direct estimation capabilities of modern MLLMs have advanced significantly, often matching or surpassing complete retrieval workflows in overall performance metrics. This technological shift has precipitated a fundamental scientific inquiry regarding the utility of retrieval techniques: if retrieval no longer provides a substantial boost in aggregate accuracy, does it retain distinct clinical value?

The core argument presented in this research is that clinical practitioners prioritize metrics beyond simple caloric totals. The primary clinical requirements are precise portion size estimation and traceable, item-by-item transparent food records that allow for auditability. Existing direct estimation methods, while accurate in aggregate, often fail to provide the granular detail necessary for medical review. Consequently, the study introduces Open-KNEAD, a framework designed to resolve the tension between user convenience and clinical rigor. It aims to maintain a low user burden by requiring only a single, unlabeled photograph of a meal, while simultaneously ensuring high interpretability through audit trails and data privacy via local inference. This approach redefines the role of retrieval in nutrition estimation, shifting the focus from merely improving overall accuracy to providing structured, auditable, fine-grained information.

Deep Analysis

Open-KNEAD operates on a training-free, agent-based decomposition architecture that relies entirely on locally deployed open-source models. This design choice ensures both data privacy and deployment flexibility, addressing critical barriers in medical AI adoption. The framework’s core mechanism involves decomposing complex meal images into independent food items, which are then processed individually by specialized agents. For each identified food item, the system executes nutrition-aware selective retrieval, mapping the visual input to standard codes within the Food and Nutrient Database for Dietary Studies (FNDDS). This mapping process is not a simple visual match but a semantic alignment that integrates nutritional knowledge, thereby constructing a fully auditable record of individual components.

A pivotal innovation within Open-KNEAD is the integration of a recipe prior agent step, designed to recover critical factors that influence caloric estimation but are invisible in static images. Specifically, this mechanism accounts for energy added during cooking processes, such as oils, sugars, and sauces, which are often omitted in visual analysis. This step effectively compensates for the inherent limitations of pure vision models when identifying processed foods or non-American cuisines, where hidden ingredients are common. By introducing external knowledge to correct visual estimation biases, the framework achieves a cognitive leap from merely identifying visible elements to understanding the complete nutritional composition of the dish. This capability is particularly vital for non-Western diets, where cooking methods significantly alter the caloric density of raw ingredients.

The efficacy of Open-KNEAD was validated through extensive experiments across two open-source MLLM families and three distinct culinary dataset categories. The experimental setup compared direct estimation baselines, traditional retrieval-augmented baselines, and the proposed Open-KNEAD method. Results consistently demonstrated that Open-KNEAD outperformed previous grounding methods and direct estimation techniques across multiple benchmarks. The most significant performance gains were observed on the ACETADA dataset, which has been verified by dietitians. On this dataset, the locally run open-source agent model achieved approximately 30% to 53% higher accuracy in portion estimation compared to two state-of-the-art closed-source models. Ablation studies further revealed that the recipe prior step was decisive for correcting estimation biases in non-American cuisines, while for American cuisines, the framework’s primary advantage lay in its ability to deconstruct complex mixed dishes and provide detailed audit trails.

Industry Impact

The release of Open-KNEAD carries profound implications for the open-source community, industrial deployment, and future research in digital health. First, it demonstrates that open-source models can achieve, and in some cases exceed, the performance of closed commercial models in specific vertical domains without the need for large-scale fine-tuning. By leveraging carefully designed agent workflows and integrated knowledge bases, the framework significantly lowers the barrier to entry for medical AI applications. This democratization of high-precision nutrition assessment tools allows smaller healthcare providers and research institutions to access clinical-grade technology without the prohibitive costs associated with proprietary models.

Second, the framework’s emphasis on local deployment and single-image input aligns perfectly with the stringent privacy requirements and user experience standards of medical scenarios. The ability to process data locally ensures that sensitive patient health information never leaves the user’s device, mitigating risks associated with cloud-based data transmission. This feature makes Open-KNEAD particularly suitable for integration into wearable devices or mobile health applications, where real-time, private, and accurate nutritional feedback is essential. The preservation of interpretability through itemized records further enhances trust among healthcare professionals, who require transparent reasoning for clinical decision-making.

Finally, the open-sourcing of both the framework and the Agent-ready FNDDS knowledge base provides the research community with a standardized benchmark. This resource encourages further exploration into finer-grained nutrition decomposition algorithms and multimodal alignment techniques. As digital therapeutics continue to evolve, tools that are interpretable, auditable, and privacy-preserving will serve as crucial bridges between patients’ daily dietary habits and professional medical advice. Open-KNEAD sets a new standard for this transition, moving the field from rough caloric estimation toward precise, actionable medical insights.

Outlook

Looking forward, the trajectory of Open-KNEAD suggests a broader shift in how artificial intelligence is applied to dietary health. The success of agent-based decomposition in handling complex, real-world meal images indicates that future models will increasingly rely on modular, knowledge-grounded architectures rather than end-to-end black-box estimations. As more diverse culinary datasets become available, the recipe prior mechanism is likely to be refined to account for regional cooking variations, further enhancing the framework’s global applicability. The integration of dynamic feedback loops, where clinical outcomes inform the tuning of retrieval parameters, could lead to personalized nutrition models that adapt to individual metabolic responses over time.

Moreover, the emphasis on local deployment highlights a growing industry trend toward edge AI in healthcare. As hardware capabilities improve, the ability to run sophisticated, multi-agent systems on consumer devices will become standard, enabling real-time nutritional coaching without connectivity constraints. The open nature of the FNDDS knowledge base also invites cross-disciplinary collaboration, potentially linking nutritional data with genetic, microbiome, and activity data to create holistic health profiles. Ultimately, Open-KNEAD represents a significant step toward democratizing high-precision nutrition science, making clinical-grade dietary analysis accessible, private, and actionable for a global population.

Sources