Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/7/28 04:00:00

Frustratingly Simple Black-Box Adaptation of Language Models via Logit Bias

AI 中文解读
为了让企业更灵活地调整AI大模型,研究者提出了一种极其简单的方法——只需在每次输出时微调一下模型选词的概率,就能显著提升任务表现,完全不需要修改模型权重或进行复杂的微调。 这项技术好比给AI戴上了一副“偏好滤镜”。以往想让AI更擅长某个专业领域,要么费劲地对开源模型进行训练,要么反复优化提示词。而现在,研究者发现只需要在每一次模型“选词”时,额外加上一个提前学好的偏置向量,就能让AI在数学推理或专业领域任务上表现更好。这个向量可以事先通过简单的尝试和反馈学出来,然后直接套用,整个过程无需触及模型的核心参数,也无需了解模型内部结构。 对于普通用户或企业来说,这意味着定制AI的门槛大幅降低。比如公司想让内部AI更懂财务分析,现在只需提供一个数据样例,就能让模型输出更精准,而不用担心数据泄露;个人也可以在本地快速让AI适应自己的写作风格或解题习惯。未来,AI应用的个性化将像装个插件一样简单,同时还能保护隐私,因为敏感数据无需上传到云端。
arXiv:2607.22837v1 Announce Type: new Abstract: Many organizations aim to adapt language models for internal use, both to improve performance on domain-specific tasks and to address privacy concerns around sensitive data. However, such adaptation remains non-trivial: it often requires operationally challenging fine-tuning of open-source models or ad hoc prompt optimization. We study a minimal alternative based on a simple API-level control: allowing users to bias the model's logits with a user-defined vector. We develop a black-box method for learning a single context-independent logit-bias vector, added at every decoding step, without modifying model weights or requiring gradients. Starting from a KL-regularized reinforcement learning (RL) objective, we characterize when such a fixed logit-bias vector can approximate the optimal prefix-dependent correction and derive a closed-form inverse-propensity estimator from rollouts, rewards, and token probabilities. Empirically, this simple decoding-time intervention improves over base models on mathematical and reasoning benchmarks while using far fewer trainable parameters than conventional fine-tuning. Our results suggest that learned logit bias is a lightweight mechanism for adapting language models under minimal access requirements.
分享
阅读原文