paper-with-me

홈 › Papers

Causal Attention with Lookahead Keys

2025-09-09 · Zhuoqing Song, Peng Sun, Huizhuo Yuan, Quanquan Gu arxiv

In standard causal attention, each token's query, key, and value (QKV) are static and encode only preceding context. We introduce CAuSal aTtention with Lookahead kEys (CASTLE), an attention mechanism that continually updates each token's keys as the context unfolds. We term these updated keys lookahead keys because they belong to earlier positions yet integrate information from tokens that appear later relative to those positions, while strictly preserving the autoregressive property. Although the mechanism appears sequential, we derive a mathematical equivalence that avoids explicitly materializing lookahead keys at each position and enables efficient parallel training. On language modeling benchmarks, CASTLE consistently outperforms standard causal attention across model scales, reducing validation perplexity and improving performance on a range of downstream tasks.

📄 PDF Abstract BibTeX arXiv:2509.07301

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Streaming Transformer Transducer Based Speech Recognition Using Non-Causal Convolution

2021-10-07 · Yangyang Shi, Chunyang Wu, Dilin Wang, Alex Xiao 외

This paper improves the streaming transformer transducer for speech recognition by using non-causal convolution. Many works apply the causal convolution to improve streaming transformer ignoring the lookahead context. We…

speech-recognitionSpeech Recognition

Streaming T5-based Text-to-Speech Synthesis with Limited Lookahead

2026-06-20 · Muyang Du, Jason Roche, Junjie Lai arxiv

Streaming text-to-speech synthesis in cascaded LLM-TTS systems still faces latency challenges as most TTS models require full context before initiating generation. We present S5-TTS, a streaming variant of T5-TTS that en…

Text-To-Speech Synthesis

Frontal effective connectivity increases with task demands and time on task: a Dynamic Causal Model of electrocorticogram in macaque monkeys

2022-02-21 · Katharina Wegner, Charles R. E. Wilson, Emmanuel Procyk, Karl J. Friston 외

We apply Dynamic Causal Models to electrocorticogram recordings from two macaque monkeys performing a problem-solving task that engages working memory, and induces time-on-task effects. We thus provide a computational ac…

LiveBand: Live Accompaniment Generation in the Audio Domain

2026-06-02 · Marco Pasini, Javier Nistal, Ben Hayes, Mathias Rose Bjare 외 arxiv

We present LiveBand, a real-time system that generates high-fidelity music accompaniments to live audio input, respecting strict causal constraints. Our method trains a causal transformer generator in the continuous late…

Lookahead When It Matters: Adaptive Non-causal Transformers for Streaming Neural Transducers

2023-05-07 · Grant P. Strimel, Yi Xie, Brian King, Martin Radfar 외

Streaming speech recognition architectures are employed for low-latency, real-time applications. Such architectures are often characterized by their causality. Causal architectures emit tokens at each frame, relying only…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition