ProxRouter:用于提升对异常值鲁棒性的近邻加权LLM查询路由
ProxRouter: Proximity-Weighted LLM Query Routing for Improved Robustness to Outliers
AI总结:
针对非参数化LLM查询路由器对异常值泛化能力差的问题,提出ProxRouter,通过指数倾斜聚合机制平衡偏差与方差,在最小开销下显著提升异常值路由鲁棒性并保持内点性能。
摘要:
大型语言模型(LLM)查询路由器对于现代AI平台至关重要,因为它们旨在通过将推理查询分配给准确且低成本的模型来提高效率。参数化路由器通常使用训练好的神经网络进行LLM选择,但面临重新训练和维护的开销。非参数化路由器无需训练,而是通过输入查询与训练集查询的编码之间的相似性来估计LLM的准确性和成本。然而,与参数化路由器一样,非参数化路由器也难以泛化到异常值查询,而训练集多样性有限加剧了这一问题,因为扩展训练集成本高昂,且难以跟上不断发展的使用场景。我们提出了ProxRouter,它应用指数倾斜聚合机制来平衡非参数化路由器中的偏差和方差,从而提高其对异常值的鲁棒性。实验表明,ProxRouter增强了异常值路由,同时以最小的开销保持了内点性能。
英文摘要:
Large language model (LLM) query routers are critical to modern AI platforms as they seek to improve efficiency by assigning inference queries to accurate, yet low-cost models. Parametric routers typically use trained neural networks for LLM selection but suffer from retraining and maintenance overheads. Nonparametric routers are training-free, instead estimating LLM accuracy and cost via similarity between encodings of the input query and training set queries. However, like their parametric counterparts, nonparametric routers struggle to generalize to outlier queries, an issue exacerbated by limited diversity in training sets which are costly to expand and difficult to keep current with ever-evolving use cases. We propose ProxRouter, which applies an exponentially tilted aggregation mechanism to balance bias and variance in nonparametric routers, improving their robustness to outliers. Experiments show ProxRouter enhances outlier routing while preserving inlier performance with minimal overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。