Skip to main navigation Skip to search Skip to main content

Ranking Formal Specifications using LLMs

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Formal specifications are essential for reasoning about the correctness of complex systems. While recent advances have explored automatically learning such specifications, the challenge of distinguishing meaningful, non-trivial specifications from a vast and noisy pool of learned candidates remains largely open. In this position paper, we present an approach for specification ranking, aimed at identifying the most critical specifications that contribute to overall system correctness. To this end, we develop a four-metric rating framework that quantifies the importance of a specification. Our approach leverages the reasoning capabilities of Large Language Models to rank specifications from a set of automatically learned candidates. We evaluate the proposed method on a set of specifications inferred for 11 open-source and 3 proprietary distributed system benchmarks, demonstrating its effectiveness in ranking critical specifications.

Original languageEnglish (US)
Title of host publicationLMPL 2025 - Proceedings of the 1st ACM SIGPLAN International Workshop on Language Models and Programming Languages, Co-located with ICFP/SPLASH 2025
EditorsClaire Le Goues, Sergey Mechtaev, Qingkai Shi, Chengpeng Wang, He Ye, Zhuo Zhang
PublisherAssociation for Computing Machinery, Inc
Pages51-56
Number of pages6
ISBN (Electronic)9798400721489
DOIs
StatePublished - Oct 9 2025
Event1st ACM SIGPLAN International Workshop on Language Models and Programming Languages, LMPL 2025, co-located with ICFP/SPLASH 2025 - Singapore, Singapore
Duration: Oct 12 2025Oct 18 2025

Publication series

NameLMPL 2025 - Proceedings of the 1st ACM SIGPLAN International Workshop on Language Models and Programming Languages, Co-located with ICFP/SPLASH 2025

Conference

Conference1st ACM SIGPLAN International Workshop on Language Models and Programming Languages, LMPL 2025, co-located with ICFP/SPLASH 2025
Country/TerritorySingapore
CitySingapore
Period10/12/2510/18/25

All Science Journal Classification (ASJC) codes

  • Computer Science Applications
  • Computer Graphics and Computer-Aided Design
  • Computer Vision and Pattern Recognition
  • Hardware and Architecture

Keywords

  • Ranking specifications, Agentic workflows

Fingerprint

Dive into the research topics of 'Ranking Formal Specifications using LLMs'. Together they form a unique fingerprint.

Cite this