Skip to content

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

Open

Description

@guygrigsby

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.

Activity

  1. rougier commented on Aug 10, 2026

    @rougier
    Member

    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.

  2. rougier commented on Aug 10, 2026

    @rougier
    Member

    @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).

  3. guygrigsby commented on Aug 18, 2026

    @guygrigsby
    Author

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

  4. rougier commented on Aug 26, 2026

    @rougier
    Member

    @guygrigsby Thanks.

  5. self-assigned this
    on Aug 26, 2026
  6. j45856021-dev commented on Nov 5, 2026

    @j45856021-dev

    @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.

  7. electron-rare commented on Nov 6, 2026

    @electron-rare

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions