potentialpaper

IGAL: Importance-Guided Attention Linearization of Large Language Models

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:15 UTC · 6cde0a3adb0d ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "KSvQCjYfyJ"
- }
- ],
- "title": "IGAL: Importance-Guided Attention Linearization of Large Language Models",
- "authors": [],
- "abstract": "The quadratic cost of self-attention makes long-context processing expensive for pretrained Transformers.\nConverting self-attention to more efficient alternatives, such as sliding-window attention (SWA) and linear attention (LA), reduces this cost but can degrade accuracy, particularly on tasks requiring long-range retrieval.\nAttention heads exhibit substantial functional heterogeneity, with different heads specializing in local interactions and long-range retrieval.\nExisting conversion methods typically approximate each pretrained attention head with a combination of LA and SWA, relying on head-specific mixing weights and/or branch parameters to adapt this hybrid form to different functional roles.\nIn contrast, we leverage pretrained head specialization to directly determine the attention operator assigned to each head.\nSpecifically, we propose Importance-Guided Attention Linearization (IGAL), which repurposes existing head-importance scores—previously used to \nallocate larger KV-cache budgets—to guide heterogeneous attention conversion.\nIGAL converts a small subset of high-scoring heads to LA for long-range modeling, while converting the remaining heads to SWA for local interactions.\nWe further find that the optimal proportion of LA heads differs between short- and long-context tasks. To accommodate both regimes within a single checkpoint, we introduce IGAL-R, which sets the LA budget using the prompt length and learns which heads receive it with a lightweight prompt-level router, fine-tuned on a mixture of general-language and retrieval data.\nUnder task-specific fine-tuning on Llama 3.1 and Qwen3, IGAL improves general-language and long-context retrieval performance over the existing state-of-the-art linearization methods.\nOn Llama-3.1-8B, assigning only $6.25\\%$ of GQA groups to LA achieves $89.3\\%$ needle-in-a-haystack retrieval accuracy at 32K after 1K-length data fine-tuning, with a $292\\times$ smaller decoding cache than full attention.\nUnder matched mixed-data fine-tuning, IGAL-R raises 16--32K retrieval accuracy from $21.7\\%$ to $78.3\\%$ over static IGAL, with comparable general-language performance.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "8d48987d-c559-431c-b030-5a65f5ee2343"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "IGAL: Importance-Guided Attention Linearization of Large Language Models",
+ "authors": [],
+ "abstract": "The quadratic cost of self-attention makes long-context processing expensive for pretrained Transformers.\nConverting self-attention to more efficient alternatives, such as sliding-window attention (SWA) and linear attention (LA), reduces this cost but can degrade accuracy, particularly on tasks requiring long-range retrieval.\nAttention heads exhibit substantial functional heterogeneity, with different heads specializing in local interactions and long-range retrieval.\nExisting conversion methods typically approximate each pretrained attention head with a combination of LA and SWA, relying on head-specific mixing weights and/or branch parameters to adapt this hybrid form to different functional roles.\nIn contrast, we leverage pretrained head specialization to directly determine the attention operator assigned to each head.\nSpecifically, we propose Importance-Guided Attention Linearization (IGAL), which repurposes existing head-importance scores—previously used to \nallocate larger KV-cache budgets—to guide heterogeneous attention conversion.\nIGAL converts a small subset of high-scoring heads to LA for long-range modeling, while converting the remaining heads to SWA for local interactions.\nWe further find that the optimal proportion of LA heads differs between short- and long-context tasks. To accommodate both regimes within a single checkpoint, we introduce IGAL-R, which sets the LA budget using the prompt length and learns which heads receive it with a lightweight prompt-level router, fine-tuned on a mixture of general-language and retrieval data.\nUnder task-specific fine-tuning on Llama 3.1 and Qwen3, IGAL improves general-language and long-context retrieval performance over the existing state-of-the-art linearization methods.\nOn Llama-3.1-8B, assigning only $6.25\\%$ of GQA groups to LA achieves $89.3\\%$ needle-in-a-haystack retrieval accuracy at 32K after 1K-length data fine-tuning, with a $292\\times$ smaller decoding cache than full attention.\nUnder matched mixed-data fine-tuning, IGAL-R raises 16--32K retrieval accuracy from $21.7\\%$ to $78.3\\%$ over static IGAL, with comparable general-language performance.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}