Soft-NBCE: Entropy-Weighted Chunk Fusion for Long-Context
Not on the map. Why?
Abstract (arXiv)
The quadratic complexity of self-attention remains a bottleneck for Large Language Models (LLMs) processing ultra-long contexts. The Naive Bayes Cognitive Engine (NBCE) parallelizes long-context inference by chunking documents and routing to the lowest-entropy chunk at each decoding step. This hard-selection strategy causes semantic fragmentation during cross-chunk reasoning, as abrupt routing changes between adjacent tokens disrupt the model's contextual grounding. We present Soft-NBCE, a lightweight extension that replaces discrete chunk selection with soft entropy-weighted chunk fusion. A temperature-scaled Softmax over predictive entropies assigns continuous weights to all chunks, enabling log-space aggregation across chunk-conditioned distributions. To partially compensate for the conditional independence assumption introduced by chunking, we propose Consistency Distillation, a LoRA-based self-distillation that constrains the chunked logit distribution toward a full-context teacher via KL-divergence. On LongBench multi-hop benchmarks, Soft-NBCE with Consistency Distillation improves consistently over NBCE-style baselines (MuSiQue F1: 0.310 vs. 0.275 for Vanilla NBCE; HotpotQA F1: 0.479 vs. 0.427) while maintaining retrieval accuracy (NIAH-32K: 0.909) at O(L2/n) peak memory.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 6 references that are in the map. First posted on arXiv 31 May 2026.
Builds on
5 of 6 references.
References · 5
- 2017Attention Is All You Needcited by 59,932
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
- 2022Parallel Context Windows for Large Language Modelscited by 81
Built on by
Not cited yet.