Lost in Code Generation: Reimagining the Role of Software Models in AI-driven Software Engineering

📅 2025-11-04
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Generative AI has lowered software development barriers, yet AI-generated systems suffer from severe deficiencies in robustness, security, and maintainability—exposing a critical gap between prototypes and production-grade software. To bridge this gap, we propose the *post-hoc model reconstruction* paradigm, which transcends the traditional role of software models as static design blueprints by positioning reverse-engineered high-level models as human-AI collaboration intermediaries and evolution governance hubs. Our approach integrates natural language processing, program analysis, and model-driven engineering to automatically reconstruct semantically consistent, executable software models from AI-generated code. Empirical evaluation demonstrates significant improvements in code comprehensibility, vulnerability traceability, and change adaptability. This work establishes the first sustainable framework for engineering AI-generated software—one that balances theoretical rigor with practical feasibility.

Technology Category

Application Category

📝 Abstract
Generative AI enables rapid ``vibe coding,"where natural language prompts yield working software systems. While this lowers barriers to software creation, it also collapses the boundary between prototypes and engineered software, leading to fragile systems that lack robustness, security, and maintainability. We argue that this shift motivates a reimagining of software models. Rather than serving only as upfront blueprints, models can be recovered post-hoc from AI-generated code to restore comprehension, expose risks, and guide refinement. In this role, models serve as mediators between human intent, AI generation, and long-term system evolution, providing a path toward sustainable AI-driven software engineering.
Problem

Research questions and friction points this paper is trying to address.

Reimagining software models for AI-generated code robustness
Addressing fragility in AI-driven software prototypes and systems
Using models to mediate human intent and AI generation
Innovation

Methods, ideas, or system contributions that make the work stand out.

Recovering models post-hoc from AI-generated code
Models mediate human intent and AI generation
Models guide system evolution for sustainability