{
 "artifacts": [
  {
   "name": "bench_report.json",
   "url": "https://synthcore.org/code/634/bench_report.json"
  },
  {
   "name": "registered_bench.py",
   "url": "https://synthcore.org/code/634/registered_bench.py"
  },
  {
   "name": "report.md",
   "url": "https://synthcore.org/code/634/report.md"
  },
  {
   "name": "report_bench_2026-08-31T202413.md",
   "url": "https://synthcore.org/code/634/report_bench_2026-08-31T202413.md"
  },
  {
   "name": "results.json",
   "url": "https://synthcore.org/code/634/results.json"
  },
  {
   "name": "vdc_bench.py",
   "url": "https://synthcore.org/code/634/vdc_bench.py"
  },
  {
   "name": "vdc_moe_experiment.py",
   "url": "https://synthcore.org/code/634/vdc_moe_experiment.py"
  }
 ],
 "category": "architecture",
 "description": "Replace random or greedy one-expert-at-a-time activation with a deterministic binary van der Corput sequence. At each training or inference step, the schedule chooses an expert whose cumulative usage remains close to its proportional target, while recursively balancing nested expert groups rather than only balancing individual experts.",
 "download_zip": "https://synthcore.org/download/634",
 "formulas_latex": [
  "$$v_2(m)=\\sum_{j\\ge 0} b_j2^{-j-1},\\qquad m=\\sum_{j\\ge 0}b_j2^j,\\quad b_j\\in\\{0,1\\}.$$",
  "$$x_m=\\left\\lfloor D\\,v_2(m)\\right\\rfloor,\\qquad A_S(n)=\\sum_{t=1}^{n}\\mathbf 1\\{x_t\\in S\\},\\qquad E_S(n)=A_S(n)-\\frac{n|S|}{D}.$$",
  "$$\\max_{S\\in\\mathcal C}\\max_{n\\ge 1}|E_S(n)|\\le \\frac{\\log D}{3\\log 2}+1,$$",
  "$$\\Delta_{\\mathrm{interval}}\\le \\Delta_{\\mathrm{grid}}+\\frac12.$$"
 ],
 "id": 1715,
 "implementation": "Integrate the scheduler into a top-1 MoE router or another progressive activation mechanism where one of D equally sized experts is selected per token or microbatch. For global assignment index m, compute the binary radical inverse v2(m), set the scheduled expert c=floor(D*v2(m)) for D a power of two, and either force c for a small calibration fraction or use c as the first candidate before selecting among the learned router logits. A hybrid implementation is: compute router logits l; reserve a fraction rho of assignments for the schedule; on scheduled assignments choose expert c; otherwise choose argmax(l), subject to capacity. Maintain A_S(n) for every node S in a fixed binary tree over experts and calculate E_S(n)=A_S(n)-n|S|/D after each batch. The exact mathematical inputs are v2, the one-hot schedule, and the logarithmic discrepancy budget B(D)=log(D)/(3 log 2)+1. Router logits, rho, tree layout, and capacity factor are empirical choices. First test a 4- or 8-expert Switch-Transformer-style MLP on CIFAR-100 or a small language-model corpus against random routing and standard capacity-factor routing at identical FLOPs. Record maximum nested-group discrepancy, expert-load variance, dropped-token rate, and validation loss. Success means fewer overflowed tokens and lower worst-prefix imbalance without worse perplexity or classification accuracy.",
 "math_summary": "For D equally entitled leaves, let x_t in {0,...,D-1} be the expert selected at step t and let A_S(n)=sum_{t=1}^n 1{x_t in S} be the number of selections from a leaf set S in the first n steps. The ideal proportional count is n|S|/D, and the prefix discrepancy is E_S(n)=A_S(n)-n|S|/D. The paper's constructive schedule is the binary van der Corput ordering: write m=sum_{j\u003e=0} b_j 2^j with bits b_j in {0,1}, define v_2(m)=sum_{j\u003e=0} b_j 2^{-j-1}, and choose x_m=floor(D v_2(m)) for D a power of two. For the comb hierarchy, the resulting worst nested-prefix error is bounded by log(D)/(3 log 2)+1. A midpoint embedding gives general interval discrepancy at most the grid-aligned discrepancy plus 1/2. The transferable property is deterministic proportional coverage at every prefix, rather than merely good average frequencies.",
 "math_tags": [
  "combinatorics",
  "number-theory",
  "approximation-theory"
 ],
 "ml_areas": [
  "moe-routing",
  "transformer",
  "training-dynamics"
 ],
 "paper": {
  "arxiv_id": "2608.02559",
  "arxiv_url": "https://arxiv.org/abs/2608.02559",
  "summary_what_math_gives_to_ml": "The paper gives a constructive discrepancy theory for hierarchical, progressive integer allocation: a single monotone sequence of one-hot choices can incur logarithmic error even though every individual house size has a quota-feasible allocation. The transferable asset is the static-versus-dynamic distinction, together with a binary van der Corput schedule whose hierarchical prefix error is explicitly bounded by O(log D). This suggests replacing random or greedy progressive categorical rounding with deterministic low-discrepancy schedules when a model must distribute activation, pruning, quantization, or update opportunities over time while preserving proportional usage at every prefix and across nested groups.",
  "title": "House-monotone multi-level apportionment has logarithmic quota discrepancy",
  "year": "2026"
 },
 "ratings": {
  "difficulty": 5,
  "novelty": 7,
  "usefulness": 7
 },
 "solves": [
  "stability",
  "sample-efficiency",
  "accuracy"
 ],
 "title": "Van der Corput progressive expert scheduler",
 "url": "https://synthcore.org/idea/1715/van-der-corput-progressive-expert-scheduler",
 "verification": {
  "benchmark": {
   "track": "expert_balanced_regression",
   "model": "top1_moe_shared",
   "n_seeds": 8,
   "metric_direction": "lower is better",
   "comparison": {
    "baseline_mean": 0.21290172263979912,
    "idea_mean": 0.2056338880211115,
    "delta_mean": -0.00726783461868763,
    "per_seed_diffs": [
     -0.022123634815216064,
     0.005021125078201294,
     -0.0020128637552261353,
     -0.008716702461242676,
     -0.014886602759361267,
     -0.011098220944404602,
     -0.010063394904136658,
     0.005737617611885071
    ],
    "idea_wins": 6,
    "n_pairs": 8,
    "p_value": 0.08055,
    "mde": 0.008064204749019211,
    "mde_rel_pct": 3.7877592764539316,
    "verdict": "no significant win",
    "system_worked": false
   },
   "baseline": {
    "best_cfg": {
     "epochs": 12,
     "lr": 0.01,
     "rho": 0.5
    },
    "sweep": [
     {
      "cfg": {
       "epochs": 12,
       "lr": 0.001,
       "rho": 0.5
      },
      "mean": 0.5207640379667282
     },
     {
      "cfg": {
       "epochs": 12,
       "lr": 0.001,
       "rho": 1
      },
      "mean": 0.5207640379667282
     },
     {
      "cfg": {
       "epochs": 12,
       "lr": 0.003,
       "rho": 0.5
      },
      "mean": 0.3618839532136917
     },
     {
      "cfg": {
       "epochs": 12,
       "lr": 0.003,
       "rho": 1
      },
      "mean": 0.3618839532136917
     },
     {
      "cfg": {
       "epochs": 12,
       "lr": 0.01,
       "rho": 0.5
      },
      "mean": 0.21788224577903748
     },
     {
      "cfg": {
       "epochs": 12,
       "lr": 0.01,
       "rho": 1
      },
      "mean": 0.21788224577903748
     }
    ],
    "full": {
     "mean": 0.21290172263979912,
     "std": 0.02201949504273137,
     "per_seed": [
      0.23030464351177216,
      0.19820281863212585,
      0.18614302575588226,
      0.25687849521636963,
      0.21424928307533264,
      0.18679030239582062,
      0.21802611649036407,
      0.2126190960407257
     ],
     "n": 8
    }
   },
   "idea": {
    "mean": 0.2056338880211115,
    "std": 0.020574444566337256,
    "per_seed": [
     0.2081810086965561,
     0.20322394371032715,
     0.18413016200065613,
     0.24816179275512695,
     0.19936268031597137,
     0.17569208145141602,
     0.20796272158622742,
     0.21835671365261078
    ],
    "n": 8
   },
   "mechanism_signature": {
    "confirmed": true,
    "observed_final_load_variance": 0,
    "observed_mean_max_discrepancy": 0.875,
    "predicted_max_discrepancy": 1,
    "prediction": "trained VDC assignments maintain max leaf prefix discrepancy \u003c=1"
   },
   "custom_track": {
    "domain": "moe-routing",
    "file": "expert_balanced_regression.py",
    "name": "expert_balanced_regression"
   }
  },
  "mechanism_confirmed": true,
  "peer_reviewed": false,
  "practical_verdict": "inconclusive",
  "stage1_mechanism_check": {
   "worked": true,
   "confidence": 9,
   "verdict": "Built a readable binary van der Corput scheduler and numerical verification experiment in files vdc_moe_experiment.py and results.json. Across D=2..64, endpoint error at n=D was exactly 0, maximum nested discrepancy was 0.5..0.984 (always below the stated B(D)=1.33..3.0), and VDC leaf prefix error stayed below 1. In the synthetic capacity test with D=8 and 128 assignments, VDC had zero drops and zero load variance at capacity factor 1.0, versus 9.3% drops for random routing and 61.0% for greedy routing; this demonstrates the scheduling mechanism, not end-to-end model accuracy.",
   "metrics": {
    "baseline": "Random routing: at D=8, mean final leaf imbalance 3.275 and mean max nested-prefix discrepancy 4.484; capacity factor 1.0 averaged 9.30% drops and load variance 4.16. Greedy routing: 60.98% drops and load variance 17.94 at capacity factor 1.0.",
    "idea": "VDC: at D=8, max leaf/nested prefix discrepancy 0.875, endpoint error at n=D exactly 0, and capacity factor 1.0 averaged 0% drops and 0 load variance. Across D=2..64, max nested discrepancy remained below B(D) and max leaf error remained below 1."
   },
   "how_to_run": "python3 vdc_moe_experiment.py",
   "files": [
    "vdc_moe_experiment.py",
    "results.json",
    "run_output.txt"
   ],
   "limitations": "The experiment is a scheduler/capacity simulation rather than a trained Switch-Transformer or CIFAR/language-model benchmark. It does not test router-logit integration, learned expert specialization, FLOPs, validation loss, classification accuracy, perplexity, GPU behavior, or the midpoint interval-discrepancy claim; the random baseline uses a reduced trial count for runtime."
  },
  "status": "mech_ok_no_baseline",
  "status_label": "Mechanism confirmed, baseline not beaten",
  "updated_at": "2026-09-02T12:30:10",
  "verdict_source": "deterministic test code (paired-seed permutation statistics)",
  "verification_axes": {
   "benchmark_mechanism": {
    "confirmed": true,
    "tested": true
   },
   "practical_benchmark": {
    "beats_baseline": false,
    "tested": true,
    "verdict": "inconclusive"
   },
   "toy_mechanism_gate": {
    "confirmed": true,
    "tested": true
   }
  }
 }
}
