Pith. sign in

REVIEW 2 cited by

ScenicNL: Generating Probabilistic Scenario Programs from Natural Language

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.03709 v3 pith:PV3XYLTY submitted 2024-05-03 cs.SE cs.AIcs.LGcs.PL

ScenicNL: Generating Probabilistic Scenario Programs from Natural Language

classification cs.SE cs.AIcs.LGcs.PL
keywords languageprogramscrasheventsprobabilisticreportsscenarioscenic
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

For cyber-physical systems (CPS), including robotics and autonomous vehicles, mass deployment has been hindered by fatal errors that occur when operating in rare events. To replicate rare events such as vehicle crashes, many companies have created logging systems and employed crash reconstruction experts to meticulously recreate these valuable events in simulation. However, in these methods, "what if" questions are not easily formulated and answered. We present ScenarioNL, an AI System for creating scenario programs from natural language. Specifically, we generate these programs from police crash reports. Reports normally contain uncertainty about the exact details of the incidents which we represent through a Probabilistic Programming Language (PPL), Scenic. By using Scenic, we can clearly and concisely represent uncertainty and variation over CPS behaviors, properties, and interactions. We demonstrate how commonplace prompting techniques with the best Large Language Models (LLM) are incapable of reasoning about probabilistic scenario programs and generating code for low-resource languages such as Scenic. Our system is comprised of several LLMs chained together with several kinds of prompting strategies, a compiler, and a simulator. We evaluate our system on publicly available autonomous vehicle crash reports in California from the last five years and share insights into how we generate code that is both semantically meaningful and syntactically correct.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Chat2Scenic: An Iterative RAG-Based Framework for Scenario Generation in Autonomous Driving

    cs.AI 2026-07 conditional novelty 6.0

    Chat2Scenic generates executable Scenic driving-scenario scripts from regulation-style text with 76.4% compilation success, using iterative component-wise generation with retrieval-augmented prompting.

  2. TrafficAlign: Aligning Large Language Models for Traffic Scenario Generation

    cs.CV 2026-06 unverdicted novelty 5.0

    TrafficAlign synthesizes scenarios from videos to align LLMs, producing tests that detect 10.8% more collisions than prior methods and enable 36.1% collision reduction after fine-tuning the driving models.