CCFM: Collision-Constrained Flow Matching for Safety-Critical Scenario Generation

Ke Li, Kai-Di Liang, Yu-Xin Ding, Debojyoti Biswas, Xian-Biao Hu +1 more
7/1/2026
diffusion-flow

No confident code implementation found for this paper.

Abstract

Evaluation of autonomous vehicle (AV) planners in safety-critical closed-loop simulation is essential for real-world deployment. However, generating controllable safety-critical scenarios remains challenging.

Show full abstract

Existing approaches use soft guidance that provides only probabilistic preferences and cannot guarantee the satisfaction of geometric and severity constraints associated with specific collision types. We introduce Collision-Constrained Flow Matching (CCFM), a novel framework that guarantees precise collision control through hard physical constraints. CCFM consists of three key components: (i) a heuristic collision selector that optimally identifies an adversarial agent and collision type via composite scoring; (ii) structured hard constraints that explicitly define four collision types (rear-end, side, cut-in, head-on) through contact point, heading, and severity requirements; and (iii) a collision-constrained flow matching sampler that enforces the constraints via Gauss-Newton manifold projection. CCFM achieves collision rate up to 46.4% on nuScenes and 83.1% on nuPlan, significantly outperforming baselines while preserving realistic driving behavior. By enabling controllable collision characteristics in safety-critical scenario generation, CCFM provides a reliable foundation for AV safety evaluation and sim-to-real crash data generation. The code and implementation details are available at https://github.com/KELISBU/CCFM.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026ccfm,
  title  = {CCFM: Collision-Constrained Flow Matching for Safety-Critical Scenario Generation},
  author = {Ke Li and Kai-Di Liang and Yu-Xin Ding and Debojyoti Biswas and Xian-Biao Hu and Ru-Wen Qin},
  year   = {2026},
  eprint = {2607.04451},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2607.04451},
  journal = {European Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.04451.svg)](https://codeofpaper.com/paper/2607.04451)

Discussion