paper-with-me

홈 › Papers

Focus Directions Make Your Language Models Pay More Attention to Relevant Contexts

2025-03-30 · Youxiang Zhu, Ruochen Li, Danqing Wang, Daniel Haehn, Xiaohui Liang

Long-context large language models (LLMs) are prone to be distracted by irrelevant contexts. The reason for distraction remains poorly understood. In this paper, we first identify the contextual heads, a special group of attention heads that control the overall attention of the LLM. Then, we demonstrate that distraction arises when contextual heads fail to allocate sufficient attention to relevant contexts and can be mitigated by increasing attention to these contexts. We further identify focus directions, located at the key and query activations of these heads, which enable them to allocate more attention to relevant contexts without explicitly specifying which context is relevant. We comprehensively evaluate the effect of focus direction on various long-context tasks and find out focus directions could help to mitigate the poor task alignment of the long-context LLMs. We believe our findings could promote further research on long-context LLM alignment.

📄 PDF Abstract BibTeX arXiv:2503.23306

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Focus 설명 없음

Similar Papers 제목 키워드 기반

NLP in FinTech Applications: Past, Present and Future

2020-05-04 · Chung-Chi Chen, Hen-Hsen Huang, Hsin-Hsi Chen

Financial Technology (FinTech) is one of the worldwide rapidly-rising topics in the past five years according to the statistics of FinTech from Google Trends. In this position paper, we focus on the researches applying n…

Position

How "Real" is Your Real-Time Simultaneous Speech-to-Text Translation System?

2024-12-24 · Sara Papi, Peter Polak, Ondřej Bojar, Dominik Macháček

Simultaneous speech-to-text translation (SimulST) translates source-language speech into target-language text concurrently with the speaker's speech, ensuring low latency for better user comprehension. Despite its intend…

Simultaneous Speech-to-Text TranslationSpeech-to-TextSpeech-to-Text Translation

Madera Contractors

2024-11-12 · 11/12 2024 11 · Madera Contractors

Early Life Madera Contractors: Trusted Commercial Cleaning Experts in Ottawa Since 2010 – Providing Quality, Reliable, and Eco-Friendly Cleaning Solutions for Your Business. Career About Madera Contractors Made…

Act for Your Duties but Maintain Your Rights

2023-02-07 · Shufang Zhu, Giuseppe De Giacomo

Most of the synthesis literature has focused on studying how to synthesize a strategy to fulfill a task. This task is a duty for the agent. In this paper, we argue that intelligent agents should also be equipped with rig…

Unsupervised Discovery of Interpretable Latent Manipulations in Language VAEs

2021-01-01 · Max Ryabinin, Artem Babenko, Elena Voita

Language generation models are attracting more and more attention due to their constantly increasing quality and remarkable generation results. State-of-the-art NLG models like BART/T5/GPT-3 do not have latent spaces, th…

SentenceText Generation