Small Language Models in the Real World: Insights from Industrial Text Classification

With the emergence of ChatGPT, Transformer models have significantly advanced text classification and related tasks.Decoder-only models such as Llama exhibit strong performance and flexibility, yet they suffer from inefficiency on inference due to token-by-token generation, and their effectiveness in text classification tasks heavily depends on prompt quality.Moreover, their substantial GPU resource requirements often limit widespread adoption.Thus, the question of whether smaller language models are capable of effectively handling text classification tasks emerges as a topic of significant interest.However, the selection of appropriate models and methodologies remains largely underexplored.In this paper, we conduct a comprehensive evaluation of prompt engineering and supervised fine-tuning methods for transformer-based text classification.Specifically, we focus on practical industrial scenarios, including email classification, legal document categorization, and the classification of extremely long academic texts.We examine the strengths and limitations of smaller models, with particular attention to both their performance and their efficiency in Video Random-Access Memory (VRAM) utilization, thereby providing valuable insights for the local deployment and application of compact models in industrial settings 1 .

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-industry.68
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Small Language Models in the Real World: Insights from Industrial Text Classification

Niccolò Gentile, Radu State, Geoffrey Nichil, Lujun Li et al.
Natural Language Processing Techniques
article

Small Language Models in the Real World: Insights from Industrial Text Classification

Niccolò Gentile, Radu State, Geoffrey Nichil, Lujun Li, Lama Sleem
article en

Abstract

With the emergence of ChatGPT, Transformer models have significantly advanced text classification and related tasks.Decoder-only models such as Llama exhibit strong performance and flexibility, yet they suffer from inefficiency on inference due to token-by-token generation, and their effectiveness in text classification tasks heavily depends on prompt quality.Moreover, their substantial GPU resource requirements often limit widespread adoption.Thus, the question of whether smaller language models are capable of effectively handling text classification tasks emerges as a topic of significant interest.However, the selection of appropriate models and methodologies remains largely underexplored.In this paper, we conduct a comprehensive evaluation of prompt engineering and supervised fine-tuning methods for transformer-based text classification.Specifically, we focus on practical industrial scenarios, including email classification, legal document categorization, and the classification of extremely long academic texts.We examine the strengths and limitations of smaller models, with particular attention to both their performance and their efficiency in Video Random-Access Memory (VRAM) utilization, thereby providing valuable insights for the local deployment and application of compact models in industrial settings 1 .

Nvidia
Quality Education
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.