Enhancing LLM Performance on Legal Textual Entailment with Few-Shot CoT-based RAG

Large Language Models (LLMs), leveraging extensive data, have become successful in text generation applications. However, their integration into the legal domain presents distinct challenges, prompting deviations in thought processes and potentially misleading outcomes. Such discrepancies can significantly impact the efficacy of legal text applications. In our study, we propose a novel approach that combines retrieval-based methods with generation-based techniques to provide relevant explanations and labels for the given query for legal textual entailment task, leveraging the concept of Chain of Thought (CoT) for reasoning and few-shot prompting. Later, we enhance LLM outputs through the application of various text generation strategies. Our findings demonstrate an enhancement, with a 5% increase in F1 score and a 3% improvement in accuracy when compared with zero-shot baselines. This highlights the effectiveness of utilizing these strategies in specialized fields such as law, where precision and reliability are of utmost importance.

Authors

Institutions

Publication Details

Published
2024-09-20
DOI
https://doi.org/10.1109/spices62143.2024.10779705
Citations
4
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
1.39
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing LLM Performance on Legal Textual Entailment with Few-Shot CoT-based RAG

S. Jaya Nirmala, Reshma Sheik, Amiel T. Sharon, Sneha Ann Reji et al.
4 citations
Topic Modeling
1.39
article

Enhancing LLM Performance on Legal Textual Entailment with Few-Shot CoT-based RAG

S. Jaya Nirmala, Reshma Sheik, Amiel T. Sharon, Sneha Ann Reji, Avisha Rai M
article en
4 citations

Abstract

Large Language Models (LLMs), leveraging extensive data, have become successful in text generation applications. However, their integration into the legal domain presents distinct challenges, prompting deviations in thought processes and potentially misleading outcomes. Such discrepancies can significantly impact the efficacy of legal text applications. In our study, we propose a novel approach that combines retrieval-based methods with generation-based techniques to provide relevant explanations and labels for the given query for legal textual entailment task, leveraging the concept of Chain of Thought (CoT) for reasoning and few-shot prompting. Later, we enhance LLM outputs through the application of various text generation strategies. Our findings demonstrate an enhancement, with a 5% increase in F1 score and a 3% improvement in accuracy when compared with zero-shot baselines. This highlights the effectiveness of utilizing these strategies in specialized fields such as law, where precision and reliability are of utmost importance.

National Institute of Technology Tiruchirappalli (IN)
Peace, Justice and strong institutions
Openalex Percentile: Top 15%
Topic Modeling
1.39
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Enhancing LLM Performance on Legal Textual Entailment with Few-Shot CoT-based RAG — S. Jaya Nirmala, Reshma Sheik, et al. · (2024) | TGRS Research Map | TGRS