AAMAS Conference 2026 Conference Paper
GLEAR: A Graph Logic-Enhanced RAG Framework for Legal QA
- Jingyun Sun
- Jiaming Tian
- Jie Shi
- Yixin Zhang
- Wenxi Sheng
- Yang Li
Existing Legal Large Language Models (3LMs) can answer user queries due to their parameterized ability to understand and generatelegaltext. However, theylackeffectiveutilizationoflogicallegal knowledge, limitingtheirperformanceinlegalQuestionAnswering (QA). To leverage the semantic understanding capability of 3LMs while effectively capturing the logical relationships between legal knowledge, we propose a graph logic-enhanced RAG framework for legal QA, named GLEAR. The framework first structures various legal knowledge into a multi-source heterogeneous knowledge graph, and then enhances the model’s response quality through three core processes: dual-driven legal knowledge retrieval, key logical path mining, and inference enhancement. Experimental results show that GLEAR outperforms the baselines by an average of 14 percentage points across five traditional legal NLP tasks. In the free-form legal QA task, GLEAR also significantly surpasses the baselines in terms of response accuracy, professionalism, and comprehensiveness. Additionally, experiments demonstrate that GLEARoutperformsthestandardRAGmethodinbothperformance and computational efficiency.