Research map / Large language models / Agents, code and math
SpecMind: Cognitively Inspired, Interactive Multi-Turn Framework for Postcondition Inference
Cuong Chi Le, Minh V.T. Pham, Tung Duy Vu, Cuong Duc Van, Huy N. Phan, Hoang N. Phan, Tien N. Nguyen
University of Texas at Dallas · FPT Software AI Center · VinUniversity · Nanyang Technological University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace single-pass nl2postcond with Exploratory Multi-turn | postcondition generation (Llama 4 Scout) · EvalPlus, tau=90, mu=12 | correctness / completeness: 73.3% -> 99.4% correctness; 36.0% -> 89.6% completeness | Improved |
| use Exploratory instead of Greedy Multi-turn (ablation) | SpecMind · EvalPlus completeness, tau=50, mu=12 | completeness: 75.0% -> 86.4% | Improved |
| use Exploratory instead of Greedy with small budget and strict threshold (ablation) | SpecMind · EvalPlus completeness, tau=90, mu=4 | completeness: 76.4% -> 71.6% | Hurt |
| use Exploratory instead of Greedy with mu=4 (ablation) | SpecMind · EvalPlus correctness, tau=50, mu=4 | correctness: 93.7% -> 84.3% | Hurt |
| increase attempt budget mu from 4 to 12 (ablation) | Exploratory vs Greedy · EvalPlus correctness | correctness: +6.8% per +4 attempts for Exploratory vs +2.1% for Greedy | Improved |
| use Exploratory instead of independent random sampling of nl2postcond (ablation) | postcondition generation · EvalPlus, tau=90, mu=12 | completeness: 52.6% -> 89.6% | Improved |
| use Exploratory instead of Greedy for submission efficiency (ablation) | SpecMind · EvalPlus | efficiency score E: 47.7% -> 80.0% (1.67x) | Improved |
| add richer feedback (uncaught mutant) and 4 extra attempts on hard cases (ablation) | Exploratory, hard cases · EvalPlus, 23 hard cases | correct postconditions / completeness: 89.6% -> 92.0% overall completeness; 99.4% -> 99.7% correctness | Improved |
| use Exploratory instead of Greedy for bug detection (ablation) | SpecMind · FixEval, mu=3 | % distinguished bugs: 24.74 -> 34.64 | Improved |
| use Exploratory instead of Greedy for bug detection at large budget (ablation) | SpecMind · FixEval, mu=10 | % distinguished bugs: 38.02 -> 39.58 | Improved |
| raise completeness threshold tau from 50 to 90 (ablation) | Exploratory and Greedy · EvalPlus | submission efficiency: -5.7% Exploratory, -14.5% Greedy efficiency | Hurt |
| switch underlying model to GLM-4.7 | Exploratory · EvalPlus, tau=90, mu=12 | correctness / completeness: 99.37% correctness, 87.57% completeness vs nl2postcond 46.0% / 12.4% | Improved |
Open problems this paper states
- “Evaluated only on EvalPlus, mostly moderate-complexity Python tasks, so generalization to larger systems or other languages is not guaranteed.” → Tested on Python or a few languages, so other languages are untested. (an open problem in software engineering agents)
- “Quality metrics are proxies bounded by test coverage and mutant set quality, so they may overestimate specification quality.” → Correctness is judged by tests that may be shallow, flaky or unavailable. (an open problem in software engineering agents)
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- POSTCONDBENCH: Benchmarking Correctness and Completeness in Formal Postcondition Inference (ACL 2026 · similarity 0.91)
- CodePRM: Execution Feedback-enhanced Process Reward Model for Code Generation (ACL 2025 · similarity 0.88)
- Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation (ICML 2025 · similarity 0.87)
- What Makes Large Language Models Reason in (Multi-Turn) Code Generation? (ICLR 2025 · similarity 0.86)
- CodeIO: Condensing Reasoning Patterns via Code Input-Output Prediction (ICML 2025 · similarity 0.85)
- Learning to Reason via Program Generation, Emulation, and Search (NeurIPS 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.