arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10261cs.CLcs.AI
收藏

FoodSky:一个通过厨师与营养师考试的面向食品的大语言模型

FoodSky: A Food-oriented Large Language Model that Passes the Chef and Dietetic Examination

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Institute of Intelligent Computing Technology, Chinese Academy of Sciences(中国科学院智能计算技术研究所);Zhongke Shenjian (Suzhou) Technology Co., Ltd(中科神箭(苏州)科技有限公司)

Pengfei Zhou, Weiqing Min, Chaoran Fu, Ying Jin, Mingyu Huang, Xiangyang Li, Shuhuan Mei, Shuqiang Jiang

AI总结:

本文提出面向食品的大语言模型 FoodSky,结合中文食品语料库 FoodEarth、TS3M 与 HTRAG,提升食品语义理解和上下文生成能力,并在国家厨师及营养师考试中显著超越通用 LLM。

摘要:

食物是人类生活的基础,不仅是营养来源,也是文化认同和社会互动的基石。随着全球饮食需求与偏好的复杂性不断增长,需要食品智能来实现食品感知与推理,以支持从食谱生成、饮食推荐到饮食—疾病关联发现与理解等各类任务。为实现这一目标,并利用大语言模型(LLM)在不同领域和任务中的强大能力,我们提出面向食品的 LLM FoodSky,通过感知和推理来理解食品数据。考虑到中国菜肴的复杂性和典型性,我们首先从多个权威来源构建了一个全面的中文食品语料库 FoodEarth,FoodSky 可利用其深入理解食品相关数据。随后,我们提出基于主题的选择性状态空间模型(Topic-based Selective State Space Model,TS3M)和分层主题检索增强生成(Hierarchical Topic Retrieval Augmented Generation,HTRAG)机制,分别增强 FoodSky 捕获细粒度食品语义和生成具有上下文感知能力的食品相关文本的能力。大量评估表明,FoodSky 在厨师和营养师考试中均显著优于通用 LLM:其在中国国家厨师考试和国家营养师考试中的准确率分别为 67.2% 和 66.4%。FoodSky 不仅有望提升烹饪创造力并促进更健康的饮食模式,也为应对食品领域复杂现实问题的领域专用 LLM 树立了新标准。FoodSky 的在线演示可在 http://222.92.101.211:8200 获取。

英文摘要:

Food is foundational to human life, serving not only as a source of nourishment but also as a cornerstone of cultural identity and social interaction. As the complexity of global dietary needs and preferences grows, food intelligence is needed to enable food perception and reasoning for various tasks, ranging from recipe generation and dietary recommendation to diet-disease correlation discovery and understanding. Towards this goal, for powerful capabilities across various domains and tasks in Large Language Models (LLMs), we introduce Food-oriented LLM FoodSky to comprehend food data through perception and reasoning. Considering the complexity and typicality of Chinese cuisine, we first construct one comprehensive Chinese food corpus FoodEarth from various authoritative sources, which can be leveraged by FoodSky to achieve deep understanding of food-related data. We then propose Topic-based Selective State Space Model (TS3M) and the Hierarchical Topic Retrieval Augmented Generation (HTRAG) mechanism to enhance FoodSky in capturing fine-grained food semantics and generating context-aware food-relevant text, respectively. Our extensive evaluations demonstrate that FoodSky significantly outperforms general-purpose LLMs in both chef and dietetic examinations, with an accuracy of 67.2% and 66.4% on the Chinese National Chef Exam and the National Dietetic Exam, respectively. FoodSky not only promises to enhance culinary creativity and promote healthier eating patterns, but also sets a new standard for domain-specific LLMs that address complex real-world issues in the food domain. An online demonstration of FoodSky is available at http://222.92.101.211:8200.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑