跳到主要导航 跳到搜索 跳到主要内容

Identifying and Analyzing Performance-Critical Tokens in Large Language Models

  • Yu Bai
  • , Heyan Huang
  • , Cesare Spinoso Di Piano
  • , Sanxing Chen
  • , Marc Antoine Rondeau
  • , Yang Gao*
  • , Jackie Chi Kit Cheung
  • *此作品的通讯作者
  • Beijing Institute of Technology
  • Beijing Academy of Artificial Intelligence
  • Southeast Academy of Information Technology
  • Mila-Québec AI Institute HEC
  • McGill University
  • Duke University

科研成果: 期刊稿件会议文章同行评审

摘要

In-context learning (ICL) has emerged as an effective solution for few-shot learning with large language models (LLMs). However, how LLMs leverage demonstrations to specify a task and learn a corresponding computational function through ICL is underexplored. Drawing from the way humans learn from content-label mappings in demonstrations, we categorize the tokens in an ICL prompt into content, stopword, and template tokens. Our goal is to identify the types of tokens whose representations directly influence LLM’s performance, a property we refer to as being performance-critical. By ablating representations from the attention of the test example, we find that the representations of informative content tokens have less influence on performance compared to template and stopword tokens, which contrasts with the human attention to informative words. We give evidence that the representations of performance-critical tokens aggregate information from the content tokens. Moreover, we demonstrate experimentally that lexical meaning, repetition, and structural cues are the main distinguishing characteristics of these tokens. Our work sheds light on how LLMs learn to perform tasks from demonstrations and deepens our understanding of the roles different types of tokens play in LLMs.

源语言英语
页(从-至)30031-30039
页数9
期刊Proceedings of the AAAI Conference on Artificial Intelligence
40
36
DOI
出版状态已出版 - 2026
活动40th AAAI Conference on Artificial Intelligence, AAAI 2026 - Singapore, 新加坡
期限: 20 1月 202627 1月 2026

指纹

探究 'Identifying and Analyzing Performance-Critical Tokens in Large Language Models' 的科研主题。它们共同构成独一无二的指纹。

引用此