FedQCal: Quadratic Programming with Dual-Space Calibration for One-Shot Federated Learning

Shunsei Koshibuchi, Hiroshi Kera, Kazuhiko KawamotoarXiv 2026

Imagine you’re trying to build a world-class "Animal Classifier" by asking 100 different people to train a model on their own private photo collections. The catch? You only get one chance to download their updates, and you can't talk to them again. To make matters worse, one person might only have photos of pugs, while another has nothing but iguanas.

If you just average their work (the classic "FedAvg" approach), you often end up with a confused mess that can't tell a cat from a toaster. This is the "one-shot" federated learning problem, and FedQCal offers a clever way to fix the recipe using a tiny bit of "taste-testing" on the server.

TL;DR

FedQCal uses a tiny labeled dataset on the server to create a "reference" model that acts as a north star for merging client updates. By solving a minimum-norm quadratic program, it finds the most stable way to combine client models that still aligns with the server’s goals, outperforming standard methods even when the server only has a single image per class.

What Problem Does This Paper Address?

In Federated Learning (FL), we want to train a global model without ever seeing the users' private data. One-shot FL is the "hard mode" of this field: clients upload their model updates exactly once.

The big headache here is data heterogeneity (or "non-IID" data). Because clients see very different things, their model updates "point" in wildly different directions. Simply averaging these updates often leads to "weight interference," where the knowledge from one client cancels out another. Previous attempts to fix this either required too much auxiliary data or used complex distillation tricks that are computationally expensive.

Methods

The authors propose FedQCal (Quadratic Programming with Dual-Space Calibration). Here’s the step-by-step intuition:

  1. The Reference Point: The server takes a pre-trained model and fine-tunes it on a tiny labeled "calibration set" (think 1-5 images per class). This creates a reference model.
  2. Alignment Scoring: The server looks at each client's update and asks: "How much does this update agree with my reference model?" It calculates two scores: directional agreement and magnitude.
  3. The Quadratic Program (QP): Instead of just picking weights, FedQCal asks a mathematical question: "What is the smallest set of weights I can give these clients such that their combined update meets a specific alignment threshold?" By seeking the "minimum norm" (the smallest weights), the server prevents any single noisy client from hijacking the model.
  4. Dual-Space Calibration: How do you pick the right "alignment threshold"? You don't. The authors show that this whole complex optimization can be controlled by just two "knobs" (dual variables $u$ and $v$). The server simply twiddles these two knobs to minimize classification loss on its tiny calibration set.
Figure 1. FedQCal: a reference defines the merge family; classification loss selects a member. After a single client upload, the server fits a reference and computes two fixed alignment scores per client. The dual coordinates u, v map these scores to minimum-norm QP solutions. Cross-entropy (CE) on the merged network updates the coordinates using the same calibration examples; the reference and client updates remain fixed. Snowflakes and flames indicate frozen and trainable components during client and reference training. For clarity, only attention-related quantities are shown inside the final Transformer blocks; training updates the entire final block and classifier.

Datasets

The researchers put FedQCal through the wringer using three standard computer vision benchmarks:

  • CIFAR-10 & CIFAR-100: The bread and butter of image classification research.
  • SVHN: Street View House Numbers, which is notoriously tricky for federated methods.

They simulated "real-world" messiness by using a Dirichlet distribution to ensure clients had highly skewed, non-overlapping data.

Key Insights and Ideas

  • Smallest is Safest: The "minimum-norm" objective is a brilliant bit of regularization. It ensures that if the server's reference model is slightly wrong, that error isn't amplified when projecting the client updates.
  • The Power of Two Knobs: Even if you have 100 clients, you only need to optimize two variables ($u$ and $v$) to find the best merge. This makes the optimization incredibly stable and fast, even with very little data.
  • Reference as a Compass, Not a Map: Interestingly, the reference model doesn't need to be a great classifier itself. It just needs to provide a consistent geometric direction to help the server understand which client updates are "pulling their weight."
Figure 2. Calibration preserves the QP structure. (a) Left: a toy classification loss decreases from candidate 1 to 3; the arrows illustrate a candidate sequence. Right: each candidate minimizes the coefficient norm for its own requirements m = Cλ. Colors identify constraint boundaries; dashed arcs indicate equal norms. Only candidate 3’s feasible set is shaded. (b) Equal aggregate alignment scores can hide different sensitivities to reference error. Here, weighted summaries project positively (minimum-norm coefficients, blue) or negatively (other feasible coefficients, orange) onto the ideal direction.

Key Results

FedQCal consistently outperformed the standard FedAvg baseline across almost all settings:

  • Accuracy Gains: In many 100-client scenarios, FedQCal improved accuracy by significant margins. For example, on the SVHN dataset with high data skew, it achieved ~38% accuracy compared to FedAvg’s ~18%.
  • Data Efficiency: The method is remarkably robust. Even with only one labeled image per class on the server, the calibration process significantly improved the final model compared to uncalibrated baselines.
  • Scaling: Unlike some methods that struggle as the number of clients grows, FedQCal’s performance remained stable (and sometimes even improved) when moving from 10 to 100 clients.

Limitations and Future Work

  • Server Supervision: The biggest catch is that the server must have some labeled data. In some privacy-first applications, the server might have zero data, making FedQCal unusable in its current form.
  • Architectural Focus: The current study focused on the final Transformer block and the classifier head of a Vision Transformer (ViT). While these are the most critical parts for adaptation, extending this to the entire network could be a future direction.
  • Orthogonal Updates: If a client has a fantastic update that is completely "orthogonal" (unrelated) to the server's reference data, FedQCal might accidentally ignore it. Finding ways to retain "useful but different" knowledge is an open challenge.

Summary updated

Abstract

One-shot federated learning must combine heterogeneous client models after a single upload. Different local class distributions make it difficult to decide which client updates to retain. We propose FedQCal, which uses a reference model trained on a small labeled server set to define alignment requirements for aggregation. The key idea is to retain sufficient reference alignment while avoiding unnecessarily large aggregation coefficients. A minimum-norm quadratic program (QP) enforces these requirements. Classification loss on the same server examples selects a merge through two dual variables, so the alignment thresholds need not be prescribed in advance. We prove that the selected coefficients remain exact QP solutions at their induced thresholds. A perturbation bound explains how coefficient norm limits the amplification of projection errors. Experiments on CIFAR-10, CIFAR-100, and SVHN show gains over one-round FedAvg in most settings. Ablations support reference-guided weighting and coefficient calibration, even with one labeled server image per class.
BibTeX
@misc{koshibuchi2026fedqcal,
  author = {Shunsei Koshibuchi and Hiroshi Kera and Kazuhiko Kawamoto},
  title = {{FedQCal: Quadratic Programming with Dual-Space Calibration for One-Shot Federated Learning}},
  year = {2026},
  eprint = {2611.27170},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27170},
}
Figure