Share from 0:00
0:00
/

"Leveraging Graph-RAG and Prompt Engineering to Enhance LLM-Based Automated Requirement Traceability and Compliance Checks"

The podcast on this paper is generated with Google's Illuminate.

Graph-RAG turns messy software requirements into organized knowledge graphs for precise compliance checking.

Graph-RAG and advanced prompting techniques enhance automated requirement traceability in software development, improving compliance verification through better context retrieval and reasoning capabilities.

-----

https://arxiv.org/abs/2412.08593

πŸ” Original Problem:

β†’ Traditional LLMs struggle with maintaining context across extensive software requirement documents, leading to incomplete compliance checks and hallucinations.

β†’ Current methods lack precision in retrieving relevant regulatory content and often miss nuanced domain-specific requirements.

-----

⚑ Solution in this Paper:

β†’ The paper introduces a framework combining Graph-RAG with Chain of Thought and Tree of Thought prompting.

β†’ Graph-RAG constructs a graph-based text index from regulatory articles, enabling precise content retrieval through entity relationships.

β†’ Advanced prompting techniques break down complex compliance checks into logical steps, exploring multiple reasoning paths simultaneously.

β†’ The system was tested on two real-world cases: an Iranian broker application and NASA's X-38 fault-tolerant system.

-----

🎯 Key Insights:

β†’ Graph structure significantly improves retrieval accuracy compared to traditional RAG

β†’ Smaller text chunks provide better recall but require more processing calls

β†’ Dynamic weighting system helps prioritize relevant sub-communities in the graph

β†’ Human oversight remains crucial for nuanced regulatory interpretations

-----

πŸ“Š Results:

β†’ Graph-RAG with Tree of Thought achieved 86.33% F1-score on broker dataset

β†’ Performance improved to 87.93% F1-score on aerospace requirements

β†’ Outperformed baseline RAG methods by 15-20% in compliance detection

Discussion about this video

User's avatar

Ready for more?