Cost-Effective Maintenance of Requirements-Test Alignment via Quantized LLMs
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…
- arXiv
- 2612.06203
- Authors
- Erik Lindstrand, Michal Spano, Mariia Zabolotnia, Francisco Gomes de Oliveira Neto
- Categories
- cs.SE