mlsanityData to 7 Oct 2026

LoRA-Switch: Boosting the Efficiency of Dynamic LLM Adapters via System-Algorithm Co-design

arXiv 2405.17741 ↗First posted 28 May 2024cs.AIcited by 18

On the map: Mixture-of-experts → Mixture of LoRA experts

Abstract (arXiv)

Recent literature has found that an effective method to customize or further improve large language models (LLMs) is to add dynamic adapters, such as low-rank adapters (LoRA) with Mixture-of-Experts (MoE) structures. Though such dynamic adapters incur modest computational complexity, they surprisingly lead to huge inference latency overhead, slowing down the decoding speed by 2.5+ times. In this paper, we analyze the fine-grained costs of the dynamic adapters and find that the fragmented CUDA kernel calls are the root cause. Therefore, we propose LoRA-Switch, a system-algorithm co-designed architecture for efficient dynamic adapters. Unlike most existing dynamic structures that adopt layer-wise or block-wise dynamic routing, LoRA-Switch introduces a token-wise routing mechanism. It switches the LoRA adapters and weights for each token and merges them into the backbone for inference. For efficiency, this switching is implemented with an optimized CUDA kernel, which fuses the merging operations for all LoRA adapters at once. Based on experiments with popular open-source LLMs on common benchmarks, our approach has demonstrated similar accuracy improvement as existing dynamic adapters, while reducing the decoding latency by more than 2.4 times.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Placed in Mixture of LoRA experts, one of 12 directions in Mixture-of-experts. Builds on 25 of its 36 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

25 of 36 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024MixLoRA: Enhancing Large Language Models Fine-Tuning with LoRA-based Mixture of Experts22 Apr
  2. 2024Higher Layers Need More LoRA Experts13 Feb
  3. 2023Mixture of Cluster-conditional LoRA Experts for Vision-language Instruction Tuning19 Dec
  4. 2023LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin15 Dec

Other references · 21

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  9. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  11. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  12. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
9 more
  1. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  2. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  3. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
  4. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  5. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
  6. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
  7. 2023When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applicationscited by 110
  8. 2024MoRAL: MoE Augmented LoRA for LLMs' Lifelong Learningcited by 63
  9. 2024Parameter-Efficient Sparsity Crafting from Dense to Mixture-of-Experts for Instruction Tuning on General Taskscited by 22

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 10; 2026: 5.

18 papers.

Sort:

By area:

  1. 2024A Survey of Small Language Modelscited by 31
  2. 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
  3. 2025Improved Representation Steering for Language Modelscited by 17
  4. 2024S2FT: Efficient, Scalable and Generalizable LLM Fine-tuning by Structured Sparsitycited by 10
  5. 2025RAG-KG-IL: A Multi-Agent Hybrid Framework for Reducing Hallucinations and Enhancing LLM Reasoning through RAG and Incremental Knowledge Graph Learning Integrationcited by 9
  6. 2025MultLFG: Training-free Multi-LoRA composition using Frequency-domain Guidancecited by 6
  7. 2025Optimizing Small Language Models for In-Vehicle Function-Callingcited by 5
  8. 2025HiLoRA: Adaptive Hierarchical LoRA Routing for Training-Free Domain Generalizationcited by 4
  9. 2024DLP-LoRA: Efficient Task-Specific LoRA Fusion with a Dynamic, Lightweight Plugin for Large Language Modelscited by 2
  10. 2025qa-FLoRA: Data-free query-adaptive Fusion of LoRAs for LLMscited by 2
  11. 2026One Model to Translate Them All? A Journey to Mount Doom for Multilingual Model Mergingcited by 2
  12. 2026Parametric Memory Decoding for Zero-Shot Routing in LoRA-Based External Parametric Memorycited by 2
6 more
  1. 2025Semantic Frame Interpolationcited by 1
  2. 2025A Lightweight Framework for Trigger-Guided LoRA-Based Self-Adaptation in LLMscited by 1
  3. 2025R2R: A Route-to-Rerank Post-Training Framework for Multi-Domain Decoder-Only Rerankerscited by 0
  4. 2026A Diffusion-Driven Fine-Grained Nodule Synthesis Framework for Enhanced Lung Nodule Detection from Chest Radiographscited by 0
  5. 2026FREE-Switch: Frequency-based Dynamic LoRA Switch for Style Transfercited by 0
  6. 2026Score the Update, Not the Token: Descent-Aligned Routing for Combinatorial LoRA Expertscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026AdaFuse: Accelerating Dynamic Adapter Inference via Token-Level Pre-Gating and Fused Kernel Optimization
  2. 2025Efficient Multi-Adapter LLM Serving via Cross-Model KV-Cache Reuse with Activated LoRA
  3. 2026LoRA-Drop: Temporal LoRA Decoding for Efficient LLM Inference
  4. 2025Serving Heterogeneous LoRA Adapters in Distributed LLM Inference Systems
  5. 2026CoMoL: Efficient Mixture of LoRA Experts via Dynamic Core Space Merging
  6. 2023S-LoRA: Serving Thousands of Concurrent LoRA Adapters
  7. 2026ChunkWise LoRA: Adaptive Sequence Partitioning for Memory-Efficient Low-Rank Adaptation and Accelerated LLM Inference
  8. 2025Predictive-LoRA: A Proactive and Fragmentation-Aware Serverless Inference System for LLMs