paper-with-me

홈 › Papers

Focusing on Language: Revealing and Exploiting Language Attention Heads in Multilingual Large Language Models

2025-11-10 · Xin Liu, Qiyang Song, Qihang Zhou, Haichao Du, Shaowen Xu, Wenbo Jiang, Weijuan Zhang, Xiaoqi Jia arxiv

Large language models (LLMs) increasingly support multilingual understanding and generation. Meanwhile, efforts to interpret their internal mechanisms have emerged, offering insights to enhance multilingual performance. While multi-head self-attention (MHA) has proven critical in many areas, its role in multilingual capabilities remains underexplored. In this work, we study the contribution of MHA in supporting multilingual processing in LLMs. We propose Language Attention Head Importance Scores (LAHIS), an effective and efficient method that identifies attention head importance for multilingual capabilities via a single forward and backward pass through the LLM. Applying LAHIS to Aya-23-8B, Llama-3.2-3B, and Mistral-7B-v0.1, we reveal the existence of both language-specific and language-general heads. Language-specific heads enable cross-lingual attention transfer to guide the model toward target language contexts and mitigate off-target language generation issue, contributing to addressing challenges in multilingual LLMs. We also introduce a lightweight adaptation that learns a soft head mask to modulate attention outputs over language heads, requiring only 20 tunable parameters to improve XQuAD accuracy. Overall, our work enhances both the interpretability and multilingual capabilities of LLMs from the perspective of MHA.

📄 PDF Abstract BibTeX arXiv:2511.07498

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Mamba Knockout for Unraveling Factual Information Flow

2025-05-30 · Nir Endy, Idan Daniel Grosbard, Yuval Ran-Milo, Yonatan Slutzky 외

This paper investigates the flow of factual information in Mamba State-Space Model (SSM)-based language models. We rely on theoretical and empirical connections to Transformer-based architectures and their attention mech…

Mamba

Loki: Low-rank Keys for Efficient Sparse Attention

2024-06-04 · Prajwal Singhania, Siddharth Singh, Shwai He, Soheil Feizi 외

Inference on large language models (LLMs) can be expensive in terms of the compute and memory costs involved, especially when long sequence lengths are used. In particular, the self-attention mechanism used in LLM infere…

Attention-aware Inference Optimizations for Large Vision-Language Models with Memory-efficient Decoding

2026-03-25 · Fatih Ilhan, Gaowen Liu, Ramana Rao Kompella, Selim Furkan Tekin 외 arxiv

Large Vision-Language Models (VLMs) have achieved remarkable success in multi-modal reasoning, but their inference time efficiency remains a significant challenge due to the memory overhead during decoding, especially wh…

Rulebreakers Challenge: Revealing a Blind Spot in Large Language Models' Reasoning with Formal Logic

2024-10-21 · Jason Chan, Robert Gaizauskas, Zhixue Zhao

Formal logic has long been applied to natural language reasoning, but this approach can sometimes lead to conclusions that, while logically entailed, are factually inconsistent with the premises or are not typically infe…

Formal LogicWorld Knowledge

Revealing and Mitigating Over-Attention in Knowledge Editing

2025-02-20 · Pinzheng Wang, Zecheng Tang, Keyan Zhou, Juntao Li 외

Large Language Models have demonstrated superior performance across a wide range of tasks, but they still exhibit undesirable errors due to incorrect knowledge learned from the training data. To avoid this, knowledge edi…

knowledge editingSpecificity