mlsanityData to 14 Oct 2026

Athena: Retrieval-augmented Legal Judgment Prediction with Large Language Models

arXiv 2410.11195 ↗First posted 15 Oct 2024cs.CL cs.AIcited by 2

On the map: Retrieval-augmented generation → Legal and financial RAG

Abstract (arXiv)

Recently, large language models (LLMs) like ChatGPT, LLaMA, and Claude have prevailed in countless domains, including legal scenarios. With LLMs' rapid technological progress, the development of prompt engineering (PE) as an interface between the LLMs and real-world applications has drawn the attention of all developers. Various PE methods have been proposed to overcome real-world challenges, such as few-shot prompting, chain-of-thought, and retrieval-augmented generation (RAG). However, RAG for legal judgment prediction (LJP) is still underexplored. To address this, we propose "Athena", a novel framework cultivating RAG as a core preprocess component to enhance LLMs' performance on specialized tasks. Athena constructs a knowledge base for accusations, attached with a semantic retrieval mechanism through vectorization. Our experiments show that Athena's overall performance has improved significantly, achieving state-of-the-art results on the CAIL2018 dataset. Our ablation study on the in-context window size parameter further reproduces LLMs' "lost-in-the-middle" phenomenon with a relative positional variation. And with moderate hyper-parameter-tuning, we can achieve at most 95% of accuracy accordingly. We also study the impact of query rewriting and data distribution, providing possible directions for future research based on former analyses.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Legal and financial RAG, one of 15 directions in Retrieval-augmented generation. Builds on 24 of its 33 references that are in the map. First posted on arXiv 15 Oct 2024.

Builds on

24 of 33 references.

References · 24

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2022Training language models to follow instructions with human feedbackcited by 15,971
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  9. 2020Scaling Laws for Neural Language Modelscited by 6,586
  10. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  11. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  12. 2023A Survey of Large Language Modelscited by 2,576
12 more
  1. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  2. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  3. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  4. 2024MiniCPM-V: A GPT-4V Level MLLM on Your Phonecited by 1,079
  5. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  6. 2024Large Language Models: A Surveycited by 525
  7. 2019Neural Legal Judgment Prediction in Englishcited by 209
  8. 2018CAIL2018: A Large-Scale Legal Dataset for Judgment Predictioncited by 170
  9. 2023Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Predictioncited by 38
  10. 2020SCOUTER: Slot Attention-based Classifier for Explainable Image Recognitioncited by 29
  11. 2018Overview of CAIL2018: Legal Judgment Prediction Competitioncited by 13
  12. 2024Tele-FLM Technical Reportcited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Fine-grained Claim-level RAG Benchmark for Law
  2. 2025All for law and law for all: Adaptive RAG Pipeline for Legal Research
  3. 2025LexRAG: Benchmarking Retrieval-Augmented Generation in Multi-Turn Legal Consultation Conversation
  4. 2025A Reasoning-Focused Legal Retrieval Benchmark
  5. 2024LegalBench-RAG: A Benchmark for Retrieval-Augmented Generation in the Legal Domain
  6. 2024CBR-RAG: Case-Based Reasoning for Retrieval Augmented Generation in LLMs for Legal Question Answering
  7. 2025Judge as A Judge: Improving the Evaluation of Retrieval-Augmented Generation through the Judge-Consistency of Large Language Models
  8. 2025ASVRI-Legal: Fine-Tuning LLMs with Retrieval Augmented Generation for Enhanced Legal Regulation