---
title: Dual Knowledge Multilingual RAG
url: https://www.emergentmind.com/topics/dual-knowledge-multilingual-rag-dkm-rag
type: topic
---

# Dual Knowledge Multilingual RAG

Dual Knowledge Multilingual Retrieval-Augmented Generation (DKM-RAG) is a framework designed to address systematic language preference issues in multilingual retrieval-augmented generation (mRAG) systems. By fusing externally retrieved and translated evidence with internally generated, knowledge-enriched passages, DKM-RAG seeks to produce more consistent and accurate outputs across diverse linguistic settings. This approach leverages non-parametric and parametric knowledge sources, enhancing both evidence relevance and generation quality over standard mRAG pipelines [2502.11175].

## 1. Motivation and Problem Characterization

Multilingual retrieval-augmented generation systems face persistent challenges due to language bias and inconsistent evidence fusion. In retrieval, dense multilingual retrievers (e.g., bi-encoders) tend to over-prioritize documents either in the query language or in high-resource languages, leading to diminished relevance for low-resource language content. This phenomenon is characterized via the MultiLingualRank (MLR) metric, which quantifies rank improvements upon translation of non-query-language passages into the query language.

In generation, large language models (LLMs) demonstrate a preference for outputs in the query language or Latin scripts, often disregarding strongly relevant evidence in other scripts or languages. This can result in answer inconsistency, especially when supporting passages conflict linguistically, and reduces answer quality for low-resource languages. The net effect is evidence selection bias, lowered performance, and inconsistent answers across linguistic contexts [2502.11175].

## 2. DKM-RAG System Architecture

DKM-RAG extends the canonical mRAG pipeline by introducing a dual-knowledge fusion mechanism. The architecture comprises the following stages:

1. **Retrieval & Re-ranking**: For a given query $q$, the system retrieves the top-50 documents $D_q$ from available languages using a multilingual retriever (e.g., BGE-m3). These documents are re-ranked to select the top-5 candidates.

2. **External Translation**: Each document $d \in D_q$ with language $L_d \neq L_q$ is translated into the query language $L_q$ using a high-coverage neural machine translation system (NLLB-200). The resulting set of translated passages is denoted $P_{\mathrm{translated}}$.

3. **Internal Rewriting**: An LLM refines each translated passage within the context of $q$, incorporating the model’s parametric knowledge, reducing redundancy, and highlighting relevance. This yields $P_{\mathrm{refined}}$.

4. **Fusion & Generation**: The system concatenates $P_{\mathrm{translated}}$ and $P_{\mathrm{refined}}$ to form $P_{\mathrm{final}}$. The generator LLM produces the final answer using $(q, P_{\mathrm{final}})$ as input.

This pipeline does not require additional trainable parameters or alignment losses, instead relying on off-the-shelf retrievers, translators, and LLMs [2502.11175].

## 3. Formal Algorithms and Metrics

The retrieval scoring follows an encoder-based similarity formulation:
\[
s(q, d) = \mathrm{sim}(f_q(q), f_d(d))
\]
where $f_q$ and $f_d$ are encoder functions for the query and document, and $\mathrm{sim}$ is typically cosine similarity.

To quantify language preference shifts post-translation, the MultiLingualRank metric is defined:
\[
\Delta r_d = \max(r_d^{\mathrm{init}} - r_d^{\mathrm{rerank}}, 0)
\]
\[
\mathrm{MLR}_q = 
\begin{cases}
\dfrac{\sum_{d} \Delta r_d}{\sum_{d} \Delta r_d^{\max}} \times 100 & \text{if } \sum_{d} \Delta r_d^{\max} > 0 \\
0 & \text{otherwise}
\end{cases}
\]
with overall average MLR computed across the query set. Fusion is performed by concatenation:
\[
P_{\mathrm{final}} = \mathrm{concat}(P_{\mathrm{translated}}, P_{\mathrm{refined}})
\]
Generation is executed via
\[
\hat{a} = \arg\max_a p_\theta(a \mid q, P_{\mathrm{final}})
\]
[2502.11175].

## 4. Empirical Evaluation

Benchmarking was conducted using the MKQA dataset (2.7K examples per language, 25 languages) and a Wikipedia datastore comprising both English and native-language articles. BGE-m3 served as the retriever, NLLB-200-distilled-600M for translation, and generator LLMs included aya-expanse-8B, Qwen2.5-7B-Instruct, Phi-4-14B, and Llama-3.1-8B-Instruct.

Results demonstrated consistent improvements over “all” and “single-language” RAG variants, measured by character 3-gram recall:
- English queries: increase from ~80 to ~82.6
- Chinese queries: increase from ~32.6 (“all”) or ~38.3 (zh only) to ~44.6
- Korean queries: increase from ~40.6 (“all”) or ~49.7 (ko only) to ~55.0

Ablation studies confirmed the necessity of both external translation and internal rewriting: omitting $P_{\mathrm{refined}}$ led to a 3–6 point drop in performance; omitting $P_{\mathrm{translated}}$ led to a 1–5 point decrease. DKM-RAG exhibited effective mitigation of generator language/script bias, yielding more consistent multilingual outputs [2502.11175].

## 5. Relation to Dual-Knowledge and Multilingual RAG Designs

DKM-RAG’s dual knowledge concept shares structural principles with recent dual-source RAG architectures in specialized domains, such as DoctorRAG [2505.19538]. In DoctorRAG, dual retrieval draws jointly from expert knowledge bases and patient case histories, unified via conceptual tagging, multitask retrieval, and iterative answer refinement. DKM-RAG’s mechanism fuses external translations (analogous to non-parametric knowledge) with internally generated, relevance- and knowledge-enriched rewrites (parametric knowledge), constituting a general dual-knowledge fusion paradigm.

A critical difference is methodological: DoctorRAG deploys modular criteria for factual/context alignment and patient relevance using a Med-TextGrad module, and leverages conceptual tagging to sharpen retrieval focus [2505.19538]. DKM-RAG, by contrast, operates in an open-domain, Wikipedia-centric setting, utilizing off-the-shelf translation and LLM rewriting to address language preference without domain-specific ontologies.

## 6. Limitations and Future Directions

DKM-RAG inherits several limitations:
- Quality of translation is bottlenecked by NLLB-200 errors, which may propagate noise into downstream reasoning.
- Latency and computational costs increase due to translation and rewriting steps.
- Prompt-based rewriting may lack the sophistication of trainable fusion or dynamic weighting mechanisms.
- Empirical scope is limited to Wikipedia and 25 languages; generalizability to broader domains or truly low-resource languages remains untested.

Future work could explore joint training for retrieval and rewriting, domain adaptation for specialized settings, and extension to tasks requiring deeper cross-lingual or dual-source reasoning [2502.11175], [2505.19538].

## 7. Design Implications and Summary

Tabulated below are distinguishing features of DKM-RAG and analogous systems:

| System      | Dual Knowledge Sources              | Multilingual Handling            | Refinement/Fusion Approach        |
|-------------|------------------------------------|----------------------------------|-----------------------------------|
| DKM-RAG     | External (translated) + internal (refined) | Translation + LLM rewriting        | Passage concatenation, prompt rewriting |
| DoctorRAG   | Knowledge base + patient experience      | Shared embeddings, translation     | Conceptual tagging, textual gradients   |

DKM-RAG demonstrates that lightweight, modular enhancements—namely, dual-knowledge passage fusion—effectively counteract the language bias issues endemic to mRAG systems. This design leverages both non-parametric and parametric knowledge via translation and LLM rewriting, improving consistency and output quality in multilingual retrieval-augmented generation tasks [2502.11175], [2505.19538].

Source: https://www.emergentmind.com/topics/dual-knowledge-multilingual-rag-dkm-rag