TL;DR
The paper introduces FEDPM, a communication-efficient federated learning framework for time series forecasting that replaces heavy model parameter sharing with lightweight, discrete "prototypical memories." By modeling time series dynamics as discrete, recurring regimes rather than forcing them into continuous or text-centric latent spaces, FEDPM slashes communication overhead by over 97% while outperforming state-of-the-art federated time series models.
What Problem Does This Paper Address?
Building Foundation Models (FMs) for time series forecasting requires massive, diverse datasets. Since centralizing private data (like smart grid metrics or medical records) violates privacy regulations like GDPR, researchers have turned to Federated Learning (FL).
However, current FL approaches for time series suffer from two major bottlenecks:
- Semantic Misalignment: Many methods adapt pre-trained Large Language Models (LLMs) to time series. But text-centric latent spaces don't naturally align with temporal signals, often leading to sub-optimal performance.
- The Continuous Space Assumption: Existing FL methods project cross-domain time series data into a unified, continuous latent space. This ignores the fact that real-world time series often exhibit abrupt, discrete phase transitions (e.g., traffic moving suddenly from free-flow to congested states). Forcing these into a smooth continuous space causes "feature collapse" and negative knowledge transfer between domains.
Furthermore, exchanging full model parameters across clients creates massive communication overhead.
Methods
FEDPM addresses these challenges by introducing a decentralized architecture based on Discrete Prototypical Memories.
Instead of sharing neural network weights, clients and the server communicate only a small set of discrete prototype vectors (codebooks) that represent localized temporal patterns:
- Local Prototypical Memory Priors: Each client tokenizes its time series into patches and passes them through a local encoder. A Prototypical Memory Retrieval (PMR) module—inspired by Vector Quantized VAEs (VQ-VAEs)—maps these continuous embeddings to the closest discrete prototype in a local codebook.
- Cross-Domain Memory Alignment: Periodically, clients upload their local memories to the server. Because these codebooks are permutation-invariant, the server builds a similarity graph of prototypes across all domains and uses Breadth-First Search (BFS) clustering to align semantically similar patterns into a unified discrete space.
- Domain-Specific Memory Update: The server splits the aggregated memory into two parts: shared prototypes (representing global consensus across domains) and personalized prototypes (retained based on a custom utility-diversity score to preserve domain-specific nuances). These are concatenated and sent back to clients.
Datasets
The framework was evaluated across 7 widely recognized real-world time series benchmarks spanning diverse domains:
- ETT (Electric Power Transformer Temperature): ETTh1, ETTh2, ETTm1, ETTm2
- Electricity: Hourly energy consumption data
- Weather: Local climatological data containing 21 meteorological features
- Exchange: Daily foreign exchange rates of 8 countries
Key Insights and Ideas
- The LLM Paradox in Time Series: The authors conducted an ablation study replacing the frozen LLM backbone of a state-of-the-art model (Time-FFM) with lightweight, fully trainable Transformers or fully connected (FC) layers. Surprisingly, the lightweight models achieved lower error in 71.43% of cases while using only 10.1% of the parameters. This strongly underscores the reality of semantic misalignment in text-based models for temporal data.
- Discretization Prevents Feature Collapse: By treating time series as a collection of discrete, recurring regimes, FEDPM avoids the semantic distortion that happens when trying to force completely different data domains into a single continuous vector space.
- Memory as a Communication Filter: Communicating discrete codebooks acts as an aggressive compression mechanism, filtering out redundant model parameters and transmitting only the essential "semantic ingredients" of the data.
Key Results
- State-of-the-Art Accuracy: FEDPM consistently achieved the highest number of first-place rankings across the benchmarks, reducing Mean Absolute Error (MAE) by an average of 4.92% compared to the strongest baseline (FFTS).
- Massive Communication Savings: FEDPM reduced communication overhead by over 97.03% compared to standard parameter-exchanging FL methods, making it highly scalable for bandwidth-constrained applications.
- Fewer Trainable Parameters: The architecture requires 20.37% fewer trainable parameters than existing baselines.
- Robust Privacy Preservation: When evaluated under Differential Privacy (DP) constraints, FEDPM maintained high predictive accuracy even when injected with Gaussian, Laplace, or Exponential noise.
Limitations and Future Work
While FEDPM marks a significant step forward, the authors note a few limitations:
- Manual Hyperparameter Tuning: The framework currently relies on manual configuration for core parameters like codebook size ($M$) and the similarity threshold ($\delta$).
- Server-Side Complexity: The cross-domain memory alignment module relies on graph construction and BFS clustering, which introduces computational overhead on the server side as the number of clients scales.
Future work will focus on developing adaptive hyperparameter selection mechanisms, optimizing the server-side alignment algorithms, and exploring sparse prototype transmission schemes to reduce communication costs even further.
Summary updated