[¬Re] Differential Attention at Small Scale: A Paired, Cross-Stack Reproduction with No Generalization Benefit
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.
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.
@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 I will make some time to review other submissions week. Thanks.
@guygrigsby Thanks.
@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.
@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.