Cooperative or Competitive? Understanding the Interaction between Attention Heads From A Game Theory Perspective
Despite the remarkable success of attentionbased large language models (LLMs), the precise interaction mechanisms between attention heads remain poorly understood.In contrast to prevalent methods that focus on individual head contributions, we rigorously analyze the intricate interplay among attention heads through a novel framework based on the Harsanyi dividend, a concept from cooperative game theory.Our analysis reveals that significant positive Harsanyi dividends are sparsely distributed across head combinations, indicating that most heads do not contribute cooperatively.Moreover, certain head combinations exhibit negative dividends, indicating implicit competitive relationships.To further optimize the interactions among attention heads, we propose a training-free Game-theoretic Attention Calibration (GAC) method.Specifically, GAC selectively retains heads demonstrating significant cooperative gains and applies fine-grained distributional adjustments to the remaining heads.Comprehensive experiments across 17 benchmarks demonstrate the effectiveness of our proposed GAC and its superior generalization capabilities across diverse model families, scales, and modalities.The source code is available at:
Authors
- Jianfeng Dong (ORCID: https://orcid.org/0000-0001-5244-3274)
- Zhe Yu (ORCID: https://orcid.org/0000-0002-6908-6135)
- Dongrui Liu (ORCID: https://orcid.org/0000-0003-0087-1124)
- Daizong Liu
- Xiaoye Qu (ORCID: https://orcid.org/0000-0002-4907-3978)
- Wei Wei (ORCID: https://orcid.org/0000-0003-4488-0102)
- Yu Cheng (ORCID: https://orcid.org/0000-0002-3446-6971)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-long.688
- Primary Topic
- Business Strategy and Innovation
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China