paper-with-me

홈 › Papers

Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance

2024-02-20 · Branislav Pecher, Ivan Srba, Maria Bielikova

When solving NLP tasks with limited labelled data, researchers typically either use a general large language model without further update, or use a small number of labelled samples to tune a specialised smaller model. In this work, we answer an important question -- how many labelled samples are required for the specialised small models to outperform general large models, while taking the performance variance into consideration. By observing the behaviour of fine-tuning, instruction-tuning, prompting and in-context learning on 8 language models, we identify such performance break-even points across 8 representative text classification tasks of varying characteristics. We show that the specialised models often need only few samples (on average $100$) to be on par or better than the general ones. At the same time, the number of required labels strongly depends on the dataset or task characteristics, with fine-tuning on binary datasets requiring significantly more samples. When performance variance is taken into consideration, the number of required labels increases on average by $100 - 200\%$. Finally, larger models do not consistently lead to better performance and lower variance, with 4-bit quantisation having negligible impact.

📄 PDF Abstract BibTeX arXiv:2402.12819

Code (1)

kinit-sk/l3d-sensitivity-investigation pytorch

Tasks

In-Context LearningLanguage ModelingLanguage ModellingLarge Language Modeltext-classificationText Classification

Similar Papers 제목 키워드 기반

Parameter-Efficient Fine-Tuning of LLaMA for the Clinical Domain

2023-07-06 · Aryo Pradipta Gema, Pasquale Minervini, Luke Daines, Tom Hope 외

Adapting pretrained language models to novel domains, such as clinical applications, traditionally involves retraining their entire set of parameters. Parameter-Efficient Fine-Tuning (PEFT) techniques for fine-tuning lan…

Domain Adaptationparameter-efficient fine-tuning

Still Not There: Can LLMs Outperform Smaller Task-Specific Seq2Seq Models on the Poetry-to-Prose Conversion Task?

2025-11-11 · Kunal Kingkar Das, Manoj Balaji Jagadeeshan, Nallani Chakravartula Sahith, Jivnesh Sandhan 외 arxiv

Large Language Models (LLMs) are increasingly treated as universal, general-purpose solutions across NLP tasks, particularly in English. But does this assumption hold for low-resource, morphologically rich languages such…

Specialised or Generic? Tokenization Choices for Radiology Language Models

2025-08-13 · Hermione Warr, Wentian Xu, Harry Anthony, Yasin Ibrahim 외 arxiv

The vocabulary used by language models (LM) - defined by the tokenizer - plays a key role in text generation quality. However, its impact remains under-explored in radiology. In this work, we address this gap by systemat…

Text Generation

Evaluating Open-Weight Large Language Models for Structured Data Extraction from Narrative Medical Reports Across Multiple Use Cases and Languages

2025-11-03 · Douwe J. Spaanderman, Karthik Prathaban, Petr Zelina, Kaouther Mouheb 외 arxiv

Large language models (LLMs) are increasingly used to extract structured information from free-text clinical records, but prior work often focuses on single tasks, limited models, and English-language reports. We evaluat…

PARAMANU-GANITA: Language Model with Mathematical Capabilities

2024-04-22 · Mitodru Niyogi, Arnab Bhattacharya

In this paper, we present Paramanu-Ganita, a 208 million parameter novel Auto Regressive (AR) decoder based language model on mathematics. The model is pretrained from scratch at context size of 4096 on our curated mixed…

Domain AdaptationGSM8KLanguage ModelingLanguage Modelling+3