paper-with-me

Papers

Classifier Language Models: Unifying Sparse Finetuning and Adaptive Tokenization for Specialized Classification Tasks

2025-08-12 · Adit Krishnan, Chu Wang, Chris Kong arxiv

Semantic text classification requires the understanding of the contextual significance of specific tokens rather than surface-level patterns or keywords (as in rule-based or statistical text classification), making large language models (LLMs) well-suited for this task. However, semantic classification applications in industry, like customer intent detection or semantic role labeling, tend to be highly specialized. They require annotation by domain experts in contrast to general-purpose corpora for pretraining. Further, they typically require high inference throughputs which limits the model size from latency and cost perspectives. Thus, for a range of specialized classification tasks, the preferred solution is to develop customized classifiers by finetuning smaller language models (e.g., mini-encoders, small language models). In this work, we develop a token-driven sparse finetuning strategy to adapt small language models to specialized classification tasks. We identify and finetune a small sensitive subset of model parameters by leveraging task-specific token constructs in the finetuning dataset, while leaving most of the pretrained weights unchanged. Unlike adapter approaches such as low rank adaptation (LoRA), we do not introduce additional parameters to the model. Our approach identifies highly relevant semantic tokens (case study in the Appendix) and outperforms end-to-end finetuning, LoRA, layer selection, and prefix tuning on five diverse semantic classification tasks. We achieve greater stability and half the training costs vs. end-to-end finetuning.

📄 PDF Abstract BibTeX arXiv:2508.08635

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Role LabelingText ClassificationIntent Detection

Similar Papers 제목 키워드 기반

SparseMAE: Sparse Training Meets Masked Autoencoders

2023-01-01 · ICCV 2023 1 · Aojun Zhou, Yang Li, Zipeng Qin, Jianbo Liu 외

Masked Autoencoders (MAE) and its variants have proven to be effective for pretraining large-scale Vision Transformers (ViTs). However, small-scale models do not benefit from the pretraining mechanisms due to limited…

Continual Learning via Sparse Memory Finetuning

2025-10-16 · Jessy Lin, Luke Zettlemoyer, Gargi Ghosh, Wen-Tau Yih 외 arxiv

Modern language models are powerful, but typically static after deployment. A major obstacle to building models that continually learn over time is catastrophic forgetting, where updating on new data erases previously ac…

Continual LearningQuestion Answering

Inference-time sparse attention with asymmetric indexing

2025-02-12 · Pierre-Emmanuel Mazaré, Gergely Szilvasy, Maria Lomeli, Francisco Massa 외

Self-attention in transformer models is an incremental associative memory that maps key vectors to value vectors. One way to speed up self-attention is to employ GPU-compliant vector search algorithms, yet the standard p…

GPU

SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attention

2024-06-17 · Qianchao Zhu, Jiangfei Duan, Chang Chen, Siran Liu 외

Large language models (LLMs) now support extremely long context windows, but the quadratic complexity of vanilla attention results in significantly long Time-to-First-Token (TTFT) latency. Existing approaches to address …

IG Captioner: Information Gain Captioners are Strong Zero-shot Classifiers

2023-11-27 · Chenglin Yang, Siyuan Qiao, Yuan Cao, Yu Zhang 외

Generative training has been demonstrated to be powerful for building visual-language models. However, on zero-shot discriminative benchmarks, there is still a performance gap between models trained with generative and d…

Caption GenerationImage-text RetrievalLanguage ModellingText Retrieval+2