Enhancing Multilingual Document-Grounded Dialogue Using Cascaded Prompt-Based Post-Training Models

Jun Liu, Shuang Cheng, Zineng Zhou, Yang Gu, Jian Ye, Haiyong Luo2023

TL;DR

Researchers from the Chinese Academy of Sciences have developed a winning framework for multilingual chatbots that can "read" documents to answer questions. By breaking the task into a three-stage pipeline—Retrieval, Reranking, and Generation—and leveraging "post-training" on data-rich languages like English and Chinese, they achieved first place in the DialDoc23 competition for low-resource languages like Vietnamese and French.

What Problem Does This Paper Address?

Document-Grounded Dialogue Systems (DGDS) are AI agents designed to provide accurate, evidence-based responses by consulting a specific set of documents (like a manual or a knowledge base) during a conversation. While these systems work well in English, they struggle with "low-resource" languages—languages like Vietnamese or French that have significantly less specialized training data available.

The challenge is twofold: first, the system must accurately find the right needle (passage) in a haystack (document set) across different languages. Second, it must generate a fluent, natural response in the target language. The authors tackle the DialDoc23 shared task, which specifically tests these abilities in multilingual settings where training data is scarce.

Methods

The authors propose a Cascaded Prompt-Based Post-Training approach. Instead of one giant model, they use a modular three-stage pipeline:

  1. Retrieval Stage (The Scout): Using a Bi-encoder (InfoXLM), the system quickly scans thousands of passages to find the top 20 candidates. To make this more accurate, they added a Domain Classification loss, which forces the model to recognize the "topic" of both the query and the passage, ensuring they align better in the vector space.
  2. Reranking Stage (The Judge): A more powerful, but slower, Cross-encoder (XLM-RoBERTa-large) looks at the top 20 candidates and the query together to pick the single best passage. They used an ensemble of 10 models to vote on the final winner, significantly boosting reliability.
  3. Generation Stage (The Writer): Using mBART-large, the system takes the query, the dialogue history, and the chosen passage to write a response.

Key Innovations: * Multilingual Post-Training: Before training on the small Vietnamese/French datasets, they "warmed up" the models using massive English and Chinese datasets. This allowed the models to learn the structure of document-grounded dialogue from data-rich languages first. * Prompt Engineering: They experimented with "in-lingual" prompts (instructions in the target language) versus "cross-lingual" prompts (instructions in a unified language). * R-drop Regularization: A technique that passes the same data through the model twice with different "dropout" masks and forces the outputs to be consistent, which prevents the model from overfitting to the small training set.

Datasets

  • DialDoc23 Shared Task: The primary benchmark featuring 797 Vietnamese dialogues and 816 French dialogues, supported by a corpus of 17,272 paragraphs.
  • Doc2Bot: Used for Chinese post-training (5,760 dialogue turns).
  • MultiDoc2Dial: Used for English post-training (26,506 dialogue turns).

Key Insights and Ideas

  • Language Similarity as a Bridge: The authors found that post-training on English and Chinese significantly improved performance on French and Vietnamese. This suggests that the logic of how to use a document to answer a question is somewhat universal across languages.
  • In-Lingual Prompts Win: Using instructions in the user's native language (e.g., giving the model instructions in Vietnamese for a Vietnamese query) outperformed using a single unified language for all prompts. The authors believe this "triggers" the model's specific language capabilities more effectively.
  • Domain Alignment Matters: Simply matching keywords isn't enough for retrieval. By adding a "domain head" that classifies the topic of the conversation, the model learned to better align the semantic meaning of queries and documents.

Key Results

The proposed system dominated the DialDoc23 leaderboard:

  • First Place: Achieved a "Score-all" (a composite of F1, SacreBLEU, and Rouge-L) of 215.40.
  • Ablation Success: Adding "In-lingual Prompts" and "Post-training" together boosted the Score-all from 189.26 (base mBART) to 196.26. Adding R-drop pushed it even further to 198.46 on the Dev set.
  • Retrieval Accuracy: The combination of post-training and domain classification improved the R@20 (Recall at 20) score by several percentage points, ensuring the "Writer" stage almost always had the right information to work with.

Limitations and Future Work

While highly effective, the paper notes a few areas for improvement:

  • Computational Cost: The Reranking stage uses an ensemble of 10 large models, which is computationally expensive and might be too slow for real-time production environments.
  • Noise in Multi-Passage Retrieval: They tested a "Fusion-in-Decoder" (FiD) approach to look at multiple passages at once, but found it actually performed worse because it introduced too much "noise" compared to picking one perfect passage. Future work could focus on better filtering when multiple documents are relevant.
  • Translation Dependency: For post-training, some data was translated from English. The system's performance is likely sensitive to the quality of these initial translations.

Summary updated

Abstract

The Dialdoc23 shared task presents a Multilingual Document-Grounded Dialogue Systems (MDGDS) challenge, where system responses are generated in multiple languages using user’s queries, historical dialogue records and relevant passages. A major challenge for this task is the limited training data available in low-resource languages such as French and Vietnamese. In this paper, we propose Cascaded Prompt-based Post-training Models, dividing the task into three subtasks: Retrieval, Reranking and Generation. We conduct post-training on high-resource language such as English and Chinese to enhance performance of low-resource languages by using the similarities of languages. Additionally, we utilize the prompt method to activate model’s ability on diverse languages within the dialogue domain and explore which prompt is a good prompt. Our comprehensive experiments demonstrate the effectiveness of our proposed methods, which achieved the first place on the leaderboard with a total score of 215.40 in token-level F1, SacreBleu, and Rouge-L metrics.
BibTeX
@misc{liu2023enhancing,
  author = {Jun Liu and Shuang Cheng and Zineng Zhou and Yang Gu and Jian Ye and Haiyong Luo},
  title = {{Enhancing Multilingual Document-Grounded Dialogue Using Cascaded Prompt-Based Post-Training Models}},
  year = {2023},
  doi = {10.18653/v1/2023.dialdoc-1.5},
}
Figure