legal question answering
**Legal question answering** uses **AI to provide answers to questions about the law** — interpreting legal queries, searching relevant authorities, and generating synthesized answers with proper citations, enabling lawyers, businesses, and individuals to get quick, accurate answers to legal questions.
**What Is Legal QA?**
- **Definition**: AI systems that answer questions about law and legal issues.
- **Input**: Natural language legal question.
- **Output**: Answer with supporting legal authorities and citations.
- **Goal**: Accurate, well-sourced answers to legal questions.
**Question Types**
**Doctrinal Questions**:
- "What are the elements of a breach of contract claim?"
- "What is the statute of limitations for medical malpractice in California?"
- Source: Statutes, case law, legal treatises.
**Interpretive Questions**:
- "Does the ADA require employers to provide remote work as a reasonable accommodation?"
- "Can a non-compete be enforced if the employee was terminated?"
- Requires: Analysis of multiple authorities, jurisdictional variation.
**Procedural Questions**:
- "How do I file a motion for summary judgment in federal court?"
- "What is the deadline to respond to a complaint in New York?"
- Source: Rules of procedure, local rules, practice guides.
**Factual Application**:
- "Given these facts, does the contractor have a valid mechanics lien claim?"
- Requires: Apply law to specific facts, legal reasoning.
**AI Approaches**
**Retrieval-Augmented Generation (RAG)**:
- Retrieve relevant legal authorities (cases, statutes, regulations).
- Generate answer grounded in retrieved sources.
- Include specific citations for verification.
- Best approach for accuracy and verifiability.
**Fine-Tuned Legal LLMs**:
- LLMs trained on legal corpora for domain expertise.
- Better understanding of legal terminology and reasoning.
- Still requires grounding in authoritative sources.
**Knowledge Graph + LLM**:
- Structured legal knowledge (statutes, elements, tests, standards).
- LLM reasons over structured knowledge for consistent answers.
- Better for systematic doctrinal questions.
**Challenges**
- **Accuracy**: Legal errors have serious consequences.
- **Hallucination**: LLMs may fabricate case citations (documented problem).
- **Jurisdiction**: Law varies dramatically by jurisdiction.
- **Currency**: Law changes — answers must reflect current law.
- **Complexity**: Legal issues often involve competing authorities and nuance.
- **Unauthorized Practice**: AI legal answers may constitute unauthorized practice of law.
**Tools & Platforms**
- **AI Legal Assistants**: CoCounsel (Thomson Reuters), Lexis+ AI, Harvey AI.
- **Consumer**: LegalZoom, Rocket Lawyer, DoNotPay for basic legal questions.
- **Research**: Westlaw, LexisNexis with AI-powered answers.
- **Specialized**: Tax AI (Bloomberg Tax), IP AI (PatSnap) for domain-specific QA.
Legal question answering is **making legal knowledge more accessible** — AI enables faster, more comprehensive answers to legal questions for professionals and public alike, though the critical importance of accuracy in law demands rigorous verification and responsible deployment.