Abstract
High-speed railway (HSR) networks are characterized by a complex interplay of competition and cooperation among multiple operators. This paper presents RailPricing-RL, an open-source reinforcement learning environment designed to model these "coopetitive" dynamics. By framing dynamic pricing as a non-zero-sum Markov game, we evaluate various multi-agent reinforcement learning (MARL) algorithms against traditional single-agent benchmarks. Our findings highlight the critical trade-offs between operator profitability, passenger inclusivity, and system-wide stability, demonstrating that attention-based MARL agents can effectively navigate the non-stationary environments of interconnected rail networks.
Introduction
Dynamic pricing has revolutionized revenue management in the airline and hospitality sectors. However, its application to high-speed rail (HSR) is uniquely challenging due to the structural complexity of rail networks. Unlike point-to-point airline routes, HSR involves overlapping services where operators may compete for passengers on high-traffic segments while simultaneously needing to cooperate to facilitate multi-leg connecting journeys. This "coopetition" requires pricing strategies that account for the ripple effects of one operator's actions across the entire network.
Current research often oversimplifies this problem by treating it as a single-agent optimization or by using aggregate demand models that ignore individual passenger behavior. To address this gap, we introduce a high-fidelity simulation framework that models microscopic passenger choices and multi-operator interactions.
The RailPricing-RL Environment
We developed RailPricing-RL, an extension of the ROBIN simulator, to serve as a standardized benchmark for HSR pricing. The environment models the pricing problem as a non-zero-sum Markov game.
Passenger Utility Modeling
Rather than relying on static demand curves, we employ Discrete Choice Modeling (DCM). This approach calculates the probability of a passenger choosing a specific itinerary based on a Random Utility Model that considers ticket price, operator-specific quality, travel time, and passenger-specific price sensitivity (e.g., business vs. student travelers).
Agent Interaction and Action Space
Operators (agents) observe "public" network data, such as schedules and competitor prices, alongside "private" data regarding their own seat inventory. To ensure learning stability and reflect real-world constraints, agents do not set absolute prices. Instead, they select percentage adjustments (e.g., ±5%), allowing for incremental optimization.
Experimental Results
We evaluated several RL approaches, including single-agent (TD3, SAC) and multi-agent (IQL, VDN, MAAC, MADDPG) frameworks, across two demand scenarios: a homogeneous "Business" group and a mixed "Business & Student" population.
The Profit-Inclusivity Trade-off
Single-agent models like TD3 achieved high individual profits by acting as local monopolies. However, this came at a significant social cost. In the mixed-demand scenario, TD3-driven pricing effectively excluded price-sensitive students, leading to a 40% decrease in total passenger volume compared to baseline models.
Navigating Coopetition
Multi-agent algorithms showed varying degrees of success in balancing competition. MADDPG agents often fell into a "race to the bottom," where aggressive undercutting slashed total system revenue. In contrast, MAAC (Multi-Actor Attention Critic) utilized an attention mechanism to identify which competitors' moves were most relevant, leading to more stable and adaptive pricing in complex, non-stationary environments.
Coordination and Equity
VDN-SAC, which utilizes a shared reward structure, achieved the highest total profit and the most equitable distribution of revenue. While this suggests the benefits of coordination, such behavior in a real-world market might be classified as illegal collusion, highlighting the need for "fairness-aware" MARL that balances profit with regulatory and social welfare constraints.
Conclusion
RailPricing-RL provides a robust platform for exploring the complexities of HSR dynamic pricing. Our results demonstrate that while MARL can optimize revenue, it must be carefully tuned to avoid predatory pricing or exclusionary practices. Future work will focus on expanding network topologies to reflect real-world "mesh" structures and integrating operational costs and infrastructure reliability into the reward functions.
Summary updated