Ranking Function Generation with LLMs for Termination
Key Laboratory of System Software (Chinese Academy of Sciences)(中国科学院系统软件重点实验室);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);School of Computing and Mathematical Sciences, Birkbeck, University of London(伦敦大学伯贝克学院计算与数学科学学院);Nanjing Institute of Software Technology(南京软件工程研究所)
Rongkang Li, Jiaxin Hu, Taolue Chen, Yong Li, Fu Song, Zhilin Wu, Qiusong Yang
Ranking functions are a fundamental technique for proving loop termination, but synthesizing them remains challenging and often requires substantial expertise. Despite considerable progress in their automated synthesis, existing approaches remain limited in their effectiveness. We propose RAINFALL, a neuro-symbolic framework that tightly integrates large language models (LLMs) with symbolic verification. To our best knowledge, RAINFALL is the first to employ a generate-verify-refine paradigm for LLM-based ranking function synthesis. RAINFALL formulates ranking function synthesis as a constrained code-completion task, inserting placeholders into the input program that the LLM must fill in four predefined slots per loop. The resulting program is checked by a symbolic verifier. Successful verification yields a valid ranking function, while verification failures produce diagnostics that are translated into natural-language feedback to guide iterative refinement. We evaluate RAINFALL on two public benchmark suites comprising 358 terminating C programs. Using DeepSeek-V4.1-Flash, RAINFALL synthesizes verified ranking functions for 333 programs (93.02%), outperforming all evaluated baselines. Notably, it solves 22 more programs than PROTON 2.1, the winner of the SV-COMP 2026 Termination Category. Combining RAINFALL with PROTON 2.1 further increases the success rate to 96.65% (346/358 programs). Ablation studies demonstrate the contributions of placeholder contracts, few-shot examples, symbolic verification, and diagnostic feedback, while experiments across different LLMs establish the broader applicability of the framework.
LLMs versus the Halting Problem: Characterizing Program Termination Reasoning
FAIR Team, Meta AI(Meta AI FAIR 团队);The Hebrew University of Jerusalem, Israel(耶路撒冷希伯来大学);Bloomberg, New York, USA(彭博社,纽约,美国);Imperial College London, UK(伦敦帝国理工学院,英国);University College London, UK(伦敦大学学院,英国)
Enabling Weak LLMs to Judge Response Reliability via Meta Ranking
Tsinghua University(清华大学);Weiyang College, Tsinghua University(清华大学未央书院);Institute of Intelligent Computing, Alibaba Group(阿里巴巴集团智能计算研究所);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能国际研究院)
School of Mathematics, Northwest University(西北大学数学学院);Shanghai Institute for Mathematics and Interdisciplinary Sciences(上海数学与交叉科学研究院);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Cheriton School of Computer Science, University of Waterloo(滑铁卢大学切尔顿计算机科学学院)
Aligning LLMs through Multi-perspective User Preference Ranking-based Feedback for Programming Question Answering
School of Computer Science and Technology, University of Science and Technology of China(中国科学技术大学计算机科学与技术学院);Hefei University of Technology(合肥工业大学);School of Artificial Intelligence and Data Science, University of Science and Technology of China(中国科学技术大学人工智能与数据科学学院);University of Toronto(多伦多大学)
KC-GenRe: A Knowledge-constrained Generative Re-ranking Method Based on Large Language Models for Knowledge Graph Completion
Defense Innovation Institute, Academy of Military Sciences(军事科学院国防创新研究院);Information Research Center of Military Science(军事科学信息研究中心);National Key Laboratory of Parallel and Distributed Computing(并行与分布计算国家重点实验室)
RankLLM: Weighted Ranking of LLMs by Quantifying Question Difficulty
Lehigh University(莱维大学);University of Notre Dame(诺特大学);Zhejiang Wanli University(浙江万里大学);Squirrel Ai Learning;City University of Hong Kong(香港城市大学);Duke University(杜克大学)
SCURank: Ranking Multiple Candidate Summaries with Summary Content Units for Enhanced Summarization
Department of Computer Science and Information Engineering, National Cheng Kung University(国立成功大学计算机科学与资讯工程系);Artificial Intelligence Research Center, Chang Gung University(长庚大学人工智能研究中心);Department of Artificial Intelligence, Chang Gung University(长庚大学人工智能系);Department of Computer Science, National Tsing Hua University(国立清华大学计算机科学系)
Controlling Output Rankings in LLM-Based Search via Generative Engine Optimization
School of Information Sciences, University of Illinois at Urbana-Champaign, IL, USA(伊利诺伊大学厄巴纳-香槟分校信息科学学院);Independent Researcher, Starc Institute(Starc研究所独立研究者);Research Scientist, Intel Labs, Santa Clara, CA, USA(英特尔实验室研究科学家)