The Differential Transformer is a new architecture that aims to improve the performance of large language models by reducing the impact of irrelevant context on attention mechanisms. The approach uses a differential attention mechanism that calculates attention scores as the difference between two separate softmax attention maps, which helps to cancel out noise and promote sparse attention patterns. This leads to improved results in language modeling, long-context modeling, and other tasks. The Differential Transformer also shows promise in mitigating hallucination in question answering and text summarization.