AI-Powered Specification Generation

AI-Powered Specification Generation

Automating Formal Program Specifications with LLMs

SpecGen leverages large language models to automatically generate high-quality formal program specifications, reducing developer burden while improving software reliability.

  • Addresses the challenge of manually creating formal specifications that is time-consuming and error-prone
  • Outperforms existing methods with higher precision, recall, and F1 scores
  • Generates specifications that are more complete and accurate than those written by human developers
  • Provides a practical solution for integrating formal verification into modern software development workflows

This research represents a significant advancement for engineering teams by automating a critical but difficult aspect of software development, potentially reducing bugs, improving documentation, and enabling more robust verification processes.

SpecGen: Automated Generation of Formal Program Specifications via Large Language Models

11 | 323