HALO: Heterogeneous-Aware LoRA Optimization via Rank Allocation and Client-Aware Projection

XiaoHua Feng, Yuyuan Li, Jiayuan Fang, Fengyuan Yu, Jiaming Zhang, Li Zhang, Xiang Liu, Jun Wang, Chaochao ChenNeurIPS 2026

TL;DR

When fine-tuning foundation models across distributed devices without sharing private data, forcing every participant to use the same adapter size leads to bottlenecks and overfitting, while existing variable-size methods accidentally erase crucial local knowledge during aggregation. HALO solves both problems by mathematically sizing each client’s LoRA adapter to match its local data complexity and projecting global updates directly onto each client's specific "learning subspace." The result is faster, smarter collaborative learning with zero extra communication overhead.

What Problem Does This Paper Address?

Fine-tuning massive foundation models usually requires centralizing data—a non-starter for privacy-sensitive institutions like hospitals or personal devices. Federated Learning (FL) combined with LoRA (Low-Rank Adaptation, which freezes the base model and trains tiny, low-rank matrices $\mathbf{B}$ and $\mathbf{A}$) lets clients train locally and only share lightweight updates with a central server.

Early Federated LoRA assumed every client uses the exact same rank (adapter size). In reality, clients have wildly different compute budgets and data complexities—a one-size-fits-all rank causes resource-poor clients to lag and data-poor clients to overfit.

Figure 1: Overview of current federated heteroge- neous LoRA aggregation methods; the rightmost part shows the model update at each round.

Recent methods allow different ranks across clients, but they stumble on two fundamental questions: How do you pick the right rank for each client? (Usually, it's just guessed.) And how do you average matrices of different shapes and send them back? Current aggregation tricks (shown above) have deep structural flaws:

  1. Naive Truncation (NT): Pads smaller matrices with zeros to average them, then chops them back down. Because higher dimensions get averaged with lots of zeros, their signal repeatedly shrinks—causing rank collapse toward the smallest client's rank.
  2. SVD Truncation: Sums the full matrix products ($\mathbf{B}_i \mathbf{A}_i$) and uses Singular Value Decomposition (SVD) to extract the top-$r_i$ components with the highest global energy. This causes objective mismatch: globally loud directions drown out quiet, client-specific directions that a particular client desperately needs for its local task.

Methods

HALO (Heterogeneous-Aware LoRA Optimization) replaces guesswork and lossy compression with a two-stage pipeline grounded in the Neural Tangent Kernel (NTK) regime—a theoretical lens that approximates neural network fine-tuning as a linear problem around the pretrained weights.

Figure 2: The overall pipeline of HALO. Stage I adaptively assigns each client a LoRA rank based on local data geometry. Stage II aggregates uploaded LoRA factors into a product-summed reference, and applies CAP to redistribute rank-compatible LoRA factors through client-induced projections.
  • Stage I: Adaptive Rank Allocation (New): Instead of guessing ranks or scaling them purely by dataset size, HALO measures the effective constraint dimension ($d_i$) of a client's data—essentially running a tiny calibration batch to count how many independent directions the local task pushes the weights toward. Using a dimension-counting proof, the authors derive a sufficient rank formula, $r_i^{\text{suf}} = \lfloor \frac{\sqrt{8d_i + 1} - 1}{2} \rfloor + 1$ (capped by the client's hardware budget), ensuring enough capacity to find a global optimum on the linearized objective without wasting parameters.
  • Stage II: Client-Aware Projection / CAP (New): Like standard product summation, the server combines all client updates into a global reference $\Delta \overline{\mathbf{W}} = \sum \omega_j \mathbf{B}_j \mathbf{A}_j$. However, instead of slicing it via global SVD, the server looks at the subspace spanned by client $i$'s own uploaded adapter ($\Delta \mathbf{W}_i$)—which acts as a privacy-safe proxy for what directions matter to client $i$. CAP projects the global reference directly onto client $i$'s left and right subspaces ($\mathbf{P}_i^L \Delta \overline{\mathbf{W}} \mathbf{P}_i^R$) and factors it back into balanced, rank-$r_i$ LoRA matrices.

Datasets

No new benchmarks are introduced. To test across vision and language under realistic heterogeneity, all datasets are split across clients using non-IID Dirichlet distributions ($\alpha = 0.5$):

  • CIFAR-100: Image classification (100 classes), partitioned by class label (tested with ViT-Base).
  • GSM8K: Mathematical reasoning, partitioned by problem difficulty (tested with LLaMA3-8B and Qwen3-14B).
  • Commonsense15K: Commonsense reasoning, partitioned by question domain and evaluated across four standard benchmarks: HellaSwag, WinoGrande, ARC-Challenge, and PIQA.

Key Insights and Ideas

  • Data volume $\neq$ data complexity: A client can have thousands of redundant examples (needing a tiny rank) or a small set of diverse, complex examples (needing a larger rank). Sizing adapters via the NTK feature rank captures true geometric complexity; below $r_i^{\text{suf}}$ models sharply underfit, and above it, returns flatten out.
  • Global energy is a trap in federated SVD: Shared patterns across clients reinforce each other and build massive singular values, while specialized local knowledge stays low-energy. Global SVD throws away those low-energylifelines, forcing specialized clients to re-learn them from scratch every round.
  • Your upload reveals your subspace: The server never sees a client's private data, yet it can still preserve locally relevant updates because the client’s uploaded LoRA matrix naturally spans the exact subspace of directions that reduce its local loss.

Key Results

Overall comparison under heterogeneous ranks.

Table 1: Overall comparison under heterogeneous ranks. Values are mean ± std over five runs, averaged across final client-side LoRA modules. Shaded rows denote Adaptive rank allocation; bold and underline mark the highest and second-highest value per column.
  • State-of-the-Art Accuracy: Across vision and language benchmarks, HALO (CAP + Adaptive) achieves an average score of 75.33%, beating the strongest baseline (raFLoRA + Fixed rank) by +5.81 percentage points—including massive jumps of +9.85 on MATH accuracy and +9.68 on ARC-Challenge.
  • Plug-and-Play Gains: Adding HALO's Adaptive rank allocation improves every existing aggregation baseline (e.g., boosting HetLoRA from 69.38% to 73.18%). Similarly, CAP outperforms all other aggregators regardless of how ranks are assigned.
  • Resilience & Zero Extra Bandwidth: Under extreme ("pathological") data heterogeneity, HALO beats raFLoRA by 4.7 points on CIFAR-100 and 9.1 points on GSM8K. Because CAP happens entirely on the server, clients upload and download standard LoRA matrices—achieving higher accuracy for the exact same communication cost in GB.

Limitations and Future Work

  • Linearized Theory vs. Non-Linear Reality: Both the rank sufficiency theorem and CAP's error bounds rely on the NTK (lazy training) approximation, which assumes weight updates stay close enough to initialization for a first-order Taylor expansion and convex loss assumptions to hold.
  • Calibration Approximations: Computing the exact rank of a full NTK feature matrix is computationally expensive, so HALO relies on estimating numerical/stable rank from a small calibration batch and selected tokens/logits.
  • Subspace Coverage Assumption: CAP's guarantee of preserving global information relies on the assumption that a client's uploaded low-rank update already covers its relevant local NTK features.
  • Future Directions: The authors suggest moving federated fine-tuning away from fixed global adapter spaces altogether, treating both model capacity and update geometry as personalized, client-dependent quantities for large-scale real-world deployments.

Summary updated

Abstract

Federated Learning (FL) with Low-Rank Adaptation (LoRA) enables privacy-preserving collaborative fine-tuning of foundation models. Existing federated LoRA studies often assume homogeneous ranks and lack principled rank allocation, leading to underfitting or overfitting under data and resource heterogeneity. Although later heterogeneous-rank federated LoRA methods relax the homogeneous-rank assumption, they still ignore resource-adaptive rank allocation across clients, while their aggregation and distribution strategies suffer from structural limitations, including rank collapse in naive truncation and the loss of locally relevant update signals caused by objective mismatch in SVD truncation. To address these issues, we propose HALO, a heterogeneous federated LoRA framework that integrates adaptive rank allocation with client-aware aggregation and distribution. Under the neural tangent kernel regime, we derive a sufficient rank condition to guide client-specific rank allocation from local data geometry and resource constraints. We further propose Client-Aware Projection (CAP), which builds a product-summed reference and redistributes rank-compatible balanced LoRA factors through projections onto client-induced subspaces, improving generalization via cross-client information while preserving locally relevant update signals. We show that CAP controls the client-loss-relevant truncation residual under the NTK approximation without additional communication overhead, which stabilizes local training and improves performance. Extensive experiments demonstrate the effectiveness of HALO. Our code is available at [https://anonymous.4open.science/r/artifact2026-4174](https://anonymous.4open.science/r/artifact2026-4174).
BibTeX
@inproceedings{feng2026halo,
  author = {XiaoHua Feng and Yuyuan Li and Jiayuan Fang and Fengyuan Yu and Jiaming Zhang and Li Zhang and Xiang Liu and Jun Wang and Chaochao Chen},
  title = {{HALO: Heterogeneous-Aware LoRA Optimization via Rank Allocation and Client-Aware Projection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=GCoRDt8PdU},
}
Figure