Implicit Federated In-context Learning For Task-Specific LLM Fine-Tuning
By: Dongcheng Li , Junhan Chen , Aoxiang Zhou and more
Potential Business Impact:
Lets AI learn from private data without sharing it.
As large language models continue to develop and expand, the extensive public data they rely on faces the risk of depletion. Consequently, leveraging private data within organizations to enhance the performance of large models has emerged as a key challenge. The federated learning paradigm, combined with model fine-tuning techniques, effectively reduces the number of trainable parameters. However,the necessity to process high-dimensional feature spaces results in substantial overall computational overhead. To address this issue, we propose the Implicit Federated In-Context Learning (IFed-ICL) framework. IFed-ICL draws inspiration from federated learning to establish a novel distributed collaborative paradigm, by converting client local context examples into implicit vector representations, it enables distributed collaborative computation during the inference phase and injects model residual streams to enhance model performance. Experiments demonstrate that our proposed method achieves outstanding performance across multiple text classification tasks. Compared to traditional methods, IFed-ICL avoids the extensive parameter updates required by conventional fine-tuning methods while reducing data transmission and local computation at the client level in federated learning. This enables efficient distributed context learning using local private-domain data, significantly improving model performance on specific tasks.
Similar Papers
Federated In-Context Learning: Iterative Refinement for Improved Answer Quality
Machine Learning (CS)
Lets AI learn from many computers without sharing data.
A Simple Generalisation of the Implicit Dynamics of In-Context Learning
Machine Learning (CS)
Teaches computers to learn from examples without changing them.
Public Data Assisted Differentially Private In-Context Learning
Artificial Intelligence
Keeps private info safe while AI learns.