TL;DR
Standard federated learning forces parameters into an all-or-nothing binary: either everyone shares a parameter globally, or nobody shares it (it stays strictly private). This paper introduces Nerve-Skeleton Message Passing (NSMP), an algorithm that allows clients to share overlapping subsets of parameters purely with collaborating neighbors. Remarkably, instead of relying on endless rounds of iterative averaging, NSMP finds the exact global optimum in just one pass up and down a spanning tree.
What Problem Does This Paper Address?
Imagine a network of regional hospitals training predictive models. Hospital A might want to align certain disease-risk parameters with nearby Hospital B, while Hospital B shares a different set of demographic parameters with Hospital C. Meanwhile, each hospital keeps site-specific variables to itself.
Existing federated learning (FL) struggles with this middle ground. Classical methods like FedAvg assume global sharing, where every client trains the exact same model via a central server. Personalized FL methods (like FedRep) use a fixed split, dividing the model into one universally shared block and one strictly private block per client. Neither treats local, partial parameter overlap as a first-class citizen. How do you optimize a system where parameters overlap arbitrarily across different subsets of clients, without shipping raw data to a central hub?
Methods
To map out who shares what, the author constructs an undirected graph called the nerve skeleton: each client is a node, and an edge connects two clients if and only if their parameter blocks share at least one coordinate.
Instead of running ratusan rounds of gradient descent across this graph, Nerve-Skeleton Message Passing (NSMP) extracts a spanning tree, picks a root node, and runs a "compress-then-recover" dynamic programming protocol in two phases:
- Leaf-to-root phase (Elimination): Starting at the leaves, each client combines its local objective function with incoming messages from its children. It splits the variables it sees into two groups: separator variables (parameters shared with any client outside its current subtree) and eliminable variables (everything else). The client mathematically minimizes out the eliminable variables and sends the resulting "reduced objective"—now purely a function of the separator variables—up to its parent. At the root, no separator variables remain, yielding the exact optimal value of the global problem.
- Root-to-leaf phase (Recovery): Now, messages flow downward. The root solves for its local variables and sends the fixed optimal values of the separator variables down to its children. Each child plugs these incoming values into its stored minimizer map to recover its own optimal local block, passing the relevant coordinates further down until every leaf has its solution.
Datasets
- Synthetic Least-Squares Regression: A 6-client setup with 11 total parameters arranged in overlapping blocks, used to test numerical exactness against a centralized solver.
- METR-LA: A real-world traffic dataset featuring 206 traffic-sensor clients predicting future traffic speeds using 12 historical lag values and a bias term. To simulate data scarcity at the edge, each client is restricted to just 1% or 0.5% of its chronological training split.
Key Insights and Ideas
- Exactness in two passes: Unlike standard distributed methods (like FedAvg, ADMM, or Gossip) that inch toward a solution over many communication rounds, NSMP is exact. Under exact reductions, a single upward pass and a single downward pass recover the exact same global minimum as if all data had been pooled on one central server.
- Cycles and tree choices don't break exactness: Real-world collaboration graphs have loops. Even though NSMP throws away edges to form a spanning tree, the definition of separator variables accounts for parameter overlaps across the entire network—even non-tree edges. Thus, any spanning tree and any root choice will yield the exact same optimal objective value (though tree choice affects compute and bandwidth costs).
- Quadratic objectives are a natural sweet spot: Sending an arbitrary mathematical function as a "message" sounds tricky, right? However, if local losses are quadratic (like linear regression), minimizing out variables keeps the reduced objective strictly quadratic. Clients only need to pass compact matrices and vectors of coefficients up the tree.
Key Results
- Machine-precision agreement: On the 6-client regression task, NSMP matched the centralized least-squares solution coordinate-for-coordinate, with an objective gap of
0and a relative error of $1.05 \times 10^{-15}$. - Better accuracy, 60x less communication: On METR-LA, NSMP outperformed Local training, FedAvg, and FedRep. With 1% training data, NSMP achieved a test RMSE of 4.0742 (vs. 4.1512 for FedAvg and 4.1595 for FedRep). With 0.5% data, NSMP hit 4.1106 (vs. 4.1627 for FedAvg).
- Tiny bandwidth footprint: Because NSMP only traverses the 206-node tree once in each direction, it transmitted just 193,520 bytes in total—over 60 times smaller than FedAvg (12.85 MB) and FedRep (11.87 MB).
Limitations and Future Work
- Representing non-quadratic messages: NSMP's exactness assumes that reduced objectives $\Phi_i(Z_i)$ have a tractable representation. While quadratic losses stay neatly closed-form, general non-linear objectives (like deep neural networks) do not compress into simple scalars easily. In those cases, NSMP must transmit fitted approximations of the reduced objectives rather than exact ones.
- Separator bottlenecks: Communication scales quadratically with the largest separator dimension, $O(M z_{\max}^2)$. If parameter overlaps are dense and poorly structured, separator sets grow large, driving up local compute and message sizes. Optimizing spanning tree selection to jointly minimize communication and computation is noted for deeper exploration (discussed in the paper's appendices), alongside domain applications like retail demand forecasting, hospital risk modeling, and cell-tower traffic prediction.
Summary updated