Assessing Scene Generation Techniques for Testing COLREGS-Compliance of Autonomous Surface Vehicles
An experience paper testing whether scene-generation techniques from automated driving carry over to multi-vessel COLREGS encounters. They are fast, but they lose diversity and completeness as vessels are added, and real-world AIS data barely contains multi-vessel cases. Received an ACM SIGSOFT Distinguished Paper Award.
- ACM SIGSOFT Distinguished Paper Award
- First cross-domain study of multi-vessel COLREGS test generation on synthetic and real-world data
- Presented in the "Extended Reality and Autonomous Systems" session
Dominik Frey, Ulf Kargén, and Dániel Varró. 2025. Assessing Scene Generation Techniques for Testing COLREGS-Compliance of Autonomous Surface Vehicles. Proceedings of the ACM on Software Engineering, Vol. 2, Issue ISSTA, 985–1008. https://doi.org/10.1145/3728919
ACM SIGSOFT Distinguished Paper Award
Question
Scenario-based testing is the standard way to assure automated cars at system level, and there is a mature toolbox for generating test scenes. Can the same techniques test whether an autonomous vessel follows the COLREGS when several ships meet? The maritime setting differs: other dynamics, open-sea geometry without lanes, more diverse actors, and rules that turn ambiguous with more than two vessels.
What we did
We focused on the hardest part of a maritime test scenario, the initial scene: where each vessel is, and how fast and in which direction it moves, at the moment they come within visibility range.
- Formalised and extended a COLREGS model to multi-vessel encounters. The functional constraints are: exactly one own ship (the ASV); every own-ship/target-ship pair is in a COLREGS situation; target ships are not in a situation with each other.
- Adapted two automotive scene-generation methods:
- Search-based (SB): a multi-objective problem over position, heading, speed and length, solved with NSGA-II after hyper-parameter tuning. The objectives are the geometric distance from satisfying each constraint.
- Rejection sampling (RS): sampling regions in the style of the Scenic framework (visibility region, velocity space, velocity-obstacle cone), intersected per target ship, with rejection for the constraints between target ships that cannot be expressed as regions.
- Extracted real-world scenes from the CommonOcean benchmark (AIS data from Florida, the Middle East coast and the US west coast).
- Abstracted every scene to its functional equivalence class (a graph shape) using the Refinery graph solver. This allowed us to measure relevance, diversity and completeness at the semantic level.
Results
| Vessels | SB success | RS success | SB median time | RS median time |
|---|---|---|---|---|
| 2 | 100% | 100% | 0.1 s | 0.1 s |
| 3 | 100% | 100% | 0.33 s | 11.3 s |
| 4 | 100% | 9.4% | 0.77 s | timeout |
| 5 | 100% | 0% | 2.29 s | timeout |
| 6 | 100% | 0% | 7.58 s | timeout |
- RQ1: Relevance. Synthetic approaches produced 68.1–94.6% relevant scenes. The real-world dataset had 0% relevant scenes for three or more vessels: of 3,298 extracted encounters, 3,222 involved two vessels, 72 three, 4 four, and none five or six.
- RQ2: Diversity and completeness. Coverage of equivalence classes dropped for both SB and RS as the vessel count increased.
- RQ3: Scalability and speed. SB found scenes within seconds up to six vessels. RS did not scale beyond three.
We also hit encounters that are clearly dangerous but fit no COLREGS situation, for example a fast small vessel and a slow large one both in the port-side sector with nothing on the starboard side. This is evidence of gaps in the rules themselves.
Why it matters
The paper shows that neither historical data nor off-the-shelf stochastic generation can deliver completeness guarantees for multi-vessel COLREGS testing. That negative result motivated the systematic, refinement-based approach in my MODELS 2026 paper.
Behind the paper
The first submission went through a major revision. Based on the reviews we reframed it as an experience report, which made the contribution clearer. I presented it in Trondheim at ISSTA 2025, co-located with FSE 2025. It received an ACM SIGSOFT Distinguished Paper Award.
Gallery



References
- D. Frey, U. Kargén, D. Varró. 2025. Assessing Scene Generation Techniques for Testing COLREGS-Compliance of Autonomous Surface Vehicles. Proc. ACM Softw. Eng. 2, ISSTA (July 2025), 985–1008. doi.org/10.1145/3728919
- U. Kargén and D. Varró. 2024. Towards Automated Test Scenario Generation for Assuring COLREGs Compliance of Autonomous Surface Vehicles. MODELS ’24, 249–256. doi.org/10.1145/3640310.3674098
- H. Krasowski and M. Althoff. 2022. CommonOcean: Composable Benchmarks for Ocean Motion Planning. IEEE ITSC, 1676–1682.
- D. J. Fremont et al. 2019. Scenic: A Language for Scenario Specification and Scene Generation. PLDI ’19, 63–78. doi.org/10.1145/3314221.3314633
