Small language models prove effective in text classification with logistic regression

Andrew Bailey Governor, Bank of England
Andrew Bailey Governor, Bank of England - Bank of England
0Comments

Improving text classification: logistic regression makes small LLMs strong and explainable ‘tens-of-shot’ classifiers

Staff working papers set out research in progress by our staff, with the aim of encouraging comments and debate. Published on 23 May 2025 Staff Working Paper No. 1,127 By Marcus Buckmann and Ed Hill

Text classification tasks such as sentiment analysis are common in economics and finance. We demonstrate that smaller, local generative language models can be effectively used for these tasks. Compared to large commercial models, they offer key advantages in privacy, availability, cost, and explainability.

We use 17 sentence classification tasks (each with 2 to 4 classes) to show that penalised logistic regression on embeddings from a small language model often matches or exceeds the performance of a large model, even when trained on just dozens of labelled examples per class – the same amount typically needed to validate a large model’s performance. Moreover, this embedding-based approach yields stable and interpretable explanations for classification decisions.

Information from this article can be found here.



Related

Holden

Holden releases official results of annual town election held on May 11

The Town of Holden has published official results from its annual town election held on May 11. The outcome determines leadership across several key boards that help manage local policy and services.

Holden

Holden releases unofficial results for annual town election held on May 11

The Town of Holden has published its unofficial annual town election results from May 11. These preliminary outcomes provide insight into local governance as residents await final certification.

Holden

Holden releases 2026 override tax impact calculator for residents

The Town of Holden has launched an online Tax Impact Calculator for residents considering a proposed override. The tool offers estimates based on individual property assessments but does not account for all possible tax changes. Local governance details and community resources are highlighted alongside this announcement.

Trending

The Weekly Newsletter

Sign-up for the Weekly Newsletter from Fiat Reporter.