Logits are All We Need to Adapt Closed Models

G. Hiranandani, Haolun Wu, Subhojyoti Mukherjee, Oluwasanmi Koyejo
2/14/2026

No official code found. Best implementation: stair-lab/plugin-llm (23 stars, last commit 2025-05-02).

Abstract

Many commercial Large Language Models (LLMs) are often closed-source, limiting developers to prompt tuning for aligning content generation with specific applications. While these models currently do not provide access to token logits, we argue that if such access were available, it would enable more powerful adaptation techniques beyond prompt engineering. In this paper, we propose a token-level probability reweighting framework that, given access to logits and a small amount of task-specific data, can effectively steer black-box LLMs toward application-specific content generation. Our approach views next-token prediction through the lens of supervised classification. We show that aligning black-box LLMs with task-specific data can be formulated as a label noise correction problem, leading to Plugin model -- an autoregressive probability reweighting model that operates solely on logits. We provide theoretical justification for why reweighting logits alone is sufficient for task adaptation. Extensive experiments with multiple datasets, LLMs, and reweighting models demonstrate the effectiveness of our method, advocating for broader access to token logits in closed-source models.

View on arXivView PDF

Code Implementations(1)

[ICML 2025] Logits are All We Need to Adapt Closed Models

231Shell, PythonDec 1, 20241 years ago

Similar Papers

Cite this paper

@article{hiranandani2026logits,
  title  = {Logits are All We Need to Adapt Closed Models},
  author = {G. Hiranandani and Haolun Wu and Subhojyoti Mukherjee and Oluwasanmi Koyejo},
  year   = {2026},
  eprint = {2502.06806},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.06806},
  journal = {ICML 2025 2025}
}

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/2502.06806.svg)](https://codeofpaper.com/paper/2502.06806)

Discussion