Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification
Shaddin Dughmi, Mahdi Haghifam, Yusuf H Kalayci
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Post-Training: RL & Distillation › Reward-Driven Agentic RL with LLMs · Type: new method · Keywords: inference-time search, costly verification, adaptive algorithm, mathematical reasoning, code generation
Summary
ADAP is an inference-time search algorithm that adaptively generates, ranks, and verifies candidates to achieve near-optimal cost under costly verification.
Explained to a 5-year-old
A computer program tries to guess answers to problems. It makes many guesses and gets a cheap score for each guess. It then checks the best-looking guesses one by one, but checking is slow. It stops when it finds a guess that is correct. This way it saves time by not checking all guesses.
Explained to a 5-year-old, longer
When a computer program needs to answer a question, it can make many possible answers. It first looks at each answer and gives it a quick rating, like how likely it is to be right. Checking if an answer is truly right can take a lot of time, like a hard puzzle. So the program wants to avoid checking every answer if it can. It sorts the answers by their quick rating, putting the best ones first. Then it checks the top answer; if it is correct, it stops. If not, it checks the next best answer, and so on. This way it only checks a few answers until it finds the right one. The program keeps making new answers and rating them if needed. This process is called adaptive generate-rank-verify. It helps the program save time and computer power. In the end, it gives a good answer while using less checking work.
For a technical reader
Many AI systems generate candidate answers and then verify them, but verification can be expensive. The paper treats this as a cost-sensitive search problem where cheap scores guide which candidates to verify. It assumes that higher cheap scores are more likely to be correct, allowing a simple ranking strategy. The algorithm repeatedly samples new candidates, ranks them by score, and verifies the top ones until a correct answer is found. This approach reduces verification cost while maintaining performance, as shown on math and programming tasks.
Problem
Finding a positive example under costly verification while using cheap reward scores, balancing exploration and verification cost.
Method
The approach formulates inference-time search as a cost-sensitive first-positive search problem, models unknown reward distribution and success function, and uses a shellwise adaptive scheme that incrementally samples responses and verifies top-ranked candidates under a monotonicity assumption.
Results
The approach achieves expected verification cost within a constant factor of the optimal policy and outperforms fixed and difficulty-adaptive baselines on both mathematical reasoning and competitive programming tasks.
Contributions
We formalize inference-time search as a generative active search problem, provide a distribution-aware optimal policy characterization, and propose an adaptive algorithm that attains near-optimal cost under mild assumptions, along with learning-theoretic lower bounds.
Limitations and assumptions
The analysis relies on the monotonicity assumption that higher reward scores are no less likely to pass verification, and the lower bounds indicate that without such structural assumptions the guarantees may not hold.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction