RAMITHA ABEYRATNE r.abeyratne@rgu.ac.uk
Research Student
RAMITHA ABEYRATNE r.abeyratne@rgu.ac.uk
Research Student
Dr Kyle Martin k.martin3@rgu.ac.uk
Editor
Xiaomeng Ye
Editor
This research investigates the integration of Case-Based Reasoning (CBR) with Retrieval-Augmented Generation (RAG) for Large Language Models (LLMs) to enhance the reliability of legal question-answering systems. Thus far, we have developed a structured retrieval mechanism using CBR to improve the contextual relevance of generative outputs. Additionally, we introduced two novel alignment-based evaluation metrics—weighted and unweighted—which demonstrated superior performance over existing baselines in assessing QA responses. Our experimental validation on a legal dataset confirmed the effectiveness of the CBR-RAG approach in improving response accuracy. Moving forward, we aim to refine weighting strategies for alignment metrics and enhance textual representations to improve evaluation robustness. Furthermore, we plan to extend our study beyond the legal domain by conducting a comparative analysis across multiple datasets, ensuring broader applicability of the CBR-RAG framework.
ABEYRATNE, R. 2025. Leveraging ensemble LLMs and contextual embeddings for case-based reasoning in the legal domain. In Martin, K. and Ye, X. (eds.) ICCBR-WS 2025: joint proceedings of the workshops and doctoral consortium at the 33rd International conference on case-based reasoning (ICCBR-WS 2025) co-located with the 33rd International conference on case-based reasoning (ICCBR 2025), 30 June 2025, Biarritz, France. CEUR workshop proceedings, 3993. Aachen: CEUR-WS [online], pages 68-73. Available from: https://ceur-ws.org/Vol-3993/short1.pdf
Presentation Conference Type | Conference Paper (published) |
---|---|
Conference Name | 33rd International conference on case-based reasoning workshops and doctoral consortium (ICCBR-WS 2025) co-located with the 33rd International conference on case-based reasoning (ICCBR 2025) |
Start Date | Jun 30, 2025 |
Acceptance Date | Apr 6, 2025 |
Online Publication Date | Jun 12, 2025 |
Publication Date | Jul 8, 2025 |
Deposit Date | Aug 1, 2025 |
Publicly Available Date | Aug 1, 2025 |
Publisher | CEUR-WS |
Peer Reviewed | Peer Reviewed |
Series Title | CEUR-workshop proceedings |
Series Number | 3993 |
Series ISSN | 1613-0073 |
Book Title | ICCBR-WS 2025 |
Keywords | Case-based reasoning (CBR); Retrieval augmented generation (RAG); Large language models (LLMs); LLMs-as-Judges; Case alignment; Embeddings |
Public URL | https://rgu-repository.worktribe.com/output/2959168 |
Publisher URL | https://ceur-ws.org/Vol-3993/ |
ABEYRATNE 2025 Leveraging ensemble LLMs (VOR)
(842 Kb)
PDF
Publisher Licence URL
https://creativecommons.org/licenses/by/4.0/
Copyright Statement
© 2025 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
SCaLe-QA: Sri Lankan case law embeddings for legal QA.
(2024)
Presentation / Conference Contribution
CBR-RAG: case-based reasoning for retrieval augmented generation in LLMs for legal question answering.
(2024)
Presentation / Conference Contribution
AlignLLM: alignment-based evaluation using ensemble of LLMs-as-judges for Q &A.
(2025)
Presentation / Conference Contribution
About OpenAIR@RGU
Administrator e-mail: publications@rgu.ac.uk
This application uses the following open-source libraries:
Apache License Version 2.0 (http://www.apache.org/licenses/)
Apache License Version 2.0 (http://www.apache.org/licenses/)
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search