Disentangling Reasoning Tokens and Boilerplate Tokens For Language Model Fine-tuning

When using agent-task datasets to enhance agent capabilities for Large Language Models (LLMs), current methodologies often treat all tokens within a sample equally.However, we argue that tokens serving different roles-specifically, reasoning tokens versus boilerplate tokens (e.g., those governing output format)-differ significantly in importance and learning complexity, necessitating their disentanglement and distinct treatment.To address this, we propose a novel Shuffle-Aware Discriminator (SHAD) for adaptive token discrimination.SHAD classifies tokens by exploiting predictability differences observed after shuffling input-output combinations across samples: boilerplate tokens, due to their repetitive nature among samples, maintain predictability, whereas reasoning tokens do not.Using SHAD, we propose the Reasoning-highlighted Fine-Tuning (RFT) method, which adaptively emphasizes reasoning tokens during fine-tuning, yielding notable performance gains over common Supervised Fine-Tuning (SFT).

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1078
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Disentangling Reasoning Tokens and Boilerplate Tokens For Language Model Fine-tuning

Zezhen Ye, Zhenru Zhang, Fuli Feng, Juntang Lin et al.
Natural Language Processing Techniques
article

Disentangling Reasoning Tokens and Boilerplate Tokens For Language Model Fine-tuning

Zezhen Ye, Zhenru Zhang, Fuli Feng, Juntang Lin, Yang Zhang, Jianxin Ma
article en

Abstract

When using agent-task datasets to enhance agent capabilities for Large Language Models (LLMs), current methodologies often treat all tokens within a sample equally.However, we argue that tokens serving different roles-specifically, reasoning tokens versus boilerplate tokens (e.g., those governing output format)-differ significantly in importance and learning complexity, necessitating their disentanglement and distinct treatment.To address this, we propose a novel Shuffle-Aware Discriminator (SHAD) for adaptive token discrimination.SHAD classifies tokens by exploiting predictability differences observed after shuffling input-output combinations across samples: boilerplate tokens, due to their repetitive nature among samples, maintain predictability, whereas reasoning tokens do not.Using SHAD, we propose the Reasoning-highlighted Fine-Tuning (RFT) method, which adaptively emphasizes reasoning tokens during fine-tuning, yielding notable performance gains over common Supervised Fine-Tuning (SFT).

Reduced inequalities
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Disentangling Reasoning Tokens and Boilerplate Tokens For Language Model Fine-tuning — Zezhen Ye, Zhenru Zhang, et al. · (2025) | TGRS Research Map | TGRS