mlsanityData to 14 Oct 2026

Federated Learning with Ad-hoc Adapter Insertions: The Case of Soft-Embeddings for Training Classifier-as-Retriever

arXiv 2509.16508 ↗First posted 20 Sep 2025cs.LGcited by 0

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

Abstract (arXiv)

When existing retrieval-augmented generation (RAG) solutions are intended to be used for new knowledge domains, it is necessary to update their encoders, which are taken to be pretrained large language models (LLMs). However, fully finetuning these large models is compute- and memory-intensive, and even infeasible when deployed on resource-constrained edge devices. We propose a novel encoder architecture in this work that addresses this limitation by using a frozen small language model (SLM), which satisfies the memory constraints of edge devices, and inserting a small adapter network before the transformer blocks of the SLM. The trainable adapter takes the token embeddings of the new corpus and learns to produce enhanced soft embeddings for it, while requiring significantly less compute power to update than full fine-tuning. We further propose a novel retrieval mechanism by attaching a classifier head to the SLM encoder, which is trained to learn a similarity mapping of the input embeddings to their corresponding documents. Finally, to enable the online fine-tuning of both (i) the encoder soft embeddings and (ii) the classifier-as-retriever on edge devices, we adopt federated learning (FL) and differential privacy (DP) to achieve an efficient, privacy-preserving, and product-grade training solution. We conduct a theoretical analysis of our methodology, establishing convergence guarantees under mild assumptions on gradient variance when deployed for general smooth nonconvex loss functions. Through extensive numerical experiments, we demonstrate (i) the efficacy of obtaining soft embeddings to enhance the encoder, (ii) training a classifier to improve the retriever, and (iii) the role of FL in achieving speedup.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 24 of its 35 references that are in the map. First posted on arXiv 20 Sep 2025.

Builds on

24 of 35 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec

Other references · 23

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  5. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2019Advances and Open Problems in Federated Learningcited by 3,046
  9. 2019Language Models as Knowledge Bases?cited by 1,936
  10. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
  11. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
  12. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
11 more
  1. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
  2. 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 149
  3. 2024FLoRA: Federated Fine-Tuning Large Language Models with Heterogeneous Low-Rank Adaptationscited by 146
  4. 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 87
  5. 2021Federated Learning Meets Blockchain in Edge Computing: Opportunities and Challengescited by 76
  6. 2021Understanding Clipping for Federated Learning: Convergence and Client-Level Differential Privacycited by 69
  7. 2022When Does Differentially Private Learning Not Suffer in High Dimensions?cited by 48
  8. 2022Differentially Private Federated Learning with Local Regularization and Sparsificationcited by 36
  9. 2023Make Landscape Flatter in Differentially Private Federated Learningcited by 33
  10. 2024Thinking Forward: Memory-Efficient Federated Finetuning of Language Modelscited by 7
  11. 2025Universality of Layer-Level Entropy-Weighted Quantization Beyond Model Architecture and Sizecited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026FedMosaic: Federated Retrieval-Augmented Generation via Parametric Adapters
  2. 2026Beyond Raw Context Transfer: Representation-based Federated Retrieval-Augmented Generation
  3. 2025LMAR: Language Model Augmented Retriever for Domain-specific Knowledge Indexing
  4. 2025Federated Retrieval-Augmented Generation: A Systematic Mapping Study
  5. 2026FD-RAG: Federated Dual-System Retrieval-Augmented Generation
  6. 2026HARNESS-LM: A Three-Phase Training Recipe for Harnessing SLMs in Sponsored Search Retrieval
  7. 2025Chain-of-Rank: Enhancing Large Language Models for Domain-Specific RAG in Edge Device
  8. 2025FedRAG: A Framework for Fine-Tuning Retrieval-Augmented Generation Systems