paper-with-me

Papers

Where to Place the Query? Unveiling and Mitigating Positional Bias in In-Context Learning for Diffusion LLMs via Decoding Dynamics

2026-04-26 · Zhengheng Li, Panrui Li, Xuyang Liu, Puzhi Xia arxiv

While In-Context Learning (ICL) is extensively studied in Autoregressive (AR) LLMs, its mechanism within Diffusion Large Language Models (dLLMs) remains largely unexplored. Unlike AR models restricted by unidirectional causal masking, dLLMs intrinsically utilize bidirectional attention, offering extensive spatial flexibility for query placement. Unfortunately, current practices conventionally inherit AR-style trailing-query templates, often overlooking the structural paradigm shift. This paper presents a comprehensive analysis unveiling that query position is actually a first-order variable in dLLMs. Through empirical decoupling, we demonstrate that positional variance impacts generation quality on par with example semantic quality. Internally, this positional sensitivity stems from a spatial ``Recency Effect'' in attention flow and task-dependent shifts in decoding trajectories. To mitigate this instability without ground-truth labels, we reveal that traditional single-step confidence ($C_{decoded}$) fails in dLLMs. Instead, we propose Average Confidence ($\overline{C}$), a novel metric tracking the iterative decoding process. By establishing the foundational spatial ICL baselines, we introduce Auto-ICL, a training-free adaptive routing strategy that dynamically optimizes query placement, robustly approaching oracle performance across heterogeneous reasoning and perception tasks.

📄 PDF Abstract BibTeX arXiv:2606.19349

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Benchmarking the Myopic Trap: Positional Bias in Information Retrieval

2025-05-20 · Ziyang Zeng, Dun Zhang, Jiacheng Li, Panxiang Zou 외

This study investigates a specific form of positional bias, termed the Myopic Trap, where retrieval models disproportionately attend to the early parts of documents while overlooking relevant information that appears lat…

BenchmarkingInformation RetrievalRAGRetrieval

When Models Outthink Their Safety: Unveiling and Mitigating Self-Jailbreak in Large Reasoning Models

2025-10-24 · Yingzhi Mao, Chunkang Zhang, Junxiang Wang, Xinyan Guan 외 arxiv

Large Reasoning Models (LRMs) achieve strong performance on complex multi-step reasoning, yet they still exhibit severe safety failures such as harmful content generation. Existing methods often apply coarse-grained cons…

Multi-Item-Query Attention for Stable Sequential Recommendation

2025-09-29 · Mingshi Xu, Haoren Zhu, Wilfred Siu Hung Ng arxiv

The inherent instability and noise in user interaction data challenge sequential recommendation systems. Prevailing masked attention models, relying on a single query from the most recent item, are sensitive to this nois…

Sequential Recommendation

Look, Compare and Draw: Differential Query Transformer for Automatic Oil Painting

2026-03-29 · Lingyu Liu, Yaxiong Wang, Li Zhu, Lizi Liao 외 arxiv

This work introduces a new approach to automatic oil painting that emphasizes the creation of dynamic and expressive brushstrokes. A pivotal challenge lies in mitigating the duplicate and common-place strokes, which ofte…

Learning Where to Embed: Noise-Aware Positional Embedding for Query Retrieval in Small-Object Detection

2026-04-16 · Yangchen Zeng, Zhenyu Yu, Dongming Jiang, Wenbo Zhang 외 arxiv

Transformer-based detectors have advanced small-object detection, but they often remain inefficient and vulnerable to background-induced query noise, which motivates deep decoders to refine low-quality queries. We presen…

Object Detection