Saved in:
Bibliographic Details
Main Authors: Kong, Chaerin, Jang, Jiho, Kwak, Nojun
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.16333
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915564787597312
author Kong, Chaerin
Jang, Jiho
Kwak, Nojun
author_facet Kong, Chaerin
Jang, Jiho
Kwak, Nojun
contents Differential Transformer has recently gained significant attention for its impressive empirical performance, often attributed to its ability to perform noise canceled attention. However, precisely how differential attention achieves its empirical benefits remains poorly understood. Moreover, Differential Transformer architecture demands large-scale training from scratch, hindering utilization of open pretrained weights. In this work, we conduct an in-depth investigation of Differential Transformer, uncovering three key factors behind its success: (1) enhanced expressivity via negative attention, (2) reduced redundancy among attention heads, and (3) improved learning dynamics. Based on these findings, we propose DEX, a novel method to efficiently integrate the advantages of differential attention into pretrained language models. By reusing the softmax attention scores and adding a lightweight differential operation on the output value matrix, DEX effectively incorporates the key advantages of differential attention while remaining lightweight in both training and inference. Evaluations confirm that DEX substantially improves the pretrained LLMs across diverse benchmarks, achieving significant performance gains with minimal adaptation data (< 0.01%).
format Preprint
id arxiv_https___arxiv_org_abs_2505_16333
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding Differential Transformer Unchains Pretrained Self-Attentions
Kong, Chaerin
Jang, Jiho
Kwak, Nojun
Machine Learning
Differential Transformer has recently gained significant attention for its impressive empirical performance, often attributed to its ability to perform noise canceled attention. However, precisely how differential attention achieves its empirical benefits remains poorly understood. Moreover, Differential Transformer architecture demands large-scale training from scratch, hindering utilization of open pretrained weights. In this work, we conduct an in-depth investigation of Differential Transformer, uncovering three key factors behind its success: (1) enhanced expressivity via negative attention, (2) reduced redundancy among attention heads, and (3) improved learning dynamics. Based on these findings, we propose DEX, a novel method to efficiently integrate the advantages of differential attention into pretrained language models. By reusing the softmax attention scores and adding a lightweight differential operation on the output value matrix, DEX effectively incorporates the key advantages of differential attention while remaining lightweight in both training and inference. Evaluations confirm that DEX substantially improves the pretrained LLMs across diverse benchmarks, achieving significant performance gains with minimal adaptation data (< 0.01%).
title Understanding Differential Transformer Unchains Pretrained Self-Attentions
topic Machine Learning
url https://arxiv.org/abs/2505.16333