ssToken: Self-modulated and Semantic-aware Token Selection for LLM Fine-tuning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Qin, Xiaohan, Wang, Xiaoxing, Liao, Ning, Zhang, Cancheng, Zhang, Xiangdong, Feng, Mingquan, Wang, Jingzhi, Yan, Junchi
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918164656291840
author Qin, Xiaohan
Wang, Xiaoxing
Liao, Ning
Zhang, Cancheng
Zhang, Xiangdong
Feng, Mingquan
Wang, Jingzhi
Yan, Junchi
author_facet Qin, Xiaohan
Wang, Xiaoxing
Liao, Ning
Zhang, Cancheng
Zhang, Xiangdong
Feng, Mingquan
Wang, Jingzhi
Yan, Junchi
contents Data quality plays a critical role in enhancing supervised fine-tuning (SFT) for large language models (LLMs), and token-level data selection has emerged as a promising direction for its fine-grained nature. Despite their strong empirical performance, existing token-level selection methods share two key limitations: (1) requiring training or accessing an additional reference model, and (2) relying solely on loss information for token selection, which cannot well preserve semantically important tokens that are not favored by loss-based metrics. To address these challenges, we propose ssToken, a Self-modulated and Semantic-aware Token Selection approach. ssToken leverages readily accessible history models to compute the per-token loss difference with the current model, which serves as a self-modulated signal that enables the model to adaptively select tokens along its optimization trajectory, rather than relying on excess loss from an offline-trained reference model as in prior works. We further introduce a semantic-aware, attention-based token importance estimation metric, orthogonal to loss-based selection and providing complementary semantic information for more effective filtering. Extensive experiments across different model families and scales demonstrate that both self-modulated selection and semantic-aware selection alone outperform full-data fine-tuning, while their integration--ssToken--achieves synergistic gains and further surpasses prior token-level selection methods, delivering performance improvements while maintaining training efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2510_18250
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ssToken: Self-modulated and Semantic-aware Token Selection for LLM Fine-tuning
Qin, Xiaohan
Wang, Xiaoxing
Liao, Ning
Zhang, Cancheng
Zhang, Xiangdong
Feng, Mingquan
Wang, Jingzhi
Yan, Junchi
Artificial Intelligence
Data quality plays a critical role in enhancing supervised fine-tuning (SFT) for large language models (LLMs), and token-level data selection has emerged as a promising direction for its fine-grained nature. Despite their strong empirical performance, existing token-level selection methods share two key limitations: (1) requiring training or accessing an additional reference model, and (2) relying solely on loss information for token selection, which cannot well preserve semantically important tokens that are not favored by loss-based metrics. To address these challenges, we propose ssToken, a Self-modulated and Semantic-aware Token Selection approach. ssToken leverages readily accessible history models to compute the per-token loss difference with the current model, which serves as a self-modulated signal that enables the model to adaptively select tokens along its optimization trajectory, rather than relying on excess loss from an offline-trained reference model as in prior works. We further introduce a semantic-aware, attention-based token importance estimation metric, orthogonal to loss-based selection and providing complementary semantic information for more effective filtering. Extensive experiments across different model families and scales demonstrate that both self-modulated selection and semantic-aware selection alone outperform full-data fine-tuning, while their integration--ssToken--achieves synergistic gains and further surpasses prior token-level selection methods, delivering performance improvements while maintaining training efficiency.
title ssToken: Self-modulated and Semantic-aware Token Selection for LLM Fine-tuning
topic Artificial Intelligence
url https://arxiv.org/abs/2510.18250