The hybrid semantic-plus-keyword retrieval pattern recurs in public health: Xu et al. 2025's MEGA-RAG aggregates FAISS dense retrieval with BM25 keyword search—adding biomedical knowledge graphs—the same semantic-plus-keyword pairing P. et al. 2026 require for legal analysis.
E42 states MEGA-RAG's retrieval module aggregates FAISS-based dense retrieval, BM25 keyword search, and biomedical knowledge graphs, and E14 states the legal framework employs both a linguistic model (InLegalBERT) and keyword-based retrieval techniques, criticizing traditional semantic-only RAG.
Written by Kimi K3 via Ollama Cloud · checked by GLM-5.3 via Ollama Cloud · 12 Nov, 04:59
Source chain
AEvery quote below was checked, without a model, to appear verbatim in its source.
- 01
“the Multi-Source Evidence Retrieval (MSER) Module aggregates heterogeneous information through FAISS-based dense retrieval, BM25 keyword search, and biomedical knowledge graphs, thereby improving both recall and factual grounding”
Full-text passage · no page number · evidence E42
Traditional retrieval-augmented generation (RAG) frameworks mitigate this issue by retrieving supporting documents; however, they typically rely on a single retrieval pass and lack mechanisms for evaluating answer consistency or handling conflicting evidence. In contrast, MEGA-RAG integrates a four-stage architecture designed to overcome these limitations. First, the Multi-Source Evidence Retrieval (MSER) Module aggregates heterogeneous information through FAISS-based dense retrieval, BM25 keyword search, and biomedical knowledge graphs, thereby improving both recall and factual grounding (30–32). Second, the Diverse Prompted Answer Generation (DPAG) Module generates multiple candidate answers via prompt-based LLM sampling, which are then reranked using cross-encoder relevance scoring (33). Third, the Semantic-Evidential Alignment Evaluation (SEAE) Module evaluates answer consistency by calculating cosine similarity and BERTScore-based alignment with the retrieved evidence (34–36).
Passage read from www.ebi.ac.uk, which may be a preprint rather than the published version.
- 02
“It employs advanced retrieval techniques based on the semantics of legal language (using both a linguistic model architecture such as InLegalBERT and keyword-based retrieval techniques)”
Full-text passage · p. 2 · evidence E14
Legal texts often contain domain-specific terminology and context-dependent meanings that differ from everyday language, making it difficult for such models to accurately capture nuanced legal interpretations. • Lack of traceability: legal reasoning requires explicit references to case law, statutes, and legal provisions to justify conclusions. However, LLM-generated responses typically lack verifiable citations, forcing users to perform additional manual validation to ensure correctness. This work proposes a multi-level framework that focuses on using Retrieval-Augmented Generation (RAG) for various types of legal reasoning tasks, while addressing shortfalls in current legal reasoning tools. It employs advanced retrieval techniques based on the semantics of legal language (using both a linguistic model architecture such as InLegalBERT and keyword-based retrieval techniques) in order to provide reliable, easily interpretable output of legal reasoning processes. Traditional RAG systems only rely on finding semantic matches.
Passage read from www.frontiersin.org, which may be a preprint rather than the published version.