Scenic: A Language for Scenario Specification and Data Generation
Not on the map. Why?
Abstract (arXiv)
We propose a new probabilistic programming language for the design and analysis of cyber-physical systems, especially those based on machine learning. Specifically, we consider the problems of training a system to be robust to rare events, testing its performance under different conditions, and debugging failures. We show how a probabilistic programming language can help address these problems by specifying distributions encoding interesting types of inputs, then sampling these to generate specialized training and test data. More generally, such languages can be used to write environment models, an essential prerequisite to any formal analysis. In this paper, we focus on systems like autonomous cars and robots, whose environment at any point in time is a 'scene', a configuration of physical objects and agents. We design a domain-specific language, Scenic, for describing scenarios that are distributions over scenes and the behaviors of their agents over time. As a probabilistic programming language, Scenic allows assigning distributions to features of the scene, as well as declaratively imposing hard and soft constraints over the scene. We develop specialized techniques for sampling from the resulting distribution, taking advantage of the structure provided by Scenic's domain-specific syntax. Finally, we apply Scenic in a case study on a convolutional neural network designed to detect cars in road images, improving its performance beyond that achieved by state-of-the-art synthetic data generation methods.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 2; 2023: 9; 2024: 10; 2025: 8; 2026: 5.
39 papers.
Sort:
By area:
- 2022KING: Generating Safety-Critical Driving Scenarios for Robust Imitation via Kinematics Gradientscited by 95
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 94
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehiclescited by 92
- 2024Traffic Scene Generation from Natural Language Description for Autonomous Vehicles with Large Language Modelcited by 14
- 2024Learning to Drive via Asymmetric Self-Playcited by 11
- 2024ScenicNL: Generating Probabilistic Scenario Programs from Natural Languagecited by 10
- 2021Parallel and Multi-Objective Falsification with Scenic and VerifAIcited by 8
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulationcited by 8
- 2023Dialogue-based generation of self-driving simulation scenarios using Large Language Modelscited by 7
- 2021Scenic4RL: Programmatic Modeling and Generation of Reinforcement Learning Environmentscited by 6
- 2021A Scenario-Based Platform for Testing Autonomous Vehicle Behavior Prediction Models in Simulationcited by 6
- 2023From Model-Based to Data-Driven Simulation: Challenges and Trends in Autonomous Drivingcited by 6
27 more
- 2024Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languagescited by 6
- 2021Addressing the IEEE AV Test Challenge with Scenic and VerifAIcited by 5
- 2023Testing learning-enabled cyber-physical systems with Large-Language Models: A Formal Approachcited by 5
- 2024Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehiclescited by 4
- 2025Adversarial Generation and Collaborative Evolution of Safety-Critical Scenarios for Autonomous Vehiclescited by 4
- 2021Querying Labelled Data with Scenario Programs for Sim-to-Real Validationcited by 3
- 2023Bridging Data-Driven and Knowledge-Driven Approaches for Safety-Critical Scenario Generation in Automated Vehicle Validationcited by 3
- 2024Scenario-Based Curriculum Generation for Multi-Agent Autonomous Drivingcited by 3
- 2022ECSAS: Exploring Critical Scenarios from Action Sequence in Autonomous Drivingcited by 2
- 2025Interactive Program Synthesis for Modeling Collaborative Physical Activities from Narrated Demonstrationscited by 2
- 2023Spatialyze: A Geospatial Video Analytics System with Spatial-Aware Optimizationscited by 1
- 2023Automatic Generation of Scenarios for System-level Simulation-based Verification of Autonomous Driving Systemscited by 1
- 2023Natural-language-driven Simulation Benchmark and Copilot for Efficient Production of Object Interactions in Virtual Road Scenescited by 1
- 2024Outline of an Independent Systematic Blackbox Test for ML-based Systemscited by 1
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generationcited by 1
- 2025ScenicProver: A Framework for Compositional Probabilistic Verification of Learning-Enabled Systemscited by 1
- 2025Controllable risk scenario generation from human crash data for autonomous vehicle testingcited by 1
- 2026ScenicRules: An Autonomous Driving Benchmark with Multi-Objective Specifications and Abstract Scenarioscited by 1
- 2023Specification-Guided Data Aggregation for Semantically Aware Imitation Learningcited by 0
- 2023Towards Formal Fault Injection for Safety Assessment of Automated Systemscited by 0
- 2025CORTEX-AVD: A Framework for CORner Case Testing and EXploration in Autonomous Vehicle Developmentcited by 0
- 2025Clinician-Directed Large Language Model Software Generation for Therapeutic Interventions in Physical Rehabilitationcited by 0
- 2025DriverGaze360: OmniDirectional Driver Attention with Object-Level Guidancecited by 0
- 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generationcited by 0
- 2026Scenario Generation for Testing of Autonomous Driving Systems Using Real-World Failure Recordscited by 0
- 2026From Failure to Alignment: A Requirements Engineering Framework for Machine Learning Systemscited by 0
- 2026Probabilistic Modelling of Operational Design Domains, A New Approach for Testing AI Systemscited by 0
- 2026Probabilistic Modelling of Operational Design Domains, A New Approach for Testing AI Systems21 Sep 2026
- 2026From Failure to Alignment: A Requirements Engineering Framework for Machine Learning Systems30 Jun 2026
- 2026Scenario Generation for Testing of Autonomous Driving Systems Using Real-World Failure Records30 Jun 2026
- 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generation27 Jun 2026
- 2026ScenicRules: An Autonomous Driving Benchmark with Multi-Objective Specifications and Abstract Scenarios17 Feb 2026
- 2025DriverGaze360: OmniDirectional Driver Attention with Object-Level Guidance16 Dec 2025
- 2025Controllable risk scenario generation from human crash data for autonomous vehicle testing27 Nov 2025
- 2025Clinician-Directed Large Language Model Software Generation for Therapeutic Interventions in Physical Rehabilitation23 Nov 2025
- 2025ScenicProver: A Framework for Compositional Probabilistic Verification of Learning-Enabled Systems4 Nov 2025
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation15 Oct 2025
- 2025Interactive Program Synthesis for Modeling Collaborative Physical Activities from Narrated Demonstrations29 Sep 2025
- 2025Adversarial Generation and Collaborative Evolution of Safety-Critical Scenarios for Autonomous Vehicles20 Aug 2025
27 more
- 2025CORTEX-AVD: A Framework for CORner Case Testing and EXploration in Autonomous Vehicle Development4 Apr 2025
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulation1 Nov 2024
- 2024Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehicles13 Oct 2024
- 2024Learning to Drive via Asymmetric Self-Play26 Sep 2024
- 2024Traffic Scene Generation from Natural Language Description for Autonomous Vehicles with Large Language Model15 Sep 2024
- 2024Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages5 Jun 2024
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles22 May 2024
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systems10 May 2024
- 2024ScenicNL: Generating Probabilistic Scenario Programs from Natural Language3 May 2024
- 2024Scenario-Based Curriculum Generation for Multi-Agent Autonomous Driving26 Mar 2024
- 2024Outline of an Independent Systematic Blackbox Test for ML-based Systems30 Jan 2024
- 2023Natural-language-driven Simulation Benchmark and Copilot for Efficient Production of Object Interactions in Virtual Road Scenes7 Dec 2023
- 2023Bridging Data-Driven and Knowledge-Driven Approaches for Safety-Critical Scenario Generation in Automated Vehicle Validation18 Nov 2023
- 2023Towards Formal Fault Injection for Safety Assessment of Automated Systems16 Nov 2023
- 2023Automatic Generation of Scenarios for System-level Simulation-based Verification of Autonomous Driving Systems16 Nov 2023
- 2023Testing learning-enabled cyber-physical systems with Large-Language Models: A Formal Approach13 Nov 2023
- 2023Dialogue-based generation of self-driving simulation scenarios using Large Language Models26 Oct 2023
- 2023Spatialyze: A Geospatial Video Analytics System with Spatial-Aware Optimizations7 Aug 2023
- 2023From Model-Based to Data-Driven Simulation: Challenges and Trends in Autonomous Driving23 May 2023
- 2023Specification-Guided Data Aggregation for Semantically Aware Imitation Learning29 Mar 2023
- 2022ECSAS: Exploring Critical Scenarios from Action Sequence in Autonomous Driving21 Sep 2022
- 2022KING: Generating Safety-Critical Driving Scenarios for Robust Imitation via Kinematics Gradients28 Apr 2022
- 2021Querying Labelled Data with Scenario Programs for Sim-to-Real Validation1 Dec 2021
- 2021A Scenario-Based Platform for Testing Autonomous Vehicle Behavior Prediction Models in Simulation28 Oct 2021
- 2021Addressing the IEEE AV Test Challenge with Scenic and VerifAI20 Aug 2021
- 2021Parallel and Multi-Objective Falsification with Scenic and VerifAI9 Jul 2021
- 2021Scenic4RL: Programmatic Modeling and Generation of Reinforcement Learning Environments18 Jun 2021
- 2022KING: Generating Safety-Critical Driving Scenarios for Robust Imitation via Kinematics Gradientscited by 95
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehiclescited by 92
- 2024Traffic Scene Generation from Natural Language Description for Autonomous Vehicles with Large Language Modelcited by 14
- 2024Learning to Drive via Asymmetric Self-Playcited by 11
- 2023Dialogue-based generation of self-driving simulation scenarios using Large Language Modelscited by 7
- 2024Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehiclescited by 4
- 2025Adversarial Generation and Collaborative Evolution of Safety-Critical Scenarios for Autonomous Vehiclescited by 4
- 2022ECSAS: Exploring Critical Scenarios from Action Sequence in Autonomous Drivingcited by 2
- 2025Adversarial Generation and Collaborative Evolution of Safety-Critical Scenarios for Autonomous Vehicles20 Aug 2025
- 2024Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehicles13 Oct 2024
- 2024Learning to Drive via Asymmetric Self-Play26 Sep 2024
- 2024Traffic Scene Generation from Natural Language Description for Autonomous Vehicles with Large Language Model15 Sep 2024
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles22 May 2024
- 2023Dialogue-based generation of self-driving simulation scenarios using Large Language Models26 Oct 2023
- 2022ECSAS: Exploring Critical Scenarios from Action Sequence in Autonomous Driving21 Sep 2022
- 2022KING: Generating Safety-Critical Driving Scenarios for Robust Imitation via Kinematics Gradients28 Apr 2022
- 2024ScenicNL: Generating Probabilistic Scenario Programs from Natural Languagecited by 10
- 2021Parallel and Multi-Objective Falsification with Scenic and VerifAIcited by 8
- 2021Scenic4RL: Programmatic Modeling and Generation of Reinforcement Learning Environmentscited by 6
- 2021A Scenario-Based Platform for Testing Autonomous Vehicle Behavior Prediction Models in Simulationcited by 6
- 2023From Model-Based to Data-Driven Simulation: Challenges and Trends in Autonomous Drivingcited by 6
- 2024Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languagescited by 6
- 2021Addressing the IEEE AV Test Challenge with Scenic and VerifAIcited by 5
- 2023Testing learning-enabled cyber-physical systems with Large-Language Models: A Formal Approachcited by 5
- 2021Querying Labelled Data with Scenario Programs for Sim-to-Real Validationcited by 3
- 2023Bridging Data-Driven and Knowledge-Driven Approaches for Safety-Critical Scenario Generation in Automated Vehicle Validationcited by 3
- 2024Scenario-Based Curriculum Generation for Multi-Agent Autonomous Drivingcited by 3
- 2025Interactive Program Synthesis for Modeling Collaborative Physical Activities from Narrated Demonstrationscited by 2
12 most cited of 27 All 27 (JSON)
- 2026Probabilistic Modelling of Operational Design Domains, A New Approach for Testing AI Systems21 Sep 2026
- 2026From Failure to Alignment: A Requirements Engineering Framework for Machine Learning Systems30 Jun 2026
- 2026Scenario Generation for Testing of Autonomous Driving Systems Using Real-World Failure Records30 Jun 2026
- 2026ScenicRules: An Autonomous Driving Benchmark with Multi-Objective Specifications and Abstract Scenarios17 Feb 2026
- 2025DriverGaze360: OmniDirectional Driver Attention with Object-Level Guidance16 Dec 2025
- 2025Controllable risk scenario generation from human crash data for autonomous vehicle testing27 Nov 2025
- 2025Clinician-Directed Large Language Model Software Generation for Therapeutic Interventions in Physical Rehabilitation23 Nov 2025
- 2025ScenicProver: A Framework for Compositional Probabilistic Verification of Learning-Enabled Systems4 Nov 2025
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation15 Oct 2025
- 2025Interactive Program Synthesis for Modeling Collaborative Physical Activities from Narrated Demonstrations29 Sep 2025
- 2025CORTEX-AVD: A Framework for CORner Case Testing and EXploration in Autonomous Vehicle Development4 Apr 2025
- 2024Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages5 Jun 2024
12 newest of 27 All 27 (JSON)