DimPO: Dimensionality Reduction for Attention using Preference Optimization
Import the versions from OpenReview: the same title at other venues
@openreview[bot] · 2026-11-22 20:13 UTC · 4fb54f76a193 ·
versions/v_8wx2rq24.json added
+++ b/versions/v_8wx2rq24.json@@ -0,0 +1,18 @@+{+ "date": "2026-09-18",+ "kind": "submitted",+ "label": "ICLR 2027",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "url": "https://openreview.net/forum?id=uMP0RuSTLf"+ }+ ],+ "title": "DimPO: Dimensionality Reduction for Attention using Preference Optimization",+ "url": "https://openreview.net/forum?id=uMP0RuSTLf",+ "evidence": [+ "https://openreview.net/forum?id=uMP0RuSTLf"+ ],+ "abstract": "A linear projection might reduce the dimension of the query and key vectors in attention without updating the pretrained model, but it remains unclear which training objective best preserves the behavior of that model. The straightforward objective is to match the full attention distribution, for example by minimizing the KL divergence. We instead ask whether a preference over keys relative to a query, and preserving the attention mass of only the highest-weighted keys, provides a better training signal, especially in long-context settings. Existing reference-free preference objectives are mostly pairwise and underuse the full key set that listwise and KL supervision already use. We therefore introduce DimPO, a loss specific to this projection, which combines listwise preference optimization with no reference model and a lightweight top-k cross-entropy term for head-fidelity supervision. To verify the direct effect of our loss on how faithfully attention is preserved, DimPO is trained offline from the attention patterns of a frozen language model, with the query and key projections optimized independently per layer. Across LLaMA3.2-3B, LLaMA3.1-8B, Qwen2.5-7B, and Qwen3-4B Instruct models, pairwise preference objectives outperform the triplet objective baseline and, on short-context tasks, retain 98% of the original score when a projection to half the dimension is applied to at most the last 40% of the attention layers. When applied to more layers or evaluated on long-context RULER, however, they no longer maintain a reasonable performance. In contrast, KL and DimPO, which use every key during training, still retain about 95% of the original RULER 4k score on the 8B model when applied to up to 50% of the layers. KL-based projections nevertheless remain closer to the original attention distribution in terms of KL divergence and closer in the MSE of the attention output, yet DimPO achieves better downstream performance. The difference becomes increasingly pronounced once the projection covers more than 50% of the attention layers, where preserving preferences over keys relative to the query, together with head-fidelity on the highest-weighted keys, improves performance on more complex tasks, including SQuAD, common-word extraction, frequent-word extraction, and variable tracking. These results suggest that, under a reduced query and key dimension, preserving the ordering and concentration of task-relevant attention can matter more than minimizing the discrepancy of the full distribution."+}
versions/v_kb85ag6h.json added
+++ b/versions/v_kb85ag6h.json@@ -0,0 +1,18 @@+{+ "date": "2025-09-19",+ "kind": "submitted",+ "label": "ICLR 2026",+ "submissions": [+ {+ "venue": "ICLR 2026",+ "status": "rejected",+ "url": "https://openreview.net/forum?id=LlhiiTg9ux"+ }+ ],+ "title": "DimPO: Dimensionality Reduction for Attention using Preference Optimization",+ "url": "https://openreview.net/forum?id=LlhiiTg9ux",+ "evidence": [+ "https://openreview.net/forum?id=LlhiiTg9ux"+ ],+ "abstract": "Large Language Models (LLMs) require increasing memory and computational resources to process long context, motivating methods that reduce the dimensionality of key and query representations while preserving the resulting attention patterns. A previous triplet-based method for LSH-style projections optimizes only local pairwise relations and therefore struggles to capture the global ranking structure inherent to attention. We reframe dimensionality reduction of attention as a listwise learning problem based on preference optimization and ranking losses. Our analysis shows that listwise approaches better preserve full attention distributions in low-dimensional spaces, reducing KL divergence to less than 25\\% of the value achieved by triplet-based and other pairwise methods. Building on this, we directly apply listwise-learned projections to the attention layers of LLaMA3-[1B, 3B, 8B], Qwen2.5-7B and Qwen3-4B instruct models. On general benchmark tasks, listwise projection reduces KV cache memory by 10–15% while maintaining 95% of model performance. Larger models using this projection on long-context tasks exhibit only a marginal performance drop and demonstrate compatibility with existing KV-cache reduction techniques such as SnapKV, improving throughput without appreciable accuracy degradation. These results establish listwise learning as a principled and effective approach for dimensionality reduction of attention, directly applicable to attention layers at inference."+}