Predicting Consumer Purchase Intention for Pre-Prepared Meals Based on Random Forest and Explainable AI (SHAP): A Study in Jilin Province, China

The pre-prepared meal industry is a vital engine for food sector upgrading in China. This study investigates the key drivers of consumer purchasing decisions and identifies strategic pathways to support high-quality industry development. Grounded in behavioral decision theory and the stimulus-organism-response framework, we propose two central research questions: (1) What are the dominant determinants of consumer purchase intention for pre-prepared meals? and (2) How do these determinants interact in nonlinear and asymmetric ways to shape final decisions? To address these questions, we analyzed 805 valid questionnaires collected in Jilin Province using an integrated machine learning framework. Data quality and validity were ensured through baseline balance tests, and sample imbalance was corrected using the SMOTE-Tomek algorithm. Six models, including Random Forest (RF) and XGBoost, were optimized via Gaussian process-based Bayesian optimization. The RF model achieved optimal performance on the test set, with an F1 score of 0.907, an AUC of 0.928, and a prediction accuracy of 0.876. To enhance model interpretability, Mean Decrease Impurity (MDI) was integrated with the SHAP framework. Our findings reveal that: (1) purchase decisions are predominantly willingness-driven, with behavioral tendency-especially recommendation willingness-accounting for over 72% of predictive importance; (2) rational considerations, such as convenience and channel accessibility, serve as foundational enablers; and (3) recommendation willingness exhibits a significant S-shaped nonlinear threshold, where a shift to "relatively willing" marks a critical marketing intervention window. SHAP force plot analysis further uncovers an asymmetric decision logic: high willingness can compensate for perceived product shortcomings, whereas the absence of core intention functions as a non-compensatory barrier. Theoretically, these findings synthesize machine learning outputs with classical behavioral models (e.g., the Theory of Planned Behavior and Prospect Theory) by empirically quantifying bounded rationality and nonlinear activation mechanisms. These findings suggest that enterprises should transition from traffic-centric to retention-oriented strategies by leveraging word-of-mouth and proximity-based channels. Moreover, establishing a collaborative governance system is essential to mitigate risk perception and ensure long-term industry prosperity.

Authors

Institutions

Publication Details

Journal
Foods
Published
2026-03-05
DOI
https://doi.org/10.3390/foods15050896
Primary Topic
Food Waste Reduction and Sustainability
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting Consumer Purchase Intention for Pre-Prepared Meals Based on Random Forest and Explainable AI (SHAP): A Study in Jilin Province, China

Xiaoyan Yu, Xiaodan Qi
Foods
Food Waste Reduction and Sustainability
article

Predicting Consumer Purchase Intention for Pre-Prepared Meals Based on Random Forest and Explainable AI (SHAP): A Study in Jilin Province, China

Xiaoyan Yu, Xiaodan Qi
article en

Abstract

The pre-prepared meal industry is a vital engine for food sector upgrading in China. This study investigates the key drivers of consumer purchasing decisions and identifies strategic pathways to support high-quality industry development. Grounded in behavioral decision theory and the stimulus-organism-response framework, we propose two central research questions: (1) What are the dominant determinants of consumer purchase intention for pre-prepared meals? and (2) How do these determinants interact in nonlinear and asymmetric ways to shape final decisions? To address these questions, we analyzed 805 valid questionnaires collected in Jilin Province using an integrated machine learning framework. Data quality and validity were ensured through baseline balance tests, and sample imbalance was corrected using the SMOTE-Tomek algorithm. Six models, including Random Forest (RF) and XGBoost, were optimized via Gaussian process-based Bayesian optimization. The RF model achieved optimal performance on the test set, with an F1 score of 0.907, an AUC of 0.928, and a prediction accuracy of 0.876. To enhance model interpretability, Mean Decrease Impurity (MDI) was integrated with the SHAP framework. Our findings reveal that: (1) purchase decisions are predominantly willingness-driven, with behavioral tendency-especially recommendation willingness-accounting for over 72% of predictive importance; (2) rational considerations, such as convenience and channel accessibility, serve as foundational enablers; and (3) recommendation willingness exhibits a significant S-shaped nonlinear threshold, where a shift to "relatively willing" marks a critical marketing intervention window. SHAP force plot analysis further uncovers an asymmetric decision logic: high willingness can compensate for perceived product shortcomings, whereas the absence of core intention functions as a non-compensatory barrier. Theoretically, these findings synthesize machine learning outputs with classical behavioral models (e.g., the Theory of Planned Behavior and Prospect Theory) by empirically quantifying bounded rationality and nonlinear activation mechanisms. These findings suggest that enterprises should transition from traffic-centric to retention-oriented strategies by leveraging word-of-mouth and proximity-based channels. Moreover, establishing a collaborative governance system is essential to mitigate risk perception and ensure long-term industry prosperity.

FoodsVol. 15(5)
Jilin University (CN)
Jilin University
Openalex Percentile: Top 33%
Food Waste Reduction and Sustainability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.