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

通过元学习从隐式成本-性能偏好中学习路由LLM

Learning to Route LLMs from Implicit Cost-Performance Preferences via Meta-Learning

Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Southern University of Science and Technology(南方科技大学)

Jiahao Zeng, Ming Tang, Ningning Ding

AI总结:

提出MetaRouter框架,利用元学习从少量交互中学习用户隐式成本-性能偏好,实现个性化LLM路由,在分布内外任务上优于基线方法。

摘要:

大型语言模型(LLM)在性能与成本之间存在权衡,更强大的模型会产生更高的费用。LLM路由旨在通过将查询发送到最合适的模型来降低费用同时保持性能。然而,现有方法无法很好地适应不同用户的成本-性能偏好。为了解决这一差距,我们引入了一种新颖的感知LLM路由范式,用于个性化和以用户为中心的成本-性能优化,通过少量交互高效学习用户的隐式偏好。为了应对异构用户需求的挑战,我们将偏好配置文件形式化为上下文赌博机中的一组不同任务,并提出了MetaRouter,一个用于偏好感知LLM路由的元学习框架。实验结果表明,MetaRouter在分布内和分布外任务上均优于强基线。此外,它在学习用户偏好方面表现出高效率,对可路由LLM的变化具有鲁棒性,并且可扩展到多模型路由。

英文摘要:

Large language models (LLMs) present a trade-off between performance and cost, where more powerful models incur greater expense. LLM routing aims to mitigate expenses while maintaining performance by sending queries to the most suitable model. However, existing methods cannot perform well for different user cost-performance preferences. To address this gap, we introduce a novel perceptive LLM routing paradigm for personalized and user-centric cost-performance optimization, which efficiently learns users' implicit preferences through little interaction. To handle the challenge of heterogeneous user needs, we formulate preference profiles as a set of distinct tasks in contextual bandit and propose MetaRouter, a meta-learning framework designed for preference-aware LLM routing. Experimental results show that MetaRouter outperforms strong baselines on both in-distribution and out-of-distribution tasks. Furthermore, it exhibits high efficiency in learning user preferences, robustness to changes in the routable LLMs, and scalability to multi-model routing.

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

↑