A consumer experience-driven intelligent menu optimization method based on reinforcement learning

By constructing a reinforcement learning model of the Markov decision-making process based on reinforcement learning methods, and training the agent to generate a menu optimization strategy, it solves the problem of traditional menu design being difficult to adapt to consumer needs, and realizes real-time optimization and personalized services of the menu. Adapt to market changes.

CN117972338BActive Publication Date: 2024-09-27DONGGUAN XIZHI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311764869.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-09-27
Estimated Expiration
2043-12-20

AI Technical Summary

Technical Problem

Traditional menu design and pricing methods are difficult to adapt to consumers' changing dietary needs, and the self-service weighing single menu pricing model is difficult to meet a wide range of taste needs and changes in market trends.

Method used

A reinforcement learning-based method is used to construct a reinforcement learning model of the Markov decision-making process, and the menu optimization strategy is generated by training the agent to dynamically adjust the menu, including replacing, exchanging, adding or deleting dishes, and updating the status according to customer satisfaction and sales. -Action value function to realize real-time optimization of menus.

Benefits of technology

Real-time, automated menu optimization is achieved to meet the needs of different customers, improve consumer experience, provide personalized services, and adapt to changes in market and taste trends.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117972338B
    Figure CN117972338B
Patent Text Reader

Abstract

The present invention discloses a method, system, device and medium for intelligent menu optimization driven by consumer experience based on reinforcement learning. The method comprises the following steps: taking obtaining the optimal menu as the goal, constructing a reinforcement learning model, and using the Markov decision process to characterize the reinforcement learning model; using the reinforcement learning model to train an intelligent agent to obtain a menu optimization strategy generated by the intelligent agent; and optimizing the menu according to the menu optimization strategy. The present invention generates a menu optimization strategy through an intelligent agent, and can optimize and adjust the menu in real time and automatically to meet the needs of customers, improve the customer experience, enable the restaurant to provide more intelligent and personalized services, and at the same time enable the restaurant to better adapt to the changing market and taste trends.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing technology, and specifically relates to a consumer experience-driven intelligent menu optimization method, system, device and medium based on reinforcement learning. Background Art

[0002] As the times change, consumers' requirements for dining experience are also changing. Traditional menu design and pricing methods are relatively static, often relying on experience and market research, and are difficult to adapt to consumers' changing dietary needs. The self-service weighing single menu pricing model has now become a popular dining method for consumers, allowing consumers to dine according to their own tastes and appetite. However, how to build a diverse menu to meet a wide range of taste needs and automatically manage the menu to adapt to changing consumer tastes and market trends is a new problem facing restaurants that use the self-service weighing single menu pricing model. Summary of the invention

[0003] In order to overcome the above technical defects, the present invention provides a consumer experience-driven intelligent menu optimization method, system, device and medium based on reinforcement learning.

[0004] In order to solve the above problems, in a first aspect, the present invention provides a smart menu optimization method driven by consumer experience based on reinforcement learning, comprising the following steps:

[0005] With the goal of obtaining the optimal menu, a reinforcement learning model is constructed and the Markov decision process is used to characterize the reinforcement learning model.

[0006] The agent is trained using a reinforcement learning model to obtain the menu optimization strategy generated by the agent;

[0007] Optimize the menu according to the menu optimization strategy.

[0008] Optionally, the steps to construct a reinforcement learning model, using a Markov decision process to characterize the reinforcement learning model, include:

[0009] Constructing a state space, wherein the state space includes all menu situations, and each state is a menu situation;

[0010] An action space is defined, wherein the actions in the action space include replacing dishes, exchanging positions of dishes, adding dishes, and / or deleting dishes;

[0011] Setting a reward function, wherein the reward function is customer satisfaction with the menu or dish and / or the sales of the dish;

[0012] Update the state-action value function according to the reward function.

[0013] Optionally, the menu situation includes the combination of dishes, ingredients, and dish pricing, and also includes the combination of dishes and ingredients, dishes and dish pricing, and ingredients and dish pricing.

[0014] Optionally, obtain customer satisfaction with the menu, including the following steps:

[0015] Obtain customer feedback data, including dish ratings and comments;

[0016] Process the feedback data to obtain customer satisfaction with the menu.

[0017] Optionally, the step of using a reinforcement learning model to train the agent to obtain a menu optimization strategy generated by the agent includes:

[0018] Train the agent through the state and state-action value function to obtain a trained agent;

[0019] Obtain menu optimization strategies through trained agents.

[0020] Optionally, when a state update occurs in the state space or an action update occurs in the action space, the reinforcement learning model is updated, wherein the state update is to add a new menu situation or to delete an existing menu situation, and the action update is to add a new action or to delete an existing action.

[0021] In a second aspect, the present invention further provides a consumer experience-driven intelligent menu optimization system based on reinforcement learning, which is used to implement the above method, including:

[0022] Reinforcement learning model building module, used to build reinforcement learning models, using Markov decision process to characterize reinforcement learning models;

[0023] The optimization strategy generation module is used to train the agent using a reinforcement learning model to obtain a menu optimization strategy generated by the agent;

[0024] The menu optimization module is used to optimize the menu according to the menu optimization strategy.

[0025] Optionally, also include:

[0026] The feedback data processing module is used to obtain and process customer feedback data to obtain customer satisfaction with the menu.

[0027] In a third aspect, the present invention further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0028] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] The present invention discloses a consumer experience-driven intelligent menu optimization method and system based on reinforcement learning, which constructs a reinforcement learning model and adopts a Markov decision process to characterize the reinforcement learning model; adopts the reinforcement learning model to train an intelligent agent to obtain a menu optimization strategy generated by the intelligent agent; optimizes the menu according to the menu optimization strategy; generates the menu optimization strategy through the intelligent agent, realizes real-time and automatic optimization and adjustment of the menu, satisfies customer needs, improves customer experience, enables restaurants to provide more intelligent and personalized services, and enables restaurants to better adapt to the changing market and taste trends. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings, wherein:

[0032] Figure 1 A flowchart of the method described in Example 1;

[0033] Figure 2 This is a schematic diagram of the structure of the system described in Example 2;

[0034] Figure 3 This is a schematic diagram of the structure of the computer device described in Example 3. DETAILED DESCRIPTION

[0035] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0036] Example 1

[0037] This embodiment discloses a method for optimizing intelligent menus driven by consumer experience based on reinforcement learning. Figure 1 , including the following steps:

[0038] S1. With the goal of obtaining the optimal menu, a reinforcement learning model is constructed. The Markov decision process is used to characterize the reinforcement learning model. The reinforcement learning model is a reinforcement learning model based on a deep Q network.

[0039] Specifically, step S1 includes:

[0040] Construct a state space, wherein the state space includes all menu situations, each state is a menu situation, and the menu situation can be a combination arrangement of dishes, ingredients, dish pricing, etc., or a combination arrangement of dishes and ingredients, dishes and dish pricing, ingredients and dish pricing, etc.

[0041] An action space is defined, where the actions in the action space include replacing dishes, exchanging dish positions, adding new dishes, deleting existing dishes, replacing ingredients, adding new ingredients, adjusting dish prices, etc. Given a certain state (i.e., a certain menu situation), the above actions are performed to achieve dynamic adjustment of the menu.

[0042] A reward function is set, wherein the reward function is customer satisfaction with the menu or dish and / or the sales of the dish.

[0043] Update the state-action value function according to the reward function. The state and the action taken in the state form the state-action value function, obtain the reward value fed back by the reward function, and update the state-action value function according to the reward value to obtain the maximum long-term reward.

[0044] In addition to the Markov decision mentioned in this embodiment, the reinforcement learning model can also be characterized by value function-based methods (such as Q learning algorithm, SARSA (State-Action-Reward-State-Action) algorithm), policy-based methods (such as policy gradient algorithm, Actor-Critic algorithm), model-based methods (such as Dyna-Q algorithm, model predictive control algorithm, learning environment model), etc.

[0045] S2. Use the reinforcement learning model to train the agent and obtain the menu optimization strategy generated by the agent.

[0046] Specifically, step S2 includes:

[0047] The agent is trained through the state and state-action value function to obtain a trained agent. The trained agent matches the state with the action that gives it the maximum reward.

[0048] By training the agent through reinforcement learning, the agent can take corresponding actions in a given state to maximize the reward. The trained agent can generate a menu optimization strategy to obtain the maximum customer satisfaction and / or maximum sales based on the current menu situation and the state-action value function, and provide food choices that satisfy customers. When the agent obtains the reward corresponding to the current state from the environment, it will also obtain the next state to update the input of the state-action value function.

[0049] S3. Optimize the menu according to the menu optimization strategy.

[0050] Menu optimization strategies include retaining the original dishes, replacing the original dishes, or adding new dishes to maximize the overall long-term rewards. For a single dish, the length of time it remains in the menu is determined based on its reward value function (customer satisfaction or sales). Generally speaking, the higher the reward value, the longer the dish is retained. When the reward value of a dish is low, it can be directly removed from the menu; or an observation time can be set to observe whether the reward value increases. If the reward value of the dish does not increase during the observation time, a new dish will be replaced.

[0051] The menu optimized according to the menu optimization strategy can meet the taste needs of different customers and obtain the maximum customer satisfaction.

[0052] In one embodiment, a retention threshold T is set for each dish in the menu. When the reward value of a dish is higher than the retention threshold, the dish is retained in the menu, otherwise it is removed from the menu. The retention threshold T can be calculated based on factors such as dish category, raw material cost, profit margin, etc. For example, a dish with a high profit margin has a high retention threshold T.

[0053] A minimum threshold L may also be set. When the reward value of a dish is lower than the minimum threshold L, it is directly removed from the menu. When the reward value of a dish is higher than the minimum threshold L but lower than the retention threshold T, an observation time t is set to observe whether the reward value of the dish increases within the observation time t. If the reward value of the dish does not increase within the observation time, it is removed from the menu and replaced with a new dish. The new dish may be a dish with a similar taste to the original dish, so as to inherit the reward value of the original dish.

[0054] In one embodiment, obtaining customer satisfaction with a menu includes the steps of:

[0055] Obtain customer feedback data, including dish ratings and comments;

[0056] Process the feedback data to obtain customer satisfaction with the menu.

[0057] In one embodiment, when a state update occurs in the state space or an action update occurs in the action space, the reinforcement learning model is updated, wherein the state update is to add a new menu situation or delete an existing menu situation, and the action update is to add a new action or delete an existing action. With the addition of new dishes and changes in customer tastes, the reinforcement learning model is updated synchronously, and the state-action value function is also updated synchronously, so as to continuously optimize and update the menu optimization strategy, and help restaurants better adapt to the changing market and taste trends.

[0058] When the optimization target is a certain menu situation, the agent takes action (such as replacing dishes) for this state (i.e., menu situation) to obtain rewards from the environment (such as customer satisfaction or dish sales) and obtains the next state (i.e., new menu situation). The agent repeats the above process, continuously learning and updating to obtain long-term, maximized rewards.

[0059] The agent is trained by a deep reinforcement learning model and continuously learns the state-action value function through trial and error, so that it can take different actions in different states (menu conditions) and update the state-action value function according to the reward function (customer satisfaction) to generate a better menu optimization strategy. Intelligent decision-making and menu optimization enable restaurants to provide more attractive menu conditions to meet the ever-changing tastes of customers.

[0060] In one embodiment, it also includes:

[0061] Analyze customers' historical ordering data, taste preferences and feedback data to generate customized menu situations.

[0062] In one embodiment, it also includes:

[0063] If a certain ingredient has run out or the demand for a certain ingredient has increased sharply on that day, the menu can be further optimized by combining the menu optimization strategy generated by the intelligent agent.

[0064] In one embodiment, it also includes:

[0065] Obtain the cost of ingredients and the pricing of dishes, and further optimize the menu based on the menu optimization strategy generated by the agent, so as to achieve the maximum profit while satisfying the taste needs of customers.

[0066] The following is a description of the specific implementation methods:

[0067] Take a restaurant that adopts a self-service weighing and single menu price model as an example. The restaurant has a total of 30 dishes, as shown in Table 1.

[0068] Table 1

[0069] Dishes Unit price / 50g Dishes Unit price / 50g Dishes Unit price / 50g Kung Pao Chicken 8 Plum Duck 7 Fried pork 6 Steamed Chicken with Mushrooms 7 Braised eel 14 Bitter Melon Beef 8 Preserved Vegetable Meat Pie 8 Braised Prawns 10 Three Fresh Vegetables 6 Steamed Spare Ribs 10 Twice-cooked pork 6 Beans and Eggplant 5 Black Pepper Chicken Steak 7 Dongpo Pork 7 Tomato Egg 5 Gillette Pork Chop 7 Fish-flavored Shredded Pork 6 Steamed fish 6 Grilled Steak 14 Three Cup Chicken 7 broccoli 5 Cola Chicken Wings 6 Roast Duck 6 Fried chicken drumstick 7 Spicy Chicken 8 Roast Goose 12 Boiled Chicken 8 Honey BBQ Pork 10 Roast Chicken 8 Steamed Egg 5

[0070] The restaurant offers eight dishes every day and is equipped with eight self-service weighing devices.

[0071] Correspondingly, the state space includes various combinations of any 8 dishes out of 30 dishes to form a menu. The action space includes adding new dishes, deleting existing dishes, swapping the positions of dishes on the menu, etc. The agent obtains the current state (a combination of dishes, i.e., the menu) from the environment, takes an action from the action space according to the state (such as swapping the positions of dishes on the menu), and returns a reward to the agent after execution.

[0072] The reward function can be the sales of the menu or the customer's satisfaction with the menu. When the reward function is the sales of the menu, the sales of each menu, or the total daily sales, or the sales within a certain period of time are directly returned to the agent. When the reward function is the customer's satisfaction with the menu, the customer's order history, the customer's dish rating and dish comments, etc. are processed and fed back.

[0073] The consumer experience-driven intelligent menu optimization method based on reinforcement learning provided by the present invention constructs a reinforcement learning model, and adopts a Markov decision process to characterize the reinforcement learning model; adopts the reinforcement learning model to train an intelligent agent to obtain a menu optimization strategy generated by the intelligent agent; optimizes the menu according to the menu optimization strategy; generates a menu optimization strategy through an intelligent agent, realizes real-time and automatic optimization and adjustment of the menu, satisfies customer needs, improves customer experience, enables restaurants to provide more intelligent and personalized services, and enables restaurants to better adapt to the ever-changing market and taste trends.

[0074] Example 2

[0075] Based on the same inventive concept, this embodiment also provides a consumer experience-driven intelligent menu optimization system based on reinforcement learning, which is used to implement the method described in Embodiment 1, such as Figure 2 The system includes a reinforcement learning model building module, an optimization strategy generation module and a menu optimization module, wherein:

[0076] The reinforcement learning model building module is used to build the reinforcement learning model and use the Markov decision process to characterize the reinforcement learning model.

[0077] The optimization strategy generation module is used to train the intelligent agent using a reinforcement learning model to obtain a menu optimization strategy generated by the intelligent agent.

[0078] The menu optimization module is used to optimize the menu according to the menu optimization strategy.

[0079] Specifically, it also includes a feedback data processing module for acquiring and processing customer feedback data to obtain customer satisfaction with the menu.

[0080] In one embodiment, the reinforcement learning model building module is further used to:

[0081] Constructing a state space, wherein the state space includes all menu situations, and each state is a menu situation;

[0082] An action space is defined, wherein the actions in the action space include replacing dishes, exchanging positions of dishes, adding dishes, and / or deleting dishes;

[0083] A reward function is set. After the agent obtains and takes actions according to the state, a reward is fed back to the agent. The reward function is the customer's satisfaction with the menu and / or the sales of the menu.

[0084] Update the state-action value function according to the reward function.

[0085] Specifically, the menu situation includes the combination of dishes, ingredients, and dish pricing, as well as the combination of dishes and ingredients, dishes and dish pricing, and ingredients and dish pricing.

[0086] In one embodiment, the optimization strategy generation module is further used to:

[0087] Train the agent through the state and state-action value function to obtain a trained agent;

[0088] Obtain menu optimization strategies through trained agents.

[0089] Specifically, when a state update occurs in the state space or an action update occurs in the action space, the reinforcement learning model is updated, wherein the state update is to add a new menu situation or delete an existing menu situation, and the action update is to add a new action or delete an existing action.

[0090] Each module in the above-mentioned intelligent menu optimization system driven by consumer experience based on reinforcement learning can be implemented in whole or in part by software, hardware and their combination. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0091] Example 3

[0092] This embodiment discloses a computer device, which may be a server or terminal integrated with a scheduler, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the mapping relationship between the shared video memory area and the virtual machine, the total load of the virtual machine, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a video memory resource allocation method based on GPU virtualization technology is implemented.

[0093] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0094] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0095] With the goal of obtaining the optimal menu, a reinforcement learning model is constructed and the Markov decision process is used to characterize the reinforcement learning model.

[0096] The agent is trained using a reinforcement learning model to obtain the menu optimization strategy generated by the agent;

[0097] Optimize the menu according to the menu optimization strategy.

[0098] In one embodiment, the processor further implements the following steps when executing the computer program:

[0099] Constructing a state space, wherein the state space includes all menu situations, and each state is a menu situation;

[0100] An action space is defined, wherein the actions in the action space include replacing dishes, exchanging positions of dishes, adding dishes, and / or deleting dishes;

[0101] A reward function is set. After the agent obtains and takes actions according to the state, a reward is fed back to the agent. The reward function is the customer's satisfaction with the menu and / or the sales of the menu.

[0102] Update the state-action value function according to the reward function.

[0103] In one embodiment, the processor further implements the following steps when executing the computer program:

[0104] Obtain customer feedback data, including dish ratings and comments;

[0105] Process the feedback data to obtain customer satisfaction with the menu.

[0106] In one embodiment, the processor further implements the following steps when executing the computer program:

[0107] Train the agent through the state and state-action value function to obtain a trained agent;

[0108] Obtain menu optimization strategies through trained agents.

[0109] In one embodiment, the processor further implements the following steps when executing the computer program:

[0110] When a state update occurs in the state space or an action update occurs in the action space, the reinforcement learning model is updated, wherein the state update is to add a new menu situation or delete an existing menu situation, and the action update is to add a new action or delete an existing action.

[0111] Example 4

[0112] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0113] With the goal of obtaining the optimal menu, a reinforcement learning model is constructed and the Markov decision process is used to characterize the reinforcement learning model.

[0114] The agent is trained using a reinforcement learning model to obtain the menu optimization strategy generated by the agent;

[0115] Optimize the menu according to the menu optimization strategy.

[0116] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0117] Constructing a state space, wherein the state space includes all menu situations, and each state is a menu situation;

[0118] An action space is defined, wherein the actions in the action space include replacing dishes, exchanging positions of dishes, adding dishes, and / or deleting dishes;

[0119] A reward function is set. After the agent obtains and takes actions according to the state, a reward is fed back to the agent. The reward function is the customer's satisfaction with the menu and / or the sales of the menu.

[0120] Update the state-action value function according to the reward function.

[0121] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0122] Obtain customer feedback data, including dish ratings and comments;

[0123] Process the feedback data to obtain customer satisfaction with the menu.

[0124] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0125] Train the agent through the state and state-action value function to obtain a trained agent;

[0126] Obtain menu optimization strategies through trained agents.

[0127] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0128] When a state update occurs in the state space or an action update occurs in the action space, the reinforcement learning model is updated, wherein the state update is to add a new menu situation or delete an existing menu situation, and the action update is to add a new action or delete an existing action.

[0129] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to a memory, database or other medium used in the embodiments provided in this application can include at least one of a non-volatile and a volatile memory. A non-volatile memory can include a read-only memory (READ-ONLY MEMORY). OnlyMemory,ROM), tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (Magnetoresistive Random Access Memory,MRAM), ferroelectric random access memory (Ferroelectric Random Access Memory,FRAM), phase change memory (Phase Change Memory,PCM), graphene memory, etc. Volatile memory may include random access memory (Random Access Memory,RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory,SRAM) or dynamic random access memory (Dynamic Random Access Memory,DRAM), etc. The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.

[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0131] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Therefore, any modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the technical solution of the present invention shall still fall within the scope of the technical solution of the present invention.

Claims

1. A consumer experience-driven intelligent menu optimization method based on reinforcement learning, characterized in that: The steps include: With the goal of obtaining the optimal menu, a reinforcement learning model is constructed and the Markov decision process is used to characterize the reinforcement learning model. The agent is trained using a reinforcement learning model to obtain the menu optimization strategy generated by the agent; Optimize the menu according to the menu optimization strategy; Steps to build a reinforcement learning model, using Markov decision process to characterize the reinforcement learning model, including: Constructing a state space, wherein the state space includes all menu situations, and each state is a menu situation; An action space is defined, wherein the actions in the action space include replacing dishes, exchanging positions of dishes, adding dishes, and / or deleting dishes; Setting a reward function, wherein the reward function is customer satisfaction with the menu or dish and / or the sales of the dish; Update the state-action value function according to the reward function: the state and the action taken in the state form the state-action value function, obtain the reward value fed back by the reward function, and update the state-action value function according to the reward value to obtain the maximum long-term reward; A retention threshold T is set for each dish in the menu. When the reward value of a dish is higher than the retention threshold, the dish will continue to be retained in the menu, otherwise it will be removed from the menu; a minimum threshold L is set. When the reward value of a dish is lower than the minimum threshold L, it will be directly removed from the menu; when the reward value of a dish is higher than the minimum threshold L but lower than the retention threshold T, an observation time t is set to observe whether the reward value of the dish increases within the observation time t. If the reward value of the dish does not increase within the observation time, it will be removed from the menu and replaced by a new dish.

2. The menu optimization method according to claim 1, characterized in that: The menu situation includes the combination of dishes, ingredients, and dish pricing, as well as the combination of dishes and ingredients, dishes and dish pricing, and ingredients and dish pricing.

3. The menu optimization method according to claim 1, characterized in that: Obtaining customer satisfaction with the menu includes the following steps: Obtain customer feedback data, including dish ratings and comments; Process the feedback data to obtain customer satisfaction with the menu.

4. The menu optimization method according to claim 1, characterized in that: Step 1: Use the reinforcement learning model to train the agent and obtain the menu optimization strategy generated by the agent, including: Train the agent through the state and state-action value function to obtain a trained agent; Obtain menu optimization strategies through trained agents.

5. The menu optimization method according to claim 1, characterized in that: When a state update occurs in the state space or an action update occurs in the action space, the reinforcement learning model is updated, wherein the state update is to add a new menu situation or delete an existing menu situation, and the action update is to add a new action or delete an existing action.

6. A consumer experience-driven intelligent menu optimization system based on reinforcement learning, used to implement the menu optimization method according to any one of claims 1 to 5, characterized in that: include: Reinforcement learning model building module, used to build reinforcement learning models, using Markov decision process to characterize reinforcement learning models; The optimization strategy generation module is used to train the agent using a reinforcement learning model to obtain a menu optimization strategy generated by the agent; The menu optimization module is used to optimize the menu according to the menu optimization strategy.

7. The menu optimization system according to claim 6, characterized in that: Also includes: The feedback data processing module is used to obtain and process customer feedback data to obtain customer satisfaction with the menu.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.