The rise of Large Language Models (LLMs) has had a profoundly transformative effect on a number of fields and domains. However, their uptake in Law has proven more challenging due to the important issues of reliability and transparency. In this study, we present a structured prompting methodology as a viable alternative to the often expensive fine-tuning, with the capability of tacking long legal documents from the CUAD dataset on the task of information retrieval. Each document is first split into chunks via a system of chunking and augmentation, addressing the long document problem. Then, alongside an engineered prompt, the input is fed into QWEN-2 to produce a set of answers for each question. Finally, we tackle the resulting candidate selection problem with the introduction of the Distribution-based Localisation and Inverse Cardinality Weighting heuristics. This approach leverages a general purpose model to promote long term scalability, prompt engineering to increase reliability and the two heuristic strategies to reduce the impact of the black box effect. Whilst our model performs up to 9\% better than the previously presented method, reaching state-of-the-art performance, it also highlights the limiting factor of current automatic evaluation metrics for question answering, serving as a call to action for future research. However, the chief aim of this work is to underscore the potential of structured prompt engineering as a useful, yet under-explored, tool in ensuring accountability and responsibility of AI in the legal domain, and beyond.
Analysing similarities between legal court documents using natural language processing approaches based on Transformers
TRT5 - Regional Labour Court of the 5th Region(第五地区地区劳工法院);SENAI CIMATEC University Center(SENAI CIMATEC大学中心);Surrey Institute for People-Centred AI(萨里以人为本人工智能研究所);University of Surrey(萨里大学)
Large Language Models as Tax Attorneys: A Case Study in Legal Capabilities Emergence
Stanford University(斯坦福大学);University of Michigan(密歇根大学);University of Washington(华盛顿大学);University of Southern California(南加州大学);Northwestern Pritzker School of Law(西北大学普利兹克法学院);SimPPL
Lawma: The Power of Specialization for Legal Annotation
Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Tübingen AI Center(图宾根人工智能中心);Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所);ETH Zurich(苏黎世联邦理工学院);Max Planck Institute for Research on Collective Goods(马克斯·普朗克集体研究研究所);Washington University in St. Louis - School of Law(圣路易斯华盛顿大学法学院);University of Virginia School of Law(弗吉尼亚大学法学院)
Annotating Topical Legal Insights from Case Proceedings
Indian Institute of Science Education and Research Kolkata(印度科学教育与研究学院加尔各答分校);University of Glasgow(格拉斯哥大学);West Bengal National University of Juridical Sciences(西孟加拉国家司法科学大学)
Corpus for Automatic Structuring of Legal Documents
EkStep Foundation(EkStep基金会);Thoughtworks Technologies India Pvt Ltd.(印度思特沃克技术私人有限公司);Agami;Indian Institute of Technology Kanpur (IIT-K)(印度理工学院坎普尔分校(IIT-K))
Semantic Segmentation of Legal Documents via Rhetorical Roles
Indian Institute of Technology Kanpur (IIT-K)(印度理工学院坎普尔分校);West Bengal National University of Juridical Sciences (WBNUJS)(西孟加拉国立法律科学大学);Indian Institute of Management Ranchi (IIM-R)(印度管理学院兰契分校)
Structured Legal Document Generation in India: A Model-Agnostic Wrapper Approach with VidhikDastaavej
Indian Institute of Technology Kanpur, India(印度理工学院坎浦分校);University of Birmingham Dubai, UAE(迪拜大学);Symbiosis Law School Pune, India(萨比欧法学院皮尔分校);IISER Kolkata, India(印度科学学院科钦分校)
MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents
University of Utah(犹他大学);Bosch Research(博世研究院);Indian Institute of Technology Kharagpur(印度克勒格布尔理工学院);Indian Institute of Science Education and Research Kolkata(印度加尔各答科学教育与研究学院)
ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanation
Indian Institute of Technology Kanpur(坎普尔印度理工学院);Indian Institute of Science Education and Research Kolkata(加尔各答印度科学教育与研究学院);West Bengal National University of Juridical Sciences(西孟加拉国立法科大学)
LawSum: A weakly supervised approach for Indian Legal Document Summarization
Dhirubhai Ambani Institute of Information and Communication Technology(迪鲁巴伊·安巴尼信息与通信技术学院);Malaviya National Institute of Technology(马拉维亚国家理工学院);Paramonic AI
Towards Intelligent Legal Document Analysis: CNN-Driven Classification of Case Law Texts
Department of Computer Science and Engineering(计算机科学与工程系);American International University--Bangladesh(国际大学(孟加拉国));Prime University(Prime大学);Shajalal University of Science and Technology(沙贾拉尔科学与技术大学);George Mason University(乔治·梅森大学);AI and Big Data Department(人工智能与大数据部门);Woosong University(沃宗大学)
Sequence-to-Sequence Models for Extracting Information from Registration and Legal Documents
NeuralMind Inteligência Artificial(NeuralMind 人工智能公司);Institute of Computing, University of Campinas(坎皮纳斯大学计算研究所);School of Electrical and Computer Engineering, University of Campinas(坎皮纳斯大学电气与计算机工程学院)
CDJUR-BR -- A Golden Collection of Legal Document from Brazilian Justice with Fine-Grained Named Entities
Universidade de Fortaleza(福塔莱萨大学);Instituto Federal de Educação, Ciência e Tecnologia do Ceará(塞阿拉联邦教育、科学与技术学院);Tribunal de Justiça do Estado do Ceará(塞阿拉州法院)
Transformer-based Approaches for Legal Text Processing
Japan Advanced Institute of Science and Technology(日本先进科学技术学院);Institute of Statistical Mathematics(统计数学研究所);University of Engineering and Technology, VNU(越南国立大学工程技术学院);National Institute of Informatics(日本国立信息学研究所)