Cost-Effective Maintenance of Requirements-Test Alignment via Quantized LLMs
Erik Lindstrand, Michal Spano, Mariia Zabolotnia, Francisco Gomes de Oliveira Neto
Abstract
Large Language Models (LLMs) have recently shown promise for automating requirements-test (RT) trace generation, a task that supports software maintenance and evolution by maintaining alignment between requirements and testing artifacts. However, the computational cost of deploying full-precision LLMs can limit their practical use in development environments. In this paper, we investigate whether quantized LLMs, which use lower-precision weights to reduce memory and computational requirements and enable deployment on consumer-grade desktop hardware, can provide a more efficient alternative while preserving trace generation efficacy. Using the open-weight Mistral-7B model, we compare three quantization techniques (AWQ, GPTQ, and AQLM) against the full-precision model using sampled subsets from four RT datasets containing 433 requirements and 408 test cases obtained from industrial and public artifacts. Our results show that GPTQ and AWQ maintain efficacy comparable to the full-precision model while reducing GPU memory usage by more than half, making LLM-assisted traceability more feasible in practice. However, inference time does not necessarily decrease and artifact size and quality remain a key factor affecting scalability. Overall, our findings suggest that quantized LLMs provide a promising approach for supporting RT traceability in software maintenance workflows while significantly lowering hardware requirements.
Create a lesson
Metadata
- Comments
- Published at the 2026 IEEE International Conference on Software Maintenance and Evolution (ICSME)
Related papers
Who Checks the Model Checkers: Hardened Testing of TLA+ Tools
Shared title terminologycs.SEIgor Konnov
Testing a Safety-Critical Matching Component of an LLM-Based Simulated Patient: Blind Test Sets, Overfitted Cut-offs and a Cascade
Shared title terminologycs.SEFaaz Khan Mohammad, Sanket Salvi
Uncovering Device-Effect Authorization Inconsistencies in MCP-Based IoT Systems
Shared title terminologycs.SEBoyang Ma, Jinku Li, Ming Li et al.
A Controlled Experiment on the Effects of Formal Specifications in Software Quality
Shared title terminologycs.SEMaximiliano Cristiá, Alfredo Capozucca, Federico Stizza
What Do Code Judges Add Beyond Public Tests and Generator Priors?
Shared title terminologycs.SETaleb Alhajji, Yonghong He
Test-Centric Code Generation: Enhancing Test Diversity, Reliability, and Utilization
Shared title terminologycs.SEChaohang Wen, Zhao Tian, Shiqi Kuang et al.