English

Mixture of Raytraced Experts

Machine Learning 2025-07-17 v1 Artificial Intelligence

Abstract

We introduce a Mixture of Raytraced Experts, a stacked Mixture of Experts (MoE) architecture which can dynamically select sequences of experts, producing computational graphs of variable width and depth. Existing MoE architectures generally require a fixed amount of computation for a given sample. Our approach, in contrast, yields predictions with increasing accuracy as the computation cycles through the experts' sequence. We train our model by iteratively sampling from a set of candidate experts, unfolding the sequence akin to how Recurrent Neural Networks are trained. Our method does not require load-balancing mechanisms, and preliminary experiments show a reduction in training epochs of 10\% to 40\% with a comparable/higher accuracy. These results point to new research directions in the field of MoEs, allowing the design of potentially faster and more expressive models. The code is available at https://github.com/nutig/RayTracing

Keywords

Cite

@article{arxiv.2507.12419,
  title  = {Mixture of Raytraced Experts},
  author = {Andrea Perin and Giacomo Lagomarsini and Claudio Gallicchio and Giuseppe Nuti},
  journal= {arXiv preprint arXiv:2507.12419},
  year   = {2025}
}

Comments

Preliminary version (pre-submission)

R2 v1 2026-07-01T04:04:39.433Z