[Paper Review] Rectify, Don't Regret: Avoiding Pitfalls of Differentiable Simulation in Trajectory Prediction
The paper shows that fully differentiable closed-loop simulators enable shortcut learning and proposes a non-differentiable detached rollout to force genuine recovery from drift, yielding more robust trajectory predictions and fewer collisions.
Current open-loop trajectory models struggle in real-world autonomous driving because minor initial deviations often cascade into compounding errors, pushing the agent into out-of-distribution states. While fully differentiable closed-loop simulators attempt to address this, they suffer from shortcut learning: the loss gradients flow backward through induced state inputs, inadvertently leaking future ground truth information directly into the model's own previous predictions. The model exploits these signals to artificially avoid drift, non-causally "regretting" past mistakes rather than learning genuinely reactive recovery. To address this, we introduce a detached receding horizon rollout. By explicitly severing the computation graph between simulation steps, the model learns genuine recovery behaviors from drifted states, forcing it to "rectify" mistakes rather than non-causally optimizing past predictions. Extensive evaluations on the nuScenes and DeepScenario datasets show our approach yields more robust recovery strategies, reducing target collisions by up to 33.24% compared to fully differentiable closed-loop training at high replanning frequencies. Furthermore, compared to standard open-loop baselines, our non-differentiable framework decreases collisions by up to 27.74% in dense environments while simultaneously improving multi-modal prediction diversity and lane alignment.
Motivation & Objective
- Demonstrate that differentiable simulators enable shortcut learning and past regret in trajectory prediction.
- Propose a non-differentiable, detached closed-loop rollout to enforce genuine recovery from drifted states.
- Evaluate robustness of the proposed method on nuScenes and DeepScenario against open-loop and differentiable baselines.
Proposed method
- Introduce a detached receding horizon rollout that severs the computation graph between steps.
- Use a log-replay scene simulation to isolate the target agent while others follow ground-truth trajectories.
- Modify the training objective to treat open- and closed-loop samples identically during backpropagation using a reformulated negative log-likelihood.
- Adopt a decoder-only LMFormer-D architecture for efficient iterative sequential prediction.
- Demonstrate gradient detachment to prevent backpropagation through induced state inputs (no gradient leakage).
- Evaluate collisions, multi-modal diversity, and lane alignment across varying replanning frequencies.
Experimental results
Research questions
- RQ1Can differentiable simulators cause models to learn non-causal shortcuts by leaking future information into past predictions?
- RQ2Does a non-differentiable closed-loop training framework improve robustness and safety of trajectory prediction under high replanning frequencies?
- RQ3How does the proposed method compare to open-loop baselines and differentiable closed-loop training in terms of collisions, diversity, and lane alignment?
- RQ4Is decoder-only architecture effective for high-frequency, autoregressive closed-loop rollout?
- RQ5What gains in robustness are achieved on nuScenes and DeepScenario when evaluating with varying H_step/Replanning frequencies?
Key findings
- Differentiable closed-loop training leads to instability at high replanning frequencies due to shortcut learning and gradient leakage.
- Non-differentiable closed-loop training reduces collisions by up to 33.24% vs differentiable baselines at high replanning frequencies.
- Compared to open-loop baselines, non-differentiable training reduces collisions by up to 27.74% in dense environments.
- Decoder-only LMFormer-D offers 45% fewer parameters and 62% fewer FLOPs while remaining competitive on open-loop metrics.
- The method improves multi-modal prediction diversity and lane alignment at higher replanning frequencies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.