Introduction
Deep Reinforcement Learning (DRL) has shown remarkable success in complex tasks, yet its transition to real-world physical systems—particularly autonomous driving—is often hindered by the "action shaking" problem. This phenomenon manifests as high-frequency, jittery control signals that lead to mechanical wear, energy inefficiency, and a poor user experience. While traditional DRL prioritizes maximizing a cumulative reward (such as speed or lane-keeping), it often ignores the smoothness of the actions taken to achieve those goals.
Historically, researchers have attempted to mitigate this by adding smoothness penalties to the reward function. However, balancing these competing objectives is notoriously difficult; improper weighting can lead to either persistent jitter or a failure to complete the primary task. This paper proposes Multi-Constraint Proximal Policy Optimization (MCPPO), a framework that treats smoothness as a set of strict constraints rather than a weighted reward component.
The MCPPO Framework
The core of the proposed approach is the adoption of a Constrained Markov Decision Process (CMDP). In this model, the agent seeks to maximize a task-related reward while ensuring that various cost functions—representing violations of smoothness or safety—remain below predefined thresholds.
Methodology and Architecture
MCPPO builds upon the standard Proximal Policy Optimization (PPO) algorithm with three critical innovations:
- Multiple Cost Critics: To handle diverse constraints, the architecture incorporates multiple neural networks that estimate the "cost" of violating specific smoothness metrics, such as lateral acceleration or action magnitude.
- PID Lagrangian Update: To solve the constrained optimization problem, the framework uses a Proportional-Integral-Derivative (PID) controller to adaptively adjust Lagrange multipliers. This mechanism ensures stable training by dynamically weighting constraints based on the current degree of violation.
- Re-scaled Objective: A modified loss function is employed to prevent the policy from making erratic updates when constraint penalties fluctuate, maintaining training stability.
Experimental Evaluation
The researchers evaluated MCPPO using the CARLA autonomous driving simulator across three diverse environments: Town07_V1 (mountainous roads), Town07_V2 (village scenarios with sharp turns), and Town03_V1 (complex urban intersections). The performance was benchmarked against traditional PID control and state-of-the-art DRL algorithms, including D3QN, PPO, and Soft Actor-Critic (SAC).
Key Results and Insights
The experimental results demonstrate that MCPPO effectively bridges the gap between high-performance DRL and smooth control:
- Superior Smoothness: MCPPO achieved an 18.61% improvement in action magnitude over traditional PID control and a 57.71% improvement over the SAC baseline.
- Enhanced Comfort: Passenger comfort metrics (minimizing jerk and acceleration) improved by 7.13% compared to standard PPO.
- Performance Retention: Unlike simple reward-shaping methods, MCPPO maintained task success rates and total returns comparable to unconstrained agents, proving that smoothness does not have to come at the cost of competence.
- Robustness: A significant finding was MCPPO's resilience to timing disturbances. While traditional PID controllers often failed when decision intervals became irregular, the MCPPO agent remained stable and smooth.
Conclusion and Future Work
MCPPO provides a robust solution to the action shaking problem by shifting the paradigm from reward weighting to multi-constraint optimization. By allowing designers to set explicit thresholds for "allowable jitter," the framework simplifies the tuning process for real-world deployment. Future research will focus on extending MCPPO to off-policy learning to improve sample efficiency and addressing the sim-to-real gap to validate these findings on physical hardware.
Summary updated