mlsanityData to 14 Oct 2026

On Integrating Large Language Models and Scenario-Based Programming for Improving Software Reliability

arXiv 2509.09194 ↗First posted 11 Sep 2025cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are fast becoming indispensable tools for software developers, assisting or even partnering with them in crafting complex programs. The advantages are evident -- LLMs can significantly reduce development time, generate well-organized and comprehensible code, and occasionally suggest innovative ideas that developers might not conceive on their own. However, despite their strengths, LLMs will often introduce significant errors and present incorrect code with persuasive confidence, potentially misleading developers into accepting flawed solutions. In order to bring LLMs into the software development cycle in a more reliable manner, we propose a methodology for combining them with ``traditional'' software engineering techniques in a structured way, with the goal of streamlining the development process, reducing errors, and enabling users to verify crucial program properties with increased confidence. Specifically, we focus on the Scenario-Based Programming (SBP) paradigm -- an event-driven, scenario-based approach for software engineering -- to allow human developers to pour their expert knowledge into the LLM, as well as to inspect and verify its outputs. To evaluate our methodology, we conducted a significant case study, and used it to design and implement the Connect4 game. By combining LLMs and SBP we were able to create a highly-capable agent, which could defeat various strong existing agents. Further, in some cases, we were able to formally verify the correctness of our agent. Finally, our experience reveals interesting insights regarding the ease-of-use of our proposed approach. The full code of our case-study will be made publicly available with the final version of this paper.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 55 references that are in the map. First posted on arXiv 11 Sep 2025.

Builds on

11 of 55 references.

References · 11

  1. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  2. 2023Clover: Closed-Loop Verifiable Code Generationcited by 67
  3. 2025Capabilities of GPT-5 on Multimodal Medical Reasoningcited by 36
  4. 2024AI Governance and Accountability: An Analysis of Anthropic's Claudecited by 14
  5. 2024LLMs: A Game-Changer for Software Engineers?cited by 11
  6. 2024Guiding Enumerative Program Synthesis with Large Language Modelscited by 9
  7. 2020Guarded Deep Learning using Scenario-Based Modelingcited by 6
  8. 2019On-the-Fly Construction of Composite Events in Scenario-Based Modeling using Constraint Solverscited by 4
  9. 2021Towards Repairing Scenario-Based Models with Rich Eventscited by 3
  10. 2023Enhancing Deep Learning with Scenario-Based Override Rules: a Case Studycited by 2
  11. 2024On Augmenting Scenario-Based Modeling with Generative AIcited by 2

Built on by

Not cited yet.