A neat, verifiably exact TP–HC co-design whose loss gains and efficiency numbers reproduce from the paper's own tables, but the quality evidence rests on single-seed 1.1B runs, the accuracy gains are within evaluation noise, and §4.1 overstates the margin over mHC-TFA (0.4–1.7% claimed vs 0.4–0.7% in Table 1).
Soundness
3/4
Presentation
3/4
Contribution
3/4
Confidence
4/5
✓ 13 confirmed✕ 2 discrepancy◐ 1 inconclusive
Summary
The paper proposes TPHC, a variant of (manifold-constrained) Hyper-Connections in which the k tensor-parallel shards of each attention/FFN sublayer are kept separate instead of being summed by the TP all-reduce. Each shard ("group") reads its own mixture of the N residual streams (Hpre∈R) and each stream receives its own mixture of the shard outputs (), so the write-back can have rank rather than rank 1, at no extra parameters or FLOPs inside the sublayers. A sparse update writes only of streams per layer under a fixed schedule (2 fixed + sliding streams), and an identity-like initialisation ties group to stream .
The central observation, that the TP all-reduce already produces k partial outputs which mHC throws away by summing, is clean and well motivated. I ran the released GroupedLlamaAttention/GroupedLlamaMLP against HF LlamaAttention/LlamaMLP (incl. GQA): with a common input the summed group outputs equal the reference to 3.6×10−15 and parameter counts are identical (check 06), and the write is rank k vs rank 1 for mHC (check 12). The claim of no extra sublayer parameters/FLOPs holds.
Weaknesses
Single-seed evidence; accuracy gains are within evaluation noise
major · Abstract; §4.1, Table 1; §4.3, Table 3
Every configuration in Table 1 and Table 3 is a single run with no seeds or error bars. Using the standard lm-eval split sizes, the SE of a six-task average is ≈0.54 pp and of an unpaired difference ≈0.77 pp; the TPHC−mHC gains of +0.25/+0.50/+0.72 pp give z=0.33/0.65/0.93, and TPHC−mHC-TFA is −0.02/+0.27/+0.40 pp (check 03). The abstract's accuracy claim is therefore not shown to exceed noise; the loss gains carry the paper. Several ablation effects are 0.001–0.006 in loss (check 13) and are equally untested against run-to-run variance. Fix: at least 2–3 seeds for the N=4/8 main and ablation runs, and paired bootstrap tests on per-item harness outputs.
§4.1 overstates the margin over mHC-TFA and the cross-N comparisons
major · §4.1 para 2; Table 1; §5 Conclusion
§4.1 states TPHC is "0.4–1.7% below mHC-TFA" in loss; Table 1 gives 0.41% (N=4), 0.73% (N=8), 0.71% (N=16), i.e. 0.4–0.7% (check 01, discrepancy, tolerance 0.1 pp) — the 1.7% upper bound has no support. "TPHC4 matches mHC-TFA16" holds only for loss (val 2.0838 vs 2.0835); its average accuracy is 48.9 vs 49.3. "TPHC8 outperforms both 16-stream baselines" holds for loss but ties mHC-TFA16 on accuracy (49.3 vs 49.3; unrounded 49.27 vs 49.32) (check 02). Since mHC-TFA is the strongest baseline, these statements matter for the headline. Fix: correct the range and qualify the cross-N claims as loss-only.
Baselines are not compute- or parameter-matched, and xHC itself is missing
major · §4.1; Table 1; Table 2; §2 (xHC)
TPHC4 has twice the mapping parameters of mHC4 (384C vs 192C per layer; check 07/08) and costs 7–8% more training time on one GPU and 19–27% more at 1.1B under TP (Table 2, check 05), yet comparisons are at matched and token count only. The closest prior method, xHC (router + sparse update + TFA), is represented only by an mHC-TFA proxy, and TPHC+TFA is not tried although the two are complementary by the paper's own framing. Fix: add a wall-clock- or FLOP-matched comparison (e.g. mHC trained for 7–9% more tokens) and an xHC or TPHC+TFA row.
Questions for the authors
What is the seed-to-seed standard deviation of final validation loss for mHC4 and TPHC4 at 1.1B (or at least on MiniPile)? Are the 0.001–0.006 ablation effects larger than it?
How does TPHC4 compare to mHC4 when both receive the same wall-clock or FLOP budget (i.e. mHC trained for ~7–9% more tokens)?
Is the "0.4–1.7%" range in §4.1 a typo for 0.4–0.7%, or is it computed from a different quantity than the Table 1 losses?
Do the gains persist when k is decoupled from the TP degree (e.g. k=8 groups on 4 GPUs) or when each group holds several KV heads, as would be the case at 8B?
Were the ablation losses in Table 3 taken from the final step or from the best checkpoint (run_clm.sh sets load_best_model_at_end), and with LR 3e-4 or 4e-4?
Have you tried combining TPHC with TFA or with an xHC-style learned router, and does it compose additively?
Verification
16 checks were run with scripts in work/verify/: 13 confirmed, 2 discrepancies, 1 inconclusive. All arithmetic behind the headline numbers reproduces: loss reductions vs mHC (0.70–1.04%), Table 1 averages and bolding, Fig. 3 and Fig. 5 data against tables and text, all 28 efficiency percentages, the FLOP/parameter/communication formulas and Tables 4–5, the update schedule and Fig. 6, and 13 ablation differences. The released model code was run on CPU with tiny configs: the group decomposition is exact, parameter counts match the formulas, writes have rank k, and the sparse scatter leaves inactive streams untouched. Discrepancies: §4.1's 0.4–1.7% margin over mHC-TFA is 0.4–0.7% in Table 1, and the '8B Llama-3.1' model and ablation LR differ from the released configs/launcher. The accuracy gains could not be shown to exceed evaluation noise (inconclusive). No training run or GPU benchmark was re-executed, so the Table 1/2 values themselves are taken as reported.
zhang2026xhc — xHC: Expanded Hyper-Connections (cited as NeurIPS 2026)
Exists as arXiv 2607.14530 and is cited for content it supports, but the bib author list is wrong: 11 authors vs 13 on arXiv (missing Sunan Zou, Lin Yao, Yuliang Liu; includes 'Yu Wang', who is not an author). arXiv labels it a technical report. The NeurIPS 2026 venue could not be verified; the bib comment says the NeurIPS page text was user-supplied, not retrieved. No arXiv ID is given.
Exists as arXiv 2512.24880 (v2). The bib lists 'Mingyu Xu' as an author, but arXiv has 'Jiang Chang' in that position (20 authors in both). The ICML 2026 / PMLR 306 proceedings venue and the page range could not be verified, and the arXiv ID is not given. The bib key says 2025 but the year field says 2026.
Not auto-resolved by check_refs.py (no arXiv ID or DOI; Crossref fuzzy matches are unrelated works). These are well-known software/dataset resources and are cited appropriately. Low concern, metadata only.
Suggestions
Report 2–3 seeds (at least for N=4 and N=8 in Table 1 and for the Table 3 ablations) and paired significance tests on per-item benchmark outputs; release the harness JSONs.
Correct the §4.1 range to 0.4–0.7% vs mHC-TFA and qualify "TPHC4 matches mHC-TFA16" / "TPHC8 outperforms both 16-stream baselines" as loss-only statements.
Add a compute- or wall-clock-matched comparison against mHC4 and a parameter-matched mHC variant, given TPHC4's 2× mapping parameters and 7–27% time overhead.
Include an xHC baseline (router + sparse update) or TPHC+TFA to position TPHC against its closest prior work.
Train at least one larger model (e.g. 3B or the 8B-shaped backbone for a short budget) to test whether gains hold when each group has several KV heads.
Benchmark efficiency at more than one batch size and on a second GPU type, and report variance across timing repetitions.
Align Eq. 13 with get_update_groups for general k, fix the LR in run_clm.sh (or Table 7), state acc vs acc_norm, and ship the harness task overrides.
Rename the 8B model as a Llama-3.1-8B-shaped backbone with the Llama-2 tokenizer, and state that Table 4's ΔP includes embeddings and LM head.
Show the data behind the >10× stream-norm growth and the near-identity Hres claims, and compare write-mixture similarity on FFN sublayers only.
Fix the xHC and mHC bibliography entries (author lists, arXiv IDs, verifiable venues).
Ethics and integrity
No ethical or integrity concerns found. Data (SlimPajama, MiniPile) and benchmarks are public. The LaTeX bibliography contains internal comments (e.g. 'REVIEW NOTE', 'page text was user-supplied'); these are metadata notes, not instructions, and had no effect on this review.
Scope of this review
No GPU was available, so neither the 100B-token training runs, the MiniPile ablations, nor the H20 TP benchmarks could be re-executed; Table 1–3 values are taken as reported and only their internal consistency and derived claims were checked. No checkpoints, SlimPajama training logs or lm-eval output files are released, so accuracies and per-item paired tests could not be checked. The released model code was run on CPU with tiny configurations only.
On a TinyLlama-1.1B backbone trained for 100B SlimPajama tokens (one run per configuration), TPHC has the lowest train/validation loss at N∈{4,8,16} (0.7–1.0% below mHC) and +0.3–0.7 pp average zero-shot accuracy. A stream-sharded TP implementation is benchmarked on H20 GPUs at 1.1B and an 8B Llama-3.1-shaped model: +9% training time vs mHC4 at 8B, and +19% when going from 4 to 16 streams (vs +59% with replicated streams). MiniPile ablations and a stream-similarity analysis support the design choices and the diversity mechanism.
Genuine systems co-design with verifiable accounting
§3.4; Table 2; Appendix C, Table 5
Unlike most HC variants, the paper works out collective volumes for replicated and sharded streams and shows that TPHC's sharded communication is 3kC/2=6C independent of N, versus 3(N+2)C/4 for mHC. All §3.4 and Table 5 formulas and memory-traffic totals reproduce symbolically (check 10), and all 28 efficiency percentages quoted in the abstract/§1/§4.2, including the 'two exceptions' statement, reproduce from Table 2 (check 05).
Consistent loss improvements, stable across training
Table 1; Fig. 3; §4.1
TPHC has the lowest train and validation loss at every N, 0.70–1.04% below mHC (check 01). The inline TikZ data of Fig. 3 match Table 1 to 10−4, and the TPHC–mHC gap appears within the first 10% of training and persists (e.g. N=8: −0.0226 at 10%, −0.0218 at the end; check 04), which is more convincing than a single end-point. TPHC also keeps improving from 8 to 16 streams while mHC does not (Table 3, check 13).
Careful cost analysis and a cheap sparse update
§3.2, Eq. 13; Appendix B–C; Table 4; Fig. 6
The FLOP and parameter formulas (6(kN2+2k3)C = 6912C vs 27648C at N=16; (2kN2+4k3)C per layer) are correct, Table 4 reproduces within rounding (e.g. ΔP 9.438% vs 9.4% for TPHC16, 37.750% vs 37.7% for mHC16; check 07), the released code instantiates exactly these parameter counts (check 08), and Eq. 13, the code and every cell of Fig. 6 agree for the k=4 settings used (check 09). Replacing xHC's router with a fixed schedule is a pragmatic simplification.
Mechanistic analysis supports the motivation
§4.3–4.4; Table 3; Fig. 5
Fig. 5 measures stream collinearity and write-mixture similarity; the quoted values reproduce from the plotted data (mHC4 last-layer cosine 0.9848, TPHC4 0.9173, mHC-TFA4 0.9662; check 14). Together with the read/write/init ablation (Table 3, all 13 quoted differences reproduce; check 13), this gives a coherent story for why grouped writes help at larger N.
Reusable artefacts
Code repo (commit f01dddf); figures/*.tex
The released code runs: tiny TPHC (N=4,16), mHC4 and mHC-TFA4 models train forward/backward on CPU with finite losses and gradients, and the sparse scatter leaves inactive streams bit-identical (check 12). Plotted data are embedded in the LaTeX source, which made figure-level cross-checks possible.
N
Quality evaluated at one small scale only
major · §4 setup; §5 Limitations; Table 6
All quality results are at 1.1B/100B tokens (main) or 1.7B MiniPile tokens (ablation); the 8B model is used only for latency. Because k is tied to the TP degree, at 1.1B each group holds a single KV head; whether the gains survive at the scales where TP is actually needed is the key open question. The Limitations section acknowledges scale and MoE but not the coupling of k to TP degree and to nkv divisibility.
"Llama-3.1-8B" efficiency model is not the public configuration
minor · §4.2 para 1; Table 6; configs/llama8b*.json
The released 8B configs use vocab 32,000, default rope_theta 10,000 and max_pos 2048, whereas Llama-3.1-8B has 128,256 / 500,000 / 131,072 (check 15). Table 6 does list vocab 32,000, so this is a labelling issue; a larger vocabulary would if anything dilute the relative overheads. Call it a Llama-3.1-8B-shaped backbone.
Efficiency measured in a narrow regime without variance
minor · §4.2; Table 2; code tp_bench.py
Table 2 latencies are single medians (30 steps after 5 warm-up, tp_bench.py) at batch 1 × 2048 tokens on H20 GPUs, which have unusually high bandwidth relative to compute. Overheads of memory-bound mapping kernels can differ substantially at larger batch or on other GPUs/interconnects. Report spread and at least one more batch size or GPU type.
Reproducibility details inconsistent with the released code
minor · Appendix E, Table 7; Eq. 13; code run_clm.sh, get_update_groups, run_harness.py
run_clm.sh uses --learning_rate 3e-4 while Table 7 states max LR 4e-4 for the ablations, and it sets --load_best_model_at_end on eval_loss, so the reported "final" ablation losses may be best checkpoints (check 15). Eq. 13 describes the code only for k=4, N∈{8,16}: the code uses max(2k−N,k/2) fixed streams, e.g. 3 for k=6 (check 09). It is not stated whether acc or acc_norm is reported, and the harness/tasks directory referenced by run_harness.py is not shipped. No checkpoints or SlimPajama logs are released.
"Nearly one-hot" read initialisation weakens with N
minor · §3.3 para 2; Appendix A
Entry-wise the ±3 biases give 0.953/0.047 (check 11), but off-target entries are not normalised, so the share of read mass on the assigned stream is 87.0% (N=4), 74.2% (N=8) and only 57.2% (N=16), and the read gain on identical streams grows 1.10→1.66. This may explain why the disjoint-read effect vanishes at N=16 in Table 3. Describe the initialisation accurately or scale the bias with N.
Diversity analysis partly unsupported and not like-for-like
minor · §4.4; Fig. 5
The write-mixture similarity of 0.79 for mHC-TFA4 is an FFN-only mean, while TPHC4's 0.40 is averaged over all 44 sublayers; the FFN-only value is 0.342 (check 14) — the conclusion is unchanged but the comparison should be like-for-like. Statements that stream norms grow by >10× and that Hres stays close to identity are not backed by any shown data, and the causal link (shared write ⇒ collapse ⇒ worse loss) remains correlational.
Small textual inconsistencies
minor · §3.3; §4.1 para 3; Table 4 caption
§3.3 says the identity write "lowers the final training loss" but Table 3 reports validation loss, and at N=4 the identity write is slightly worse (+0.0004). §4.1 calls the Fig. 3 gap "nearly constant", but at N=16 it narrows by ~11% (−0.0221→−0.0196; check 04). ΔP in Table 4 is relative to all parameters including embeddings and LM head (relative to layer weights mHC16 would be 42.9%), which the caption leaves implicit.
Bibliographic errors in key citations
minor · References (custom.bib: zhang2026xhc, xie2025mhc)
The xHC entry lists 11 authors vs 13 on arXiv 2607.14530 (missing three, adds one non-author) and gives a NeurIPS 2026 venue that could not be verified; the mHC entry lists 'Mingyu Xu' where arXiv 2512.24880 has 'Jiang Chang', and its ICML 2026/PMLR venue could not be verified. Neither gives an arXiv ID (check 16).
All four Table 5 TP formulas and the §3.4 numbers (1.5C, 3C, 4.5C, 13.5C, 6C) reproduced; ratios 2 and 4/3=1.333. Memory-traffic sums: N=16 mHC 81C+49C=130C, TPHC 56C+20C=76C; N=8 66C/60C; N=4 34C/44C (no gather) — all as printed. These are analytical counts; they were not compared to profiled traffic.
sympy with ring-collective volumes (all-reduce 2(t−1)/t, reduce-scatter/all-gather (t−1)/t of the full tensor); summed Table 5 R/W rows keeping O(C) terms
With ±3 biases, row j of H_pre is nearly one-hot at s_j, and H_post, H_res are close to the identity at initialization
Entry-wise the claim holds: H_pre on-target 0.953, off-target 0.047 each; H_post diag 0.953 / off 0.047; H_res=SK(exp(B)) diag 0.993 / off 0.0025. Caveat: because off-target entries are not normalised, the off-target read mass grows with N — share of read mass on s_j is 87.0% (N=4), 74.2% (N=8), 57.2% (N=16), and the read gain on identical streams is 1.10/1.29/1.66. 'Nearly one-hot' is thus generous at N=16, where the disjoint-read effect (Table 3) is also zero.
Instantiated the released mapping modules for N∈{4,8,16}, k=4 (weights zero at init, so gates = f(bias)); measured entries, row mass and Sinkhorn output
HC/mHC write H_post·o is rank one while the TPHC write H_post·O can have rank k; the sparse update leaves inactive streams unchanged (Eq. 12); released code runs
mHC write rank 1, TPHC write rank 4 (=k). Layer 1 active streams [0,1,4,5]; the 12 inactive rows are bit-identical to the input, all 4 active rows change. All four tiny models run forward and backward with finite loss (≈ln V at init) and gradients.
Matrix ranks of random writes; ran one released decoder layer (N=16, k=4, random mapping weights, α=1) and compared inactive stream rows; forward+backward of tiny TPHC (N=4,16), mHC4 and mHC-TFA4 models on CPU
Ablation differences quoted in §4.3 (−0.005/+0.004/−0.008; −0.006 & unchanged; <0.001, −0.004, −0.011; within 0.002; final −0.005/−0.008/−0.018; TPHC improves 8→16, mHC does not)
All 13 differences reproduce (e.g. (c)−(b) N=16 −0.0108 vs −0.011; (d)−mHC N=16 −0.0181 vs −0.018). TPHC 8→16 −0.0095; mHC 8→16 +0.0010. Context: all effects are single-seed and between 0.0001 and 0.0186 in loss; at N=4 the identity write is +0.0004 (slightly worse), and grouped read/write alone (a) hurts at N=8 (+0.004). Without seed variance, the ≤0.006 effects cannot be distinguished from run-to-run noise.
Recomputed all 13 quoted differences from Table 3 (rounded to 3 decimals) and the 8→16 trends
Stream diversity: mHC4 last-layer cosine 0.985; TPHC4 lowest throughout the second half, ending at 0.917 vs 0.966 for mHC-TFA4; write-mixture similarity 0.79 (mHC-TFA4 FFN) vs 0.40 (TPHC4)
Last sublayer: mHC4 0.9848, TPHC4 0.9173, mHC-TFA4 0.9662 (tolerance 0.005). TPHC4 is lowest at all sublayers 23–44. mHC-TFA4 FFN mean 0.7926 (claimed 0.79); TPHC4 mean over all 44 sublayers 0.4033 (claimed 0.40) — on FFN sublayers only, the like-for-like comparison, TPHC4 is 0.342. The accompanying statements that stream norms grow >10× and H_res stays near identity are not backed by shown data (not checkable).
Parsed the six 44-point TikZ series and recomputed the quoted values
Released configs match Tables 6–7; the 8B efficiency model is Llama-3.1-8B; ablations use max LR 4e-4, warmup 1.5%, 64K-token batch
All six configs match Table 6 architecture fields (L, C, D, heads, vocab). However the '8B' model is not the public Llama-3.1-8B configuration: vocab 32000 (vs 128256), rope_theta default 10000 (vs 500000), max_pos 2048 (vs 131072) — a Llama-3.1-8B-shaped backbone with the Llama-2 tokenizer (Table 6 does list vocab 32,000, so this is a labelling issue; a larger vocab would slightly dilute the relative overheads). The released ablation launcher run_clm.sh uses --learning_rate 3e-4, while Table 7 states max LR 4e-4 for the MiniPile ablations; warmup 1.5% and 64K tokens/step (4×2048×8 GPUs) match. run_clm.sh also sets --load_best_model_at_end with eval_loss, so the reported 'final' loss may be the best checkpoint.
Loaded all six released configs and run_clm.sh; compared fields to Tables 6–7 and to the public Llama-3.1-8B config (vocab 128256, rope_theta 500000, max_pos 131072)
Cited references exist and are the works cited (load-bearing: mHC, xHC, mHC-lite, stream-collapse, DeepSeek-V4/V4.1, Attention Residuals)
All 36 references exist. 27 arXiv-ID entries resolve with matching titles. mHC (2512.24880), xHC (2607.14530), mHC-lite (2601.05732) and stream-collapse (2606.03483) were found by title search; Sinkhorn 1967, Transformers (EMNLP demos), PyTorch 2, SlimPajama and lm-eval-harness are standard resources. Crossref fuzzy mismatches for the arXiv-only papers are tool noise. Content spot-checks support the citing sentences: DeepSeek-V4 adopts mHC; V4.1-Flash uses 'Single-Pass mHC'; xHC describes the sparse k-of-N write-back bottleneck. Minor bibliographic errors: the xHC author list has 11 names vs 13 on arXiv (missing Sunan Zou, Lin Yao, Yuliang Liu; adds 'Yu Wang'), and it is cited as NeurIPS 2026 although arXiv labels it a technical report. The mHC entry lists 'Mingyu Xu' where arXiv has 'Jiang Chang', and its ICML 2026/PMLR 306 venue could not be verified. Details are in work/ref_issues.json.
Ran tools/check_refs.py (work/refs_checked.json, 36 refs); for the 9 entries without an arXiv ID, ran an arXiv title search and compared author lists with custom.bib; manually read the DeepSeek-V4 abstract and the V4.1-Flash HTML for the mHC-adoption claims
TPHC has the lowest train and val loss at every N, 0.7–1.0% below mHC and 0.4–1.7% below mHC-TFA on both
'Lowest at every N' and 0.7–1.0% vs mHC confirmed (obtained 0.70–1.04%). Versus mHC-TFA the obtained range is 0.41–0.73% (N=4: 0.41%, N=8: 0.73%, N=16: 0.71%), not 0.4–1.7% as stated; the upper bound 1.7% is not supported by Table 1 (likely typo for 0.7%). Tolerance: rounding to 0.1 pp.
Recomputed relative loss reductions (base−TPHC)/base from Table 1 for N=4,8,16, train and val
Avg accuracy improves over mHC by 0.3–0.7 pp at matched N; TPHC4 matches mHC-TFA16; TPHC8 outperforms both 16-stream baselines; Avg column and bold markings correct
All 10 Avg values reproduce within rounding (max |diff| 0.05); bolding correct in all 27 per-N column groups. TPHC−mHC Avg: +0.3/+0.5/+0.7 pp from rounded table (unrounded six-task means: +0.25/+0.50/+0.72). Nuances: TPHC4 'matches' mHC-TFA16 only on loss (val 2.0838 vs 2.0835) — its Avg accuracy is 48.9 vs 49.3; TPHC8 beats both 16-stream baselines on loss (2.0706 vs 2.0885/2.0835) but ties mHC-TFA16 on Avg (49.3 vs 49.3; unrounded 49.27 vs 49.32).
Recomputed Avg as mean of six task columns, TPHC−mHC Avg differences, per-N best-value bolding, cross-N comparisons
The 0.3–0.7 pp average zero-shot accuracy gains over mHC (single run per model, no error bars) are meaningful improvements
SE of a six-task average ≈0.54 pp per model; unpaired SE of a difference ≈0.77 pp. TPHC−mHC: +0.25/+0.50/+0.72 pp → z=0.33/0.65/0.93 (p=0.74/0.51/0.35). TPHC−mHC-TFA: −0.02/+0.27/+0.40 pp (z≤0.52). Only HellaSwag at N=8/16 (+1.8/+1.4 pp, z=2.6/2.0) stands out. A paired test (lower SE) would need per-item harness outputs, which are not released; seed variance is not reported. The accuracy gains are therefore not shown to exceed evaluation noise; the loss gains carry the claim.
Binomial SEs from standard lm-eval split sizes (HS 10042, OBQA 500, WG 1267, ARC-c 1172, ARC-e 2376, PIQA 1838) at the reported accuracies; SE of six-task mean; unpaired z for TPHC−baseline
Figure 3 curves are consistent with Table 1, and the TPHC–mHC gap emerges within the first tenth of training and stays nearly constant
All 9 final points match Table 1 deltas within 1e-4 (tolerance 1e-3). TPHC−mHC gap at 10% of training vs final: N=4 −0.0161 vs −0.0147, N=8 −0.0226 vs −0.0218, N=16 −0.0221 vs −0.0196; after 10% the gap stays within [−0.0163,−0.0147], [−0.0228,−0.0216], [−0.0224,−0.0196]. The N=16 gap shrinks by ~11% over the run (slowly narrowing rather than strictly constant), but the claim holds qualitatively.
Parsed the 9 inline TikZ series (195 points each, 2.05k–50.55k steps); compared final points with Table 1 train loss − Llama (2.1167); TPHC−mHC gap across training
Efficiency percentages in abstract/§1/§4.2 (4–7%, 7–8%, 6/9/5%, 15/14/10/4%, 47/36%, 19→27%, 27/30, 21/28, 56/62%, 12/19/26% vs 39/59/114%) and 'two exceptions'
All 28 percentages reproduce after rounding (e.g. 8B sharded TPHC4 vs mHC4: prefill 5.52%→6, train 8.63%→9, memory 5.18%→5; TPHC4→16 train sharded 18.79%→19 vs replicated 58.77%→59). Exactly two pairs where sharding does not reduce cost: mHC4 1.1B prefill memory 0.91→0.94 GiB and TPHC4 1.1B train time 185.8→193.3 ms, as stated. Arithmetic only — latencies are single medians with no variance reported.
Recomputed all 28 quoted ratios from Table 2 values and rounded to integer percent; enumerated all 32 replicated→sharded pairs
Splitting attention/FFN into k groups adds no parameters/FLOPs, and with a common input Σ_j F_{l,j}(u) = F(u) (the TP all-reduce)
max |Σ_j o_j − reference| = 3.6e-15 (attention) / 3.6e-15 (MLP) across configs (tolerance 1e-10); parameter counts identical (e.g. 12288 vs 12288 attention, 33792 vs 33792 MLP).
Ran the released GroupedLlamaAttention/GroupedLlamaMLP on CPU (float64, transformers 4.57.6) with weights copied from HF LlamaAttention/LlamaMLP, three tiny configs incl. GQA; same input to every group; compared summed outputs and parameter counts
Mapping cost: full update 6(2kN²+N³)C, sparse 6(kN²+2k³)C = 6912C at N=16,k=4 vs 27648C (mHC); params/layer (4N²+2N³)C and (2kN²+4k³)C; Table 4 values
All four symbolic formulas verified; 6912C and 27648C reproduced. Table 4 P/layer multipliers 192/384/1280/768/9216/2304 C exact; ΔP obtained 0.786/1.573/5.243/3.146/37.750/9.438% vs claimed 0.8/1.6/5.2/3.1/37.7/9.4%; ΔF 0.77/1.54/5.12/3.07/36.85/9.21% vs 0.8/1.5/5.1/3.1/36.9/9.2% (tolerance 0.06 pp). ΔP is relative to all parameters incl. embeddings and LM head (relative to layer weights alone mHC16 would be 42.9%), which the caption ('1.1B backbone') leaves implicit. Note TPHC4 has 2× the mapping parameters of mHC4 (384C vs 192C).
sympy derivation from mapping shapes; numeric evaluation at C=2048, L=22; backbone params (incl. embedding and untied LM head, 1.0999956B) and FLOPs (6·linear + 6·S·n_h·d_h·L + 6VC)
Released code implements mappings with the claimed parameter counts and shapes (TPHC (2kN²+4k³)C, mHC (4N²+2N³)C per layer; H_pre k×N, H_post/H_res k×k under sparse update)
TPHC code 24576/49152/147456 = formula; mHC 12288/81920/589824 = formula; gate shapes (4,N),(4,4),(4,4). Side note: mHC-TFA4 mapping weights are 240C per layer (vs 192C for mHC4) plus small TFA conv params; Table 4 does not list mHC-TFA.
Instantiated released TPHC and mHC decoder layers (C=64, k=4, N∈{4,8,16}) and counted mapping weight elements; inspected gate shapes
Fixed schedule Eq. 13 (2 fixed + r=k−2 sliding streams); period 3 blocks (N=8) / 7 blocks (N=16); for N=16, L=22 fixed streams written in 22 layers, sliding in 3–4; Figure 6 shows this schedule
For the k=4, N∈{8,16} settings used in the paper, Eq. 13, the code and all 9×8 + 14×16 cells of Figure 6 agree (stream and writing group). Periods 3 and 7; N=16/L=22 write counts: streams 0,1 → 22; streams 2–3 → 4; streams 4–15 → 3. Caveat: Eq. 13 does not describe the code in general — the code uses max(2k−N, k/2) fixed streams, so it differs from Eq. 13 for k=4,N=5 and for every N>k when k∈{2,6,8} (e.g. 3 fixed streams for k=6). This only matters for reproducing other k.
Implemented Eq. 13; compared with code get_update_groups for k∈{2,4,6,8}, N≤32, 40 layers; computed periods and write counts; parsed every cell of schedule.tex