Lumos: Let there be Language Model System Certification
Not on the map. Why?
Abstract (arXiv)
We introduce the first principled framework, Lumos, for specifying and formally certifying Language Model System (LMS) behaviors. Lumos is an imperative probabilistic programming DSL over graphs, with constructs to generate independent and identically distributed prompts for LMS. It offers a structured view of prompt distributions via graphs, forming random prompts from sampled subgraphs. Lumos supports certifying LMS for arbitrary prompt distributions via integration with statistical certifiers. We provide hybrid (operational and denotational) semantics for Lumos, providing a rigorous way to interpret the specifications. Using only a small set of composable constructs, Lumos can encode existing LMS specifications, including complex relational and temporal specifications. It also facilitates specifying new properties - we present the first safety specifications for vision-language models (VLMs) in autonomous driving scenarios developed with Lumos. Using these, we show that the state-of-the-art VLM Qwen-VL exhibits critical safety failures, producing incorrect and unsafe responses with at least 90% probability in right-turn scenarios under rainy driving conditions, revealing substantial safety risks. Lumos's modular structure allows easy modification of the specifications, enabling LMS certification to stay abreast with the rapidly evolving threat landscape. We further integrate a prompt-level deterministic verifier to obtain guarantees over the privacy of the LLM generation distribution over a prompt distribution. Lumos is simple to program in, requiring only a few constructs, as evidenced by state-of-the-art large language models generating correct Lumos specifications in zero-shot settings. Lumos is the first systematic and extensible language-based framework for specifying and certifying LMS behaviors, paving the way for a wider adoption of LMS certification.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 34 of its 52 references that are in the map. First posted on arXiv 2 Dec 2025.
Builds on
34 of 52 references.
References · 34
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,449
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2020Knowledge Graphscited by 621
- 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
22 more
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
- 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 274
- 2024SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusalcited by 240
- 2017Constructing Datasets for Multi-hop Reading Comprehension Across Documentscited by 190
- 2023Scaling Autoregressive Multi-Modal Models: Pretraining and Instruction Tuningcited by 170
- 2021A Comprehensive Survey of Scene Graphs: Generation and Applicationcited by 125
- 2024A Survey of Large Language Models for Financial Applications: Progress, Prospects and Challengescited by 90
- 2025A Survey of LLM-based Agents in Medicine: How far are we from Baymax?cited by 85
- 2018Scenic: A Language for Scenario Specification and Scene Generationcited by 83
- 2016Research Priorities for Robust and Beneficial Artificial Intelligencecited by 74
- 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 50
- 2024SPML: A DSL for Defending Language Models Against Prompt Attackscited by 34
- 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
- 2025A Survey of Attacks on Large Language Modelscited by 15
- 2025Interpretable Text Embeddings and Text Similarity Explanation: A Surveycited by 12
- 2021A practical introduction to the Rational Speech Act modeling frameworkcited by 6
- 20233D Environment Modeling for Falsification and Beyond with Scenic 3.0cited by 6
- 2024GuARD: Effective Anomaly Detection through a Text-Rich and Graph-Informed Language Modelcited by 6
- 2022Affine Monads and Lazy Structures for Bayesian Programmingcited by 5
- 2023AskIt: Unified Programming Interface for Programming with Large Language Modelscited by 5
- 2023Testing learning-enabled cyber-physical systems with Large-Language Models: A Formal Approachcited by 5
- 2025Quantitative Certification of Agentic Tool Selectioncited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Automated Safety Benchmarking: A Multi-agent Pipeline for LVLMs
- 2025A Survey of Safety on Large Vision-Language Models: Attacks, Defenses and Evaluations
- 2025Watchdogs and Oracles: Runtime Verification Meets Large Language Models for Autonomous Systems
- 2025Large Language Models in Code Co-generation for Safe Autonomous Vehicles
- 2026Reason--Imagine--Act: Closed-Loop LLM Decision Making with World Models for Autonomous Driving
- 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitations
- 2026SafeRI: Recognition and Intervention for Token-Level Safety Intervention in Large Vision Language Models
- 2026Distilling Safe LLM Systems via Soft Prompts for On Device Settings