Conference item
Filtered not mixed: filtering-based online gating for mixture of large language models
- Abstract:
- We propose MoE-F - a formalized mechanism for combining N pre-trained expert Large Language Models (LLMs) in online time-series prediction tasks. MoE-F adaptively forecasts the optimal weighting of LLM predictions at each time step by leveraging the conditional information in each expert's running performance, enabling the best combination of experts for the next step prediction. Diverging from static (learned) Mixture of Experts (MoE) methods, our approach employs time-adaptive stochastic filtering techniques to combine experts. By framing the expert selection problem as a finite state-space, continuous-time Hidden Markov model (HMM), we can leverage the Wonham-Shiryaev filter. Our approach first constructs N parallel filters corresponding to each N individual LLMs. Each filter proposes its best combination of LLMs, given the information that they have access to. Subsequently, the N filter outputs are optimally aggregated to maximize their robust predictive power, and this update is computed efficiently via a closed-form expression, thus generating our ensemble predictor. Our contributions are: (I) the MoE-F algorithm - deployable as a plug-and-play filtering harness over any heterogenous mixture of LLMs or specialized models, (II) theoretical optimality guarantees of the proposed filtering-based gating algorithm (via optimality guarantees for its parallel Bayesian filtering and its robust aggregation steps), and (III) empirical evaluation and ablative results using state of the art foundational and MoE LLMs on a real-world Financial Market Movement task based on streaming news where MoE-F attains a 17% absolute and 48.5% relative F1-score improvement over the best performing individual LLM expert. Further, we provide empirical evidence of substantial performance gains with MoE-F over specialized models in the long-horizon time-series forecasting domain using electricity-grid datasets. Supplementary materials available at: https://github.com/raeidsaqur/moe-f.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Version of record, pdf, 853.6KB, Terms of use)
-
- Publication website:
- https://openreview.net/forum?id=ecIvumCyAj
Authors
+ Canadian Institute for Advanced Research
More from this funder
- Funder identifier:
- https://ror.org/01sdtdd95
- Grant:
- RGPIN-2023-04482
+ Natural Sciences and Engineering Research Council of Canada
More from this funder
- Funder identifier:
- https://ror.org/01h531d29
- Publisher:
- OpenReview
- Host title:
- Proceedings of the 13th International Conference on Learning Representations (ICLR 2025)
- Article number:
- 7448
- Publication date:
- 2025-01-22
- Acceptance date:
- 2025-01-22
- Event title:
- 13th International Conference on Learning Representations (ICLR 2025)
- Event location:
- Singapore
- Event website:
- https://iclr.cc/Conferences/2025
- Event start date:
- 2025-04-24
- Event end date:
- 2025-04-28
- Language:
-
English
- Pubs id:
-
2282226
- Local pid:
-
pubs:2282226
- Deposit date:
-
2026-04-02
- ARK identifier:
Terms of use
- Copyright holder:
- Saqur et al.
- Copyright date:
- 2025
- Rights statement:
- © 2025 The Author(s). Licensed under Creative Commons Attribution 4.0 International.
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record