대형 언어 모델을 활용한 한국어 식품 리뷰 분석: 감성분석과 다중 라벨링을 통한 식품안전 위해 탐지 연구
Korean Food Review Analysis Using Large Language Models: Sentiment Analysis and Multi-Labeling for Food Safety Hazard Detection
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
최근 온라인 플랫폼에서 구입한 육회를 섭취한 후 식중독 증상을 호소하거나 방울토마토에서 쓴맛이 난다는리뷰가 뉴스에 등장한 사례가 있다. 이것은 정부 기관, 식품 제조업체나 유통업체가 온라인 플랫폼의 식품리뷰를 분석하여 식품 위해를 탐지함으로써 소비자 식품안전 위험을 관리할 수 있음을 시사한다. 본 연구는감성분석과 대형 언어 모델을 활용하여 식품 리뷰를 분석하고, 부정적인 리뷰를 탐지하여 주요 식품안전 위해(식중독, 변질, 화학적 이취, 이물질)를 다중 라벨링하는 분류 모델을 제안한다. 감성 분류 모델에서는‘funnel’ 모델이 낮은 False Positive 비율로 부정 리뷰의 오분류 가능성을 최소화하는 데 효과적이었다. 식품안전 위해 다중 라벨링 모델은 GPT-3.5 보다 GPT-4 Turbo를 활용한 것이 재현율과 정확도 모두 96% 이상으로 높은 성능을 보였다. 정부 기관, 식품 제조업체나 유통업체는 제안된 모델을 사용하여 소비자리뷰를 실시간으로 모니터링하고, 잠재적인 식품안전 문제를 조기에 탐지함으로써 위험을 관리할 수 있다. 이와 같은 시스템은 기업의 브랜드 평판을 보호하고, 소비자 보호를 강화하며, 궁극적으로는 소비자의건강과 안전을 증진시키는 결과를 가져올 수 있다.
Abstract
Recently, there have been cases reported in the news of individuals experiencing symptoms of food poisoning after consuming raw beef purchased from online platforms, or reviews claiming that cherry tomatoes tasted bitter. This suggests the potential for analyzing food reviews on online platforms to detect food hazards, enabling government agencies, food manufacturers, and distributors to manage consumer food safety risks. This study proposes a classification model that uses sentiment analysis and large language models to analyze food reviews and detect negative ones, multi-labeling key food safety hazards (food poisoning, spoilage, chemical odors, foreign objects). The sentiment analysis model effectively minimized the misclassification of negative reviews with a low False Positive rate using a ‘funnel’ model. The multi-labeling model for food safety hazards showed high performance with both recall and accuracy over 96% when using GPT-4 Turbo compared to GPT-3.5. Government agencies, food manufacturers, and distributors can use the proposed model to monitor consumer reviews in real-time, detect potential food safety issues early, and manage risks. Such a system can protect corporate brand reputation, enhance consumer protection, and ultimately improve consumer health and safety.
참고문헌 (20)
- 부정⋅불량식품 소비자신고 동향보고서, "식품안전정보원", ~ (2022)
- 이상아, "A small-scale Korean-specific BERT language model", Journal of KIISE, 47(7), pp.682~692 (2020)[DOI]
- 안정국, "집단지성을 이용한한글 감성어 사전 구축", 지능정보연구, 21(2), pp.49~67 (2015)[DOI]
- 소진수, "음식점 리뷰 감성분석을 통한 세부 평가항목별 평점 예측", 한국컴퓨터정보학회논문지, 25(6), pp.81~89 (2020)
- 최혜선, "A case study on text analysis using meal kit product review data", 한국콘텐츠학회논문지, 22(5), pp.1~14 (2022)[DOI]
- 최준영, "자연어처리 모델을이용한 이커머스 데이터 기반 감성 분석 모델구축", 한국융합학회논문지, 11(11), pp.33~39 (2020)[DOI]
- 정재윤, "워드 임베딩과 단어 네트워크분석을 활용한 비지도학습 기반의 문서 다중범주 가중치 산출", 대한산업공학회지, 44(6), pp.442~451 (2018)[DOI]
- Shin Bee, "Analysis on review data of restaurants in Google Maps through text mining : Focusing on sentiment analysis", Journal of Multimedia Information System, 9(1), pp.61~68 (2022)[DOI]
- M. I. Hossain Junaid, "Bangla Food Review Sentimental Analysis using Machine Learning", 2022 IEEE 12th Annual Computing and Communication Workshop and Conference (CCWC), pp.0347~0353 (2022)
- N. Islam, "Sentiment Analysis on Food Review using Machine Learning Approach", 2021 International Conference on Artificial Intelligence and Smart Systems (ICAIS), pp.157~164 (2021)
- 정민경, "텍스트마이닝을 활용한 식품유통 플랫폼에 대한 소비자 인식 분석-토픽모델링 기법을 중심으로", 외식경영연구, 24, pp.71~100 (2021)[DOI]
- 백세희, "제주시의 지속가능한 여행 활성화를 위한 지역화폐‘탐나는전’ 가맹점의 리뷰 데이터 분석", 한국빅데이터학회 학회지, 7(2), pp.113~128 (2022)[DOI]
- Tang, T., "Fine-tuning BERT for multi-label sentiment analysis in unbalanced code-switching text", IEEE Access, 8, pp.193248~193256 (2020)
- 노동훈, "특허상담자동분류의 성능 향상 방안 연구 : 트랜스포머기반 인공지능 모델 버트(BERT)를 활용", 지식재산연구, 19(1), pp.159~177 (2024)[DOI]
- 이원민, "감성 및 감정 단어마스킹 기반 BERT와 GPT 파이프라인 방식을통한 감정 문장 생성", 한국정보기술학회논문지, 19(9), pp.29~40 (2021)[DOI]
- Peskine, Y., "Definitions matter : Guiding GPT for multi-label classification", Findings of the Association for Computational Linguistics: EMNLP 2023, pp.4054~4063 (2023)
- 서혜진, "딥러닝을 활용한감정 분석 과정에서 필요한 데이터 전처리 및형태 변형", 영어학, 20, pp.42~63 (2020)
- "BERT: Pre-training of deep bidirectional transformers for language understanding"[URL]
