CATF: How a Manager-Worker Architecture Solves the Context-Aware Time-Series Forecasting Challenge

CATF proposes a Manager-Worker framework that achieves automatic expert specialization for context-aware time-series forecasting via hard routing, improving accuracy and interpretability.
CATF is a Manager-Worker framework for context-aware time-series forecasting. A Transformer-based Manager hard-routes samples to a single Worker based on input context, where the Worker can be any single-model predictor. This avoids manual data partitioning and the high inference costs of soft-routing MoE while achieving automatic expert specialization and routing interpretability. Experiments show CATF outperforms standalone models in 162/200 comparisons, the best enhanced model beats the best baseline in 19/20 settings, and outperforms zero-shot Time-MoE in 15/20 settings. A bike-sharing case study shows the Manager routes by calendar information with Workers specializing in different weekly patterns.
Time-series forecasting is facing an increasingly prominent contradiction: as external context information (such as weather and calendar events) becomes richer, a single model struggles to capture all patterns, while ensemble learning and Mixture-of-Experts (MoE) methods rely on manual data partitioning or soft routing, leading to higher inference costs and reduced interpretability. A recent study titled "CATF: A Manager-Worker Framework for Context-Aware Time-Series Forecasting" proposes a framework based on a Manager-Worker architecture that attempts to achieve expert specialization without manual intervention while preserving the simplicity and interpretability of hard routing.

Problem Background: The Richer the Context, the Harder It Is for a Single Model
In context-aware time-series forecasting, the target variable depends not only on its own history but also on a set of context variables, such as weather conditions and calendar information. As the context dimension increases, multiple distinct "regimes" emerge in the data, and a single model finds it difficult to fit all of them simultaneously. Traditional approaches fall into two categories: ensemble learning improves robustness by combining multiple models, but often requires manual data partitioning or complex fusion strategies; Mixture-of-Experts (MoE) methods use soft routing, i.e., weighted combination of outputs from multiple experts, which increases model capacity but brings higher inference costs, and the uninterpretability of routing decisions becomes an obstacle in practical deployment.
CATF's starting point is precisely to bypass these pain points: it aims for the model to automatically assign inputs to the most suitable expert without manual data partitioning, while the routing process is "hard"—each input passes through only one expert, thereby reducing inference overhead and improving interpretability.
Mixture-of-Experts (MoE) is a model architecture that contains multiple "expert" subnetworks and a gating network (router). For each input, the gating network computes weights for each expert and then performs a weighted sum of all expert outputs; this weighted combination approach is called "soft routing." MoE can significantly increase model capacity without proportionally increasing computation, because each input activates only some experts (although it is a weighted combination, the computation still depends on the number of activated experts). However, soft routing requires computing the outputs of all experts (or at least the activated ones), and the routing weights are continuous values, making the decision process difficult to interpret. In addition, soft routing typically requires auxiliary losses such as load balancing to prevent expert degeneration. CATF, in contrast, adopts "hard routing," where each input is assigned to only one expert, thereby avoiding the overhead of weighted summation and making routing decisions discrete and traceable.
Manager-Worker Architecture: Hard Routing and Expert Specialization
The core of CATF is a Manager-Worker architecture. The Manager is a Transformer-based model responsible for routing each sample to a unique Worker based on the input context. A Worker is any single-model predictor, ranging from a simple linear model to a complex neural network. In both training and inference, CATF employs hard routing, meaning each input is processed by only one Worker, rather than weighted summation of all expert outputs as in MoE.
This design brings two direct benefits. First, Workers can achieve specialization without manual data partitioning: the Manager dynamically assigns tasks based on context, and each Worker gradually focuses on a specific subset of data or pattern. Second, hard routing means only one Worker needs to be activated at inference time, resulting in significantly lower computational cost than soft-routing MoE, and routing decisions can be directly traced—we can know why a given input was assigned to a particular Worker, thereby enhancing model interpretability.
The paper mentions that any single-model predictor can serve as a Worker, meaning CATF is a general framework rather than being tied to a specific model structure. This provides flexibility for practical applications: developers can directly apply CATF on top of existing forecasting models without designing complex architectures from scratch.
Transformer is a neural network architecture based on the self-attention mechanism, originally used for natural language processing and now widely used for time-series forecasting. Its core is the self-attention layer, which can capture dependencies between any positions in the input sequence without distance limitations. In CATF, the Manager uses a Transformer to encode the input context and output routing decisions (i.e., which Worker to select). The advantage of Transformer is its ability to effectively handle variable-length sequences and complex context interactions, thereby making accurate routing judgments based on rich context information. Note that the Manager's Transformer is typically much smaller than the Worker models, because the routing task is relatively simple—it only needs to output a discrete expert selection rather than predict specific values.
Experimental Performance: Outperforming Baselines in Most Scenarios
To validate CATF's effectiveness, the researchers conducted extensive experiments on five context-rich datasets, four forecasting horizons, and two normalization schemes. The results show that out of 200 comparisons, CATF improved over its standalone counterpart model (i.e., the same model without the Manager-Worker architecture) in 162 cases. The best CATF-enhanced model outperformed the best standalone baseline in 19 out of 20 settings. Furthermore, compared to the zero-shot Time-MoE foundation model, the CATF-enhanced model won in 15 out of 20 settings.
These numbers indicate that CATF's gains are not accidental but represent statistically significant and widespread improvements. In particular, you may not have noticed that CATF outperforms the zero-shot Time-MoE in most cases—the latter being a large-scale foundation model specifically designed for time series. This suggests that the Manager-Worker architecture may be more effective at leveraging context information than simply scaling up model size.
Case Study: Routing Logic in Bike-Sharing Data
The paper also includes a case study on bike-sharing data to demonstrate the Manager's routing behavior. The study found that the Manager primarily routes inputs based on calendar information, while each Worker focuses on different weekly patterns. For example, weekday and weekend travel patterns differ significantly, and the Manager can automatically assign weekday samples to Workers that excel at weekday patterns and weekend samples to Workers that excel at weekend patterns. This automated pattern discovery and assignment requires no manual labeling or prior knowledge, embodying the interpretability advantage of hard routing: we can directly observe routing decisions and understand each Worker's area of expertise.
This case also echoes practical application needs—in transportation, retail, energy, and other domains, calendar effects are often key factors driving changes in time-series patterns, and CATF can automatically capture and leverage these effects.
Significance and Limitations
CATF's value lies in providing a simple yet effective paradigm: replacing soft routing with hard routing and manual partitioning with automatic specialization. For time-series forecasting tasks that need to handle rich context information, CATF can improve accuracy without significantly increasing inference costs while maintaining model interpretability. However, the paper also implies some limitations: the Manager itself is a Transformer whose training requires sufficient data; the number and types of Workers need to be pre-specified; and hard routing may in rare cases be less flexible than soft routing. In addition, the types of datasets and the range of forecasting tasks covered by the experiments still need further expansion.
Overall, CATF offers a promising direction for context-aware time-series forecasting, and the generality of its Manager-Worker architecture and the interpretability of hard routing make it potentially attractive for industrial applications. Future work can explore more efficient routing mechanisms, dynamic Worker count adjustment, and cross-domain transfer capabilities.
One-line Summary
CATF proposes a Manager-Worker framework that achieves automatic expert specialization for context-aware time-series forecasting through hard routing, improving accuracy and interpretability.
Paragraph Summary
CATF is a Manager-Worker framework for context-aware time-series forecasting. It uses a Transformer-based Manager to hard-route samples to a single Worker based on input context, where the Worker can be any single-model predictor. This design avoids manual data partitioning and the high inference costs of soft-routing MoE while achieving automatic expert specialization and routing interpretability. Experiments on five datasets show that CATF outperforms standalone models in 162 out of 200 comparisons, the best enhanced model surpasses the best baseline in 19 out of 20 settings, and it outperforms zero-shot Time-MoE in 15/20 settings. The case study shows that the Manager routes based on calendar information, with Workers specializing in different weekly patterns. CATF is general and flexible, but Manager training requires sufficient data, and the number and types of Workers need to be pre-specified.
Related articles

The Gemini 4 Trio and 3.8 Flash: A Full Comparison of Positioning, Pricing, and Benchmarks
A comparison of Gemini 4 Neon, Carbon, Argon, and Gemini 3.8 Flash: positioning, context, API pricing, Artificial Analysis and Arena benchmark scores, and available entry points.

AI Coding Model Leaderboard: Opus 5.5 Crowned, Gemini Neon Stages a Comeback
Tech blogger Matthew Berman releases an AI coding model tier list: Claude Opus 5.5 holds S-tier, Gemini Neon surprises with A-tier, OpenAI Astra lands B-tier. How do open-source models like DeepSeek fare? We break down the scoring logic and practical takeaways.

New Jersey Joe Sandwich: Meat and Coleslaw on Triple-Decker Rye
New Jersey Sloppy Joe isn't a ground beef burger—it's triple-decker rye bread with meat, Swiss cheese, and coleslaw, plus Russian dressing. Learn the authentic Essex County method and family recipe.