New RL framework optimizes dynamic marketplace subsidy allocation
Researchers have developed SAC-SA, a reinforcement learning framework that manages shared budgets in marketplaces. Learn how it ensures feasibility.
Source: Grafy Research LabResearchers have developed a new reinforcement learning framework designed to manage the complex task of distributing subsidies within online marketplaces. This approach, called Soft Actor-Critic for Subsidy Allocation (SAC-SA), aims to solve the problem of how platforms can optimally allocate limited funds across different locations and time periods without exceeding a total budget.
Why is subsidy allocation challenging for marketplaces?
In platforms such as ride-hailing services, subsidies are used to balance supply and demand. For instance, providing incentives to drivers can increase vehicle availability, while rider-side discounts can stimulate demand. According to the research paper, these decisions are inherently sequential; a decision to spend heavily in one city today affects the remaining budget available for other cities or future time periods.
Managing these resources is difficult because large-scale online experimentation is expensive and risky. Furthermore, existing reinforcement learning methods often struggle with strict constraints. If a model suggests an allocation that exceeds the available budget, it requires complex post-hoc corrections. There is also the risk that a model might learn to exploit inaccuracies in a simulator, leading to overly optimistic and unrealistic strategies.
How does the SAC-SA framework work?
To address these issues, the authors propose a system that ensures budget feasibility by design rather than by correction. Figure 1 shows the SAC-SA workflow, which involves training a policy within a learned simulator that includes a reward penalty for uncertainty. This training is then refined using limited interactions with the actual target environment.
A core component of this framework is the reserve-gated Beta–Dirichlet actor. This mechanism decomposes the decision-making process into two distinct steps: determining what fraction of the remaining budget to spend and deciding how to distribute that specific amount across various cities. By using this structure, the model generates actions that are mathematically guaranteed to be within the budget limits, avoiding the need for the "post-hoc projection" often required by other methods.
How does the system handle simulator uncertainty?
Because real-world testing is costly, the researchers utilize an uncertainty-aware simulator. This simulator is trained on historical interaction logs to predict how the marketplace will respond to different subsidy levels. To prevent the reinforcement learning agent from exploiting errors in the simulator, the framework employs pessimistic policy optimization.
This means that when the simulator is uncertain about the outcome of a particular subsidy strategy, the system applies a penalty to the expected reward. This encourages the agent to favor reliable, well-understood strategies over high-risk, unverified ones. As the agent collects more real-world data through limited target-environment interactions, the simulator is iteratively refined, leading to more accurate predictions and better policy performance over time.
What were the results of the research?
The researchers tested SAC-SA across several benchmarks, including fully synthetic data, real-data-calibrated semi-synthetic data, and public-grid-calibrated city-panel data. In most settings, SAC-SA achieved a higher mean episode net return compared to existing operational heuristics, decision-focused optimization, and other constrained reinforcement learning baselines.
Figure 2 illustrates the performance on the fully synthetic benchmark, showing the mean episode net return increasing across different rounds of training. The results suggest that the iterative refinement process—where the simulator and the policy are updated together—allows the system to progressively improve its decision-making capabilities even when feedback from the real environment is limited.
How can researchers apply these findings?
For researchers studying operations research or algorithmic economics, this paper provides a blueprint for implementing constrained stochastic policies. The availability of the source code on GitHub and the implementation details in the appendix allow for the reproduction of these experiments and the testing of the Beta–Dirichlet actor in other constrained resource-allocation scenarios.
If you are looking to dive deeper into the mathematical proofs or the specific implementation of the uncertainty penalties, you can explore the full 24-page paper. For those interested in analyzing complex research documents or exploring the mathematical formulations presented in this study, Reader provides an AI-powered workspace to search, question, and synthesize information from academic PDFs.
Frequently asked questions
What is the primary goal of the SAC-SA framework?
The primary goal of SAC-SA is to enable online marketplaces to perform dynamic subsidy allocation under shared budget constraints. It seeks to maximize long-term marketplace efficiency by deciding how much to spend and where to allocate incentives across heterogeneous cities and time periods while ensuring the total spending never exceeds the available budget.
How does SAC-SA ensure that budget constraints are met?
SAC-SA ensures budget feasibility through a reserve-gated Beta–Dirichlet actor. Instead of picking arbitrary values and then correcting them, the model first decides what fraction of the current budget to spend and then uses a Dirichlet distribution to partition that specific amount among cities. This construction ensures every sampled action is inherently budget-compliant.
Why is pessimism used in the training process?
Pessimism is used to mitigate the risks associated with simulator inaccuracy. Because the agent learns from a simulator that may have errors, it might attempt to exploit those errors to achieve high predicted rewards. By applying a penalty for uncertainty, the framework forces the agent to be cautious in areas where the simulator's predictions are unreliable.


