NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FLAME: Reducing Computation in Federated Learning via Sample-Adaptive Multi-Exit Training

Kamala Varma, Tudor DumitrasOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

FLAME (Federated Learning with sample-Adaptive Multi-Exiting) is the first framework to bring sample-adaptive early exiting into the training phase of Federated Learning. By allowing "easy" data samples to exit the network early, FLAME reduces client-side computation by up to 50% while maintaining or even improving global model accuracy.

What Problem Does This Paper Address?

Federated Learning (FL) is designed to train models across a vast array of edge devices (like smartphones and IoT sensors) without sharing raw data. However, a major bottleneck is that these devices are often resource-constrained. While recent research has focused on assigning smaller sub-networks to weaker devices, these approaches typically apply a "one-size-fits-all" reduction to a client's entire dataset.

The authors identify a missed opportunity: sample difficulty. Not all data points require the full depth of a neural network to be classified correctly. Forcing every sample through every layer wastes precious compute on "easy" samples and may even lead to "overthinking," where deeper layers degrade a correct prediction made earlier. FLAME addresses this by dynamically adjusting the computational effort for each individual sample during local training.

Methods

FLAME leverages Multi-Exit Models (MEMs), which are standard architectures (like BERT) augmented with Internal Classifiers (ICs) at various hidden layers.

Key technical components include:

  • Patience-based Training Exits: During the forward pass, if a specified number of consecutive ICs ($p^{tr}$) agree on a prediction, the sample "exits." Backpropagation then starts from that specific layer, updating only the preceding parameters.
  • Grouped Backpropagation: Standard early exiting often forces a batch size of 1, which is inefficient. FLAME introduces a strategy where samples are grouped by their exit layer after the forward pass, allowing for batched gradient updates per exit group.
  • Tailored Aggregation: Since different clients might train different depths of the model, the authors propose new server-side aggregation methods:
  • Exit-conscious aggregation: Weights client updates based on their average exit layer.
  • Exit-based aggregation: Aggregates each layer using only the subset of clients that actually reached that depth during training.
  • Convergence Proof: The authors provide a theoretical proof showing that FLAME converges at a rate of $O(1/T)$, matching the standard FedAvg algorithm.

Datasets

The framework was evaluated on several Natural Language Processing (NLP) tasks:

  • GLUE Benchmarks: SST-2 (Sentiment Analysis), MRPC (Paraphrase detection), and MNLI (Natural Language Inference).
  • Sentiment140 (Sent140): Used specifically for non-IID (Independent and Identically Distributed) experiments, where data is partitioned by tweet users to simulate realistic, heterogeneous client distributions.

Key Insights and Ideas

  • The "Collaboration" Advantage: In centralized training, early exiting can leave deeper layers under-trained. In FL, however, the authors found that "high-patience" clients (those who train deeper) effectively "subsidize" the learning of deeper layers for the entire global model, mitigating the downsides of early exiting for "low-patience" clients.
  • Strategic Compute Allocation: Unlike methods that uniformly shrink models (like HeteroFL), FLAME saves compute on easy samples to preserve the model's capacity for hard ones. This leads to better Area Under the Curve (AUC) scores.
  • Mitigating Overthinking: On easier tasks like SST-2, FLAME actually improved accuracy over the full-model baseline. This suggests that stopping early prevents the model from over-processing simple data and potentially overfitting.

Key Results

  • Efficiency: FLAME reduced per-client training time by 19% to 48% on SST-2 and up to 46% on MRPC.
  • Accuracy: On the Sent140 task, FLAME achieved a higher AUC (0.8739 for early samples) compared to state-of-the-art baselines like HeteroFL (0.7680) and ScaleFL (0.7859) under matched compute budgets.
  • Memory: While the primary goal was compute reduction, FLAME also saved up to 200 MB of GPU RAM per client by reducing the number of activations that needed to be stored for backpropagation.

Limitations and Future Work

  • Model Storage: Currently, FLAME requires clients to store the full global model, even if they don't use every layer for every sample. The authors suggest that future work could pair FLAME with communication-efficiency methods to reduce the memory footprint further.
  • Security Risks: The authors acknowledge that early-exit signals could potentially be exploited for "slowdown attacks" or data leakage, though they note that adversarial training and differential privacy could mitigate these risks.
  • Hyperparameter Tuning: While clients can easily adjust their "patience" ($p^{tr}$) based on their current battery or CPU load, the paper does not provide an automated heuristic for choosing the optimal patience value dynamically.

Summary updated

BibTeX
@misc{varma2026flame,
  author = {Kamala Varma and Tudor Dumitras},
  title = {{FLAME: Reducing Computation in Federated Learning via Sample-Adaptive Multi-Exit Training}},
  year = {2026},
  url = {https://openreview.net/forum?id=C2ctBrjMpH},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure