ARC: Compiling Large Multi-Modal Requirement Documents into Runnable Software Systems

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kong, Weiyu, Lin, Yun, Teoh, Xiwen, Nguyen, Duc-Minh, Ren, Ruofei, Chang, Jiaxin, Hu, Haoxu, Chen, Haoyu
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910252990988288
author Kong, Weiyu
Lin, Yun
Teoh, Xiwen
Nguyen, Duc-Minh
Ren, Ruofei
Chang, Jiaxin
Hu, Haoxu
Chen, Haoyu
author_facet Kong, Weiyu
Lin, Yun
Teoh, Xiwen
Nguyen, Duc-Minh
Ren, Ruofei
Chang, Jiaxin
Hu, Haoxu
Chen, Haoyu
contents Large Language Models (LLMs) have improved programming efficiency, but their performance degrades significantly as requirements scale; when faced with multi-modal documents containing hundreds of scenarios, LLMs often produce incorrect implementations or omit constraints. We propose Agentic Requirement Compilation (ARC), a technique that moves beyond simple code generation to requirement compilation, enabling the creation of runnable web systems directly from multi-modal DSL documents. ARC generates not only source code but also modular designs for UI, API, and database layers, enriched test suites (unit, modular, and integration), and detailed traceability for software maintenance. Our approach employs a bidirectional test-driven agentic loop: a top-down architecture phase decomposes requirements into verifiable interfaces, followed by a bottom-up implementation phase where agents generate code to satisfy those tests. ARC maintains strict traceability across requirements, design, and code to facilitate intelligent asset reuse. We evaluated ARC by generating six runnable web systems from documents spanning 50-200 multi-modal scenarios. Compared to state-of-the-art baselines, ARC-generated systems pass 50.6% more GUI tests on average. A user study with 21 participants showed that novice users can successfully write DSL documents for complex systems, such as a 10K-line ticket-booking system, in an average of 5.6 hours. These results demonstrate that ARC effectively transforms non-trivial requirement specifications into maintainable, runnable software.
format Preprint
id arxiv_https___arxiv_org_abs_2602_13723
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ARC: Compiling Large Multi-Modal Requirement Documents into Runnable Software Systems
Kong, Weiyu
Lin, Yun
Teoh, Xiwen
Nguyen, Duc-Minh
Ren, Ruofei
Chang, Jiaxin
Hu, Haoxu
Chen, Haoyu
Software Engineering
Large Language Models (LLMs) have improved programming efficiency, but their performance degrades significantly as requirements scale; when faced with multi-modal documents containing hundreds of scenarios, LLMs often produce incorrect implementations or omit constraints. We propose Agentic Requirement Compilation (ARC), a technique that moves beyond simple code generation to requirement compilation, enabling the creation of runnable web systems directly from multi-modal DSL documents. ARC generates not only source code but also modular designs for UI, API, and database layers, enriched test suites (unit, modular, and integration), and detailed traceability for software maintenance. Our approach employs a bidirectional test-driven agentic loop: a top-down architecture phase decomposes requirements into verifiable interfaces, followed by a bottom-up implementation phase where agents generate code to satisfy those tests. ARC maintains strict traceability across requirements, design, and code to facilitate intelligent asset reuse. We evaluated ARC by generating six runnable web systems from documents spanning 50-200 multi-modal scenarios. Compared to state-of-the-art baselines, ARC-generated systems pass 50.6% more GUI tests on average. A user study with 21 participants showed that novice users can successfully write DSL documents for complex systems, such as a 10K-line ticket-booking system, in an average of 5.6 hours. These results demonstrate that ARC effectively transforms non-trivial requirement specifications into maintainable, runnable software.
title ARC: Compiling Large Multi-Modal Requirement Documents into Runnable Software Systems
topic Software Engineering
url https://arxiv.org/abs/2602.13723