Skip to main content
LawSphereX

H-LegalKI: A Hierarchical Legal Knowledge Integration Framework for Legal Community Question Answering

Subject: Legal Language Research

Author or source: Yue Jiang, Ziyu Guan, Jie Zhao, Wei Zhao, Jiaqi Yang

Updated:

Legal question answering (LQA) aims to bridge the gap between the limited availability of legal professionals and the high demand for legal assistance.

Yue Jiang, Ziyu Guan, Jie Zhao, Wei Zhao, Jiaqi Yang. 2024. H-LegalKI: A Hierarchical Legal Knowledge Integration Framework for Legal Community Question Answering. Findings of the Association for Computational Linguistics: EMNLP 2024. Association for Computational Linguistics. DOI 10.18653/v1/2024.findings-emnlp.856. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.

Publication sources

Authors’ abstract

Source page 1–12

Legal question answering (LQA) aims to bridge the gap between the limited availability of legal professionals and the high demand for legal assistance. Traditional LQA approaches typically either select the optimal answers from an answer set or extract answers from law texts. However, they often struggle to provide relevant answers to complex, real-world questions due to the rigidity of predetermined answers. Although recent advancements in legal large language models have shown some potential in enhancing answer relevance, they fail to address the multiple user-specific circumstances, i.e., factual details in questions. To address these issues, we (1) construct the first publicly available legal community question-answering (LegalCQA) dataset; and (2) propose a Hierarchical Legal Knowledge Integration (H-LegalKI) framework. LegalCQA is collected from two widely used legal forums for developing user-centered LQA models. For H-LegalKI, we design a legal knowledge retriever that gathers comprehensive legal knowledge based on both entire questions and individual sentences. And an answer generation model is designed to understand question- and sentence-level factual details and integrate corresponding legal knowledge in a hierarchical way. Additionally, we design a de-redundancy module to remove redundant legal knowledge. Experiments on LegalCQA demonstrate the superiority of our framework over competitive baselines.

Reading guide for legal language research

Source page 1–12

Write down the jurisdiction, type of legal source and unit of analysis. Check which findings transfer to other courts or document types.