Branching-Pressure Router
Implementation & benchmark of arXiv:2608.24220 — The entropy of Gromov-Thurston manifolds and branched coverings
Source paper: The entropy of Gromov-Thurston manifolds and branched coverings arXiv:2608.24220 ⓘ · analyzed Aug 29, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace a generic MoE router entropy bonus with a branching-pressure objective that values routes according to both their stochastic entropy and their number of valid fine-grained continuations. The module can be implemented as a hierarchical router: a coarse state chooses a base transition, while a validity mask determines how many valid expert or latent branches lift that transition.
Formulas
Mathematical statement
Theorem 1.3 states that the entropy of the lifted geodesic dynamics equals the topological pressure on the base broken-geodesic system with potential V(eta) = sum_{m>=1} log(m) freq_m^X(eta). Here eta is a base trajectory, m is a branch multiplicity, and freq_m^X(eta) is the long-run frequency with which eta encounters a point having m valid lifts. The variational definition is P = sup_mu {h_mu + integral V dmu}, where mu ranges over invariant probability measures, h_mu is trajectory entropy, and Phi_1 is the one-step evolution map. For a neural router, let r_t be the selected route at step t, let m_t = m(z_t,r_t) >= 1 be the number of valid fine branches associated with that route, and define the empirical frequency freqhat_m = T^{-1} sum_{t=0}^{T-1} 1[m_t = m]. The empirical potential is Vhat_T = T^{-1} sum_t log(m_t) = sum_m log(m) freqhat_m. Optimize the finite-horizon analogue hhat_T + alpha Vhat_T, where hhat_T = -T^{-1} sum_t sum_j q_t(j) log q_t(j), q_t is the router distribution, and alpha controls the importance of branching capacity.
Implementation notes
1. Integration point: modify the router of a sparse MoE Transformer or a hierarchical latent-transition module in a world model. For each token or state z_t, produce coarse route logits a_t(j) over candidate experts or transitions and a validity mask defining m(z_t,j), the number of fine branches available after choosing candidate j. Invalid candidates have m(z_t,j)=0 and are masked out. 2. Pseudocode: compute a_t = Router(z_t); set q_t = softmax(a_t) over valid candidates; sample or select r_t; execute expert r_t; accumulate entropy += -sum_j q_t(j) log q_t(j) and branch += sum_j q_t(j) log m(z_t,j); add loss_pressure = -lambda * (entropy + alpha * branch) / T to the task loss. Use the paper's log(m) potential directly in branch. For top-1 routing, use the selected log m(z_t,r_t), with a straight-through estimator or policy-gradient estimator if sampling is discrete. 3. Computed from the mathematics: the entropy term, logarithmic multiplicity potential, and empirical frequency estimate freqhat_m are direct. Estimated empirically: m(z_t,j) comes from a validity mask, a tree of legal latent transitions, a capacity table, or the number of experts within a learned group. Track route entropy, branch histograms, expert-load variance, and task loss separately. 4. First experiment: train a 4-layer, 4-expert Switch-style Transformer on TinyStories or WikiText-2 with identical parameter count and active FLOPs. Compare standard load balancing, ordinary router entropy, and branching-pressure routing with alpha in {0.1, 0.3, 1}. The hypothesis is lower validation perplexity or faster loss descent at equal active experts, together with higher valid-branch coverage and no increase in expert-load coefficient of variation. Setting every m(z,j)=1 must reduce exactly to ordinary entropy regularization.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.