Reproduce “Intelligent Legal Assistant: An Interactive Clarification System for Legal Question Answering” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Rujing Yao, Yiquan Wu, Tong Zhang, Xuhui Zhang, Yuting Huang, Yang Wu, Jiayin Yang, Changlong Sun and 2 more
An Intelligent Legal Assistant, developed by researchers from Nankai University, Zhejiang University, Worcester Polytechnic Institute, and Fayuan Inc., addresses incomplete user queries by proactively identifying information gaps and generating targeted clarifying questions. This system, which integrates LLMs, knowledge graphs, and reinforcement learning, significantly improves the accuracy and user satisfaction of legal advice compared to state-of-the-art LLMs and commercial systems.
Key insights
- Engaging users in an interactive dialogue to gather missing information before answering significantly improves the quality and relevance of legal advice.
- A Deep Deterministic Policy Gradient (DDPG) reinforcement learning model can effectively predict missing information nodes in a legal knowledge graph based on incomplete user queries.
- Integrating a fine-tuned LLM for deficiency detection, a knowledge graph with DDPG for clarification, and a retrieval-augmented LLM for response generation creates a robust system for handling nuanced legal questions.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.