AI Paper Atlas

Research map / Large language models / Agents, code and math

Ranking LLM-Generated Loop Invariants for Program Verification

Saikat Chakraborty, Shuvendu K. Lahiri, Sarah Fakhoury, Madanlal Musuvathi, Akash Lal, Aseem Rastogi, Aditya Senthilnathan, Rahul Sharma, Nikhil Swamy

EMNLP 2023Large language models › Agents, code and mathapproach: Execution-based code verification82 citations (OpenAlex)

Microsoft

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
6improved
2no clear effect
2hurt

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 changedWhereMeasuredEffect
apply contrastive-trained iRank re-ranking (Davinci)gpt-3.5-turbo generations · SyGuS loop invariantsmedian rank of verified invariant: 32.00 -> 4.00 (raw Davinci embedding vs iRank)Improved
re-rank with iRank (Davinci) instead of LLM ordergpt-3.5-turbo generations · SyGuS loop invariantsmean rank: 189.78 -> 34.48Improved
re-rank with iRank (Ada)gpt-4 generations · SyGuS loop invariantsV@1 (%): 17.6 -> 44.7Improved
use raw LLM embeddings without training for rankinggpt-3.5-turbo / gpt-4 generations · SyGuS loop invariantsmean rank: 95.35 -> 115.89 (Ada, gpt-3.5)No clear effect
train transformation on embeddings (iRank vs raw Ada)embedding ranker · SyGuS loop invariants (gpt-3.5-turbo)V@10 (%): 30.0 -> 60.8Improved
use Davinci instead of Ada embeddings in iRank (ablation)iRank · SyGuS loop invariantsmean rank: 38.78 -> 34.48 (gpt-3.5-turbo)No clear effect
compare TF-IDF textual similarity ranking with iRankTF-IDF · SyGuS loop invariants (gpt-3.5-turbo)median rank: 24.00 vs 5.00 for iRank AdaHurt
remove semantically duplicate candidates (ablation)iRank (Ada) · SyGuS loop invariants (gpt-3.5-turbo)mean rank: 38.78 -> 18.79Improved
use iRank (Ada) in wall-clock timegpt-3.5-turbo generations · SyGuS loop invariantstotal mean time (s): 7.33 -> 2.98Improved
use iRank (Davinci) in wall-clock timegpt-3.5-turbo generations · SyGuS loop invariantstotal mean time (s): 7.33 -> 10.93Hurt

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy