LLM Goal Extraction in Requirements Engineering: Strategies & Limits

Date:

Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations

In a recent study published on arXiv, researchers have explored the potential of Large Language Models (LLMs) in automating the Goal-Oriented Requirements Engineering (GORE) process. As the field of Requirements Engineering (RE) often involves textual and repetitive tasks, LLMs have emerged as a promising tool for enhancing the efficiency of goal extraction from software documentation.

The study outlines a systematic approach that consists of three distinct phases: actor identification, high-level goal extraction, and low-level goal extraction. Each phase plays a crucial role in refining the automation process, ultimately leading to more accurate goal identification.

Implementation Strategy

To implement the proposed functionalities, the researchers devised a chain of LLMs, which are fed with engineered prompts. The focus of their experimentation was on various configurations of in-context learning, allowing them to analyze the similarities between input data and in-context examples. This methodical investigation aimed to assess the impact of different prompting strategies on the performance of goal extraction.

Key Findings

One of the significant findings from the research was the introduction of a generation-critic mechanism, functioning as a feedback loop between two LLMs. This innovative approach allowed for continuous improvement of the goal extraction process. While the overall accuracy achieved in low-level goal identification was 61%, the researchers caution that this method should primarily serve as an enhancement tool to accelerate manual extraction rather than fully replace human effort.

Performance Insights

The study further highlighted that the feedback-loop mechanism employing Zero-shot prompting demonstrated superior performance compared to the standalone Few-shot approach. An ablation study conducted by the researchers indicated that the absence of the feedback cycle resulted in a slight degradation of performance, underscoring the importance of this mechanism in the overall goal extraction process.

However, an intriguing observation was made regarding the combination of the feedback mechanism with Few-shot prompting. The results revealed no significant performance advantage, suggesting that the primary limiting factor may lie within the prompting strategy utilized for the ‘critic’ LLM. This finding opens up avenues for further exploration into how the refinement of both the quantity and quality of Shot examples can elevate the overall effectiveness of LLMs in this context.

Future Directions

Looking ahead, the researchers propose integrating advanced methodologies such as Retrieval-Augmented Generation (RAG) and Chain-of-Thought (CoT) prompting to enhance accuracy in goal extraction. These innovative techniques are expected to address some of the limitations identified in the current study and push the boundaries of what LLMs can achieve in Requirements Engineering.

Conclusion

As the landscape of software development continues to evolve, the role of artificial intelligence in automating and streamlining processes like Requirements Engineering becomes increasingly vital. This research not only underscores the potential of LLMs in goal extraction but also highlights the importance of refining prompting strategies to maximize their efficacy. Future studies will be essential in uncovering new methodologies that could significantly advance the field.

Related AI Insights

Lazarus Omolua
Lazarus Omoluahttps://richlyai.com/blog
My mission is to make sure that people in Africa are not left behind in the global AI revolution. RichlyAI exists to give everyone — students, founders, creators, and businesses — the tools to compete globally.

Subscribe

Popular

More like this
Related

How Business Ops Teams Boost Productivity with Codex

Discover how business operations teams use Codex to streamline documentation, enhance collaboration, and improve decision-making with AI-powered automation...

OpenAI Partners with Malta to Offer ChatGPT Plus Nationwide

OpenAI and Malta team up to provide free ChatGPT Plus access and AI training to all citizens, promoting digital literacy and responsible AI use.

Critical Linux Kernel Flaw Risks SSH Host Key Theft

A critical Linux kernel flaw risks stolen SSH host keys. Learn how to protect your systems and stay secure until patches are widely available.

Top External Hard Drives 2026: Expert Reviews & Buying Guide

Discover the best external hard drives of 2026 with expert reviews. Find top picks for speed, durability, and security to suit all storage needs.