Skip to Content
SymmetrySymmetry
  • Article
  • Open Access

17 June 2026

26 Pages

Dynamic Pricing for Perishable Fresh Produce with Attention-Augmented PPO Algorithm

,
and
1
School of Computer Science and Technology, Changchun University of Science and Technology, Changchun 130022, China
2
School of Economics and Management, Changchun University of Science and Technology, Changchun 130022, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section A: Computer Science

Abstract

Perishable products are usually priced in real-time to volatile market environments, thereby optimizing inventory control, minimizing resource wastage, and maximizing corporate profitability. Based on the public dataset from the 2023 Higher Education Press Cup National College Students Mathematical Modeling Competition, this paper addresses the challenge of multi-product joint pricing for perishable fresh produce and proposes an attention-augmented proximal policy optimization algorithm (termed ATT-PPO), which embeds an attention mechanism into the proximal policy optimization (PPO) framework. The integrated attention mechanism confers three core advantages to the model: first, it dynamically captures inter-product interdependencies, enabling an accurate reflection of cross-price elasticity and demand correlations; second, it reduces feature redundancy and computational overhead in multi-product collaborative pricing strategies; third, it enhances both the interpretability and computational efficiency of the model. Experimental results demonstrate that in the scenario of multi-product pricing, the ATT-PPO algorithm achieves competitive performance compared to PPO, DDPG (Deep Deterministic Policy Gradient), SAC (Soft Actor-Critic), and TD3 (Twin Delayed Deep Deterministic Policy Gradient), with the key advantage lying in its ability to provide interpretable attention weights that reveal dynamic cross-product dependencies in pricing decisions. This study not only expands the applicability of DRL (Deep Reinforcement Learning) to practical economic problems in the fresh produce sector but also provides valuable theoretical insights that can be generalized to other short-lifecycle product domains, including fashion apparel and consumer electronics.

1. Introduction

Perishable products are defined by inherent characteristics such as short shelf lives, limited lifecycles, and progressive devaluation over time. Also referred to as seasonal or short-lifecycle products, they encompass typical examples such as food commodities (e.g., milk, bread, and fresh vegetables) and service-based products like tickets and hotel rooms. A defining attribute of these products is their limited sales window—failure to sell within a specified timeframe results in a substantial depreciation or even complete erosion of residual value [1]. In recent years, the accelerated pace of market product updates and replacements, coupled with rising consumer demands for diversity and timeliness, has led to a growing number of products exhibiting perishable characteristics [2]. This trend underscores the escalating urgency of developing effective pricing strategies tailored to perishable goods.
Pricing perishable products presents significantly greater challenges compared to general merchandise. When formulating pricing strategies, enterprises must synthesize multiple dynamic factors, including market demand fluctuations, real-time inventory levels, competitive landscape, seasonal variations, and product lifecycle stages. Given the rapid decline in both value and utility as the sales period nears its end, expeditious product turnover becomes a critical priority [3]. Suboptimal pricing decisions carry tangible risks: overly low prices may drive rapid sales but at the cost of compromised profit margins, while excessively high prices can suppress sales volume, leading to excess inventory and irreversible waste [4]. Thus, the core challenge in perishable product pricing lies in determining optimal price points within constrained sales horizons to maximize cumulative profitability.
The fixed-price model, which maintains stable prices over extended periods, offers advantages of simplicity and ease of implementation but fails to adapt dynamically to shifts in market demand. With the advancement of digital technologies, the integration of big data and artificial intelligence into business operations has spurred growing interest in dynamic pricing. Defined as a strategy that enables real-time price adjustments based on a holistic assessment of market demand, inventory status, remaining sales time, and other relevant factors, dynamic pricing facilitates tighter alignment between supply and demand, enhances adaptability to demand volatility, and boosts total revenue through precise customer segmentation [5]. For retailers, this approach enables flexible price adjustments across different time periods and demand conditions, thereby optimizing inventory management and maximizing overall revenue. Dynamic pricing is particularly well-suited to perishable products, which are characterized by time-sensitive demand, high price elasticity, and limited replenishment capacity [6]. The proliferation of e-commerce has further refined the conditions for implementing dynamic pricing while reducing associated costs, leading to its widespread adoption across industries. By real-time monitoring of market demand and competitor pricing, enterprises can strategically raise prices during peak demand periods and lower them during slack periods, thereby enhancing overall sales revenue.
Multi-product dynamic pricing constitutes a critical research domain in revenue management. In typical scenarios, enterprises need to sell multiple types of perishable products within a constrained sales timeframe, with predetermined initial inventory levels and no subsequent replenishment opportunities [7]. A key complexity arises from the interdependent nature of product demand: the price of one product not only influences its own demand but also exerts spillover effects on the demand for other products. Consequently, enterprises must formulate joint pricing decisions for all product categories to maximize total revenue [8]. For perishable fresh produce—such as the vegetable products examined in this study—supermarkets frequently offer discounts on items with damaged packaging or deteriorating quality due to the wide variety of products available. This underscores the pivotal role of precise demand analysis in formulating effective pricing strategies. From a demand perspective, vegetable sales volumes often exhibit temporal correlations, while the constrained shelf space in retail environments further emphasizes the importance of optimal product assortment planning for revenue maximization.
In recent years, deep reinforcement learning (DRL) has emerged as a powerful tool for addressing dynamic pricing challenges, owing to its unique advantages. First, DRL eliminates the need for explicit assumptions about real-world demand—a critical benefit given the complex and dynamic nature of market demand—by directly learning from data to capture intricate and volatile market dynamics. Second, DRL leverages neural networks to effectively process continuous, high-dimensional product feature spaces and action spaces [9]. Integrating DRL into perishable product dynamic pricing enables enterprises to extract actionable insights from historical data, including market demand patterns, inventory status, product shelf life, and other relevant factors, thereby developing highly adaptive and accurate dynamic pricing decision models [10]. Such models can dynamically adjust product prices and inventory management strategies in response to real-time market conditions and demand fluctuations, enabling effective inventory control and profit maximization [11]. Ultimately, DRL empowers enterprises to formulate pricing strategies tailored to different market elasticity conditions, improve sales efficiency, enhance consumer satisfaction, and mitigate the risk of excess inventory.
Against this backdrop, this study develops a short-term strategy optimization model integrated with a multi-head attention mechanism, aiming to enhance the average profitability of perishable products under multi-product collaborative pricing scenarios. The remainder of this paper is structured as follows: Section 1 reviews and analyzes relevant literature; Section 2 elaborates on problem assumptions and theoretical foundations; Section 3 presents the network architecture and algorithm workflow of the proposed model; Section 4 conducts numerical experiments, including data analysis, parameter selection, and algorithm performance evaluation; and Section 5 provides conclusions and future research directions.

3. Model Development

3.1. Problem Description

The operational management of perishable fresh produce can be described as a dynamic pricing problem with limited inventory and variable prices, but with a limited number of price adjustments. It is assumed that there is a constant initial inventory at the beginning of each sales cycle, with no replenishment throughout the entire sales cycle. Lead times and fixed ordering costs are not considered, and the number of dynamic price adjustments and the time interval between each price change are limited. Assume the total sales duration is L , and freshness can be maintained for a duration of l . Fresh products are not essential goods, and customers can freely choose to purchase or not purchase them.
The revenue obtained from the sale of goods is represented as the difference between sales and costs:
∑ i = 1 m r t i = ∑ i = 1 m p t i × n t i − c t i × n t i ,
where p t i denotes the price at time t i , n t i represents the quantity of goods sold during the time interval Δ at time t i with the price p t i , c t i is the unit cost, and t i is the time point at which the price is changed once.
The freshness of fresh produce directly impacts consumers’ willingness to pay. A reasonable premium pricing mechanism should be established during peak sales periods to align with the peak quality of the product. During the afternoon hours, a dynamic discount model should be implemented to achieve inventory clearance and profit balance through price elasticity adjustments. Within a single-day sales cycle, fresh produce is at its freshest when first stocked on shelves, with freshness gradually declining over time. The freshness of fresh products exhibits a typical three-stage decline pattern: the initial stage is a slow decline period, where freshness decreases slowly and sensory changes are not significant; after a period of time, it enters a rapid decline period, where appearance quality deteriorates significantly; however, once a certain threshold is reached, it enters a stable decline period, where almost no noticeable changes in the fresh product can be observed [31]. Based on the above description and the research by Wang Shuyun et al. [31], this paper defines the freshness function as:
θ t = 1 1 + α t 2 ,
where α is the sensitivity factor of freshness to time, and θ t represents the freshness at time t .
For perishable products, market demand mainly depends on product price and freshness level. In addition, since inventory has a stimulating effect on demand [32], this paper also considers the impact of current inventory levels on demand. Therefore, we assume that the demand function d p t i , θ t i is a linear function of sales price p t and freshness level θ t , expressed as
d k t i = μ k + a k θ k t i − b k p k t i + ∑ j = 1 j ≠ k N c k j p j t i ,
where μ k is the base demand of product k , a k is the positive coefficient of freshness on demand; b k is the negative coefficient of price on demand; c k j is the cross-price elasticity coefficient between product k and product j . A positive c k j indicates substitution (price increase in j boosts demand for k ), while a negative value indicates complementarity. In this way, inter-product dependencies are explicitly embedded in the demand environment, so the attention mechanism can meaningfully learn and weight cross-product feature interactions.
For expositional clarity, Equation (3) presents a simplified linear representation of the demand function. The actual demand function implemented in our simulation environment is multiplicative and nonlinear, incorporating cross-price substitution elasticities, promotion saturation effects, temporal demand patterns (including weekly seasonality and trend components), and freshness-based threshold behavior. The linear form in Equation (3) is adopted solely for notational simplicity in the model description; all numerical experiments reported in Section 5 are conducted under the fully nonlinear specification. A systematic comparison across alternative nonlinear functional forms (e.g., exponential, isoelastic, or logit-type demand) is left for future research.
As freshness declines, available inventory also decreases. I t i denotes the available inventory of the product at the i time of price adjustment. Considering that the product is newly launched and deteriorates slowly, there is I t i = I t i − 1 while i < l ; When l ≤ i < T , the product has been on display for an extended period, and freshness gradually declines. The indicator 1 θ k t i > 0 ensures inventory is set to 0 if freshness expires. Thus, for product k, there is:
I t i = I t i − 1 , i < l I t i − 1 − d k , t i − ∑ j = i m − 1 I t j + + · 1 θ k t i > 0 , l ≤ i < T .
Based on the assumptions of the above model, the following assumptions are added for multi-product dynamic pricing:
(1)
The product set is G = 1 , 2 , ⋯ , M , and there is a stockout substitution relationship between product m and product k in the set. Considering the complexity of the model, we set the number of products to 3 in this paper.
(2)
Assuming that product m is out of stock during a certain period, consumers seek its substitute products k. When the product k also faces inventory shortages, these consumers will no longer make any purchases and abandon the purchase of substitute products [33].
For the multi-product joint pricing problem, total profit includes each product’s profit, expiration penalties, and strategic rewards. The profit of each product is sales revenue minus cost, expressed as:
P r o f i t = q i × p i − q i × c i ,
where q i represents the sales volume of the product i , p i represents the price, and c i represents the cost.
At the same time, considering that fresh products have a high loss rate, expiration losses are added to the rewards:
L o s s i = c i × L i ,
where L i represents the remaining inventory of the product i after the sales period has expired.
To highlight the advantages of multi-product joint pricing, the complementary relationships between products are considered, and strategic incentives are introduced, i.e., additional incentives from cross-selling, expressed as:
B o n u s i , c r o s s = ∑ i ≠ j B i , j × p j ,
where B i , j is the bundled sales volume of products i and j , and synthetically calibrated to model realistic product complementarity and substitutability (see Appendix A for details).

3.2. Markov Decision Process

This article constructs a reinforcement learning quadruple by defining Markov decision processes, which serve as the basis for applying reinforcement learning algorithms to solve the research problem in this paper. The Markov decision process is defined as follows:
(1)
State space
In the multi-product joint dynamic pricing problem of perishable fresh products, the state is composed of multiple factors, including the historical price, wholesale price, sales volume of each product, as well as current inventory, shelf life, price, time period, weekend markers, weather, and promotion markers, etc. Assuming the number of products is N and the window size is W. The specific form of the state vector s ∈ S is as follows: for each product i = 1 , … , N , it includes a historical price window p i h ∈ ℝ W , a historical wholesale price window w i h ∈ ℝ W , and a historical sales window s i h ∈ ℝ W . The current state includes the current inventory I i , remaining inventory L i , current price P i , normalized time period t, weekend marker w e , weather conditions w t , and promotion marker p m for each product.
Therefore, the state vector s can be expressed as:
s = p 1 h , w 1 h , s 1 h , … , p N h , w N h , s N h , I 1 , L 1 , … I N , L N , t , w e , w t , p m .
(2)
Action space
The action space of multiple products is still achieved by adjusting the percentage of the current price of each product to make pricing decisions. The action output is a standardized adjustment coefficient a ∈ − 1 , 1 , and the price update mechanism adopts a proportional adjustment mode:
p i t + 1 = c l i p p i t × 1 + 0.1 a , 1.1 c , 2 p ¯ ,
where c represents the unit cost of goods, and P ¯ is the historical benchmark price.
Equation (9) ensures that the price adjustment range for each product is limited to ±10%, while keeping prices within the range of a minimum profit margin of 10% and a maximum price premium of 100%. This ensures that prices do not become too low to cause losses nor too high to significantly reduce sales. During training, the action values output by the PPO algorithm are linearly converted into prices used in the actual environment. The linear conversion is a × k + g , where a is the output action value, whose range is − 1 , 1 , and k and g are the linear parameter values. Technically, the clip operation in Equation (9) formalizes these business constraints as a hard bound on the price update. It ensures that even during the exploration phase of reinforcement learning, the agent cannot generate economically irrational or operationally infeasible price actions, thereby reducing policy gradient variance, accelerating convergence, and improving the overall stability of the training process.
(3)
Reward Function
In the pricing problem for perishable fresh products, the objective of the reward is to maximize total profit while considering strategic factors and inventory balance. The total reward R consists of product profit, expiration penalty, and strategic reward. The profit of each product is the sales revenue minus the cost, represented as P r o f i t = q i × p i − q i × c i , where q i represents the sales volume of the i product, p i represents the price of the i product, and c i represents the cost of the i product. Additionally, considering the high spoilage rate of fresh produce, expiration losses, L o s s i = c i × L i , are included in the reward, where L i represents the remaining inventory of the i product after the sales period has expired.
Taking all of the above factors into consideration, the reward function can be expressed as:
R t i s t i , a t i = ∑ t = 0 T ∑ i = 1 N q i t × p i t − q i t × c i t − L i t × c i t + B i , j × p j .
Note that expiration loss is incurred per time step as soon as L i t ≤ 0 , rather than being deferred to the terminal step. This provides immediate feedback to the agent about inventory waste.
For the multi-product collaborative dynamic pricing problem in this paper, the goal of the reinforcement learning algorithm is to maximize the total expected return by continuously optimizing the strategy π : s t i → a t i to reach any state starting from s t i ∈ S , that is:
max E π ∑ t = 0 T ∑ i = 1 N R t i s t i , a t i | s t i ∈ S .
(4)
State Transition
The state transition probability function represents the probability of transitioning to state s t i + 1 at time t i + 1 when the current state is s t i and the price is a t i at time t i . In the dynamic pricing problem for fresh products, the state transition probability is primarily determined by several factors, including inventory changes, sales volume, market demand, and the remaining shelf life of the product. In the proposed MDP, the state transition can be decomposed into deterministic and stochastic components. Price transition (Equation (9)), shelf-life and time transition are deterministic, inventory transition (stochastic) according to the realized demand (Equation (4)). Given the current state s = p , I , L , t , … and action a , the probability of transitioning to state s ′ = p ′ , I ′ , L ′ , t ′ , … is:
P s ′ s , a = ∏ i = 1 N P I i ′ I i , p i · 1 L i ′ = L i − 1 · 1 t ′ = t + 1 ,
where P I i ′ I t , p i denotes the marginal inventory transition probability derived from ε i ∼ N 0 , σ i 2 : it represents the probability density of the normal noise term when 0 < I i ′ < I i , and the truncated probability (the value of the complementary cumulative distribution function) for cases where demand exceeds inventory when I i ′ = 0 . The indicator terms 1 L i ′ = L i − 1 and 1 t ′ = t + 1 enforce the deterministic shelf-life decrement and time advancement, respectively.
It is worth noting that, as a model-free reinforcement learning algorithm, PPO does not require explicit access to P s ′ s , a during training. Instead, the agent learns the optimal policy π * a s entirely through interaction with the environment by collecting trajectories. Nevertheless, the formal definition of P s ′ s , a is provided here to ensure the completeness of the MDP formulation.
Table 2 details all components of the reinforcement learning environment in this study, including the dimension of state vectors, action scaling parameters, episode length, initial inventory rules, stockout handling, and freshness parameters.
Table 2. Reinforcement Learning Environment Specification.
In Table 2, q ¯ k denotes the average sales volume, T k denotes the number of days of inventory coverage, I k s a f e denotes the safety stock, η k s e a s o n and η k shelf represent the seasonal factor and shelf-life factor, respectively, σ k q denotes the standard deviation of sales volume, T f is the shelf life, q k is the sales quantity, and I k is the available inventory.

3.3. PPO Algorithm

The PPO algorithm [34] constrains the range of policy updates to ensure that the difference between the new and old policies remains within a controllable range, thereby improving the stability and convergence of the algorithm. In practical applications, PPO adopts on-policy trajectory collection and batch-based policy updates to improve data utilization and training efficiency.
To improve sampling efficiency, the algorithm employs importance sampling. Importance sampling is a mathematical method used to estimate the expected value of a probability distribution. Typically, this method is applied in involving integration or expectation calculation across different distributions.
In importance sampling, samples are drawn from a continuous sample x i i = 1 , 2 , … , N that conforms to the probability distribution p x to be inferred. When N is sufficiently large, the expected value is approximated by calculating the average of these samples, thereby obtaining the expected formula for the function f x based on the probability distribution p x . Specifically, the expected formula can be expressed as:
E x ~ p f x = ∫ p x f x d x ≈ 1 N ∑ i = 1 N f x i .
Importance sampling methods address the difficulty of sampling a single p ( x ) by adding an easier-to-sample expected distribution q x . Therefore, the expected formula for the function f x based on p x is:
E x ~ p f x = ∫ p x q x q x f x d x = E x ~ q f x ≈ 1 N ∑ i = 1 N p x i q x i f x i .
The PPO algorithm is a Conservative Policy Iteration (CPI) algorithm, whose optimization objective function aims to maximize the improvement in policy performance under the optimization step size while avoiding excessive policy updates, ensuring that the difference between the new and old policies is not too large and preventing convergence difficulties. The objective function of CPI optimization is:
L C P I θ = E ^ t π θ a t | s t π θ o l d a t | s t A ^ t θ ,
where π θ is a random strategy, A ^ t is the estimator of the advantage function.
However, if the objective function optimized by the CPI is not restricted, it will lead to a very large policy update during training. Therefore, the PPO algorithm provides two variants, PPO-penalty and PPO-clip, both of which can keep the magnitude of policy updates within a certain controllable range. This paper selects the PPO-clip variant, which adds a clip function to optimize the objective function. The optimized objective function is:
J P P O θ k ≈ ∑ s t , a t min A θ k s t , a t ,   c l i p p θ a t | s t p θ k a t | s t ,   1 − ε ,   1 + ε × A θ k s t , a t .
The policy action in PPO is defined in a continuous action space, where the actor network outputs a parameterized Gaussian (normal) distribution over continuous price adjustment actions. In the above equation, p θ a t | s t represents the probability value of the policy action in the current state; p θ k a t | s t represents the probability value of the policy action in the new state; p θ a t | s t / p θ k a t | s t is the probability ratio between the new and old policies; and θ is the policy parameter. Where c l i p ∗ is the clipping function, with a maximum value of β and a minimum value of w . ε is a hyperparameter that reflects the difference between the new and old policies. This objective function is compatible with stochastic gradient descent and supports trust-region updates. The equation for c l i p ∗ is defined as follows:
c l i p p θ a t | s t p θ k a t | s t , 1 − ε , 1 + ε = 1 − ε , 1 + ε , p θ a t | s t p θ k a t | s t , p θ a t | s t p θ k a t | s t ≤ 1 − ε p θ a t | s t p θ k a t | s t ≥ 1 + ε o t h e r w i s e .
In the formula, function A θ k s t , a t reflects the difference between the new strategy and the old strategy, and this difference value is divided into positive and negative differences. When A θ k s t , a t > 0 , that is, the difference value is positive, the state effect of the PPO algorithm has a positive advantage, so the contribution to the target can be simplified to:
J P P O θ k ≈ ∑ s t , a t min p θ a t | s t p θ k a t | s t , 1 + ε × A θ k s t , a t .
As shown above, the clipping operation performed by the clip function in the PPO algorithm prevents the new policy from deviating significantly from the old policy, thereby avoiding excessive policy updates and effectively achieving the predefined training objectives in a smooth manner.

3.4. Multi-Head Attention Mechanism

The Attention Mechanism is a key technology in the field of deep learning, inspired by the visual observation characteristics of the human eyes. When humans look at a scene, they do not analyze every detail carefully. Instead, they can quickly locate key areas and focus on them, while ignoring non-essential regions. This is exactly the core idea of the Attention Mechanism. This study adopts the multi-head attention mechanism to enable agents to focus on the behaviors and states of their cooperating agents, so as to enhance collaboration performance and accomplish tasks. Given the feature representation h ∈ R d extracted by the shared layer (d = 256), the multi-head attention computes:
Q = h W Q ,   K = h W K ,   V = h W V ,
where W Q , W K , W V ∈ R d × H · d h are learnable projection matrices, H = 8 is the number of attention heads, and d h = 32 is the head dimension. The projections are then split into H heads:
h e a d h = A t t e n t i o n Q h , K h , V h = softmax Q h K h T d h V h
The outputs of all heads are concatenated and projected:
Multihead Q , K , V = Concat head 1 , … , head H W o
where W O is the output projection. A residual connection and layer normalization are applied. The attention-augmented representation is then passed through post-attention feedforward layers to produce the policy mean and standard deviation.

4. Algorithm Design

The experimental flow chart of this study is shown in Figure 1, which clearly presents the process from data to the final results.
Figure 1. Experimental Pipeline of the proposed approach. (This process is mainly divided into data preprocessing, environment construction, training, and evaluation stages. The part in the dashed box represents the learning process of the agent).

4.1. Algorithm Architecture Design

The PPO algorithm primarily consists of a policy network (Actor), a value network (Critic), generalized advantage estimation (GAE), and a policy update mechanism. Figure 2 illustrates the PPO algorithm framework and update process adopted in this paper. The policy network determines the next action based on the probability distribution π a | s output for the current state and improves action selection by updating parameters θ to increase cumulative rewards; the value network (Critic) evaluates the expected cumulative rewards for the current state, helping to determine which action-state combinations are more advantageous for maximizing rewards; the Generalized Advantage Estimation (GAE) combines the current state value with predictions of future states to calculate the advantage values for each state-action pair, providing gradient information for policy updates.
Figure 2. Algorithm framework of PPO (Note: Solid line = Data flow, Dotted line = Gradient/parameter update).
This paper enhances key feature processing through an explicitly integrated multi-head attention mechanism, which is embedded after the first fully connected hidden layer of both the Actor network and the Critic network. This mechanism is used to dynamically weight the 256-dimensional representation that has undergone preliminary feature abstraction. The attention layer calculates the correlation weights between features to highlight feature combinations that are critical for pricing and inventory management decisions. Its output serves as the input for subsequent network layers, ultimately mapping to the action space or state value estimation. The network architecture of the PPO algorithm integrated with the attention mechanism is illustrated in Figure 3. The input layer receives external state variables (e.g., price, freshness, weather, promotions) and feeds them into the shared attention layer for feature weighting. The attention mechanism then generates weighted features that emphasize key information in the input data while filtering out redundant content, thereby enhancing the model’s ability to capture salient features. These weighted features subsequently pass through two linear transformation layers, which perform linear mapping via matrix operations, transforming the input features into a new feature space and progressively extracting abstract features. Finally, the processed features are integrated to generate the final dynamic pricing strategy, accomplishing the core functionality of the model.
Figure 3. Actor-Critic Network Design (The network takes the concatenated state vectors as input and performs feature extraction through shared fully connected layers. Before branch division, a multi-head self-attention mechanism is embedded after the shared layers to capture correlations between features).

4.2. Algorithm Setup

Before algorithm training begins, the maximum number of training iterations and the maximum number of training steps per iteration are set as hyperparameters. During the algorithm initialization phase, the policy network and value network are constructed as fully connected structures with layer normalization. Specifically, the Actor network extracts state features through shared feature layers, uses the tanh activation function in the output layer to generate bounded action means, and introduces trainable log-standard deviation parameters to control exploration amplitude through exponential operations and clipping constraints. The Critic network adopts a three-layer network structure, with Dropout regularization modules inserted between layers to enhance generalization capability. The network parameters are initialized using a differentiated orthogonal initialization strategy, with gain coefficients set to 0.01 and 0.1 for the Actor and Critic, respectively, to balance the strategy stability and the value convergence speed.
During the trajectory collection phase, the algorithm samples actions from a parameterized normal distribution using the reparameterization trick and applies a double truncation strategy. The original sampled values are mapped to the interval [−1, 1] via the tanh function and then linearly transformed to the target action space based on environmental constraints. Concurrently, the instantaneous rewards and log probabilities of the state-action pairs are collected to form a policy rollout buffer. In the advantage estimation phase, generalized advantage estimation (GAE) is employed to compute temporal difference errors, and Z-score standardization is applied to normalize the scale of the advantage estimates.
The policy optimization process employs a multi-round mini-batch update mechanism, under which experience data is randomly shuffled and divided into batches of 64 samples per update. The Critic network fits value estimates by minimizing the Huber loss (Smooth L1 Loss), and its gradients are clipped to a maximum norm of 0.5. For the Actor network, the optimization objective consists of a clipped surrogate objective and an entropy regularization term. The clipping threshold is dynamically adjusted between 0.1 and 0.3 based on the monitored KL divergence. Additionally, the entropy coefficient undergoes exponential decay to balance exploration and exploitation. The execution flow of the proposed ATT-PPO algorithm is illustrated in Algorithm 1. To ensure training stability, the algorithm implements an early stopping mechanism that terminates updates if the KL divergence exceeds 1.5 times the target value. Furthermore, both the Actor and Critic networks independently employ gradient norm clipping.
Algorithm 1 ATT-PPO Algorithm Procedure
1: Hyperparameters: Maximum interaction rounds N max , maximum number of steps per round T max , minimum batch size K for policy updates, truncation factor ε
2: Initialize network parameters θ and π a s , initialize value function parameters V ϕ , initialize experience storage pool D
3: Set e p _ t = 0
4: For e p i s o d e = 0 to N max do:
5:        Initialize the dynamic pricing environment state to obtain the initial state s 0 of each product.
6:        For e p o c h = 1 to T max do:
7:        Obtain a t according current status s t and strategy π θ a t s t , e p _ t + 1
8:        Obtain the states s t + 1 at the next time point and instant reward r t
9:        Collect samples D k = s t , a t , r t , s t + 1
10:        Estimated advantage function:
A t = ∑ l = 0 T γ , λ l r t + γ V ϕ S t + 1 − V ϕ S t , T ≤ T max
11:        If e p _ t ≥ K :
12:               Update π a s :
θ k + 1 = argmax θ 1 D k T ∑ τ ∈ D k ∑ t = 0 T min π θ a t s t π θ ′ a t s t A π θ ′ s t , a t , c l i p π θ a t s t π θ ′ a t s t , 1 − ε , 1 + ε A π θ ′ s t , a t
13:               Fitting the value function using mean square error regression:
ϕ k + 1 = argmin θ 1 D K T ∑ τ ∈ D K ∑ t = 0 T V ϕ s t − R ^ t 2
14:        End for
15: End for

5. Computational Experiments

This part is evaluated using standard metrics widely adopted in the research on dynamic pricing and reinforcement learning. Cumulative reward serves as the primary optimization objective, defined as the total revenue within a single episode:
R = ∑ t = 0 T r t ,
where r t is the immediate reward at step t. Training stability is evaluated by the loss curve, and computational efficiency is quantified by training time and inference latency. The reward is defined as follows:
r t = R t − C t − L t − α ∑ p i , t − p i , t − 1 − β × 1 I t ∈ I min , I max + γ ∑ q i , t + δ × 1 A   combined   purchase   has   occurred
The reward here consists of five parts: the first part is net profit, the second part is the price stability penalty, the third part is the inventory penalty, the fourth part is the sales reward, and the fifth part is the bundle purchase reward.

5.1. Dataset Analysis and Experimental Setup

The primary data for this model experiment is sourced from Problem C of the “2023 Higher Education Press Cup National College Students Mathematical Modeling Competition”, with the research scenario focusing on the retail segment of perishable fresh vegetables. The dataset covers complete operational data from 1 July 2020 to 30 June 2023 and includes six major vegetable categories: peppers, cauliflower, aquatic root vegetables, leafy greens, solanaceous fruits, and edible fungi. Core fields consist of basic product information, daily sales volume, wholesale price, retail price, and loss rate, with a daily time granularity. This real-scenario dataset can provide strong support for the training and validation of dynamic pricing models for perishable goods.
The original dataset contains a total of 247 individual vegetable items. After merging data tables by product ID and conducting statistical analysis on sales volume, significant differences in sales across categories were observed. To ensure sample representativeness and validity, one core item was selected for each category based on three principles: highest sales volume within the category, year-round availability, and no obvious seasonal bias. The six representative items finally screened are as follows: Wuhu Green Pepper (peppers), Broccoli (cauliflower), Clean Lotus Root (aquatic root vegetables), Chinese Cabbage (leafy greens), Purple Long Eggplant (solanaceous fruits), and Xixia Shiitake Mushroom (edible fungi, replacing needle mushroom due to its excessive seasonality). The sales volume of the above core items accounts for 38.7% to 52.4% of the total sales volume of their respective categories, with a stable demand performance that can reflect the typical sales patterns of fresh vegetables.
For the research on multi-commodity dynamic pricing, three representative items were further selected: broccoli, Chinese cabbage, and clean lotus root. The three commodities exhibit a moderate degree of intercorrelation (as shown in Figure 4), cover different price ranges and retail scenarios, and differ significantly in freshness decay rate and sales characteristics. This can rigorously verify the model’s ability to capture interactive relationships among commodities and adapt to real-world pricing constraints.
Figure 4. Correlation matrix of sales for six categories (The correlation coefficient ranges from [−1, +1]. The darker the red, the stronger the correlation. A high correlation indicates potential cross-category purchasing behavior. Here, Leafy Veg stands for Leafy Vegetables).
To ensure research reproducibility, data preprocessing includes: (1) eliminating invalid samples and outliers; (2) merging and aligning time-series data by product ID; (3) screening core representative products based on sales volume and stability.
State transitions for the simulated dynamic environment are constructed from the dataset using a sliding window strategy, feature normalization, and multi-product state concatenation to form sequential state-action-next-state samples. In terms of feature encoding, weather condition, promotion status, and weekend indicator are represented as binary variables, while the day of the week is encoded using one-hot encoding. Set differentiated price elasticities ranging from −0.7 to 1.2 to accurately classify the sensitivity of each product’s demand to price changes. Combined with category labels, this ensures the model can real-time capture multi-product synergistic effects. This enables the algorithm to consider both the differences in price elasticity of individual products and the synergistic value of different product category combinations during the pricing process, thereby more accurately simulating real-world market feedback and driving the optimization and iteration of multi-product joint pricing strategies.

5.2. Choosing and Testing Hyperparameters

The number of heads in the multi-head attention mechanism determines the number of feature subspaces processed simultaneously, thereby influencing the precision of attention allocation. To compare the impact of different multi-head attention head counts on model training, the experimental results are visualized in Figure 5. During the initial training phase, the reward values for different head counts all rise rapidly, indicating that the model is learning effective strategies. In the middle of the iteration process, the rewards tend to stabilize but still exhibit fluctuations. From the perspective of loss changes, the overall loss gradually decreases as the number of iterations increases, indicating improved model fitting capability. Among these, the curve with 16 heads in the multi-head attention mechanism exhibits relatively larger fluctuations, possibly due to increased model complexity from the higher number of heads, resulting in slightly lower training stability. The curve with 8 heads in the multi-head attention mechanism becomes more stable in the later stages, indicating that the model trains more stably with fewer heads.
Figure 5. Comparison of different attention head numbers. (a) Comparison of cumulative rewards for different attention head numbers (b) Comparison of losses for different attention head numbers.
Comparing the effects of different learning rates on rewards and losses during the model training process, the results are plotted in Figure 6. During the initial stages of training, rewards for different α values increase rapidly, indicating that the model is learning effective strategies. In the later stages, the rewards stabilize, with the reward value for α = 0.001 being higher and less volatile, indicating that the model converges more effectively under this parameter, achieving higher returns; the reward increases for α = 0.0001 and 0.0005 are relatively slower, highlighting the significant impact of the hyperparameter α on the accumulation rate of rewards and the final returns. Overall, the loss decreases gradually with increasing iterations, and the model’s fitting ability improves step by step. The loss curve for α = 0.0001 decreases more smoothly and tends to a lower level in the later stages, indicating that the model has higher training stability and lower overfitting risk under this parameter; the loss for α = 0.001 fluctuates significantly, possibly due to higher learning rates causing training instability; the loss changes for α = 0.0005 fall between the two extremes.
Figure 6. Comparison of different learning rates. (a) Comparison of cumulative rewards for different learning rates (b) Comparison of losses for different learning rates.
The number of heads in the multi-head attention mechanism determines the number of feature subspaces processed simultaneously, directly affecting the precision of attention weight allocation. To maximize cumulative profits while ensuring stable model convergence, we conducted comparative experiments to select appropriate hyperparameters: the number of heads was set to 8, with each attention head having a dimension of 32; the learning rate α for the Actor network and Critic network are chosen within the range of 0.0001 to 0.01, based on empirical validation. After experimental comparison, α was chosen as 0.0001. The discount factor measures the importance of future rewards, with values closer to 1 indicating a greater focus on long-term gains. Considering the research problem in this paper, it is set to 0.99; the clipping ratio is set to 0.2; the entropy regularization coefficient is set to 0.1; and the target KL divergence is set to 0.01, as shown in Table 3.
Table 3. Hyperparameter Settings.

5.3. Interpretability Analysis

To verify that the proposed attention mechanism can effectively capture the correlation between products and improve model interpretability, this paper presents three visualization analysis results:
As shown in Figure 7, these three matrices closely align. The learned inter-dependency matrix correctly identifies that Product 1 and Product 2 are strong substitutes (high weights), while Product 1 and Product 3 are complements (lower weights). This alignment demonstrates that our model—using attention mechanisms—successfully internalizes the complex cross-product relationships in its decision-making. The learned attention aligns with both statistical correlation and domain priors, indicating that the attention mechanism captures meaningful and interpretable inter-product dependencies.
Figure 7. Interpretability of learned attention. (a) Feature co-occurrence matrix learned from training data, (b) Product inter-dependencies derived by aggregating feature-level patterns, (c) Environment predefined cross-elasticity.
In the simulation environment of this paper, the cross-elasticity matrix is preset. During model training, the attention mechanism cannot directly access this matrix; instead, it infers the correlations between different commodities from the statistical patterns of state-reward transitions. Therefore, the conclusions drawn in this section only prove that the attention mechanism can recover known commodity correlations from interaction data, rather than discover entirely new and unknown correlations. This conclusion is a necessary but not sufficient condition for the model to have practical interpretability. On the positive side, it enables testing whether the attention mechanism can capture correlations under controlled conditions. On the negative side, the model is limited as it does not target the underlying patterns of real-world data. Further verification on real retail datasets with cross-elasticity information is still required to determine whether the attention mechanism can effectively mine implicit commodity correlations without prior cross-elasticity references.

5.4. Performance Analysis

To evaluate the overall performance of the proposed ATT-PPO framework, this paper adopts identical experimental settings and conducts experiments using the Deep Deterministic Policy Gradient (DDPG), Proximal Policy Optimization (PPO), Soft Actor-Critic (SAC), Twin Delayed Deep Deterministic Policy Gradient (TD3), and the Attention-enhanced Proximal Policy Optimization (ATT-PPO) proposed in this paper, respectively. Different random seeds are assigned to each algorithm, and 10 independent training experiments are carried out, with each experiment consisting of 1000 training episodes. For horizontal comparison among different algorithms, the average reward values of all 1000 episodes are calculated in this study to make full use of the complete training data and avoid selection bias. The results in Table 4 indicate that over the full training cycle, the average reward values of the five algorithms all range from 428 to 431, showing similar performance. The results of pairwise Wilcoxon Signed-Rank Test reveal that all p-values are greater than 0.13 with small effect sizes (the absolute value of Cohen’s d is less than 0.34), which demonstrates that there is no statistically significant difference in the average reward values among the algorithms under the current sample size. However, distinct performance characteristics are observed across the algorithms when analyzing training stability via the Coefficient of Variation (CV = Standard Deviation/Mean × 100%, where a lower value indicates higher stability of results from multiple independent experiments). Among the five algorithms, ATT-PPO achieves the lowest CV of only 1.01%, proving that it delivers the best stability and reproducibility of training results under different random initialization conditions. Its running standard deviation is 4.35, which is considerably lower than those of DDPG (5.07), PPO-NoAttn (5.41), SAC (4.62) and TD3 (4.64). This finding suggests that although ATT-PPO does not obtain the highest average reward value, it possesses superior training robustness. In practical application scenarios, the reliability of an algorithm is as important as its original performance, so this feature is of great practical value.
Table 4. Performance Comparison and Statistical Analysis (10 Independent Runs).
To verify the effectiveness of the proposed attention mechanism in multi-product dynamic pricing, this paper conducts ablation experiments. Under the same network structure and training settings (1000 episodes, with 10 independent runs based on seeds [0, 42, 123, 999, 5555, 777, 2023, 11,111, 27,182, 31,415]), it compares the proposed ATT-PPO with the PPO without the attention mechanism. All experiments are completed based on the same dataset and environment; only the attention mechanism is removed, while the network dimensions, hyperparameter settings, and other configurations remain consistent.
It can be seen from Table 5 that over the latest 500 training episodes, the average reward value of ATT-PPO equipped with the attention module is 406.61 (standard deviation ± 11.78), while the average reward value of PPO without Attention is 400.96 (standard deviation ± 12.22), with the former being 5.64 higher than the latter. The effect size is close to a moderate level, with Cohen’s d value of 0.491. Among 10 independent experiments, the ATT-PPO algorithm achieved better performance in 8 groups. Notably, the coefficient of variation between runs of ATT-PPO is 2.90%, which is also lower than the 3.05% of PPO without Attention. This further verifies that the algorithm maintains superior training stability even under the conditions of ablation experiments. The p-value obtained from the Wilcoxon test is 0.1055, which does not meet the conventional statistical significance threshold. Nevertheless, combined with the steady trend that ATT-PPO outperformed the baseline in 8 out of 10 experiments and the moderately strong effect size, it is sufficiently demonstrated that the attention mechanism can effectively improve the learning efficiency of the algorithm. As stated in Section 5.3, the core advantage of ATT-PPO lies in its interpretability. By analyzing attention weights, this algorithm can identify the correlation rules among cross-product pricing.
Table 5. Ablation Study Results (10 Independent Runs, Details of each independent operation are provided in Appendix B).

5.5. Analysis Algorithm Stability

Figure 8, Figure 9 and Figure 10 illustrates the training performance of the ATT-PPO algorithm across 10 independent experiments with different random seeds. (a) The average reward curve with a 95% confidence interval indicates that the algorithm features fast convergence and high stability. (b) The average loss curves of the actor network and the critic network confirm that the training process is stable without divergence. (c) The training time distribution demonstrates stable computational efficiency, with an average training time of 55.0 ± 1.5 s. The above results comprehensively validate the robustness, stability, and efficiency of the proposed ATT-PPO framework.
Figure 8. Training progress reward (Average reward and 95% confidence interval over 1000 training rounds, across 10 runs with different random seeds, showing the convergence and stability of the ATT-PPO model. The faint multicolored thin lines correspond to reward curves of each individual random seed run).
Figure 9. Training progress loss (Actor and critic loss curves over 1000 training rounds. The loss of the policy network (red curve) and the loss of the value network (green curve) drop rapidly in the early stage of training and then tend to stabilize, which indicates that the ATT-PPO model achieves effective convergence).
Figure 10. Training time distribution (Training time for each of the 10 independent runs, with an overall average of 55.0 ± 1.5 s. The consistent bar heights demonstrate stable and efficient training performance across different random seeds).

5.6. Scalability Analysis

To verify whether the proposed ATT-PPO framework can be adapted to more products, we conducted scalability experiments where the number of products N was set to 3, 5 and 10. For each parameter configuration, training was run independently five times with different random seeds (42, 123, 999, 2023, 5555). The synthetic dataset adopted the cross-elasticity structure and demand generation rules introduced in Section 3. When the number of products N was 3, 5 and 10, respectively, the number of iteration rounds was set to 1500, 2000 and 3000 in sequence, which indicates that the complexity of the joint action space increases as the number of products grows. Table 6 summarizes the scalability results across four evaluation metrics: final performance, computational overhead, attention entropy and interpretability consistency.
Table 6. Scalability Results across Product Counts (Mean ± Std over 5 Seeds).
As shown in Table 6 and Figure 11, the training time increases from approximately 2807 s (N = 3) to 5633 s (N = 10), a growth factor of 2.01× while the number of products increases by 3.33× and the number of pairwise attention interactions grows quadratically from 32 = 9 to 102 = 100. This sub-quadratic scaling demonstrates that the multi-head attention architecture avoids the combinatorial explosion that would be expected from naive pairwise modeling. The attention entropy increases from 0.81 (N = 3) to 2.29 (N = 10), closely tracking the theoretical maximum log(N): 0.81/1.10 = 73.6%, 1.42/1.61 = 88.2%, and 2.29/2.30 = 99.7%, respectively. This indicates that as the product set expands, the learned attention weights naturally distribute across a broader set of inter-product relationships rather than collapsing onto a small subset—a desirable property for maintaining holistic cross-product awareness at scale. The interpretability metrics—Pearson r and Spearman ρ between attention weights and ground-truth cross-elasticities—show a declining trend as N increases (pearson r from 0.38 to 0.11; Spearman ρ from 0.60 to 0.13). The Top-K accuracy drops from 1.00 (N = 3) to 0.43 (N = 10). This is expected: at N = 3 with only six off-diagonal pairs, the attention mechanism can perfectly identify the most strongly related product pairs. At N = 10 with 90 off-diagonal pairs, the presence of many weak and noisy cross-elasticities reduces the signal-to-noise ratio, making the alignment between learned attention and ground-truth elasticity more challenging. Nevertheless, the Top-K accuracy of 0.433 at N = 10 substantially exceeds the random baseline of 0.222 (K = 3 among 9 candidate products), confirming that the attention mechanism retains meaningful—albeit attenuated—alignment with the underlying economic structure even at larger scales.
Figure 11. Scalability overview: (a) final performance; (b) computational cost; (c) Attention entropy vs. theoretical maximum log(N); (d) Pearson correlation between attention weights and cross-elasticities across N; (e) Spearman correlation between attention weights and cross-elasticities across N; (f) Top-K attention alignment accuracy.
These results provide the empirical validation requested for the scalability claim: the ATT-PPO framework successfully operates on 3, 5, and 10 products with (1) sub-quadratic training time scaling, (2) consistent convergence across all scales, (3) attention entropy that naturally adapts to the product count, and (4) interpretability metrics that, while attenuated at larger N, remain substantially above random baselines. We note that the absolute reward values cannot be directly compared across N because the total revenue scales with the number of products; the key finding is that the attention mechanism continues to function effectively without collapse or divergence.

6. Conclusions

This paper introduces an ATT-PPO algorithm, which integrates an attention module into the Proximal Policy Optimization (PPO) framework for multiproduct collaborative pricing. Experimental results under ten groups of random seeds show that although the overall performance gaps among various models are not statistically significant, the integrated attention mechanism has unique advantages. It can dynamically reveal the demand correlations across different products, identify which product categories dominate pricing decisions at each time step, and thereby improve the interpretability of the model. Ablation experiments further verify that the introduction of the attention mechanism brings a steady and positive improvement in performance. This means that, with the current sample size, the attention mechanism can still effectively enhance the learning efficiency of the algorithm. The attention mechanism incorporated in this paper captures product interdependencies, providing a new paradigm for dynamic pricing in complex product combinations. Furthermore, scalability experiments across N ∈ {3, 5, 10} products empirically validate that the ATT-PPO framework maintains effective operation at larger scales: training time scales sub-quadratically relative to the quadratic growth of pairwise attention interactions, attention entropy naturally tracks the theoretical log(N) bound, and interpretability metrics remain above random baselines even at N = 10.
Although this study has achieved certain results, the following limitations remain: (1) The model lacks exogenous variables, omitting considerations of factors such as changes in competitors’ prices and macroeconomic indicators; (2) All models in this paper assume only a single decision-maker, ignoring competitors’ dynamic responses in the market; (3) This study focuses on fresh products, which has provided insights into pricing for perishable products, but its generalizability remains to be validated. Future research could extend the model to high-timeliness product categories such as fashion items and electronics. In addition, this study does not systematically compare the sensitivity of the results across alternative nonlinear functional forms (e.g., multiplicative vs. exponential vs. isoelastic demand). The exploration of these factors will be left for future research.

Author Contributions

W.Z. drafted the main body of the manuscript, supplemented the research scheme, and participated in the design and implementation of partial experiments. X.Z. designed the research scheme and took part in the design and implementation of partial experiments. G.L. participated in scheme analysis and provided research direction, overall supervision, and revised the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the General Program of Natural Science Foundation of Jilin Provincial Department of Science and Technology under Grant 20230101177JC.

Data Availability Statement

The raw data used in this study is derived from the problems of the 2023 “Higher Education Press Cup” National College Students Mathematical Modeling Competition, which can be obtained from https://web.archive.org/web/20241014212850/https://www.mcm.edu.cn/html_cn/node/c74d72127066f510a5723a94b5323a26.html (accessed on 13 June 2026).

Conflicts of Interest

The authors declare no Conflict of interest.

Appendix A

Python code snippet for synthetic cross-sell probability calibration (Software version: Python 3.8.10):

import numpy as np

def generate_bundle_probabilities(cross_elasticities):
    “““Generate synthetic bundle probabilities aligned with cross-elasticities.”””
    bundles = np.eye(3)
    for i in range(3):
        for j in range(3):
            if i == j:
                continue
            if cross_elasticities [i, j] > 0:
                bundles [i, j] = 0.2 + 0.1 * cross_elasticities [i, j]
            else:
                bundles [i, j] = 0.3 − 0.1 * cross_elasticities [i, j]
    return bundles

# Generate using the preset cross elasticity
cross_elasticities = np.array([
    [0.0, 0.5, −0.3],
    [0.5, 0.0, 0.2],
    [−0.3, 0.2, 0.0]
])

bundle_probabilities = generate_bundle_probabilities(cross_elasticities)
print(bundle_probabilities)

Appendix B

Table A1. Details of each independent operation.

References

  1. Díaz Fernández, B.A.; Lozano Segura, S.; Palacio Muñiz, A. Effects of dynamic pricing of perishable products on revenue and waste. Appl. Math. Model. 2017, 45, 148–164. [Google Scholar] [CrossRef] [Scilit]
  2. Yi, H.Y.; Dai, N. Research on Pricing Strategy of Perishable Products in Multi-channel Supply Chain. Supply Chain Manag. 2021, 2, 31–45. [Google Scholar] [CrossRef] [Scilit]
  3. Zhang, C.; Xiao, M.; Huang, S. Optimal Pricing of Perishable Goods in Experiential Marketing Considering Customer Strategic Behavior. J. Syst. Manag. 2018, 27, 783–790. [Google Scholar]
  4. Zhang, J.Y.; Li, J.; Xu, H.X. Pricing Issues and Research Progress of Perishable Products. J. Commer. Econ. 2016, 45–47. Available online: https://kns.cnki.net/kcms2/article/abstract?v=yAka2kXFwSTgY5HjNUrrvrrixrkrU6lTflr8idLjsoMapqQBd3hrQtjr3xo9bM27ZkgmjjGCodHd2d0AZgcK7gIv-nFcBRUa0fDPj1y9NFg_UaObrkB2lgjT4imwAIPUBQWu3N6guDecSUtaO3rOJs3A0c73DENOnr7sIsNmptZQmQd-OUTI6A==&uniplatform=NZKPT&language=CHS (accessed on 13 June 2026).
  5. Den Boer, A.V. Dynamic pricing and learning: Historical origins, current research, and new directions. Surv. Oper. Res. Manag. Sci. 2015, 20, 1–18. [Google Scholar] [CrossRef] [Scilit]
  6. Xu, Y.Q. Research on Pricing Mechanism of Limited Inventory Perishable Products Considering Strategic Consumers. Chin. J. Manag. Sci. 2016, 24, 597–601. [Google Scholar]
  7. Qiao, W.; Huang, M.; Gao, Z.; Wang, X. Distributed dynamic pricing of multiple perishable productss using multi-agent reinforcement learning. Expert Syst. Appl. 2024, 237, 121252. [Google Scholar] [CrossRef] [Scilit]
  8. Cao, Y.; Yi, C.Q.; Wan, G.Y. Dynamic pricing, service and production control strategy of stochastic production-inventory models with perishable products. Syst. Eng. Theory Pract. 2018, 38, 1717–1731. [Google Scholar]
  9. Nomura, Y.; Liu, Z.; Nishi, T. Deep Reinforcement Learning for Perishable Inventory Optimization Problem. In Proceedings of the 2023 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), Singapore, 18–21 December 2023; IEEE: New York, NY, USA, 2023; pp. 0370–0374. [Google Scholar]
  10. Mosavi, A.; Faghan, Y.; Ghamisi, P.; Duan, P.; Ardabili, S.F.; Salwana, E.; Band, S.S. Comprehensive Review of Deep Reinforcement Learning Methods and Applications in Economics. Mathematics 2020, 8, 1640. [Google Scholar] [CrossRef] [Scilit]
  11. Chatwin, R.E. Optimal dynamic pricing of perishable products with stochastic demand and a finite set of prices. Eur. J. Oper. Res. 2000, 125, 149–174. [Google Scholar] [CrossRef] [Scilit]
  12. Wu, C.; Bi, W.; Liu, H. Proximal policy optimization algorithm for dynamic pricing with online reviews. Expert Syst. Appl. 2023, 213, 119191. [Google Scholar] [CrossRef] [Scilit]
  13. Afshar, R.R.; Rhuggenaath, J.; Zhang, Y.; Kaymak, U. An automated deep reinforcement learning pipeline for dynamic pricing. IEEE Trans. Artif. Intell. 2022, 4, 428–437. [Google Scholar] [CrossRef] [Scilit]
  14. Das, R.; Hanson, J.E.; Kephart, J.O.; Tesauro, G. Agent-human interactions in the continuous double auction. In Proceedings of the International Joint Conference on Artificial Intelligence, Seattle, WA, USA, 4–10 August 2001; Morgan Kaufmann Publishers Inc.: San Francisco, CA, USA, 2001; Volume 17, pp. 1169–1178. [Google Scholar]
  15. Tesauro, G.; Bredin, J.L. Strategic sequential bidding in auctions using dynamic programming. In Proceedings of the First International Joint Conference on Autonomous Agents and Multiagent Systems: Part 2, Bologna, Italy, 15–19 July 2002; pp. 591–598. [Google Scholar]
  16. Oroojlooyjadid, A.; Nazari, M.; Snyder, L.V.; Takáč, M. A deep q-network for the beer game: Deep reinforcement learning for inventory optimization. Manuf. Serv. Oper. Manag. 2022, 24, 285–304. [Google Scholar] [CrossRef] [Scilit]
  17. Qi, M.; Shi, Y.; Qi, Y.; Ma, C.; Yuan, R.; Wu, D.; Shen, Z.-J. A practical end-to-end inventory management model with deep learning. Manag. Sci. 2023, 69, 759–773. [Google Scholar] [CrossRef] [Scilit]
  18. Wang, J.T.; Tang, H.; Cheng, W.J.; Bi, X. Asynchronous dynamic pricing algorithms based on reinforcement learning. J. Syst. Eng. 2011, 26, 664–670. [Google Scholar]
  19. Zheng, S.; Trott, A.; Srinivasa, S.; Naik, N.; Gruesbeck, M.; Parkes, D.C.; Socher, R. The ai economist: Improving equality and productivity with ai-driven tax policies. arXiv 2020, arXiv:2004.13332. [Google Scholar]
  20. Alamdari, N.E.; Savard, G. Deep reinforcement learning in seat inventory control problem: An action generation approach. J. Revenue Pricing Manag. 2021, 20, 566–579. [Google Scholar] [CrossRef] [Scilit]
  21. Yang, C.; Feng, Y.; Whinston, A. Dynamic pricing and information disclosure for fresh produce: An artificial intelligence approach. Prod. Oper. Manag. 2022, 31, 155–171. [Google Scholar] [CrossRef] [Scilit]
  22. Kavoosi, A.; Tavakkoli-Moghaddam, R.; Sajedi, H.; Tajik, N.; Tafakkori, K. Dynamic pricing and inventory control of perishable products by a deep reinforcement learning algorithm. Expert Syst. Appl. 2025, 291, 128570. [Google Scholar] [CrossRef] [Scilit]
  23. Satyanarayana, S.; Srinubabu, K.; Kommuri, V. An Integrated Deep Learning and Reinforcement Learning Framework for Profit Maximization in Perishable Food Supply Chains. In Proceedings of the 1st Engineering Data Analytics and Management Conference (EAMCON 2025), Melaka, Malaysia, 26–27 November 2025; Atlantis Press: Dordrecht, The Netherlands; Springer Nature: London, UK, 2025; pp. 156–171. [Google Scholar]
  24. Liu, X.; Zhang, T.; Zhang, X.; Hou, L.; Guo, Z.; Tian, Y.; Liu, Y. Integrating Attention-Enhanced LSTM and Particle Swarm Optimization for Dynamic Pricing and Replenishment Strategies in Fresh Food Supermarkets. arXiv 2025, arXiv:2509.12339. [Google Scholar]
  25. Liu, J.; Zhang, Y.; Wang, X.; Deng, Y.; Wu, X. Dynamic pricing on e-commerce platform with deep reinforcement learning: A field experiment. arXiv 2019, arXiv:1912.02572. [Google Scholar]
  26. Fraija, A.; Henao, N.; Agbossou, K.; Kelouwani, S.; Fournier, M.; Nagarsheth, S.H. Deep reinforcement learning based dynamic pricing for demand response considering market and supply constraints. Smart Energy 2024, 14, 100139. [Google Scholar] [CrossRef] [Scilit]
  27. Liu, Y.; Man, K.L.; Li, G.; Payne, T.; Yue, Y. Enhancing sparse data performance in e-commerce dynamic pricing with reinforcement learning and pre-trained learning. In Proceedings of the 2023 International Conference on Platform Technology and Service (PlatCon) Busan, Republic of Korea, 16–18 August 2023; IEEE: New York, NY, USA, 2023; pp. 39–42. [Google Scholar]
  28. Lee, S.; Park, J. Optimal Pricing Strategies and Inventory Management for Fresh Food Products in Sustainable Cold Chain: Analytical Modeling with Korean Market Validation. Sustainability 2025, 17, 7680. [Google Scholar] [CrossRef] [Scilit]
  29. Li, S.; Zhang, S.; Chen, L.; Chen, H.; Liu, X.; Lin, S. An attention based deep reinforcement learning method for virtual network function placement. In Proceedings of the 2020 IEEE 6th International Conference on Computer and Communications (ICCC); IEEE: New York, NY, USA, 2020; pp. 1005–1009. [Google Scholar]
  30. He, N.; Yang, S.; Li, F.; Trajanovski, S.; Kuipers, F.A.; Fu, X. A-DDPG: Attention Mechanism-based Deep Reinforcement Learning for NFV. In Proceedings of the 2021 IEEE/ACM 29th International Symposium on Quality of Service (IWQOS), Tokyo, Japan, 25–28 June 2021; IEEE: New York, NY, USA, 2021; pp. 1–10. [Google Scholar]
  31. Wang, S.Y.; Jiang, Y.M.; Mou, J.-J. Inventory and Pricing Decision of an Integrated Cold Chain Based on Freshness. Chin. J. Manag. Sci. 2018, 26, 132–141. [Google Scholar]
  32. Min, J.; Zhou, Y.-W. A perishable inventory model under stock-dependent selling rate and shortage-dependent partial backlogging with capacity constraint. Int. J. Syst. Sci. 2009, 40, 33–44. [Google Scholar] [CrossRef] [Scilit]
  33. Zhou, Q.; Yang, Y.; Fu, S. Deep reinforcement learning approach for solving joint pricing and inventory problem with reference price effects. Expert Syst. Appl. 2022, 195, 116564. [Google Scholar] [CrossRef] [Scilit]
  34. Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.