[2604.03758] AutoReSpec: A Framework for Generating Specification using Large Language Models

[2604.03758] AutoReSpec: A Framework for Generating Specification using Large Language Models

arXiv - AI 4 min read

About this article

Abstract page for arXiv paper 2604.03758: AutoReSpec: A Framework for Generating Specification using Large Language Models

Computer Science > Software Engineering arXiv:2604.03758 (cs) [Submitted on 4 Apr 2026] Title:AutoReSpec: A Framework for Generating Specification using Large Language Models Authors:Ragib Shahariar Ayon, Shibbir Ahmed View a PDF of the paper titled AutoReSpec: A Framework for Generating Specification using Large Language Models, by Ragib Shahariar Ayon and 1 other authors View PDF HTML (experimental) Abstract:Formal specification generation has recently drawn attention in software engineering as a way to improve program correctness without requiring manual annotations. Large Language Models (LLMs) have shown promise in this area, but early results reveal several limitations. Generated specifications often fail verification due to syntax errors, logical inaccuracies, or incomplete reasoning, especially in programs with loops or branching logic. Techniques like SpecGen and FormalBench attempt to address this through prompting and benchmarking, but they typically rely on static prompts and do not offer mechanisms for recovering from failure or adapting to different program structures. In this paper, we present AutoReSpec, a collaborative framework that combines open and closed-source LLMs for verifiable specification generation. AutoReSpec dynamically chooses an LLM pair and prompt configuration based on the structure of the input program. If the primary LLM fails to produce a valid output, a collaborative model is invoked, using validator feedback to refine and correct the ...

Originally published on April 07, 2026. Curated by AI News.

Related Articles

Llms

I built a solo AI platform from Algeria with no funding, no team and no ad spend - here's what's inside it after 2 months

Hello, 20 years old here just got into the Ai platform and launched this last two weeks and here is what I have on it so far. - Latest Ai...

Reddit - Artificial Intelligence · 1 min ·
USF murder suspect accused of using ChatGPT to research cover-up, prosecutors say
Llms

USF murder suspect accused of using ChatGPT to research cover-up, prosecutors say

Days after the remains of one of the two missing University of South Florida doctoral students were found, prosecutors say the suspect ma...

AI Tools & Products · 3 min ·
Anthropic’s Claude AI deletes PocketOS production database
Llms

Anthropic’s Claude AI deletes PocketOS production database

Claude AI deleted PocketOS's production database, but the market for Claude 4.7 release by May 31 remains at 100% YES.

AI Tools & Products · 3 min ·
Claude-powered AI coding agent deletes entire company database in 9 seconds
Llms

Claude-powered AI coding agent deletes entire company database in 9 seconds

The founder of PocketOS has penned a social media post to warn others about the “systemic failures” of flagship AI and digital services p...

AI Tools & Products · 1 min ·
More in Llms: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime