arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.06806cs.LGcs.AIcs.CL
收藏

Logits 是我们适配封闭模型所需的一切

Logits are All We Need to Adapt Closed Models

stanford(斯坦福大学);mila(魁北克AI研究所);adobe(Adobe研究)

Gaurush Hiranandani, Haolun Wu, Subhojyoti Mukherjee, Sanmi Koyejo

AI总结:

本文提出仅利用 logits 的概率重加权框架,将黑盒 LLM 适配视为标签噪声校正问题,实现无需内部访问的特定应用内容生成,并通过实验验证其有效性。

摘要:

许多商业大型语言模型(LLMs)通常是闭源的,这限制了开发者只能通过提示调优来使内容生成与特定应用对齐。虽然这些模型目前不提供对 token 对数概率(logits)的访问,但我们认为,如果能够获得这种访问,将能够实现超越提示工程的更强大的适配技术。在本文中,我们提出了一种 token 级概率重加权框架,该框架在获得 logits 和少量任务特定数据的情况下,能够有效地将黑盒 LLMs 引导至特定应用的内容生成。我们的方法通过监督分类的视角来看待下一个 token 预测。我们表明,将黑盒 LLMs 与任务特定数据对齐可以表述为一个标签噪声校正问题,从而引出 Plugin 模型——一种仅基于 logits 操作的自回归概率重加权模型。我们提供了理论论证,说明仅对 logits 进行重加权为何足以实现任务适配。通过多个数据集、LLMs 和重加权模型的大量实验,我们证明了该方法的有效性,并倡导在闭源模型中更广泛地开放 token logits 的访问。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑