CaLoRAify:基于视觉-文本配对与LoRA驱动视觉语言模型的卡路里估算
CaLoRAify: Calorie Estimation with Visual-Text Pairing and LoRA-Driven Visual Language Models
AI总结:
针对传统卡路里估算工具实用性不足的问题,研究构建了33万条图文对的CalData数据集,提出结合LoRA与RAG技术的CaLoRAify框架,仅需单张食物图像即可估算卡路里并支持对话交互,提升了VLM在该垂直领域的性能。
摘要:
被称为“沉重问题”的肥胖现象是全球可预防慢性病的主要诱因。传统卡路里估算工具往往依赖特定数据格式或复杂流程,限制了其在现实场景中的实用性。近年来,视觉语言模型(VLM)在理解现实场景、支持对话交互方面表现出色,非常适合食材分析等下游任务。然而,将VLM应用于卡路里估算需要领域专属数据与对齐策略。为此,我们整理了CalData——一个包含33万条图文对的数据集,专门用于食材识别与卡路里估算,该数据集结合了大规模食谱数据集与详细营养说明,可支撑鲁棒的视觉-语言训练。基于该数据集,我们提出CaLoRAify,这是一种新型VLM框架,通过图文对训练实现食材识别与卡路里估算的对齐。推理阶段,用户仅需单张单目食物图像即可估算卡路里,同时保留了基于智能体的对话交互灵活性。借助低秩适配(LoRA)与检索增强生成(RAG)技术,我们的系统提升了基础VLM在卡路里估算垂直领域的性能。我们的代码与数据已在https://github.com/KennyYao2001/16824-CaLORAify 完全开源。
英文摘要:
The obesity phenomenon, known as the heavy issue, is a leading cause of preventable chronic diseases worldwide. Traditional calorie estimation tools often rely on specific data formats or complex pipelines, limiting their practicality in real-world scenarios. Recently, vision-language models (VLMs) have excelled in understanding real-world contexts and enabling conversational interactions, making them ideal for downstream tasks such as ingredient analysis. However, applying VLMs to calorie estimation requires domain-specific data and alignment strategies. To this end, we curated CalData, a 330K image-text pair dataset tailored for ingredient recognition and calorie estimation, combining a large-scale recipe dataset with detailed nutritional instructions for robust vision-language training. Built upon this dataset, we present CaLoRAify, a novel VLM framework aligning ingredient recognition and calorie estimation via training with visual-text pairs. During inference, users only need a single monocular food image to estimate calories while retaining the flexibility of agent-based conversational interaction. With Low-rank Adaptation (LoRA) and Retrieve-augmented Generation (RAG) techniques, our system enhances the performance of foundational VLMs in the vertical domain of calorie estimation. Our code and data are fully open-sourced at https://github.com/KennyYao2001/16824-CaLORAify.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。