﻿# HeteroFL: smaller clients and aligned global parameters

HeteroFL trains different-width local networks toward one global model. Examine parameter aggregation, normalization and the limits of its client experiments.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/heterofl-nested-subnetwork-aggregation-limits/
Language: en

HeteroFL asks how weaker clients can contribute to training a larger global model without forcing every participant to train the full network. Its local networks share aligned subsets of global parameters. This is a particular model-sharing design, rather than permission to average unrelated architectures together.

## Smaller local models with a shared destination

The [paper record](https://arxiv.org/abs/2010.01264) dates the first submission to October 3, 2020 and identifies the ICLR 2021 publication. It describes five computation-complexity levels across three architectures and three datasets, producing a single global inference model.

The practical distinction is between where learning happens and what the server ultimately serves. A client can work on a smaller portion while the global model retains parameters beyond that portion. This makes the participation question more interesting than simply selecting a universally small model for all devices.

However, compare the resulting global model with the right baseline. A smaller participant's local accuracy and the full global model's accuracy are different outputs. Mixing them in a single ranking can conceal which capability the system actually improves.

## Aggregation must respect parameter ownership

The authors' [aggregation implementation](https://raw.githubusercontent.com/diaoenmao/HeteroFL-Computation-and-Communication-Efficient-Federated-Learning-for-Heterogeneous-Clients/master/src/fed.py) constructs indexed parameter subsets for convolutional, residual and transformer models. It counts contributions at parameter positions and updates positions with contributors, rather than inserting a weak client's missing parameters as zero-valued training updates. Fixed and dynamic model-size assignments are supported.

For a reproduction, inspect how frequently outer parameters receive updates. If only powerful clients can train those positions, the learning signal there can represent a different participant population. Record both selected clients and the subnetworks assigned to them; a global participation count alone will not reveal that difference.

Changing widths also changes intermediate representations. A seemingly small modification to indexing or normalization can therefore alter the experiment even when the displayed model-size label stays the same.

## Normalization and data partition are part of the method

The [full paper](https://arxiv.org/pdf/2010.01264) introduces static batch normalization and a training-time Scaler, plus a masked classification loss for its balanced non-IID setting. Its experiments use MNIST, CIFAR10 and WikiText2, with 100 clients and active fraction 0.1. The described class-skew setting restricts clients to at most two classes; it does not cover every form of distribution shift.

The paper also acknowledges privacy concerns when collecting global normalization statistics after training. Local raw-data retention should not be presented as an automatic formal guarantee for statistics or model updates sent to a server.

The [repository examples](https://raw.githubusercontent.com/diaoenmao/HeteroFL-Computation-and-Communication-Efficient-Federated-Learning-for-Heterogeneous-Clients/master/README.md) expose configuration choices for normalization, Scaler, masking and fixed or dynamic splitting. Preserve these flags together. Replacing them with framework defaults creates a different method, even if the run still completes successfully.

## What to measure before moving to devices

Measure bytes transmitted, peak training memory, local elapsed time and final quality for each assigned width. Reduced parameter count can help feasibility, but it does not establish battery savings or proportional wall-clock speed on a phone. Include the server's assembly and normalization work in the stated system boundary.

Save the model assignment schedule and partition alongside the [software stack](/journal/software-stack-reproducibility/). Use [repeated timing measurements](/journal/gpu-benchmark-median-dispersion/) for actual device execution, separately from variation in federated convergence. HeteroFL establishes an experimental way to combine aligned models of different sizes; dependable mobile operation still requires evidence about the devices, interruptions and data distributions being targeted.
