submissions icon indicating copy to clipboard operation
submissions copied to clipboard

[¬Re] Differential Attention at Small Scale: A Paired, Cross-Stack Reproduction with No Generalization Benefit

Open guygrigsby opened this issue 4 months ago • 6 comments

Original article: Tianzhu Ye, Li Dong, Yuqing Xia, Yutao Sun, Yi Zhu, Gao Huang, Furu Wei. Differential Transformer. ICLR 2025. https://arxiv.org/abs/2410.05258

PDF URL: https://github.com/guygrigsby/diff-mlx/blob/main/docs/paper/rescience/article.pdf Metadata URL: https://github.com/guygrigsby/diff-mlx/blob/main/docs/paper/rescience/metadata.yaml Code URL: https://github.com/guygrigsby/diff-mlx

Scientific domain: Machine Learning Programming language: Python Suggested editor: No preference


Independent reimplementation of differential attention in MLX on Apple Silicon with custom Metal kernels, verified against the official PyTorch reference at 1e-7 and replicated cross-stack in PyTorch on NVIDIA CUDA. Paired byte-identical initialization throughout. A four-seed band shows the small-scale paired delta is seed noise, the 162M/2.0B run shows a train-loss win with a held-out loss and the positional profile shows no long-context advantage. Scale sits three orders of magnitude below the original, so the negative is bounded to the small-scale regime and the article says so.

Evidence dataset: https://doi.org/10.5281/zenodo.21570478. Title carries [¬Re] with the scale qualifier doing the bounding. Open to editorial guidance on the prefix given the partial, reduced-scale nature of the replication.

guygrigsby avatar Jul 25 '26 19:07 guygrigsby

Thank you for your submission. An editor will be assigned soon.

Since we're are a bit overwhelmed by submissions, can you, you and your co-authors review other submissions? You'll find the list here. Just say you can review in the relevant issue.

rougier avatar Aug 10 '26 09:08 rougier

@ReScience/editors Can someone handle this submission? For finding reviewers, you can ask people having submitted recently. Just make sure to avoid reciprocal review (A reviews B and B reviews A).

rougier avatar Aug 10 '26 09:08 rougier

@rougier I will make some time to review other submissions week. Thanks.

guygrigsby avatar Aug 18 '26 20:08 guygrigsby

@guygrigsby Thanks.

rougier avatar Aug 26 '26 10:08 rougier

@rougier If this still needs a second reviewer, I'd be glad to review it. I work on distributed systems and ML systems (LLM post-training and serving), and I can run the MLX path on Apple Silicon and check it against the PyTorch reference and the paired-seed analysis. I have no conflicts of interest with the authors. This would be my first ReScience review.

j45856021-dev avatar Nov 05 '26 23:11 j45856021-dev

@rougier If a second reviewer is still needed I can take this one (one of the two reviews requested for ReScience/submissions#147). Background: LLM fine-tuning and inference on Apple MLX, reproducibility.

electron-rare avatar Nov 06 '26 16:11 electron-rare