Optimizing Legal Document Retrieval in Vietnamese with Semi-Hard Negative Mining
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) face significant challenges in specialized domains like law, where precision and domain-specific knowledge are critical. This paper presents a streamlined two-stage framework consisting of Retrieval and Re-ranking to enhance legal document retrieval efficiency and accuracy. Our approach employs a fine-tuned Bi-Encoder for rapid candidate retrieval, followed by a Cross-Encoder for precise re-ranking, both optimized through strategic negative example mining. Key innovations include the introduction of the Exist@m metric to evaluate retrieval effectiveness and the use of semi-hard negatives to mitigate training bias, which significantly improved re-ranking performance. Evaluated on the SoICT Hackathon 2024 for Legal Document Retrieval, our team, 4Huiter, achieved a top-three position. While top-performing teams employed ensemble models and iterative self-training on large bge-m3 architectures, our lightweight, single-pass approach offered a competitive alternative with far fewer parameters. The framework demonstrates that optimized data processing, tailored loss functions, and balanced negative sampling are pivotal for building robust retrieval-augmented systems in legal contexts.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 17 references that are in the map. First posted on arXiv 19 Jul 2025.
Builds on
10 of 17 references.
References · 10
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2017Efficient Natural Language Response Suggestion for Smart Replycited by 229
- 2019Multi-Stage Document Ranking with BERTcited by 201
- 2019Learning Dense Representations for Entity Retrievalcited by 122
- 2022In Defense of Cross-Encoders for Zero-Shot Retrievalcited by 21
- 2018Legal Document Retrieval using Document Vector Embeddings and Deep Learningcited by 13
- 2022Attentive Deep Neural Networks for Legal Document Retrievalcited by 13
- 2025ACORD: An Expert-Annotated Retrieval Dataset for Legal Contract Draftingcited by 11
- 2024Enhancing Legal Document Retrieval: A Multi-Phase Approach with Large Language Modelscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Improving Vietnamese Legal Document Retrieval using Synthetic Data
- 2026Enhancing Legal LLMs through Metadata-Enriched RAG Pipelines and Direct Preference Optimization
- 2025Towards Reliable Retrieval in RAG Systems for Large Legal Datasets
- 2026From Benchmarking to Reasoning: A Dual-Aspect, Large-Scale Evaluation of LLMs on Vietnamese Legal Text
- 2026Legal-DC: Benchmarking Retrieval-Augmented Generation for Legal Documents
- 2026Efficient LLM Distillation for Bangladesh Legal Context: A Smartphone-Compatible Retrieval-Augmented Generation Model
- 2024Vietnamese Legal Information Retrieval in Question-Answering System
- 2026LegalMALR:Multi-Agent Query Understanding and LLM-Based Reranking for Chinese Statute Retrieval