Dynamic display adjustment method and system based on reinforcement learning algorithm

Through the dynamic display adjustment method based on the reinforcement learning algorithm, combined with historical data and user behavior, we build a sales and product association model, dynamically adjust the display strategy, solve the problems of the existing technology's inability to adapt to changes and limited optimization effect, and realize the future. Accurate prediction of sales trends and improvement of user satisfaction.

CN118569905BActive Publication Date: 2024-10-25QINSILK COM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410998662.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-25
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The existing technology is difficult to dynamically adapt to changes, cannot respond to changes in user behavior in real time, has limited optimization effects, lacks the ability to predict future sales trends, and is difficult to adapt to display methods in dynamic environments.

Method used

Adopt a dynamic display adjustment method based on reinforcement learning algorithm, build a sales prediction model and product association model by obtaining historical data, combine user behavior and display data to determine the state space and action space, use the reward function to build a dynamic display model, and explore the attenuation factor and softening factors to select the optimal dynamic display strategy for adjustment.

Benefits of technology

It achieves accurate predictions of future sales trends, optimizes inventory management and production plans, improves sales efficiency and user satisfaction, dynamically adjusts display strategies to maximize sales profits and improve user experience, stabilizes and accelerates the training process, and improves Decision making consistency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569905B_ABST
    Figure CN118569905B_ABST
Patent Text Reader

Abstract

The present invention provides a dynamic display adjustment method and system based on a reinforcement learning algorithm, which relates to the field of dynamic display technology, including obtaining historical data of a target place and sorting the data according to a time series, building a sales prediction model based on causal representation learning, and obtaining a sales prediction value through a causal-driven prediction algorithm; building a commodity association model, based on preset association rules between different commodities, calculating commodity similarities, determining complementary relationships and substitution relationships, and calculating commodity recommendation scores; determining a state space based on current display data of the commodity; determining an action space based on display actions of the commodity; determining a reward function, and building a dynamic display model; determining state features to be adjusted, inputting them into the dynamic display model, selecting an optimal action from the action space by calculating the probability distribution of the action, combining exploration of a decay factor and a softening factor, and determining an optimal dynamic display strategy to perform display adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of dynamic display technology, and in particular to a dynamic display adjustment method and system based on a reinforcement learning algorithm. Background Art

[0002] The way items are displayed has a significant impact on people's behavior. Usually, fixed layouts and rules are adopted, which lack flexibility and adaptability. With the ever-changing preferences and the rapid evolution of the environment, static display methods are difficult to meet needs and improve user experience.

[0003] In the existing technology, some display optimization methods mainly rely on manual experience and data analysis, and optimize the placement and quantity of items through sales data analysis and manual adjustment. However, these methods are usually performed offline, unable to respond to changes in people's behavior in real time, and the optimization effect is limited; attempts are made to apply machine learning algorithms, such as association rule mining and collaborative filtering, to discover the correlation between products and customer preferences, thereby optimizing product recommendations and displays. However, these methods are mainly based on historical data, lack the ability to predict future sales trends, and are difficult to adapt to dynamically changing environments.

[0004] In summary, there is an urgent need for a method that can dynamically adapt to changes, comprehensively consider multiple goals, and continuously optimize product display strategies. The present invention can solve the problems in the prior art. Summary of the invention

[0005] The embodiments of the present invention provide a dynamic display adjustment method and system based on a reinforcement learning algorithm, which can solve the problems in the prior art.

[0006] According to a first aspect of the embodiments of the present invention,

[0007] A dynamic display adjustment method based on a reinforcement learning algorithm is provided, comprising:

[0008] Obtain historical data of the target place, the historical data including sales data, product attribute data, user behavior data and display data, pre-process the historical data and sort them according to time series, build a sales forecasting model based on causal representation learning, and obtain sales forecast values ​​through a causal-driven forecasting algorithm; build a product association model, based on preset association rules between different products, calculate product similarities, determine complementary relationships and substitution relationships, and calculate product recommendation scores;

[0009] Based on the current display data of the commodity, the state space is determined in combination with the sales forecast value and the commodity recommendation score; based on the display position adjustment action, display quantity adjustment action, display addition and deletion action and display replacement action of the commodity, the action space is determined; with sales profit and user satisfaction as positively correlated factors, the reward function is determined; based on the state space, the action space and the reward function, a dynamic display model is constructed;

[0010] Based on the state space, the state characteristics to be adjusted are determined, and the dynamic display model is input. By calculating the probability distribution of the action, combined with the exploration attenuation factor and the softening factor, the optimal action is selected from the action space, and the optimal dynamic display strategy is determined. Based on the optimal dynamic display strategy, the display adjustment is performed.

[0011] In an optional embodiment,

[0012] The sales forecasting model is built based on causal representation learning. The sales forecast values ​​obtained through the causal-driven forecasting algorithm include:

[0013] Obtain a time series data set, extract the causal dependency between the commodity attribute data, the user behavior data and the display data from the time series data set based on a causal discovery algorithm, and construct a causal graph model by identifying key sales factors and determining causal paths;

[0014] Based on a deep neural network, a causal encoder is constructed to capture the causal structure information in the causal graph model, generate a low-dimensional representation, map the time series data set to a causal representation space, and learn the causal representation;

[0015] The causal representation is combined with a pre-built basic prediction model to determine a causal-driven sales prediction model. The sales prediction model takes the causal representation as input, learns the corresponding relationship between the causal representation and the sales prediction value, determines the error of the sales prediction value, and trains to obtain the optimal sales prediction model by minimizing the prediction loss function.

[0016] In an optional embodiment,

[0017] Preprocess the product attribute data to obtain product attribute features, use convolutional neural network to extract features from the product text description and image data to obtain text feature vectors and image feature vectors, and concatenate the product attribute features, text feature vectors and image feature vectors to obtain product fusion features;

[0018] Based on user behavior data, count the number of interactions each user has with each product, assign corresponding weights to different types of interaction behaviors, and calculate the user-product interaction matrix;

[0019] The user-product interaction matrix is ​​used as a bipartite graph, and a graph convolutional neural network is used to learn the features of the bipartite graph. By aggregating the neighborhood information of each node in the bipartite graph, the implicit representation of the user and the product is obtained, and the user-product preference features are extracted.

[0020] The product fusion feature and the user-product preference feature are taken as two different views, and the node features in the view are learned and updated using a multi-view graph attention network. The neighborhood node information is adaptively aggregated through the attention mechanism, and the outputs of the two views are spliced ​​to obtain a comprehensive representation of the product;

[0021] Based on the comprehensive representation of the commodities, the cosine similarities between different commodities are calculated to construct a commodity similarity matrix;

[0022] According to the preset commodity association rules, the commodity similarity matrix is ​​used as the weight of the edge to construct a commodity association graph, and the gated graph neural network is used to reason about the commodity association graph. Through multi-step message passing and gated units, the hidden state of the node is updated to obtain the complementary relationship and substitution relationship between commodities;

[0023] The comprehensive representation, complementary relationship and substitution relationship representation of the products are spliced ​​to construct a product feature matrix. Non-negative matrix decomposition is used on the product feature matrix and the user-product interaction matrix to obtain a product latent factor matrix and a user latent factor matrix. The recommendation score of each user for each product is calculated through the inner product of the product latent factor matrix and the user latent factor matrix.

[0024] In an optional embodiment,

[0025] Based on the state space, the state characteristics to be adjusted are determined, input into the dynamic display model, and the optimal action is selected from the action space by calculating the probability distribution of the action, combining the exploration attenuation factor and the softening factor. The optimal dynamic display strategy includes:

[0026] The dynamic display model includes a first network constructed based on a deep neural network, and a second network created based on a corresponding generated copy of the first network;

[0027] Initialize the first network and the second network, set the exploration temperature, exploration attenuation factor, softening factor and exploration rate;

[0028] The intelligent agent interacts with the environment, and the intelligent agent selects an action using a probability distribution exploration strategy according to the current state characteristics, calculates the selection probability of each action according to the output of the first network, based on the exploration temperature, and according to the corresponding exploration distribution, determines the selected action based on the selection probability and executes it using random sampling, calculates the immediate reward, and stores the transfer sample consisting of the current state characteristics, the selected action, the immediate reward, and the next state characteristics into the experience replay buffer;

[0029] Randomly sampling a transfer sample set from the experience replay buffer, calculating a second action value corresponding to the second network for each transfer sample in the transfer sample set, constructing a loss function based on a mean square error between the first action value corresponding to the first network and the second action value, and updating a first network parameter value corresponding to the first network by a gradient descent algorithm with the goal of minimizing the loss function;

[0030] Based on the softening factor, partially updating the first network parameter value to a corresponding second network parameter value in the second network, and attenuating the exploration temperature according to the exploration attenuation factor;

[0031] Repeat the process until the preset number of training rounds is reached to obtain the optimal first network;

[0032] Based on the state characteristics to be adjusted, the corresponding action with the maximum first action value is selected through the optimal first network to generate the optimal dynamic display strategy.

[0033] In an optional embodiment,

[0034] Calculating the selection probability of each action involves:

[0035] The exploration probability distribution based on the exploration temperature is as follows:

[0036] ;

[0037] in, P represents the exploration probability distribution, s Indicates the current state. Indicates the current action. θ represents the model parameters, represents candidate actions, A represents the action space, Q (·) represents the expected value of choosing an action in a given state, represents the state characteristic function, represents the action feature function, μ represents the random noise term, T represents the exploration temperature, λ represents the regularization coefficient, η Indicates the correction factor.

[0038] In an optional embodiment,

[0039] Based on the softening factor, partially updating the first network parameter value to a corresponding second network parameter value in the second network, and attenuating the exploration temperature according to the exploration attenuation factor includes:

[0040] Acquire a first network current parameter value of the first network and a second network current parameter value of the second network;

[0041] Calculating a difference between a current parameter value of the first network and a current parameter value of the second network;

[0042] Multiplying the difference by the softening factor to obtain a softening update value;

[0043] Adding the softened update value to the second network current parameter value to obtain a second network update parameter value, and replacing the second network current parameter value with the second network update parameter value;

[0044] Acquire a current exploration temperature, and multiply the current exploration temperature by the exploration attenuation factor to obtain an attenuation temperature;

[0045] The current exploration temperature is updated to the decay temperature.

[0046] According to a second aspect of the embodiments of the present invention,

[0047] A dynamic display adjustment system based on a reinforcement learning algorithm is provided, comprising:

[0048] The first unit is used to obtain historical data of the target place, the historical data includes sales data, product attribute data, user behavior data and display data, pre-process the historical data and sort them according to time series, build a sales prediction model based on causal representation learning, and obtain sales prediction values ​​through a causal-driven prediction algorithm; build a product association model, based on the preset association rules between different products, calculate the product similarity, determine the complementary relationship and the substitution relationship, and calculate the product recommendation score;

[0049] The second unit is used to determine the state space based on the current display data of the commodity, combined with the sales forecast value and the commodity recommendation score; determine the action space based on the display position adjustment action, display quantity adjustment action, display addition and deletion action and display replacement action of the commodity; determine the reward function with sales profit and user satisfaction as positively correlated factors; and construct a dynamic display model based on the state space, the action space and the reward function;

[0050] The third unit is used to determine the state characteristics to be adjusted based on the state space, input the dynamic display model, select the optimal action from the action space by calculating the probability distribution of the action, and combine the exploration attenuation factor and the softening factor to determine the optimal dynamic display strategy, and perform display adjustment based on the optimal dynamic display strategy.

[0051] According to a third aspect of the embodiments of the present invention,

[0052] An electronic device is provided, comprising:

[0053] processor;

[0054] a memory for storing processor-executable instructions;

[0055] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0056] A fourth aspect of the embodiments of the present invention is:

[0057] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0058] In the embodiment of the present invention, the sales forecasting model based on causal representation learning can more accurately predict future sales trends, help enterprises optimize inventory management and production plans, reduce excess or out-of-stock situations, and improve sales efficiency and customer satisfaction; implement a comprehensive dynamic display model that can dynamically adjust the display strategy of goods according to current market conditions and forecasts to maximize sales profits and improve user satisfaction; stabilize and accelerate the training process by sharing information and interactive experience; partially update the parameters controlled by the softening factor to ensure the synchronization of the two networks during the training process, reduce the instability during the training process, and improve the consistency and reliability of decision-making; control The exploration temperature and exploration rate balance the trade-off between exploration and utilization, so that the intelligent agent can explore new actions and utilize known information during the learning process, thereby improving learning efficiency and decision-making quality; the degree of exploration is gradually reduced by exploring the attenuation factor, so that the intelligent agent gradually tends to choose known better actions, further improving the effectiveness of decision-making; the loss function is constructed based on the prediction difference between the first network and the second network, and the network parameters are continuously optimized through the gradient descent algorithm to improve the network's modeling ability of the environment and decision-making accuracy; the parameters of the first network are periodically updated to the second network, and the smoothness of the update is controlled by the softening factor, which effectively improves the stability and robustness of the decision. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a flowchart of a dynamic display adjustment method based on a reinforcement learning algorithm according to an embodiment of the present invention;

[0060] Figure 2 The figure is a schematic diagram of the structure of a dynamic display adjustment system based on a reinforcement learning algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0063] Figure 1 FIG. 1 is a flow chart of a dynamic display adjustment method based on a reinforcement learning algorithm according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0064] S101. Obtain historical data of the target place, the historical data including sales data, product attribute data, user behavior data and display data, pre-process the historical data and sort them according to time series, build a sales forecasting model based on causal representation learning, and obtain sales forecast values ​​through a causal-driven forecasting algorithm; build a product association model, based on preset association rules between different products, calculate product similarities, determine complementary relationships and substitution relationships, and calculate product recommendation scores;

[0065] The sales data specifically involves the sales volume or sales revenue data of a product within a specific period of time; the commodity attribute data includes various characteristics of the product, such as color, size, weight, material, etc.; the user behavior data involves the behavior patterns and preferences of users when purchasing products, such as purchase frequency, purchase time, purchase quantity, etc.; the display data describes information such as the location and display method of the product in the store or display space.

[0066] In the complementary relationship and substitution relationship, the complementary relationship refers to the fact that commodities have the characteristics of complementing each other, and the substitution relationship refers to the situation that one commodity can replace another commodity under certain circumstances.

[0067] In this embodiment, the sales forecasting model based on causal representation learning can more accurately predict future sales trends, help enterprises optimize inventory management and production plans, reduce surpluses or out-of-stock situations, and improve sales efficiency and customer satisfaction; through the product association model, better understanding and utilization of the relationship between different products can help design more effective product portfolios and promotion strategies, and increase sales and market share; based on the product recommendation score, enterprises can provide users with personalized shopping suggestions and recommendations, improve user satisfaction and purchase conversion rate.

[0068] In an optional embodiment, a sales forecasting model is constructed based on causal representation learning, and the sales forecast value is obtained by a causal driven forecasting algorithm, including:

[0069] Obtain a time series data set, extract the causal dependency between the commodity attribute data, the user behavior data and the display data from the time series data set based on a causal discovery algorithm, and construct a causal graph model by identifying key sales factors and determining causal paths;

[0070] Based on a deep neural network, a causal encoder is constructed to capture the causal structure information in the causal graph model, generate a low-dimensional representation, map the time series data set to a causal representation space, and learn the causal representation;

[0071] The causal representation is combined with a pre-built basic prediction model to determine a causal-driven sales prediction model. The sales prediction model takes the causal representation as input, learns the corresponding relationship between the causal representation and the sales prediction value, determines the error of the sales prediction value, and trains to obtain the optimal sales prediction model by minimizing the prediction loss function.

[0072] The causal path specifically refers to the path that describes the causal relationship from one variable to another in the causal graph model. The causal path is usually composed of a series of directed edges, which represent causal dependencies. The nodes on the path usually represent the key factors affecting sales. Identifying the path helps understand whether the variable has a direct or indirect impact on sales.

[0073] The causal structure information specifically refers to the set of all directed edges and nodes that describe the causal relationship between each variable in the causal graph model, revealing the causal dependency and interaction between variables in the system, including the existence of causal relationship between variables, the direction of the relationship, and the strength of the relationship. Obtaining causal structure information helps to better predict and make decisions.

[0074] The causal representation space specifically refers to a low-dimensional space to which variables in a time series dataset are mapped through a causal encoder, retaining causal structure information, and the low-dimensional representation can capture causal relationships.

[0075] Collect historical sales data, product attribute data, user behavior data, and display data from various data sources in the target venue, clean the data, remove missing values, outliers, and inconsistent data, integrate and standardize the cleaned data, integrate data from different sources and formats into a unified data set, sort the data set by timestamp, and generate a time series data set arranged in chronological order;

[0076] Using a causal discovery algorithm, preferably a PC algorithm, the causal dependency between different data types is learned from a time series data set. By analyzing the conditional independence and dependency between product attribute data, user behavior data, and display data, the algorithm can discover the causal relationship between them. Based on the results of the causal discovery, the key factors that have a significant impact on sales are identified, and the causal paths between the factors are determined. A causal graph model is constructed to represent the causal structure in the data in the form of a directed acyclic graph.

[0077] Design and build a causal encoder based on deep neural networks. The purpose of the causal encoder is to map time series datasets to a low-dimensional causal representation space to capture the causal structure information in the causal graph model. The input of the encoder is time series data, and the output is the corresponding low-dimensional representation. By introducing specific loss functions and regularization terms, such as causal reconstruction error and causal regularization terms, the causal encoder is trained to learn the causal representation of the data; during the training process, the encoder continuously adjusts parameters to minimize the loss function so that the learned low-dimensional representation can well reflect the causal dependencies in the data;

[0078] The causal representation learned by the causal encoder is combined with the pre-built basic prediction model to build a causal-driven sales prediction model. The basic prediction model adopts a machine learning model, preferably a decision tree model. The sales prediction model uses the causal representation as an input feature, learns the correspondence between the causal representation and the sales prediction value, and measures the difference between the predicted value and the actual sales value by defining a prediction loss function, exemplarily using the mean square error. During the training process, the parameters of the sales prediction model are continuously adjusted by minimizing the prediction loss function to obtain the optimal model.

[0079] Use the trained causal-driven sales forecasting model to predict future sales. Input the product attribute data, user behavior data, and display data of the target time period into the causal encoder to obtain the corresponding causal representation, and input the causal representation into the sales forecasting model to obtain the predicted value of future sales volume;

[0080] Over time, the sales environment and consumer behavior may change. To adapt to these changes, the sales forecasting model needs to be regularly updated and maintained. The model is retrained and optimized by collecting new sales data. At the same time, the model's forecasting performance is monitored to identify and resolve model problems in a timely manner. The model is adjusted and improved according to changes in business needs to ensure that the model can always provide accurate and reliable sales forecasts.

[0081] In this embodiment, the causal dependency relationship between different data types can be accurately identified through the causal discovery algorithm, ensuring that the model can capture the true causal structure in the data and improve the accuracy of the prediction; by identifying the key factors and causal paths that have a significant impact on sales, the model can be focused on the most relevant variables, reducing noise interference and improving the prediction effect; the causal graph model represents the causal structure in the data in the form of a directed acyclic graph, making the model more transparent and easy to understand and explain the prediction results; mapping the data to a low-dimensional causal representation space makes the causal dependency relationship in the data clearer and easier to analyze and explain.

[0082] In an optional embodiment, constructing a product association model, based on preset association rules between different products, calculating product similarities, determining complementary relationships and substitution relationships, and calculating product recommendation scores include:

[0083] Preprocess the product attribute data to obtain product attribute features, use convolutional neural network to extract features from the product text description and image data to obtain text feature vectors and image feature vectors, and concatenate the product attribute features, text feature vectors and image feature vectors to obtain product fusion features;

[0084] Based on user behavior data, count the number of interactions each user has with each product, assign corresponding weights to different types of interaction behaviors, and calculate the user-product interaction matrix;

[0085] The user-product interaction matrix is ​​used as a bipartite graph, and a graph convolutional neural network is used to learn the features of the bipartite graph. By aggregating the neighborhood information of each node in the bipartite graph, the implicit representation of the user and the product is obtained, and the user-product preference features are extracted.

[0086] The product fusion feature and the user-product preference feature are taken as two different views, and the node features in the view are learned and updated using a multi-view graph attention network. The neighborhood node information is adaptively aggregated through the attention mechanism, and the outputs of the two views are spliced ​​to obtain a comprehensive representation of the product;

[0087] Based on the comprehensive representation of the commodities, the cosine similarities between different commodities are calculated to construct a commodity similarity matrix;

[0088] According to the preset commodity association rules, the commodity similarity matrix is ​​used as the weight of the edge to construct a commodity association graph, and the gated graph neural network is used to reason about the commodity association graph. Through multi-step message passing and gated units, the hidden state of the node is updated to obtain the complementary relationship and substitution relationship between commodities;

[0089] The comprehensive representation, complementary relationship and substitution relationship representation of the products are spliced ​​to construct a product feature matrix. Non-negative matrix decomposition is used on the product feature matrix and the user-product interaction matrix to obtain a product latent factor matrix and a user latent factor matrix. The recommendation score of each user for each product is calculated through the inner product of the product latent factor matrix and the user latent factor matrix.

[0090] Preprocess the product attribute data. For the product text description, use natural language processing technology to perform operations such as word segmentation, stop word removal and part-of-speech tagging to convert the text into a numerical feature vector. For the product image data, use a convolutional neural network to extract image features. Through multi-layer processing of convolutional layers and pooling layers, obtain the high-level feature representation of the image; splice the product attribute features, text feature vectors and image feature vectors to obtain the fusion features of the product;

[0091] Based on user behavior data, the number of interactions of each user with each product is counted. Different weights are assigned to different types of interaction behaviors. Preferably, the weight of purchase behavior can be set to the highest. According to the number of user-product interactions and weights, the user-product interaction matrix is ​​calculated. Each element in the matrix represents the user's preference for the product.

[0092] The user-item interaction matrix is ​​considered as a bipartite graph, where users and items are two types of nodes. A graph convolutional neural network is used to learn the features of the bipartite graph. The graph convolutional neural network learns the implicit representation of nodes by aggregating the neighborhood information of each node. For user nodes, the neighborhood information includes the item nodes that the user has interacted with and their features; for item nodes, the neighborhood information includes the user nodes that have interacted with the item and their features. Through multi-layer graph convolution operations, the implicit representation of users and items is obtained, and the user-item preference features are extracted.

[0093] The product fusion features and user-product preference features are treated as two different views, and the multi-view graph attention network is used for feature learning and updating. The multi-view graph attention network adaptively aggregates the information of neighboring nodes through the attention mechanism, and performs weighted summation of node features in different views. In each view, the importance between nodes is calculated by the attention weight, and the features of neighboring nodes are aggregated according to the importance. The outputs of the two views are spliced ​​to obtain a comprehensive representation of the product, and the user preference information is integrated into the product feature information.

[0094] Based on the comprehensive representation of the products, the cosine similarity between different products is calculated. Cosine similarity measures the cosine value of the angle between two vectors. The larger the value, the higher the similarity between the products. By calculating the cosine similarity between each pair of products, a product similarity matrix is ​​constructed. The matrix reflects the similarity between products and can be used for subsequent product association analysis and recommendation.

[0095] According to the preset commodity association rules, such as similar commodities, matching commodities and complementary commodities, the commodity similarity matrix is ​​used as the weight of the edge to construct the commodity association graph. The nodes in the commodity association graph represent commodities, the edges represent the association relationship between commodities, and the weight of the edge represents the strength of association. The commodity association graph is inferred using a gated graph neural network. The gated graph neural network updates the hidden state of the node through multi-step message passing and gating units. In each step, the node receives messages from neighboring nodes and controls the flow and update of messages through the gating unit. After multi-step reasoning, the complementary and substitution relationships between commodities are obtained, which characterizes the association pattern between commodities.

[0096] The comprehensive representation, complementary relationship representation, and substitution relationship representation of the product are spliced ​​to construct the product feature matrix. The product feature matrix and the user-product interaction matrix are subjected to non-negative matrix factorization. Non-negative matrix factorization decomposes the original matrix into the product of two non-negative matrices to obtain the product latent factor matrix and the user latent factor matrix. The product latent factor matrix represents the implicit features of the product, and the user latent factor matrix represents the user's implicit preferences. By calculating the inner product of the product latent factor matrix and the user latent factor matrix, the recommendation score of each user for each product is obtained. The higher the recommendation score, the higher the user's preference for the product, which can be used as an important basis for the recommendation system.

[0097] In this embodiment, based on the number of user interactions with products and the weights of different interaction behaviors, a user-product interaction matrix is ​​constructed to reflect the user's preference for products, providing important data support for the personalized recommendation system; the implicit representation of users and products is learned through a graph convolutional neural network, and the associated information in the user-product interaction data is effectively used to improve the recommendation system's ability to understand and predict user interests; the attribute feature vector of the product and the user-product preference feature are used as different view inputs, and feature learning and updating are performed through a multi-view graph attention network, which comprehensively considers the information in different views to improve the expressiveness of product features and the recommendation effect; A product association graph is constructed based on product similarity, and gated graph neural networks are used for reasoning to explore the complementary and substitution relationships between products, which helps to deeply understand the logic behind consumer purchasing behavior and improve the intelligence of the recommendation system. The comprehensive representation, complementary relationship representation, and substitution relationship representation of the products are spliced ​​to construct a product feature matrix, which integrates product information at different levels and provides the recommendation system with a more comprehensive product description and prediction capability. By calculating the inner product of the product latent factor matrix and the user latent factor matrix, the recommendation score of each user for each product is obtained, which intuitively reflects the user's preference for the product and affects the subsequent display strategy.

[0098] S102. Based on the current display data of the product, combined with the sales forecast value and the product recommendation score, determine the state space; based on the display position adjustment action, display quantity adjustment action, display addition and deletion action and display replacement action of the product, determine the action space; with sales profit and user satisfaction as positively correlated factors, determine the reward function; based on the state space, the action space and the reward function, construct a dynamic display model;

[0099] The display position adjustment action specifically refers to adjusting the position or layout of the goods in the display space according to the analysis results or strategies, which may involve moving, rearranging or reorganizing the goods; the display quantity adjustment action specifically refers to adjusting the display quantity of specific goods according to sales forecasts or market demand, which may be to increase the display quantity of certain goods or reduce the display quantity of other goods; the display addition and deletion action specifically refers to adding new goods to the display or removing certain goods from the display, and decisions are usually made based on sales forecasts, user preferences or market trends; the display replacement action specifically refers to replacing certain goods in the current display with other goods, with the aim of optimizing the display effect and sales performance based on sales forecasts, product similarities or market demand.

[0100] The state space specifically refers to a set of states determined based on the current display data of the product, sales forecast value and product recommendation score, reflecting the display situation and forecast results of the product in each state; the action space specifically includes display position adjustment actions, display quantity adjustment actions, display addition and deletion actions and display replacement actions, which are used to adjust the product display to optimize sales profit and user satisfaction.

[0101] The reward function is usually defined based on the positive correlation between sales profit and user satisfaction. Specifically, the sales profit calculated based on the sales volume and price of the goods reflects the contribution of the display strategy to the economic benefits of the enterprise; the user satisfaction evaluated based on user feedback, purchasing behavior or other indicators reflects the impact of the display strategy on user experience and satisfaction.

[0102] In this embodiment, a comprehensive dynamic display model is implemented, which can dynamically adjust the display strategy of goods according to current market conditions and forecasts to maximize sales profits and improve user satisfaction.

[0103] S103. Based on the state space, determine the state characteristics to be adjusted, input the dynamic display model, calculate the probability distribution of the action, combine the exploration attenuation factor and the softening factor, select the optimal action from the action space, determine the optimal dynamic display strategy, and make display adjustments based on the optimal dynamic display strategy.

[0104] The probability distribution of the action specifically refers to the probability distribution of each possible action selected by the agent according to the current state in reinforcement learning. The distribution can be based on the probability of action value estimation or policy network output. The exploration attenuation factor specifically refers to a parameter used to control the exploration strategy in reinforcement learning. It is usually a value less than 1, which is used to gradually reduce the degree of exploration so that the agent gradually shifts from exploration to utilization during the training process; the softening factor specifically refers to a factor used to smoothly update the parameters of the target network or auxiliary network in reinforcement learning. It can be a value between 0 and 1, which is used to control the amplitude of the parameter update process from the main network to the replica network.

[0105] Based on the current state and the output of the policy network, the selection probability distribution of each action is calculated. As the training progresses, the degree of exploration is gradually reduced so that the agent can find a balance between exploration and utilization; the parameters of the replica network or the target network are smoothly updated to improve the stability and convergence of the training.

[0106] In an optional embodiment, based on the state space, determining the state feature to be adjusted, inputting the dynamic display model, calculating the probability distribution of the action, combining the exploration attenuation factor and the softening factor, selecting the optimal action from the action space, and determining the optimal dynamic display strategy includes:

[0107] The dynamic display model includes a first network constructed based on a deep neural network, and a second network created based on a corresponding generated copy of the first network;

[0108] Initialize the first network and the second network, set the exploration temperature, exploration attenuation factor, softening factor and exploration rate;

[0109] The intelligent agent interacts with the environment, and the intelligent agent selects an action using a probability distribution exploration strategy according to the current state characteristics, calculates the selection probability of each action according to the output of the first network, based on the exploration temperature, and according to the corresponding exploration distribution, determines the selected action based on the selection probability and executes it using random sampling, calculates the immediate reward, and stores the transfer sample consisting of the current state characteristics, the selected action, the immediate reward, and the next state characteristics into the experience replay buffer;

[0110] Randomly sampling a transfer sample set from the experience replay buffer, calculating a second action value corresponding to the second network for each transfer sample in the transfer sample set, constructing a loss function based on a mean square error between the first action value corresponding to the first network and the second action value, and updating a first network parameter value corresponding to the first network by a gradient descent algorithm with the goal of minimizing the loss function;

[0111] Based on the softening factor, partially updating the first network parameter value to a corresponding second network parameter value in the second network, and attenuating the exploration temperature according to the exploration attenuation factor;

[0112] Repeat the process until the preset number of training rounds is reached to obtain the optimal first network;

[0113] Based on the state characteristics to be adjusted, the corresponding action with the maximum first action value is selected through the optimal first network to generate the optimal dynamic display strategy.

[0114] Based on the deep neural network, the first network is constructed as the main network. The first network is copied to create a corresponding copy network, namely the second network. The second network has the same network structure and initial parameter values ​​as the first network, which is used to stabilize the training process and improve the robustness of the decision.

[0115] Initialize the first network and the second network, set the network parameters such as the number of layers, number of neurons and activation function. At the same time, set the hyperparameters such as exploration temperature, exploration decay factor, softening factor and exploration rate. The exploration temperature controls the degree of exploration of the agent when selecting actions, the exploration decay factor is used to gradually reduce the exploration temperature as the training progresses, the softening factor is used to smoothly update the parameters of the second network, and the exploration rate determines the probability of the agent choosing an exploration action.

[0116] The agent selects actions based on the current state features using a probability distribution exploration strategy. The predicted value of each action is obtained through the forward propagation of the first network. Based on the exploration temperature, the predicted value is converted into the corresponding exploration distribution, and the selection probability of each action is calculated. Using random sampling, the selected action is determined based on the selection probability and executed. After the action is executed, the environment returns an immediate reward indicating the quality of the action. The current state features, the selected action, the immediate reward, and the next state features are combined into a transfer sample and stored in the experience replay buffer for subsequent training.

[0117] Randomly sample a batch of transfer samples from the experience replay buffer to form a training batch. For each transfer sample, calculate the second action value corresponding to the next state through the forward propagation of the second network. Use the first network to calculate the second action value corresponding to the current state. Construct a loss function and use the mean square error between the first action value of the first network and the second action value of the second network as the loss. With the goal of minimizing the loss function, update the parameter value of the first network through the gradient descent algorithm. The gradient descent algorithm gradually optimizes the prediction ability of the network by calculating the gradient of the loss function with respect to the network parameters and adjusting the parameters in the opposite direction of the gradient.

[0118] While training the first network, it is necessary to periodically update part of the parameter values ​​of the first network to the second network to keep the two networks synchronized. Use a softening factor to control the degree of update, and copy part of the parameter values ​​of the first network to the corresponding parameters of the second network by weighted average. This soft update method can smoothly update the second network and improve the stability of decision-making. At the same time, according to the exploration attenuation factor, the exploration temperature is attenuated. As the training progresses, the degree of exploration is gradually reduced, making the agent more inclined to choose the optimal action.

[0119] Repeat multiple rounds of training. In each training round, the agent interacts with the environment, collects transfer samples, and uses these samples to train the first network and update the second network. As training progresses, the prediction ability of the first network continues to improve, and it can more accurately evaluate the value of different actions. When the preset number of training rounds is reached, the optimal first network is obtained as the decision model for the dynamic display strategy.

[0120] Given the state features to be adjusted, forward propagation is performed through the optimal first network to calculate the predicted value of each possible action. The corresponding action with the largest first action value is selected as the optimal dynamic display strategy. This strategy gives the optimal action selection based on the current state features to achieve the purpose of maximizing long-term benefits.

[0121] In this embodiment, the first network and the replica network are constructed based on the deep neural network. The second network as the replica network has the same structure and parameter initial values ​​as the first network. By sharing information and interactive experience, the training process is stabilized and accelerated; the parameter partial update controlled by the softening factor ensures the synchronization of the two networks during the training process, reduces the instability during the training process, and improves the consistency and reliability of the decision; the exploration temperature and the exploration rate are controlled to balance the trade-off between exploration and utilization, so that the intelligent agent can explore new actions and utilize known information during the learning process, thereby improving the learning efficiency and decision quality; the exploration degree is gradually reduced by the exploration attenuation factor, so that the intelligent agent gradually tends to choose known better actions, further improving the effectiveness of the decision; the loss function is constructed based on the prediction difference between the first network and the second network, and the network parameters are continuously optimized by the gradient descent algorithm to improve the network's modeling ability and decision accuracy of the environment; the parameter part of the first network is regularly updated to the second network, and the smoothness of the update is controlled by the softening factor, which effectively improves the stability and robustness of the decision; forward propagation is performed based on the optimal first network, the prediction value of each action is calculated, and the action with the maximum prediction value is selected as the optimal dynamic display strategy to maximize long-term benefits.

[0122] In an optional embodiment, calculating the selection probability of each action includes:

[0123] The exploration probability distribution based on the exploration temperature is as follows:

[0124] ;

[0125] in, P represents the exploration probability distribution, s Indicates the current state. Indicates the current action. θ represents the model parameters, represents candidate actions, A represents the action space, Q (·) represents the expected value of choosing an action in a given state, represents the state characteristic function, represents the action feature function, μ represents the random noise term, T represents the exploration temperature, λ represents the regularization coefficient, η Indicates the correction factor.

[0126] The formula includes two parts: a numerator and a denominator. The numerator is composed of the expected value of the action, the weighted state characteristic function and the random noise term, which represents the numerator of the selection probability of each action; the denominator is a linear combination of the weighted expected value of all candidate actions and the state characteristic function and the action characteristic function, which is normalized by an exponential function controlled by the exploration temperature.

[0127] The formula is to calculate the selection probability of each action by weighted summing the expected value of the action and the relevant features, and then normalizing it through an exponential function. The exploration temperature controls the degree of randomness in the exploration process, and the regularization coefficient and correction coefficient are used to adjust the preference of action selection.

[0128] According to the formula, by exploring the probability distribution, the agent can maintain the ability to explore unknown actions during the learning process, avoid falling into the local optimal solution, and improve the diversity and adaptability of the strategy; the formula takes into account the expected value of the action and the influence of the state and action characteristics, and through reasonable weighting and normalization, ensures that the agent can comprehensively consider multiple factors when choosing an action, optimize the accuracy of the decision and long-term benefits. The introduction of regularization coefficients and correction coefficients allows the formula to flexibly adjust the regularization and correction effects during the exploration process according to specific application scenarios, adapt to dynamic changes in different environments, and improve the versatility and practicality of the algorithm.

[0129] In an optional embodiment, based on the softening factor, partially updating the first network parameter value to a corresponding second network parameter value in the second network, and attenuating the exploration temperature according to the exploration attenuation factor includes:

[0130] Acquire a first network current parameter value of the first network and a second network current parameter value of the second network;

[0131] Calculating a difference between a current parameter value of the first network and a current parameter value of the second network;

[0132] Multiplying the difference by the softening factor to obtain a softening update value;

[0133] Adding the softened update value to the second network current parameter value to obtain a second network update parameter value, and replacing the second network current parameter value with the second network update parameter value;

[0134] Acquire a current exploration temperature, and multiply the current exploration temperature by the exploration attenuation factor to obtain an attenuation temperature;

[0135] The current exploration temperature is updated to the decay temperature.

[0136] Get the current parameter values ​​of the first network, including parameters such as the network weights and biases; the parameters determine the current state and prediction ability of the first network. At the same time, get the current parameter values ​​of the second network, i.e., parameters such as the weights and biases of the second network. The parameter values ​​of the second network are used to stabilize the training process and improve the robustness of the decision.

[0137] Calculate the difference between the current parameter value of the first network and the current parameter value of the second network. For each corresponding parameter, subtract the parameter value of the second network from the parameter value of the first network to obtain the difference between them. This difference represents the difference in parameters between the two networks in the current state.

[0138] The calculated difference is multiplied by a preset softening factor to obtain a softened update value. The softening factor is a decimal between 0 and 1, which is used to control the amplitude of the parameter update. By multiplying the difference by the softening factor, the parameter value of the first network can be partially updated to the second network smoothly, avoiding drastic changes in the parameters of the second network.

[0139] The current parameter value of the second network is added to the calculated softened update value to obtain the updated parameter value of the second network. For each parameter, its current value is added to the corresponding softened update value to obtain the updated parameter value. Then, the current parameter value of the second network is replaced with the updated parameter value to complete the parameter update process of the second network.

[0140] Get the current exploration temperature value. The exploration temperature controls the degree of exploration of the agent when choosing an action. A higher exploration temperature will make the agent more inclined to try different actions, while a lower exploration temperature will make the agent more inclined to choose the current optimal action.

[0141] Multiply the current exploration temperature by a preset exploration decay factor to get the decayed temperature value. The exploration decay factor is a decimal between 0 and 1 that is used to gradually reduce the exploration temperature. By multiplying the current temperature by the decay factor, the degree of exploration can be gradually reduced as training progresses, allowing the agent to gradually transition from exploration to exploitation.

[0142] The calculated decay temperature is used as the new exploration temperature to replace the current exploration temperature value. In this way, the next time the agent interacts with the environment, it will use the updated exploration temperature to select actions and adjust the balance between exploration and exploitation.

[0143] In this embodiment, through the softening update technology, the parameters of the second network gradually approach those of the first network during the training process, avoiding instability caused by excessive parameter changes, and improving the convergence speed of training and the robustness of the model; the exploration temperature is controlled and gradually decayed, so that the intelligent agent can explore the environment more widely in the early stage of learning, and after the learning gradually deepens, it is more inclined to use existing knowledge, balance the relationship between exploration and utilization, and improve the long-term effect of decision-making; the intelligent agent can adapt to environmental changes and learning task requirements more quickly during the training process, improve the training efficiency and convergence speed of the algorithm, speed up the optimization process, and reach the optimal strategy faster.

[0144] Figure 2 FIG. 1 is a structural diagram of a dynamic display adjustment system based on a reinforcement learning algorithm according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0145] The first unit is used to obtain historical data of the target place, the historical data includes sales data, product attribute data, user behavior data and display data, pre-process the historical data and sort them according to time series, build a sales prediction model based on causal representation learning, and obtain sales prediction values ​​through a causal-driven prediction algorithm; build a product association model, based on the preset association rules between different products, calculate the product similarity, determine the complementary relationship and the substitution relationship, and calculate the product recommendation score;

[0146] The second unit is used to determine the state space based on the current display data of the commodity, combined with the sales forecast value and the commodity recommendation score; determine the action space based on the display position adjustment action, display quantity adjustment action, display addition and deletion action and display replacement action of the commodity; determine the reward function with sales profit and user satisfaction as positively correlated factors; and construct a dynamic display model based on the state space, the action space and the reward function;

[0147] The third unit is used to determine the state characteristics to be adjusted based on the state space, input the dynamic display model, select the optimal action from the action space by calculating the probability distribution of the action, and combine the exploration attenuation factor and the softening factor to determine the optimal dynamic display strategy, and make display adjustments based on the optimal dynamic display strategy.

[0148] According to a third aspect of the embodiments of the present invention,

[0149] An electronic device is provided, comprising:

[0150] processor;

[0151] a memory for storing processor-executable instructions;

[0152] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0153] A fourth aspect of the embodiments of the present invention is:

[0154] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0155] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A dynamic display adjustment method based on reinforcement learning algorithm, characterized in that: include: Obtain historical data of the target place, the historical data including sales data, product attribute data, user behavior data and display data, pre-process the historical data and sort them according to time series, build a sales forecasting model based on causal representation learning, and obtain sales forecast values ​​through a causal-driven forecasting algorithm; build a product association model, based on preset association rules between different products, calculate product similarities, determine complementary relationships and substitution relationships, and calculate product recommendation scores; Based on the current display data of the commodity, the state space is determined in combination with the sales forecast value and the commodity recommendation score; based on the display position adjustment action, display quantity adjustment action, display addition and deletion action and display replacement action of the commodity, the action space is determined; with sales profit and user satisfaction as positively correlated factors, the reward function is determined; based on the state space, the action space and the reward function, a dynamic display model is constructed; Based on the state space, determine the state feature to be adjusted, input the dynamic display model, select the optimal action from the action space by calculating the probability distribution of the action, combine the exploration attenuation factor and the softening factor, determine the optimal dynamic display strategy, and make display adjustments based on the optimal dynamic display strategy; Construct a product association model based on the preset association rules between different products, calculate the product similarity, determine the complementary relationship and substitution relationship, and calculate the product recommendation score including: Preprocess the product attribute data to obtain product attribute features, use convolutional neural network to extract features from the product text description and image data to obtain text feature vectors and image feature vectors, and concatenate the product attribute features, text feature vectors and image feature vectors to obtain product fusion features; Based on user behavior data, count the number of interactions each user has with each product, assign corresponding weights to different types of interaction behaviors, and calculate the user-product interaction matrix; The user-product interaction matrix is ​​used as a bipartite graph, and a graph convolutional neural network is used to learn the features of the bipartite graph. By aggregating the neighborhood information of each node in the bipartite graph, the implicit representation of the user and the product is obtained, and the user-product preference features are extracted. The product fusion feature and the user-product preference feature are taken as two different views, and the node features in the view are learned and updated using a multi-view graph attention network. The neighborhood node information is adaptively aggregated through the attention mechanism, and the outputs of the two views are spliced ​​to obtain a comprehensive representation of the product; Based on the comprehensive representation of the commodities, the cosine similarities between different commodities are calculated to construct a commodity similarity matrix; According to the preset commodity association rules, the commodity similarity matrix is ​​used as the weight of the edge to construct a commodity association graph, and the gated graph neural network is used to reason about the commodity association graph. Through multi-step message passing and gated units, the hidden state of the node is updated to obtain the complementary relationship and substitution relationship between commodities; The comprehensive representation, complementary relationship and substitution relationship representation of the products are spliced ​​to construct a product feature matrix. Non-negative matrix decomposition is used on the product feature matrix and the user-product interaction matrix to obtain a product latent factor matrix and a user latent factor matrix. The recommendation score of each user for each product is calculated through the inner product of the product latent factor matrix and the user latent factor matrix.

2. The method according to claim 1, characterized in that The sales forecasting model is built based on causal representation learning. The sales forecast values ​​obtained through the causal-driven forecasting algorithm include: Obtain a time series data set, extract the causal dependency between the commodity attribute data, the user behavior data and the display data from the time series data set based on a causal discovery algorithm, and construct a causal graph model by identifying key sales factors and determining causal paths; Based on a deep neural network, a causal encoder is constructed to capture the causal structure information in the causal graph model, generate a low-dimensional representation, map the time series data set to a causal representation space, and learn the causal representation; The causal representation is combined with a pre-built basic prediction model to determine a causal-driven sales prediction model. The sales prediction model takes the causal representation as input, learns the corresponding relationship between the causal representation and the sales prediction value, determines the error of the sales prediction value, and trains to obtain the optimal sales prediction model by minimizing the prediction loss function.

3. The method according to claim 1, characterized in that Based on the state space, the state characteristics to be adjusted are determined, input into the dynamic display model, and the optimal action is selected from the action space by calculating the probability distribution of the action, combining the exploration attenuation factor and the softening factor. The optimal dynamic display strategy includes: The dynamic display model includes a first network constructed based on a deep neural network, and a second network created based on a corresponding generated copy of the first network; Initialize the first network and the second network, set the exploration temperature, exploration attenuation factor, softening factor and exploration rate; The intelligent agent interacts with the environment, and the intelligent agent selects an action using a probability distribution exploration strategy according to the current state characteristics, calculates the selection probability of each action according to the output of the first network, based on the exploration temperature, and according to the corresponding exploration distribution, determines the selected action based on the selection probability and executes it using random sampling, calculates the immediate reward, and stores the transfer sample consisting of the current state characteristics, the selected action, the immediate reward, and the next state characteristics into the experience replay buffer; Randomly sampling a transfer sample set from the experience replay buffer, calculating a second action value corresponding to the second network for each transfer sample in the transfer sample set, constructing a loss function based on a mean square error between the first action value corresponding to the first network and the second action value, and updating a first network parameter value corresponding to the first network by a gradient descent algorithm with the goal of minimizing the loss function; Based on the softening factor, partially updating the first network parameter value to a corresponding second network parameter value in the second network, and attenuating the exploration temperature according to the exploration attenuation factor; Repeat the process until the preset number of training rounds is reached to obtain the optimal first network; Based on the state characteristics to be adjusted, the corresponding action with the maximum first action value is selected through the optimal first network to generate the optimal dynamic display strategy.

4. The method according to claim 3, characterized in that: Calculating the selection probability of each action involves: The exploration probability distribution based on the exploration temperature is as follows: Where P represents the exploration probability distribution, s represents the current state, a represents the current action, θ represents the model parameters, a′ represents the candidate action, A represents the action space, Q(·) represents the expected value of selecting an action in a given state, f(·) represents the state characteristic function, g(·) represents the action characteristic function, μ represents the random noise term, T represents the exploration temperature, λ represents the regularization coefficient, and η represents the correction coefficient.

5. The method according to claim 3, characterized in that: Based on the softening factor, partially updating the first network parameter value to a corresponding second network parameter value in the second network, and attenuating the exploration temperature according to the exploration attenuation factor includes: Acquire a first network current parameter value of the first network and a second network current parameter value of the second network; Calculating a difference between a current parameter value of the first network and a current parameter value of the second network; Multiplying the difference by the softening factor to obtain a softening update value; Adding the softened update value to the second network current parameter value to obtain a second network update parameter value, and replacing the second network current parameter value with the second network update parameter value; Acquire a current exploration temperature, and multiply the current exploration temperature by the exploration attenuation factor to obtain an attenuation temperature; The current exploration temperature is updated to the decay temperature.

6. A dynamic display adjustment system based on a reinforcement learning algorithm, used to implement the method described in any one of claims 1 to 5, characterized in that: include: The first unit is used to obtain historical data of the target place, the historical data including sales data, commodity attribute data, user behavior data and display data, pre-process the historical data, sort them according to time series, build a sales forecasting model based on causal representation learning, and obtain sales forecast values ​​through a causal-driven forecasting algorithm; Construct a product association model based on the preset association rules between different products, calculate the product similarity, determine the complementary and substitution relationships, and calculate the product recommendation score; The second unit is used to determine the state space based on the current display data of the commodity, combined with the sales forecast value and the commodity recommendation score; determine the action space based on the display position adjustment action, display quantity adjustment action, display addition and deletion action and display replacement action of the commodity; determine the reward function with sales profit and user satisfaction as positively correlated factors; and construct a dynamic display model based on the state space, the action space and the reward function; The third unit is used to determine the state characteristics to be adjusted based on the state space, input the dynamic display model, select the optimal action from the action space by calculating the probability distribution of the action, and combine the exploration attenuation factor and the softening factor to determine the optimal dynamic display strategy, and make display adjustments based on the optimal dynamic display strategy.

7. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 5.

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