Task2vec Readiness: Diagnostics for Federated Learning from Pre-Training Embeddings

arXiv cs.LG / 4/14/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper addresses a key gap in federated learning by introducing pre-training “readiness indices” that predict how a federation will perform despite client heterogeneity.
  • It derives these indices from Task2Vec embeddings computed for clients, using unsupervised statistics such as cohesion, dispersion, and density to quantify cross-client alignment.
  • Experiments across CIFAR-10, FEMNIST, PathMNIST, and BloodMNIST with 10–20 clients and Dirichlet heterogeneity (α from 0.05 to 5.0) under FedAVG show strong correlations between the readiness indices and final FL performance.
  • Reported Pearson/Spearman correlations are often above 0.9 for several dataset and client-count configurations, supporting Task2Vec-based readiness as a robust proxy for outcomes.
  • The authors argue the diagnostic can provide both predictive insight and practical guidance, including informing client selection in heterogeneous federations before training begins.

Abstract

Federated learning (FL) performance is highly sensitive to heterogeneity across clients, yet practitioners lack reliable methods to anticipate how a federation will behave before training. We propose readiness indices, derived from Task2Vec embeddings, that quantifies the alignment of a federation prior to training and correlates with its eventual performance. Our approach computes unsupervised metrics -- such as cohesion, dispersion, and density -- directly from client embeddings. We evaluate these indices across diverse datasets (CIFAR-10, FEMNIST, PathMNIST, BloodMNIST) and client counts (10--20), under Dirichlet heterogeneity levels spanning \alpha \in \{0.05,\dots,5.0\} and FedAVG aggregation strategy. Correlation analyses show consistent and significant Pearson and Spearman coefficients between some of the Task2Vec-based readiness and final performance, with values often exceeding 0.9 across dataset\timesclient configurations, validating this approach as a robust proxy for FL outcomes. These findings establish Task2Vec-based readiness as a principled, pre-training diagnostic for FL that may offer both predictive insight and actionable guidance for client selection in heterogeneous federations.