The Factuality of Large Language Models in the Legal Domain
Hamdani, Rajaa El, Bonald, Thomas, Malliaros, Fragkiskos, Holzenberger, Nils, Suchanek, Fabian
–arXiv.org Artificial Intelligence
This paper investigates the factuality of large language models (LLMs) as knowledge bases in the legal domain, in a realistic usage scenario: we allow for acceptable variations in the answer, and let the model abstain from answering when uncertain. First, we design a dataset of diverse factual questions about case law and legislation. We then use the dataset to evaluate several LLMs under different evaluation methods, including exact, alias, and fuzzy matching. Our results show that the performance improves significantly under the alias and fuzzy matching methods. Further, we explore the impact of abstaining and in-context examples, finding that both strategies enhance precision. Finally, we demonstrate that additional pre-training on legal documents, as seen with SaulLM, further improves factual precision from 63% to 81%.
arXiv.org Artificial Intelligence
Sep-18-2024
- Country:
- North America
- United States
- Oklahoma (0.04)
- Louisiana (0.04)
- Hawaii (0.04)
- California > Santa Clara County
- Palo Alto (0.04)
- Canada > Ontario
- Toronto (0.04)
- United States
- Europe
- Middle East > Malta (0.04)
- France (0.04)
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- Asia
- Singapore (0.04)
- Indonesia > Bali (0.04)
- China > Hong Kong (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East
- Jordan (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- North America
- Genre:
- Research Report > New Finding (1.00)
- Technology: