GMTRouter:面向多轮用户交互的个性化大语言模型路由
GMTRouter: Personalized LLM Router over Multi-turn User Interactions
AI总结:
针对现有LLM路由个性化不足、难捕捉用户-LLM交互及用户偏好数据稀缺的问题,提出GMTRouter,通过异质图建模多轮交互并结合定制采样机制,在少样本下实现个性化,性能优于基线且可适配新用户。
摘要:
大语言模型(LLM)路由已展现出平衡响应质量与计算成本的强大能力。由于用户偏好多样,个性化在LLM路由中受到越来越多关注,因为即便是相同的查询,也可能需要不同模型生成适配个人需求的响应。然而,现有方法并非完全个性化,往往无法忠实捕捉用户与LLM之间的复杂交互。此外,用户偏好数据通常稀缺且格式不一致,这限制了直接利用用户特定数据的方法的有效性。为应对这些挑战,我们提出GMTRouter,它将多轮用户-LLM交互表示为包含五种节点类型的异质图:用户、LLM、查询、响应和轮次,从而最大限度保留交互的丰富关系结构。通过轻量级归纳图学习框架结合定制的用户条件图采样机制,GMTRouter能从少样本数据中学习捕捉用户偏好,实现有效个性化。大量实验表明,GMTRouter优于最强基线,准确率绝对提升达0.108,AUC提升达0.124。更重要的是,我们进一步证明GMTRouter仅用少样本数据即可适配新用户,无需大量微调。GMTRouter的代码公开于该https URL。
英文摘要:
Large Language Model (LLM) routing has demonstrated strong capability in balancing response quality with computational cost. As users exhibit diverse preferences, personalization has attracted increasing attention in LLM routing, since even identical queries may require different models to generate responses tailored to individual needs. However, existing approaches are not fully personalized and often fail to faithfully capture the complex interactions between users and LLMs. Moreover, user preference data is typically scarce and inconsistent in format, which limits the effectiveness of methods that directly leverage user-specific data. To address these challenges, we propose GMTRouter, which represents multi-turn user-LLM interactions as a heterogeneous graph with five node types: user, LLM, query, response and turn, thereby maximally preserving the rich relational structure of the interaction. Through a lightweight inductive graph learning framework combined with a tailored user-conditioned graph sampling mechanism, GMTRouter learns to capture user preferences from few-shot data, enabling effective personalization. Extensive experiments demonstrate that GMTRouter outperforms the strongest baselines, achieving up to a 0.108 absolute improvement in accuracy and a 0.124 improvement in AUC. More importantly, we further demonstrate that GMTRouter can adapt to new users using only few-shot data, without extensive fine-tuning. The code for GMTRouter is publicly available at https://github.com/ulab-uiuc/GMTRouter.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。