Skip to content

Cost-Effective Maintenance of Requirements-Test Alignment via Quantized LLMs

Erik Lindstrand, Michal Spano, Mariia Zabolotnia, Francisco Gomes de Oliveira Neto

cs.SE

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)