Activities per year
Abstract
Large Language Models (LLMs) can appear to generate expert advice on legal matters. However, at closer analysis, some of the advice provided has proven unsound or erroneous. We tested LLMs’ performance in the procedural and technical area of insolvency law in which our team has relevant expertise. This paper demonstrates that statistically more accurate results to evaluation questions come from a design which adds a curated knowledge base to produce quality responses when querying LLMs. We evaluated our bot head-to-head on an unseen test set of twelve questions about insolvency law against the unmodified versions of gpt-3.5-turbo and gpt-4 with a mark scheme similar to those used in examinations in law schools. On the “unseen test set”, the Insolvency Bot based on gpt-3.5-turbo outper-formed gpt-3.5-turbo (p = 1.8%), and our gpt-4 based bot outperformed unmodified gpt-4 (p = 0.05%). These promising results can be expanded to cross-jurisdictional queries and be further improved by matching on-point legal information to user queries. Overall, they demonstrate the importance of incorporating trusted knowledge sources into traditional LLMs in answering domain-specific queries.
Original language | English |
---|---|
Title of host publication | Legal Knowledge and Information Systems |
Subtitle of host publication | JURIX 2023: The Thirty-sixth Annual Conference, Maastricht, the Netherlands, 18–20 December 2023 |
Editors | Giovanni Sileno, Jerry Spanakis, Gijs van Dijck |
Place of Publication | Amsterdam |
Publisher | IOS Press |
Pages | 305-310 |
Number of pages | 6 |
ISBN (Electronic) | 978-1-64368-473-4 |
ISBN (Print) | 978-1-64368-472-7 |
DOIs | |
Publication status | Published - 18 Dec 2023 |
Event | 36th International Conference on Legal Knowledge and Information Systems - Maastricht University, Maastricht, Netherlands Duration: 18 Dec 2023 → 20 Dec 2023 https://jurix23.maastrichtlawtech.eu/ |
Publication series
Name | Frontiers in Artificial Intelligence and Applications |
---|---|
Publisher | IOS Press |
Number | 379 |
Conference
Conference | 36th International Conference on Legal Knowledge and Information Systems |
---|---|
Abbreviated title | JURIX 2023 |
Country/Territory | Netherlands |
City | Maastricht |
Period | 18/12/23 → 20/12/23 |
Internet address |
Keywords
- legal tech
- large language models (LLM)
- natural language processing
- prompt engineering
- insolvency law
- Chatbot
-
A generative AI-based legal advice tool for small businesses in distress
Ribary, M. (Speaker) & Wood, T. (Speaker)
5 Dec 2024Activity: Talk or presentation › Invited talk
-
The inner life of a legal chatbot: A TED-style talk
Ribary, M. (Speaker)
13 Jun 2024Activity: Talk or presentation › Invited talk
-
A GPT-based legal advice tool for small businesses in distress
Ribary, M. (Speaker), Vaccari, E. (Speaker), Krause, P. (Speaker), Orban, M. (Speaker) & Wood, T. (Speaker)
25 Apr 2024Activity: Talk or presentation › Oral presentation