GAIus: Combining Genai with Legal Clauses Retrieval for Knowledge-based Assistant
Not on the map. Why?
Abstract (arXiv)
In this paper we discuss the capability of large language models to base their answer and provide proper references when dealing with legal matters of non-english and non-chinese speaking country. We discuss the history of legal information retrieval, the difference between case law and statute law, its impact on the legal tasks and analyze the latest research in this field. Basing on that background we introduce gAIus, the architecture of the cognitive LLM-based agent, whose responses are based on the knowledge retrieved from certain legal act, which is Polish Civil Code. We propose a retrieval mechanism which is more explainable, human-friendly and achieves better results than embedding-based approaches. To evaluate our method we create special dataset based on single-choice questions from entrance exams for law apprenticeships conducted in Poland. The proposed architecture critically leveraged the abilities of used large language models, improving the gpt-3.5-turbo-0125 by 419%, allowing it to beat gpt-4o and lifting gpt-4o-mini score from 31% to 86%. At the end of our paper we show the possible future path of research and potential applications of our findings.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 22 references that are in the map. First posted on arXiv 2 Jul 2025.
Builds on
11 of 22 references.
References · 11
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Cognitive Architectures for Language Agentscited by 422
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
- 2024LegalBench-RAG: A Benchmark for Retrieval-Augmented Generation in the Legal Domaincited by 113
- 2024RAG vs Fine-tuning: Pipelines, Tradeoffs, and a Case Study on Agriculturecited by 80
- 2024CBR-RAG: Case-Based Reasoning for Retrieval Augmented Generation in LLMs for Legal Question Answeringcited by 70
- 2024LawGPT: A Chinese Legal Knowledge-Enhanced Large Language Modelcited by 34
- 2019Extreme Multi-Label Legal Text Classification: A case study in EU Legislationcited by 26
- 2024CaseGPT: a case reasoning framework based on language models and retrieval-augmented generationcited by 7
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025A Reasoning-Focused Legal Retrieval Benchmark
- 2024GRAF: Graph Retrieval Augmented by Facts for Romanian Legal Multi-Choice Question Answering
- 2026NepKANUN: A RAG-Based Nepali Legal Assistant
- 2026NyayaAI: An AI-Powered Legal Assistant Using Multi-Agent Architecture and Retrieval-Augmented Generation
- 2026Retrieval Augmented Generation Framework for the Nepali Legal Domain Question Answering
- 2025The 3rd Place Solution of CCIR CUP 2025: A Framework for Retrieval-Augmented Generation in Multi-Turn Legal Conversation
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justice
- 2024Exploiting LLMs' Reasoning Capability to Infer Implicit Concepts in Legal Information Retrieval