Behavior-Constrained Reinforcement Learning with Receding-Horizon Credit Assignment for High-Performance Control

Siwei Ju, Jan Tauberschmidt, Oleg Arenz, Peter van Vliet, Jan PetersarXiv 2026

TL;DR

This paper introduces a behavior-constrained reinforcement learning framework that trains high-performance control policies to optimize task performance while strictly adhering to human expert styles. By combining a constrained optimization formulation with a receding-horizon trajectory predictor, the method achieves faster lap times than professional race car drivers while maintaining realistic, human-like vehicle handling across various mechanical setups.

What Problem Does This Paper Address?

In high-performance robotics and autonomous driving, controllers must often operate near the physical limits of a system. Reinforcement Learning (RL) is excellent at discovering high-performance strategies through trial and error, but it frequently converges to unrealistic, erratic, or "hacky" control patterns that exploit simulator physics. Conversely, Imitation Learning (IL) keeps behaviors human-like but is strictly bounded by the quality of the demonstration data and struggles to generalize when the environment or system dynamics shift.

This tension is highly pronounced in professional motorsports and virtual vehicle setup testing. If an engineer changes a car's suspension or aerodynamics, a purely reward-driven RL agent might find a superhuman exploit to go fast, rendering it useless as a digital surrogate for a real human driver. Furthermore, high-performance control suffers from severe credit assignment challenges: a minor mistake during corner entry (like carrying too much speed) might only manifest as a catastrophic spin several seconds later. The authors tackle this by asking: How can an agent learn to outpace human experts while remaining behaviorally consistent with them?

Methods

The authors propose Style-Biased Contextual Reinforcement Learning (SBCRL), which introduces three core innovations:

  1. Behavior-Constrained Policy Optimization: Instead of manually guessing weights to balance speed and style, the problem is framed as a constrained optimization task. The agent maximizes progress while enforcing a lower bound on style imitation. The trade-off coefficient ($\alpha^s$) is treated as a Lagrangian multiplier and tuned dynamically during training.
  2. Receding-Horizon Credit Assignment: To handle delayed consequences, the network includes a lightweight auxiliary trajectory predictor. It forecasts short-term future trajectories using probabilistic Bézier curves. This compact geometric representation provides look-ahead rewards during training, significantly smoothing out temporal credit assignment.
  3. Trajectory-Conditioned Expert Modeling: Human driving is inherently variable. To capture this distribution rather than forcing the agent to track a single deterministic line, the policy is conditioned on global reference trajectories. They utilize Probabilistic Movement Primitives (ProMP) to fit a Reference Trajectory Distribution (RTD) from expert data, enabling robust data augmentation.

Additionally, the policy outputs relative action changes ($\Delta a_t$) rather than absolute control inputs, forcing the model to learn underlying vehicle dynamics rather than static state-action mappings.

Policy architecture with auxiliary trajectory predictor

Datasets

The framework was trained and evaluated using real-world professional driver data:

  • Expert Demonstrations: Telemetry data collected from professional race car drivers operating a high-fidelity, motion-platform Driver-in-the-Loop (DiL) simulator.
  • Tracks: Three official world championship circuits (Tracks A, B, and C) characterized by extreme nonlinear dynamics and narrow performance margins.

Key Insights and Ideas

  • Constraints over Scalarization: Manually tuning weights between performance and style is a losing game because the optimal balance changes across different tracks and car setups. Setting style as a hard constraint allows the agent to safely explore performance boundaries without degrading into unrealistic behaviors.
  • Bézier Curves for Smooth Rewards: Full future state prediction is computationally heavy and prone to compounding errors. Parametrizing the short-horizon future as a Bézier curve allows a lightweight network to effectively guide the agent through highly nonlinear limit-handling regimes.
  • Surrogate Validity: For a digital driver model to be useful to engineers, it must react to mechanical changes (like an oversteer-prone setup) the same way a human would—by adapting its lines and control inputs smoothly—rather than finding a superhuman physics exploit.

Key Results

The method was benchmarked against standard baselines, including DeepMimic-style step rewards and Adversarial Motion Priors (AMP).

  • Pareto Dominance: The proposed method dominated all baselines in the top-performance regime, achieving the fastest lap times (66.229s on Track A) while maintaining a tight Mean Reference Offset (MRO) of 0.289 meters.
  • Zero-Tuning Generalization: While baseline methods required tedious per-track hyperparameter tuning, the automatic reward scaling mechanism allowed the proposed agent to deliver top-tier performance across multiple tracks using the exact same configuration.
Fig. 5. The Pareto fronts for different methods. Since both lap time and Mean Reference Offset (MRO) need to be minimized, the optimal solutions lie in the lower-left corner of the plot. Each point represents a lap from the training epochs that lie on the Pareto front within its respective experiment group. For improved readability, we have omitted data points that are not on the Pareto front.
  • Human-Grounded Consistency: When tested across different vehicle setups, the policy naturally mirrored human adjustments. For an unstable, oversteer-prone setup, the policy automatically applied earlier, smoother braking and conservative acceleration, matching the qualitative feedback of top-class professional drivers.

Limitations and Future Work

While highly effective, the authors note a few areas for improvement:

  • Sample Efficiency: The framework still requires substantial simulation time (100 million steps) to converge during the PPO fine-tuning phase.
  • Granular Style Personalities: The current model captures a generalized distribution of expert behavior but does not explicitly differentiate between distinct human driving personalities (e.g., an aggressive driver vs. a smooth, conservative driver).
  • Broader Robotics Domains: Future work includes transferring this SBCRL framework to other complex continuous control tasks, such as agile drone flight and quadruped locomotion.

Summary updated

BibTeX
@misc{ju2026behavior,
  author = {Siwei Ju and Jan Tauberschmidt and Oleg Arenz and Peter van Vliet and Jan Peters},
  title = {{Behavior-Constrained Reinforcement Learning with Receding-Horizon Credit Assignment for High-Performance Control}},
  year = {2026},
  eprint = {2604.03023},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.03023},
}
Figure