Adaptive Blockwise Search: Inference-Time Alignment for Large Language Models

Mohammad Atif Quamar, Mohammad Areeb, Nishant Sharma, Ananth Shreekumar, Jonathan Rosenthal +3 more
10/27/2025
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

LLM alignment remains a critical challenge. Inference-time methods provide a flexible alternative to fine-tuning, but their uniform computational effort often yields suboptimal alignment. We hypothesize that for many alignment tasks, the initial tokens of a response are disproportionately more critical. To leverage this principle, we introduce AdaSearch, a novel blockwise search strategy. It adaptively allocates a fixed computational budget using a sampling schedule, focusing search effort on these critical tokens. We apply AdaSearch to sequential decoding and introduce its tree-search counterpart, AdaBeam. Our comprehensive evaluation across eight LLMs demonstrates that AdaSearch outperforms strong Best-of-N and fine-tuning baselines. Specifically, win-rates improve by over 10% for harmlessness generation, controlled sentiment generation, and for mathematical reasoning tasks relative to Best-of-N.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{quamar2025adaptive,
  title  = {Adaptive Blockwise Search: Inference-Time Alignment for Large Language Models},
  author = {Mohammad Atif Quamar and Mohammad Areeb and Nishant Sharma and Ananth Shreekumar and Jonathan Rosenthal and Muslum Ozgur Ozmen and Mikhail Kuznetsov and Z. Berkay Celik},
  year   = {2025},
  eprint = {2510.23334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.23334v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.23334.svg)](https://codeofpaper.com/paper/2510.23334)

Discussion