Logo image
Separating the Softmax Denominator Unlocks Prefix-Based Evidence Injection for Frozen LLMs
Conference proceeding   Peer reviewed

Separating the Softmax Denominator Unlocks Prefix-Based Evidence Injection for Frozen LLMs

Zeqiang Wang, Xinyue Wu and Suparna De
2026 IEEE International Conference on Data Mining (ICDM)
IEEE International Conference on Data Mining (ICDM) (Shenyang, China, 12/11/2026–15/11/2026)
13/11/2026

Abstract

Large language models (LLMs) natural language processing

Prefix-based evidence injection offers a compact alternative to text-RAG: retrieved passages can be stored as swappable key-value prefixes instead of being copied into the prompt. In practice, however, standard coupled prefixes often underperform or collapse. We show that the main cause is the softmax denominator. When evidence keys and context keys share one attention softmax, they compete for the same unit attention budget; making the evidence keys more salient necessarily reduces attention on the answer-bearing context. We formalize this denominator-dilution effect and isolate it with a matched counterfactual that changes only the denominator routing while keeping the compressor, data, initialization, and training fixed. Across three frozen ∼8B backbones and two QA datasets, the coupled variant collapses to F1 ≤ 0.006, whereas the denominator-separated variant remains effective. We instantiate this design as AKPO, which compresses retrieved chunks into 16 slots, reads them through an independent softmax, and adds the result through a small gated residual. AKPO uses about 22% of text-RAG's input tokens on average, preserves base-model MMLU performance in our evaluations, supports fast cached evidence switching, and exposes token-to-source routing attribution without extra inference passes. These results identify denominator separation as the key design choice for reliable prefix-based evidence injection into frozen LLMs.

pdf
ICDM_CR1.09 MB
Author's Accepted Manuscript Restricted. Access maybe granted on request., This file will be open access upon publication. CC BY V4.0
url
https://icdm2026.neu.edu.cn/View
Event Website Conference website

Metrics

1 File views/ downloads
1 Record Views

Details

Logo image

Usage Policy