Introduction
As Large Language Models (LLMs) move toward mass personalization, a new challenge emerges: the "extreme multi-profile" scenario. While standard Parameter-Efficient Fine-Tuning (PEFT) methods like Adapters or LoRA reduce the cost of full-model tuning, they still require storing unique parameters for every user or task. In a system with tens of thousands of unique profiles, the aggregate storage overhead grows linearly, eventually exceeding the size of the base model itself. X-PEFT (eXtremely Parameter-Efficient Fine-Tuning) addresses this bottleneck by decoupling the number of profiles from the total parameter count.
Methodology
The core innovation of X-PEFT is the shift from training new parameters to adaptively reusing a fixed pool of components. Instead of a dedicated adapter for each profile, the system maintains a shared library of $N$ adapters. For any specific profile, the model learns tiny mask tensors ($M_A$ and $M_B$) that select and combine elements from this pool.
The authors propose two primary variants:
- X-PEFT (soft): Employs a softmax-weighted average of the adapter pool. While differentiable and easier to train, it requires floating-point storage for weights.
- X-PEFT (hard): Utilizes a "top-k" selection strategy. During inference, only a subset of $k$ adapters is active. These masks are stored as bit arrays, enabling the most significant memory savings. Training these non-differentiable masks is achieved via the Gumbel-softmax trick and straight-through gradient estimation.
By applying separate masks to the down-projection ($A$) and up-projection ($B$) submodules, X-PEFT can effectively generate $N^2$ unique combinations from a pool of only $N$ adapters, exponentially increasing expressive capacity.
Key Results and Efficiency
X-PEFT was evaluated on the LaMP (Language Model Personalization) benchmark and the GLUE suite. The results demonstrate that X-PEFT can match or exceed the performance of standard single-adapter tuning while drastically reducing the per-profile storage footprint.
Major Findings:
- 10,000x Storage Reduction: By using binary masks, the storage required per profile drops from megabytes to just a few hundred bytes. As shown in the figure above, the total bytes to manage for X-PEFT remains nearly flat even as the number of profiles scales to the hundreds.
- Competitive Performance: On the LaMP dataset, X-PEFT outperformed standard adapters in both accuracy and F1 score. On GLUE, X-PEFT with 400 random (untrained) adapters achieved parity with standard tuning, supporting the intuition that a sufficiently large pool of random initializations contains effective sub-combinations.
- Generalization: While "soft" masks achieve lower training loss, the "hard" binary masks consistently demonstrated superior generalization on test sets, suggesting a lower risk of overfitting in sparse selection regimes.
Conclusion
X-PEFT provides a scalable path for massive personalization. By reducing the trainable parameters by 100x and the per-profile storage by 10,000x, it enables the deployment of thousands of customized models on commodity hardware. Future work includes optimizing training speed and extending the masking logic to other PEFT architectures like LoRA.
Summary updated