potentialpaper

LUCID: Attention with Preconditioned Representations

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:48 UTC · 938f71a5c6e1 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,24 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "c6gGKynUx8"
- }
- ],
- "title": "LUCID: Attention with Preconditioned Representations",
- "authors": [
- "Sai Surya Duvvuri",
- "Nirmal Patel",
- "Nilesh Gupta",
- "Inderjit S Dhillon"
- ],
- "abstract": "Softmax-based dot-product attention is a cornerstone of Transformer architectures, enabling remarkable capabilities such as in-context learning. However, as context lengths increase, a fundamental limitation of the softmax function emerges: it tends to diffuse probability mass, assigning non-trivial weights to irrelevant tokens. This dilutes focus and degrades precision, especially in long-sequence scenarios. We introduce \\textit{LUCID Attention}, an architectural modification that applies a preconditioner to the attention probabilities. This preconditioner, derived from exponentiated key-key similarities, minimizes overlap between the keys in a Reproducing Kernel Hilbert Space, thus allowing the query to focus on important keys among large number of keys accurately. If a query $\\mathbf{q}$ is highly similar to a key $\\mathbf{k}$, LUCID outputs the corresponding value vector $\\mathbf{v}$ with minimal blending from other tokens. This mechanism enables significantly sharper and more precise attention distributions. LUCID is designed as a drop-in replacement for existing attention mechanisms, retaining the same asymptotic complexity. We validate our approach by training $\\sim$ 1 billion parameter language models, pre-trained on a 2K sequence length and then fine-tuned up to a 65K sequence length. Our results demonstrate improved next-token prediction loss and significant gains on long-context retrieval tasks. LUCID shows an average improvement of $\\sim$20\\% in single and multi-needle in a haystack benchmarks compared to standard attention.",
- "year": 2026,
- "venue": "ICLR 2026 submission",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "04038fe3-a18a-434d-8a96-77e8cce5b220"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,14 @@
+{
+ "title": "LUCID: Attention with Preconditioned Representations",
+ "authors": [
+ "Sai Surya Duvvuri",
+ "Nirmal Patel",
+ "Nilesh Gupta",
+ "Inderjit S Dhillon"
+ ],
+ "abstract": "Softmax-based dot-product attention is a cornerstone of Transformer architectures, enabling remarkable capabilities such as in-context learning. However, as context lengths increase, a fundamental limitation of the softmax function emerges: it tends to diffuse probability mass, assigning non-trivial weights to irrelevant tokens. This dilutes focus and degrades precision, especially in long-sequence scenarios. We introduce \\textit{LUCID Attention}, an architectural modification that applies a preconditioner to the attention probabilities. This preconditioner, derived from exponentiated key-key similarities, minimizes overlap between the keys in a Reproducing Kernel Hilbert Space, thus allowing the query to focus on important keys among large number of keys accurately. If a query $\\mathbf{q}$ is highly similar to a key $\\mathbf{k}$, LUCID outputs the corresponding value vector $\\mathbf{v}$ with minimal blending from other tokens. This mechanism enables significantly sharper and more precise attention distributions. LUCID is designed as a drop-in replacement for existing attention mechanisms, retaining the same asymptotic complexity. We validate our approach by training $\\sim$ 1 billion parameter language models, pre-trained on a 2K sequence length and then fine-tuned up to a 65K sequence length. Our results demonstrate improved next-token prediction loss and significant gains on long-context retrieval tasks. LUCID shows an average improvement of $\\sim$20\\% in single and multi-needle in a haystack benchmarks compared to standard attention.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}