SMELL:面向长上下文LLM的稀疏感知内存高效联邦微调框架
SMELL: Sparsity-aware Memory Efficient Federated Fine-tuning for Long-context LLMs
SMELL是一个面向长上下文LLM的稀疏感知、内存高效联邦微调框架,集成LSFA、CASC与CPUR三种机制,实现内存高效的本地适配、异构感知的稀疏协调与轻量模型更新传输。在OPT-350M和LLaMA2-7B上,16K上下文长度下其峰值内存较常规微调降低最多88.35%,较仅前向LoRA微调降低13.25%。该框架在部分非IID设置下还提升了微调性能,并支持渐进式重建的紧凑更新传输。
arXiv:2611.19349v1 Announce Type: new Abstract: Federated fine-tuning enables Large Language Models (LLMs) to collaboratively adapt to distributed private data. However, long-context fine-tuning on resource-constrained devices faces substantial challenges arising from excessive activation memory, heterogeneous token-importance patterns across clients, and communication overhead. To address these challenges, we propose SMELL, a Sparsity-aware and Memory-Efficient federated fine-tuning framework for Long-context LLMs. SMELL integrates three complementary mechanisms: Local Sparse-Forward Adaptation (LSFA), Consensus-Anchored Sparsity Coordination (CASC), and Communication-Efficient Progressive Update Recovery (CPUR). These mechanisms jointly enable memory-efficient local adaptation, heterogeneity-aware sparsity coordination, and lightweight model-update transmission. Experiments on OPT-350M and LLaMA2-7B demonstrate that SMELL reduces peak memory consumption by up to 88.35% compared with conventional fine-tuning and 13.25% compared with forward-only LoRA fine-tuning at a 16K context length. Furthermore, SMELL improves fine-tuning performance under certain non-IID settings and supports compact update transmission with progressive reconstruction, demonstrating its potential for resource-efficient federated long-context LLM adaptation.
来源:arXiv (AI + Vision + Imaging) · arxiv.org