基于有限反馈的LLM专家在线学习

·

研究论文 · 2026/09/14

本文研究在有限反馈的在线场景中,自适应地将提示路由到大型语言模型(LLM)专家以最大化响应质量。将其建模为具有K个动作(代表专家)和d个特征(编码提示)的bandit问题,时间跨度为T轮。提出算法通过策略性地选择和观察奖励来最小化遗憾。在全信息设置下,遗憾为O(d T / m),在bandit设置下为O(d T K / m),其中m ≤ T是反馈预算。实验表明,能够从有限反馈中高效学习跨多种LLM的高质量路由策略。

该研究为在有限反馈下动态选择LLM专家提供了理论保证和实用算法,有助于提升多模型系统的响应质量与效率。

We study adaptive routing of prompts to large language model (LLM) experts to maximize response quality in an online setting with limited feedback. We formulate it as a bandit problem with K actions that represent experts and d features that encode prompts, over a horizon of T rounds. We propose algorithms that strategically select and observe rewards to minimize regret. In the full-information setting, we achieve a regret of O(d T / m), while in the bandit setting we achieve O(d T K / m), where m ll T is a budget on feedback. Our experiments show that we efficiently learn high-quality routing strategies across diverse LLMs from limited feedback.

阅读原文

参与讨论