mlsanityData to 14 Oct 2026

Does Model Size Matter? A Comparison of Small and Large Language Models for Requirements Classification

arXiv 2510.21443 ↗First posted 24 Oct 2025cs.SE cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

[Context and motivation] Large language models (LLMs) show notable results in natural language processing (NLP) tasks for requirements engineering (RE). However, their use is compromised by high computational cost, data sharing risks, and dependence on external services. In contrast, small language models (SLMs) offer a lightweight, locally deployable alternative. [Question/problem] It remains unclear how well SLMs perform compared to LLMs in RE tasks in terms of accuracy. [Results] Our preliminary study compares eight models, including three LLMs and five SLMs, on requirements classification tasks using the PROMISE, PROMISE Reclass, and SecReq datasets. Our results show that although LLMs achieve an average F1 score of 2% higher than SLMs, this difference is not statistically significant. SLMs almost reach LLMs performance across all datasets and even outperform them in recall on the PROMISE Reclass dataset, despite being up to 300 times smaller. We also found that dataset characteristics play a more significant role in performance than model size. [Contribution] Our study contributes with evidence that SLMs are a valid alternative to LLMs for requirements classification, offering advantages in privacy, cost, and local deployability.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 6 of its 15 references that are in the map. First posted on arXiv 24 Oct 2025.

Builds on

6 of 15 references.

References · 6

  1. 2024A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthinesscited by 127
  2. 2023Zero-Shot Learning for Requirements Classification: An Exploratory Studycited by 9
  3. 2024A Framework for Using LLMs for Repository Mining Studies in Empirical Software Engineeringcited by 4
  4. 2022A Systematic Literature Review of Empirical Research on Quality Requirementscited by 1
  5. 2025How Effective are Generative Large Language Models in Performing Requirements Classification?cited by 1
  6. 2025Green Prompt Engineering: Investigating the Energy Impact of Prompt Design in Software Engineeringcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.