TLDR: The paper introduces LQPR, an automatic and efficient method for quantifying software performance requirements. Unlike heavy AI models, LQPR uses a lightweight linguistic approach, converting quantification into a classification problem based on observed patterns. It significantly outperforms existing learning-based methods, including large language models, while being two orders of magnitude more resource-efficient, demonstrating the value of specialized solutions for specific software engineering challenges.
Understanding and quantifying performance requirements in software development has long been a complex and often manual task. These requirements, such as “The search shall take no longer than 15 seconds,” are crucial for ensuring software quality but are notoriously difficult to interpret precisely. Traditional manual methods are expensive and prone to errors due to the inherent imprecision in natural language. Even with formal elicitation, the exact meaning and implied preferences can be ambiguous, leading to significant challenges in tasks like configuration tuning and performance testing.
A new research paper, titled “Light over Heavy: Automated Performance Requirements Quantification with Linguistic Inducement,” introduces an innovative solution called LQPR. Authored by Shihai Wang and Tao Chen, this approach offers a highly efficient and automatic way to quantify performance requirements, addressing the shortcomings of existing methods.
While Large Language Models (LLMs) have become prevalent in many areas of requirement analysis, LQPR takes a different path. The researchers observed that performance requirements often exhibit strong, concise patterns. Instead of relying on general, ‘heavy’ learning-based approaches, LQPR employs a lightweight, linguistically induced matching mechanism. It reframes the quantification problem as a classification task within a novel theoretical framework.
The core of LQPR involves several key components. First, a Pattern Extractor identifies linguistic patterns from known performance requirements, which are then manually labeled according to the theoretical framework. These patterns form a knowledge base. When a new performance requirement needs to be quantified, a Pattern Matcher finds common structures between the requirement and the stored patterns. This matching is scored both syntactically (how words align) and semantically (their meaning). Finally, a Quantification Predictor uses these scores to select the best-matched pattern, inferring the correct classification and quantifying the requirement. LQPR also intelligently handles negation terms, reversing labels when necessary to ensure accurate interpretation.
The empirical evaluation of LQPR is compelling. It was compared against nine state-of-the-art learning-based approaches, including various LLMs, across diverse datasets. The results show that LQPR consistently outperforms these methods, ranking as the sole best in 75% or more cases. Crucially, it achieves this with significantly less computational cost – two orders of magnitude less than LLM-driven approaches. This demonstrates a “light over heavy” phenomenon, suggesting that for specific software engineering problems with strong domain understanding, specialized, lightweight methods can be more effective than general-purpose LLMs.
Also Read:
- Decoding Code Agent Decisions: An Analysis of Success and Failure Paths
- New Research Tackles IoT Vulnerability Detection in Software Issue Reports
This work has significant implications for the software engineering community. It proves that tailored approaches, built on deep domain insights, can yield superior results and efficiency for tasks like performance requirement quantification. LQPR can benefit various downstream tasks, including configuration tuning, performance prediction, and self-adapting systems. For more details, you can read the full research paper here.


