Challenges and Paths Towards AI for Software Engineering

Alex Gu, Naman Jain, Wen-Ding Li, Manish Shetty, Yijia Shao, Ziyang Li, Diyi Yang, Kevin Ellis, Koushik Sen, Armando Solar-LezamaarXiv 2025 · DOI

Abstract

While Large Language Models (LLMs) have demonstrated proficiency in solving isolated coding tasks, the transition to fully autonomous AI Software Engineers remains a significant challenge. This paper presents a comprehensive roadmap for this evolution, defining a three-dimensional taxonomy for software tasks and identifying nine critical technical bottlenecks. We propose a neurosymbolic approach that bridges the gap between probabilistic LLMs and deterministic software engineering tools, mapping current challenges to specific research paths in data curation, training methodologies, and system integration.

Introduction

Generative AI has reached a milestone in "function-level" coding, often excelling at competitive programming and small-scale script generation. However, real-world software engineering is far more complex than solving isolated puzzles. It requires navigating massive, multi-million line repositories, managing evolving library versions, designing maintainable abstractions, and collaborating with human developers on often ambiguous requirements. This paper addresses the fundamental question: What technical hurdles prevent AI from managing the full software development lifecycle, and how can we systematically overcome them?

A Taxonomy for AI Software Engineering

To structure the analysis, the authors introduce a three-dimensional taxonomy to categorize software tasks based on three primary axes:

  1. Scope: Ranging from individual functions to entire project repositories.
  2. Logical Complexity: Moving from simple CRUD operations to high-level algorithmic reasoning and architectural design.
  3. Human Intervention: Transitioning from AI as a passive tool to AI as an autonomous agent.

Mapping Challenges to Research Paths

The core of the paper identifies nine specific bottlenecks that currently limit AI's effectiveness in software engineering. These challenges are mapped to concrete research directions across data collection, model training, and inference strategies.

Mapping of core software engineering challenges to proposed research directions.

A central theme is the integration of neurosymbolic methods. By combining the probabilistic strengths of LLMs with the deterministic "ground truth" provided by symbolic tools—such as compilers, static analyzers, and formal verifiers—models can move beyond token prediction toward a deeper understanding of program behavior.

The Data Gap and Benchmarking

The paper surveys the landscape of existing benchmarks, noting that while function-level evaluations (e.g., HumanEval) are mature, there is a desperate need for more repository-level benchmarks (e.g., SWE-Bench) and human-centric data. The authors advocate for collecting fine-grained IDE telemetry—including edit histories, build failures, and pull request comments—to teach models the iterative process of engineering rather than just the final code output. This data is essential to mitigate contamination, where performance on competitive programming benchmarks often degrades as problems leak into training sets.

Beyond Text: Neurosymbolic Integration

Several key insights emerge from the proposed roadmap:

  • Code as a Structured World Model: Treating code as mere text ignores its inherent structure. The authors suggest augmenting training with Abstract Syntax Trees (ASTs) and execution traces to help models build a "world model" of code.
  • The Abstraction and Versioning Gaps: LLMs often struggle with long-horizon planning and tend to use deprecated syntax found in their training data. Proposed solutions include "Test-Time Training" (TTT) to adapt models to specific codebase versions on the fly.
  • Semantic Retrieval: Current RAG (Retrieval-Augmented Generation) systems often rely on syntactic similarity. The paper proposes "Semantic-Aware Embeddings" that group code by execution behavior rather than textual appearance.

Conclusion and Future Directions

The roadmap points toward "Reinforcement Learning from Verifiable Rewards" (RLVR). In this paradigm, models are trained in "gym-like" environments where they receive immediate, deterministic feedback from compilers and test suites. While the field is fast-moving, this structured approach provides a necessary framework for evolving AI from a coding assistant into a robust, autonomous software engineering partner.

Summary updated

BibTeX
@misc{gu2025challenges,
  author = {Alex Gu and Naman Jain and Wen-Ding Li and Manish Shetty and Yijia Shao and Ziyang Li and Diyi Yang and Kevin Ellis and Koushik Sen and Armando Solar-Lezama},
  title = {{Challenges and Paths Towards AI for Software Engineering}},
  year = {2025},
  eprint = {2503.22625},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.22625},
}
Figure