Multi-Task Learning Frameworks to Classify Food and Estimate Weight From a Single Image

Pakin Siwathammarat, P. Jesadaporn, Jakarin Chawachat
{"title":"Multi-Task Learning Frameworks to Classify Food and Estimate Weight From a Single Image","authors":"Pakin Siwathammarat, P. Jesadaporn, Jakarin Chawachat","doi":"10.1109/JCSSE58229.2023.10202056","DOIUrl":null,"url":null,"abstract":"Usually, elderly patients in hospitals suffer from malnutrition because they are unable to consume food as prescribed by doctors or nutritionists. Analyzing food intake is labor-intensive and time-consuming. Therefore, machine learning is used to analyze the food intake. Major food analysis tasks include food classification and food weight estimation. The basic machine learning approach to this problem is to combine a food classification model with a food weight estimate model sequentially. When we deployed it, we found that a large amount of memory and models were required. One solution is to use multi-task learning. In this study, we proposed multi-task learning frameworks that could recognize food and predict weight based on a single image. The performance of our frameworks was compared to the baseline models, which only utilized either regression or classification. Although baseline accuracy is higher, our framework has MAPE values that are lower than the baseline. To improve the performance, we explored different approaches for weighting loss, including manual weighting and auto weighting, using uncertainty and auxiliary tasks. From the experiment, our results showed that our multi-task learning framework that adjusted the weight of loss using auxiliary tasks outperformed the baseline models in terms of MAPE and Accuracy. Moreover, we demonstrate our framework when scaling up the backbone from ResNet50 to ResNet101 and ResNet152.","PeriodicalId":298838,"journal":{"name":"2023 20th International Joint Conference on Computer Science and Software Engineering (JCSSE)","volume":"62 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 20th International Joint Conference on Computer Science and Software Engineering (JCSSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/JCSSE58229.2023.10202056","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Usually, elderly patients in hospitals suffer from malnutrition because they are unable to consume food as prescribed by doctors or nutritionists. Analyzing food intake is labor-intensive and time-consuming. Therefore, machine learning is used to analyze the food intake. Major food analysis tasks include food classification and food weight estimation. The basic machine learning approach to this problem is to combine a food classification model with a food weight estimate model sequentially. When we deployed it, we found that a large amount of memory and models were required. One solution is to use multi-task learning. In this study, we proposed multi-task learning frameworks that could recognize food and predict weight based on a single image. The performance of our frameworks was compared to the baseline models, which only utilized either regression or classification. Although baseline accuracy is higher, our framework has MAPE values that are lower than the baseline. To improve the performance, we explored different approaches for weighting loss, including manual weighting and auto weighting, using uncertainty and auxiliary tasks. From the experiment, our results showed that our multi-task learning framework that adjusted the weight of loss using auxiliary tasks outperformed the baseline models in terms of MAPE and Accuracy. Moreover, we demonstrate our framework when scaling up the backbone from ResNet50 to ResNet101 and ResNet152.
多任务学习框架分类食物和估计权重从单一图像
通常,医院里的老年病人营养不良,因为他们不能吃医生或营养学家开的食物。分析食物摄入量是一项费时费力的工作。因此,机器学习被用于分析食物摄入量。主要的食品分析任务包括食品分类和食品重量估计。解决这个问题的基本机器学习方法是依次将食物分类模型与食物重量估计模型结合起来。当我们部署它时,我们发现需要大量的内存和模型。一个解决方案是使用多任务学习。在这项研究中,我们提出了多任务学习框架,可以根据单个图像识别食物和预测体重。我们的框架的性能与仅使用回归或分类的基线模型进行了比较。尽管基线精度更高,但我们的框架的MAPE值低于基线。为了提高性能,我们探索了不同的加权损失方法,包括人工加权和自动加权,使用不确定性和辅助任务。实验结果表明,使用辅助任务调整损失权重的多任务学习框架在MAPE和准确率方面优于基线模型。此外,我们在将骨干网从ResNet50扩展到ResNet101和ResNet152时演示了我们的框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信