paper-with-me

Papers

Attention Basin: Why Contextual Position Matters in Large Language Models

2025-08-07 · Zihao Yi, Delong Zeng, Zhenqing Ling, Haohao Luo, Zhe Xu, Wei Liu, Jian Luan, Wanxia Cao, Ying Shen arxiv

The performance of Large Language Models (LLMs) is significantly sensitive to the contextual position of information in the input. To investigate the mechanism behind this positional bias, our extensive experiments reveal a consistent phenomenon we term the attention basin: when presented with a sequence of structured items (e.g., retrieved documents or few-shot examples), models systematically assign higher attention to the items at the beginning and end of the sequence, while neglecting those in the middle. Crucially, our analysis further reveals that allocating higher attention to critical information is key to enhancing model performance. Based on these insights, we introduce Attention-Driven Reranking (AttnRank), a two-stage framework that (i) estimates a model's intrinsic positional attention preferences using a small calibration set, and (ii) reorders retrieved documents or few-shot examples to align the most salient content with these high-attention positions. AttnRank is a model-agnostic, training-free, and plug-and-play method with minimal computational overhead. Experiments on multi-hop QA and few-shot in-context learning tasks demonstrate that AttnRank achieves substantial improvements across 10 large language models of varying architectures and scales, without modifying model parameters or training procedures.

📄 PDF Abstract BibTeX arXiv:2508.05128

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

DnDScore: Decontextualization and Decomposition for Factuality Verification in Long-Form Text Generation

2024-12-17 · Miriam Wanner, Benjamin Van Durme, Mark Dredze

The decompose-then-verify strategy for verification of Large Language Model (LLM) generations decomposes claims that are then independently verified. Decontextualization augments text (claims) to ensure it can be verifie…

FormLanguage ModelingLanguage ModellingLarge Language Model+1

Professional Network Matters: Connections Empower Person-Job Fit

2023-12-19 · Hao Chen, Lun Du, Yuxuan Lu, Qiang Fu 외

Online recruitment platforms typically employ Person-Job Fit models in the core service that automatically match suitable job seekers with appropriate job positions. While existing works leverage historical or contextual…

Graph Neural Network

"It's how you do things that matters": Attending to Process to Better Serve Indigenous Communities with Language Technologies

2024-02-04 · Ned Cooper, Courtney Heldreth, Ben Hutchinson

Indigenous languages are historically under-served by Natural Language Processing (NLP) technologies, but this is changing for some languages with the recent scaling of large multilingual models and an increased focus by…

Position

When classifying grammatical role, BERT doesn't care about word order... except when it matters

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Because meaning can often be inferred from lexical semantics alone, word order is often a redundant cue in natural language. For example, the words cut, chef, and onion are more likely used to convey "The chef cut the on…

When classifying grammatical role, BERT doesn't care about word order... except when it matters

2022-03-11 · Isabel Papadimitriou, Richard Futrell, Kyle Mahowald

Because meaning can often be inferred from lexical semantics alone, word order is often a redundant cue in natural language. For example, the words chopped, chef, and onion are more likely used to convey "The chef choppe…