ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Occult: Optimizing Collaborative Communications across Experts for Accelerated Parallel MoE Training and Inference — Problem 1: Released training drops task-loss derivatives of routing weights

Original paper: Shuqing Luo; Pingzhi Li; Jie Peng; Yang Zhao; Yu Cao; Yu Cheng; Tianlong Chen. Occult: Optimizing Collaborative Communications across Experts for Accelerated Parallel MoE Training and Inference. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/luo25f.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: PDF pp. 3-6,8,13,15; router.py61-111; pre_dispatch.py48-59; dmoe.py224-243; glu.py195-197; condense.py111-125; kernels_mm_condense.py503-510

Question: What does the recorded analysis establish about “Released training drops task-loss derivatives of routing weights”?
Bounded finding:
Expert-parameter and direct activation gradients have implemented backward paths. Auxiliary losses can also reach router parameters: the supplied DeepSeek example creates a trainable gate and attaches `AddAuxiliaryLoss`. It would therefore be incorrect to say that the router receives no gradients at all. An auxiliary balancing or logit penalty cannot generally replace the omitted task term, which depends on expert outputs and the downstream loss.
The paper supplies no premise that routing weights are constant during training. Freezing router parameters alone would also not generally remove the router-dependent contribution to gradients of upstream trainable activations. The missing term is part of the core training function, so this is Major without requiring proof that the entire system fails or that a particular accuracy score falls. Forward inference with fixed routing weights is not refuted.
Exact nonzero task gradient versus absent source task-gradient connection; own central differences(-.562500000134,.562500000023), maximum error1.342e-10. No author autograd/CUDA execution claimed. Direct correctness defect in core equivalent-training implementation, including nonpruned route. Quantitative effects on published quality and timing remain Needs Evidence.

Recorded check:
Assessment: Major, scoped to the released core training implementation. Sections 3.1 and A.1 describe equivalent MoE computation with a backward pipeline; Figure 6 explicitly includes backward operations. Page 8 states that timing experiments tune all MoE modules and freeze other parameters. The released weighted forward function depends on the router, but its backward path omits the task-loss derivative through the routing weights.
The trainable router in `occult/layers/router.py:61-111` produces softmax scores and selected weights. The active `dMoE` path passes these through dispatch to the condensed GLU implementation. The forward kernel `occult/backend/kernels_mm_condense.py:503-510` multiplies expert outputs by the transmitted weights. The task-gradient connections are nevertheless removed at several points:
Source location | Implemented behavior
`occult/ops/pre_dispatch.py:48-59` | Backward returns `None` for routing-weight input `ew`.
`occult/layers/dmoe.py:224-243` | Weight communication and post-dispatch run inside `torch.no_grad()`.
`occult/layers/glu.py:195-197` | Weight condensation runs inside `torch.no_grad()`.
`occult/ops/condense.py:111-125` | Condensed merge backward returns `None` for `tiles_list_w`.
These are on the selected condensed implementation, not merely an unused legacy wrapper. Explicitly returning no gradient for a differentiable weight input cannot be repaired by the fact that its value was used in the forward kernel. The relevant source bytes and excerpts are bound in and .
Take two experts and two devices, one expert per device, with \(k=2\), no pruning, and no jitter. Both experts are selected, so there is no top-\(k\) selection-boundary issue. At a fixed nonzero input, let expert outputs be \(E_0=1\), \(E_1=3\), and router logits be \((\log 3,0)\). Such fixed-input expert values are realizable by choosing the down-projection weights of bias-free experts. The softmax weights and output are \[p=(3/4,1/4),\qquad y=3/2.\] Use the differentiable task loss \(L=y^{2}/2\). For softmax logits \(z_i\), \[\frac{\partial y}{\partial z_i}=p_i(E_i-y),\qquad
 \frac{\partial L}{\partial z_i}=y\,p_i(E_i-y),\] and therefore \[\nabla_z L=(-9/16,\;9/16).
 \] The released task graph supplies no gradient through these weights. This is a discrepancy between the derivative of the computed function and its specified backward pass.
The calculation uses exact rational weights. Independent central differences in reviewer-authored scalar code, with step \(10^{-6}\), give \((-0.562500000134,\;0.562500000023)\), within \(1.35\times10^{-10}\) of the displayed formula. This is an analytical/finite-difference check, not an executed PyTorch, BF16, or CUDA test. The structural omission remains for any nonzero task derivative; rounding does not supply a missing autograd edge.
For upstream vector \(g=\partial L/\partial y\), an exact local backward must supply \[\frac{\partial L}{\partial p_e}=\langle g,E_e(x)\rangle\] and propagate it through weight condensation, index remapping, communication, dispatch, and the router. Removing a `no_grad` block alone is insufficient while custom backward functions still return `None`. This formula restores the missing analytical term and yields the displayed formula; no complete repaired distributed implementation was produced or run. Historical training/quality figures are not bound to the retrieved revision, so their quantitative effect remains Needs Evidence.

Case-wide limitations:
- P1 — Released training drops task-loss derivatives of routing weights — Counterevidence: Forward inference can remain correct; expert and direct activation gradients are implemented. Auxiliary router loss can flow through separate path; no claim router never gets any gradient. Freezing router parameters alone does not generally restore input-dependent gate derivative.
- P2 — Printed placement loop exceeds stated device capacity — Counterevidence: All265 released placement maps are balanced exact permutations with consistent local/global lists. Current source consumes precomputed maps; greedy generator not located. Source graph excludes diagonalselfpairs.
- P3 — Similarity-based pruning is not consistently superior — Counterevidence: Similaritywins manytasks, e.gQwenRTE75.45>69.68routing/71.12SFT; weakerstatement2-devicepruning canachievecomparablesuperiorquality has support. No statistical significance inference.
- Limitations: Static source inspection and reviewer-owned mathematical calculations; no author execution or GPU benchmarking.
- Limitations: No exact historical run/commit/hardware/checkpoint binding or seed-level quality/latency records.
- Limitations: No entire-repository/kernel-race/numerical-tolerance certification.
- Limitations: External OpenReview discovery unavailable in prepared manifest; embedded appendix read.
- Unresolved claim: Current source defect proven; originalrunbinding and corrected distributedtraining absent.
- Unresolved claim: Pairwise proxy counterexample(4,4,0,0)vs(6,1,1,0):CT2vs3,intra12vs15; no proofactualalgorithmselectsworse; Table1~20percentobservationssurvive.
- Unresolved claim: Squaringchangesnegativecosineranking; paperexplicitlychangescriterion; historicalprofilinggeneratorabsent and currentexampletransfersrankweights.
- Unresolved claim: Table1ratio24.50/9.22=2.657 whileprosemayuseratio-minus1; no slowdownclaim. Paperall1nodeA6000vsREADME16way2nodesA6000Ada; no unequalbaselinehardwareproof.
- Unresolved claim: Seedleveluncertainty/evaluationlogs andseveralexamplemodelmembers absent.
- Missing materials: Historical result-to-commit/config/hardware/checkpoint bindings
- Missing materials: Complete training/benchmark/profiling/placementgeneration drivers and rawlatency/seedlevelqualityrecords
- Missing materials: modeling_mixtral.py; modeling_olmoe.py; configuration_olmoe.py; modeling_qwen2_moe.py referencedbyreleasedconfigs
- Missing materials: Verified distributedgradientrepair and reruns
- Missing materials: External OpenReview supplement discovery
- Work not performed: author-code execution
- Work not performed: modeltraining
- Work not performed: GPUbenchmarks
- Work not performed: dataset/weightdownloads
- Work not performed: softwareinstallation
- Work not performed: humanreview
- Work not performed: post-batchacceptance
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
While restricting collaboration within 1 device may hamper the model performance, expanding the constraint to 2 devices can achieve comparable or superior quality than standard training.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 7
Source PDF SHA-256: 5b7cfdb82806707d080982b186caddf272159601c2b8bc85eab03ba326991f30

Review status: Independent review pending
Case: icml2025-0290-occult-optimizing-collaborative-communications-across-experts-for
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0290-occult-optimizing-collaborative-communications-across-experts-for.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0290-occult-optimizing-collaborative-communications-across-experts-for/records/icml2025-0290-occult-optimizing-collaborative-communications-across-experts-for.r1.json
Canonical record SHA-256: dfe8cd76fd69105d82c81cf37c9003057d19d9f3fd581bbddb216163382ebb52
The page follows the latest revision; the versioned record identifies this snapshot.