The invention discloses a diet intervention recommendation method based on
reinforcement learning, and the method comprises the following steps: collecting diet behavior data and health state data of a user, and constructing a behavior track matrix and a health
feature set; constructing a compliance fatigue function based on the behavior track matrix, and generating a compliance fatigue
score; constructing a shielding mapping vector, and determining a diet intervention action set based on a preset threshold rule; inputting the health
feature set into an improved Dueling DQN model, and generating a state value and an action
advantage value; performing weight correction on each action in the diet intervention action set; fusing the state values with the corrected action
advantage values, constructing a state action value function Q
value set of the diet intervention actions, and generating recommendation
score distribution of the diet intervention actions; and selecting the diet intervention action with the highest
score as a recommendation result. According to the invention, the behavior fatigue and health state change of the user can be dynamically perceived, and the individual adaptability and behavior compliance of diet recommendation are improved.