边缘大语言模型(LLMs)的部署越来越多地依赖于轻量级LoRA适配器库,但GPU/DRAM只能在一段时间内保持少量驻留子集。通过非驻留适配器服务请求需要从存储中 paging 权重,这会带来可测量的延迟。这创建了一个双时间尺度在线控制问题:在慢时间尺度上,系统选择哪些适配器驻留在高速内存中,而在快时间尺度上,它将每个请求路由到一个上下文依赖的效用未知的适配器。这两个决定紧密耦合:缓存决定探索的成本,而路由决定哪些适配器接收有信息的反馈。我们把这个联合缓存与路由问题建模为双时间尺度上下文带宽问题,并提出POLAR(Paging and Online Learning for Adapter Routing)。POLAR结合了一个缓存感知的LinUCB路由器和基于周期的缓存控制器。我们研究了两种变种。固定周期版本提供了一个鲁棒的基础线,具有任意上下文下的最坏情况 regret 保证。一个周期翻倍版本,POLAR+,增加了强制探索和改进的缓存优化,以在随机性和缓存性条件下达到 $\widetilde{\mathcal{O}}(d\sqrt{NT}+\sqrt{KT})$ 的子线性 regret,其中 $N$ 是适配器数量,$K$ 是缓存大小,$d$ 是上下文维度,$T$ 是时间范围。路由项与标准上下文带宽速率匹配,证明内存层次结构并不从根本上减慢路由学习。使用15个真实LoRA适配器和测量的GPU paging延迟进行的实验表明,自适应缓存控制显著优于非自适应基线,并且表现出与理论一致的扩展趋势。
英文摘要:
Edge deployment of large language models (LLMs) increasingly relies on libraries of lightweight LoRA adapters, yet GPU/DRAM can keep only a small resident subset at a time. Serving a request through a non-resident adapter requires paging its weights from storage, incurring measurable latency. This creates a two-timescale online control problem: on a slow timescale, the system selects which adapters remain resident in fast memory, while on a fast timescale it routes each request to an adapter whose context-dependent utility is unknown a priori. The two decisions are tightly coupled: the cache determines the cost of exploration, and the router determines which adapters receive informative feedback. We formulate this joint caching-and-routing problem as a two-timescale contextual bandit and propose POLAR (Paging and Online Learning for Adapter Routing). POLAR pairs a cache-aware LinUCB router with an epoch-based cache controller. We study two variants. A fixed-epoch version provides a robust baseline with worst-case regret guarantees under arbitrary contexts. An epoch-doubling version, POLAR+, adds forced exploration and improved cache optimization to achieve $\widetilde{\mathcal{O}}(d\sqrt{NT}+\sqrt{KT})$ sublinear regret under stochastic regularity and cacheability conditions, where $N$ is the adapter count, $K$ the cache size, $d$ the context dimension, and $T$ the horizon. The routing term matches the standard contextual-bandit rate up to logarithmic factors, showing that the memory hierarchy does not fundamentally slow routing learning. Experiments using 15 real LoRA adapters for Qwen2.5-7B together with measured GPU paging latencies show that adaptive cache control substantially outperforms non-adaptive baselines and exhibits scaling trends consistent with the theory.
TT-LoRA MoE: Unifying Parameter-Efficient Fine-Tuning and Sparse Mixture-of-Experts
Tennessee Tech University, \ Alamos National Laboratory Cookeville Tennessee USA;Los Alamos National Laboratory Los Alamos New Mexico USA;Tennessee Tech University Cookeville Tennessee USA;Tennessee Tech University, \ Alamos National Laboratory;Los Alamos National Laboratory;Tennessee Tech University
LoRA-Switch: Boosting the Efficiency of Dynamic LLM Adapters via System-Algorithm Co-design
Shanghai Jiao Tong University(上海交通大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);National University of Singapore(新加坡国立大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
mLoRA: Fine-Tuning LoRA Adapters via Highly-Efficient Pipeline Parallelism in Multiple GPUs
Sichuan University(四川大学);Ant Group(蚂蚁集团);Zhejiang computation(浙江计算);The University of Texas at Arlington(德克萨斯大学阿灵顿分校);CNIC, Chinese Academy of Science(中国科学院计算机网络信息中心)
Rethinking Inter-LoRA Orthogonality in Adapter Merging: Insights from Orthogonal Monte Carlo Dropout
University of Manchester(曼彻斯特大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));InstantX Team(InstantX团队);University of Edinburgh(爱丁堡大学);Aalto University(阿alto大学)
Compress then Merge: From Multiple LoRAs into One Low-Rank Adapter
Institute of Image Processing and Pattern Recognition, School of Automation and Intelligent Sensing, Shanghai Jiao Tong University, Shanghai, China(图像处理与模式识别研究所,自动化与智能感知学院,上海交通大学,上海,中国);Shanghai Key Laboratory of Flexible Medical Robotics, Tongren Hospital, Institute of Medical Robotics, Shanghai Jiao Tong University, Shanghai, China(柔性医疗机器人上海市重点实验室,同仁医院,医疗机器人研究所,上海交通大学,上海,中国)
ReLoRA: Knowledge-Reusing Adaptation for Fast Rollout of Evolving LLM Services
School of Computer Science and Technology, University of Science and Technology of China(计算机科学与技术学院,中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(苏州先进研究院,中国科学技术大学)
Co-occurrence Patterns of LoRA Adapters in Production Diffusion Model Inference Services
Guizhou University of Traditional Chinese Medicine(贵州中医药大学);Guizhou University of Finance and Economics(贵州财经大学);Beijing Technology and Business University(北京工商大学)
LoRA-Pro: Are Low-Rank Adapters Properly Optimized?
University of Science and Technology of China(中国科学技术大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Nanjing University(南京大学)
GEM-Style Constraints for PEFT with Dual Gradient Projection in LoRA
Department of Computer Science University of North Carolina Greensboro(计算机科学系北卡罗来纳州立大学);Department of Computer Science North Carolina State University(计算机科学系北卡罗来纳州立大学)
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Shanghai AI Laboratory(上海人工智能实验室);Beijing Academy of Artificial Intelligence (BAAI)(北京人工智能研究院)