RAG-powered framework teaches LLMs legal expertise through smart case retrieval
Original Problem π:
Legal judgment prediction (LJP) tasks struggle with LLMs' hallucinations and lack of domain-specific knowledge.
Solution in this Paper π§ :
β’ Athena: A novel framework for LJP using retrieval-augmented generation (RAG)
β’ Constructs a knowledge base of accusations with descriptions and examples
β’ Employs semantic retrieval to find relevant accusation candidates
β’ Utilizes LLMs for final judgment prediction with retrieved context
Key Insights from this Paper π‘:
β’ RAG significantly enhances LLMs' performance in LJP tasks
β’ Query rewriting improves retrieval performance
β’ Optimal in-context window size balances retrieval and LLM comprehension
β’ Performance varies across accusation types, with challenges in similar and multi-accusation cases
Results π:
β’ Athena outperforms baseline, zero-shot chain-of-thought, and legal syllogism prompting methods
β’ Achieves up to 95% accuracy with GPT-4o and optimal parameter tuning
β’ Improves performance for smaller models like GPT-3.5-turbo when using RAG
β’ Hit Rate increases significantly with query rewriting, especially beneficial for low-capacity LLMs



