English

Towards Trustworthy AI Software Development Assistance

Software Engineering 2024-01-24 v2 Machine Learning

Abstract

It is expected that in the near future, AI software development assistants will play an important role in the software industry. However, current software development assistants tend to be unreliable, often producing incorrect, unsafe, or low-quality code. We seek to resolve these issues by introducing a holistic architecture for constructing, training, and using trustworthy AI software development assistants. In the center of the architecture, there is a foundational LLM trained on datasets representative of real-world coding scenarios and complex software architectures, and fine-tuned on code quality criteria beyond correctness. The LLM will make use of graph-based code representations for advanced semantic comprehension. We envision a knowledge graph integrated into the system to provide up-to-date background knowledge and to enable the assistant to provide appropriate explanations. Finally, a modular framework for constrained decoding will ensure that certain guarantees (e.g., for correctness and security) hold for the generated code.

Keywords

Cite

@article{arxiv.2312.09126,
  title  = {Towards Trustworthy AI Software Development Assistance},
  author = {Daniel Maninger and Krishna Narasimhan and Mira Mezini},
  journal= {arXiv preprint arXiv:2312.09126},
  year   = {2024}
}

Comments

6 pages, 1 figure; to be published in New Ideas and Emerging Results (ICSE-NIER'24), April 14-20, 2024, Lisbon, Portugal; updated version to reflect the information provided by ACM

R2 v1 2026-06-28T13:51:17.119Z