MFAQ: a Multilingual FAQ Dataset
Paper · 2021 · Maxime De Bruyn, Ehsan Lotfi, Jeska Buhmann et al.
Summary
An FAQ page can contain the answer a reader needs and still make it hard to find. A question about an admissions test might sit beside questions about grades, transfer credits, and application fees. The answers concern the same program, and the right one might refer to the test simply as “these scores.” The MFAQ paper studies how to find the right answer in collections like this. Its authors build a public dataset from frequently asked questions on the web and use it to test multilingual question answering through retrieval of existing answers.
MFAQ contains around 6M question–answer pairs in 21 languages. The authors extract entries from structured markup that website publishers use to identify FAQs. They remove near-duplicate pages and keep entries grouped by language and source page. This grouping matters because the other answers on a page are frequently plausible at first glance. The authors also build a validation split with no root domains in common with training, limit how many pages each validation domain can supply, and favor pages with more answers to choose from.
The authors train a retriever based on XLM-RoBERTa. It turns each question and answer into a separate vector and ranks answers by how closely their vectors match the question. During training, answers to neighboring FAQs serve as examples of responses that are related to the question but address a different request. The multilingual retriever achieves higher mean reciprocal rank, a measure that rewards putting the right answer near the top, than either unsupervised baseline in every language tested. In the comparisons with language-specific encoders, joint training leads outside English. On the English validation set, the English RoBERTa retriever scores 82.9 MRR, while the multilingual retriever scores 82.5.
The experiments also show that the composition of the training data matters. Training with one page per domain yields an average MRR of 80.8, compared with 76.7 using the full training set. On an admissions FAQ page, individual edits expose a different weakness. Naming a test explicitly in the answer repairs a ranking error, and removing a phrase about full-time work makes a successful query harder to answer. These results concern a benchmark that uses published FAQ questions as queries. Whether the retriever handles the wording of real users remains open. The authors release MFAQ, the trained retriever, and the training script.
Deep dive: MFAQ: a Multilingual FAQ Dataset
MFAQ collects multilingual web FAQs and tests how well retrieval systems rank the right answer among closely related alternatives. · about 35 minutes to read
The problem and its context
Finding an answer within an FAQ
Organizations write FAQs so people can find answers to recurring questions without contacting someone directly. A retrieval system can make the same answers accessible through a search box, an email interface, or a chatbot. It receives a query and looks for the most relevant entry in a collection. The answer has already been written, so the system's job is to identify which entry addresses the request. That makes FAQ retrieval an information retrieval problem with a particular kind of candidate collection.
FAQ entries on the same page are often close in topic. In the paper's example about COVID-19 vaccination, several neighboring answers mention COVID-19 even though they address different concerns. Recognizing the shared subject brings the search to the right area, but the wording that distinguishes the reader's specific concern may be much less prominent. According to the paper, FAQ pages on the web contain six answers on average. A short list can still pose a demanding ranking task when the candidates use similar language and each addresses a different part of the topic.
The paper relates FAQ retrieval to non-factoid and community question answering. A FAQ answer can be an explanation or a piece of procedural guidance, so looking for a short fact within it captures only part of the task. Community question answering also involves matching questions to responses, but a collection of community posts can offer several responses to the same question. An organizational FAQ usually supplies an editorially paired question and answer. The authors describe the retrieval task with a single correct choice and an FAQ entry as the candidate unit. The entry gives a system two possible sources of evidence, the publisher's question and the accompanying response.
The wording difference between a reader's query and the publisher's question is central to that formulation. A publisher might name a process with the official term, while the reader describes the situation that led them to ask about it. The stored answer may contain some of the missing vocabulary, or it may be brief because it relies on the question for context. Earlier systems exploit these fields in different ways. MFAQ preserves both fields in its data, then uses a more specific experimental task that asks whether a published question can be matched to its answer.
How earlier systems dealt with wording differences
The paper groups earlier FAQ retrieval methods into lexical, unsupervised, and supervised approaches. FAQ-Finder represents a lexical approach with a way to account for related terms. It compared a query with the question portion of entries drawn from Usenet and used TF-IDF, which makes a term more informative when it is relatively distinctive in the collection. It supplemented the comparison with relationships from WordNet. Later work by Tomuro and Lytinen included the stored answer in the matching process. That extension matters because a query can overlap with either field, and the two fields can supply different clues.
Other lexical systems used more explicit descriptions of what should match. Sneiders distinguished required keywords from optional ones and had people annotate each FAQ entry with them. Moreo and colleagues investigated partly automating the creation of regular expressions for matching queries. Yang combined templates with a domain ontology and information about the user. The paper also discusses a system by Xie and colleagues that uses entities and relationships as anchors in a knowledge graph. Such approaches can represent distinctions that matter in a particular domain. The authors identify the work of customizing a knowledge graph as a cost of using that approach across domains.
The unsupervised approaches in the paper's account sought other ways to close the gap between user and publisher vocabulary. Kim and Seo clustered earlier queries and used latent semantic analysis to connect related expressions in spite of differences in wording. Jijkoun and de Rijke varied the text that their TF-IDF search could see. They considered the question, the answer, and the full page, along with choices about retaining common words. Riezler and colleagues extended this line of work with translation-based query expansion, using a method from statistical machine translation to offer a search system additional ways to match the user's wording.
Supervised approaches learned which features of a query and candidate tended to signal a match. Moschitti and colleagues compared parsed text with tree kernels. These similarity functions use the structure of the parsed sentences and can also incorporate relationships between words. The paper traces this approach into work on community answer selection. Later FAQ work by Sakata and colleagues learned to score query–answer relevance with BERT. Mass and colleagues first retrieved candidates and then changed their order with several further ranking stages. Earlier Dutch FAQ work by De Bruyn and colleagues used ConveRT to represent queries and FAQ text for matching.
The paper places these efforts alongside progress in factoid question answering. Dense Passage Retrieval, or DPR, learns to place questions and passages in a common vector space. It had already shown that learned representations could compete with strong lexical retrieval methods on passage search. MFAQ asks how well the underlying approach works when the candidates are FAQ answers from the same page. The change affects the evidence available to the system. A passage can state its subject in full, whereas a short organizational answer can be written in direct response to the question above it.
The authors also discuss systems that generate responses from knowledge sources. Such a system can respond without an editor preparing every possible question and answer in advance. The paper identifies the risk of generating unsupported information as a practical reason to study retrieval of existing answers, drawing on work on retrieval and hallucination in conversation. FAQ retrieval keeps the output tied to a response someone has already written. Its own failure mode is selecting an existing response that addresses the wrong question.
What the available datasets could measure
The authors compare earlier datasets by who supplied the material, whether the collection contains user queries or alternate phrasings, which domains it covers, and which languages it includes. Those properties determine what can be tested. Multiple questions for an answer make it possible to ask whether a system recognizes different ways of expressing the same need. Multiple answers for a question support a different evaluation, in which more than one response may be relevant. A collection built around one subject can give detailed evidence about that subject while leaving open how the method works on pages about other matters.
The Usenet material used by FAQ-Finder covered multiple subjects and was assembled to help newcomers with recurrent questions. FAQIR came from a maintenance and repair section of Yahoo! Answers. StackFAQ drew on a StackExchange section about web applications. Both of the latter datasets included alternate questions as well as multiple answers. InsuranceQA concentrated on questions that insurance specialists answered. The community answer-selection datasets discussed in the paper included English and Arabic material. Organizational material was harder to obtain. The authors single out OrgFAQ as relevant to that setting and say it was unavailable to the public when they wrote the paper.
Scale alone could leave the question–answer format unchanged. The authors compare FAQ material with Probably Asked Questions, or PAQ, a collection of 65M pairs. PAQ often supplies answers only a few words long. FAQ answers, as characterized in the MFAQ paper, are generally longer than their questions. That gives a retriever more text to work with in many cases, along with extra detail that may be shared by several answers or have little bearing on the immediate query. The authors sought a multilingual collection whose answers were written as part of published FAQs and whose source pages could still be used to organize the experiments.
The method, step by step
Collecting the entries with their page context
The collection pipeline begins with Common Crawl. The authors use the existing web archive in place of running a crawler themselves. They work with its WARC files, which store raw page HTML. The archive also offers metadata and plain text extracts. Raw HTML is necessary for their procedure because it contains the structured markup that identifies the FAQ entries.
The authors look for an FAQPage item inside JSON-LD markup, a way publishers can describe page content in a machine-readable form. When the relevant markup is present, it supplies a question and the answer the publisher has associated with it. The authors use this association as supervision. Extracting a pair therefore requires finding the structured entry and passing it through their filters. This choice determines which pages are visible to the collection pipeline. A page that presents a human-readable FAQ without the targeted markup can fall outside the dataset.
The authors use fastText to identify the language of each pair. They require a question mark in the question, allowing the Arabic form of the mark, to avoid retaining keyword-like entries. They also discard entries whose question or answer begins with certain characters that suggest code or data fragments. The collection stage yields 155M FAQ pairs from 24M pages. These are counts from before page deduplication. The authors retain the association between the pair, its language, and its source URL, so the collection can still be treated as a set of pages in subsequent stages.
From published FAQ pages to ranked answers
The steps in order.
Detecting near-duplicate pages
The web can repeat a FAQ pattern across many pages. The paper illustrates this with hotel FAQs whose airport shuttle questions differ primarily in the hotel name. Keeping every version would give repeated wording a large presence in the data. The authors deduplicate at the page level, which lets them reduce this repetition while preserving the neighboring entries together on each page they keep.
To compare pages, the authors represent each as a set of token n-grams, using 3 consecutive tokens per sequence. The relevant measure is Jaccard similarity. It compares the amount of material common to the two sets with all the distinct material in either set. Exact comparisons throughout the collection would be expensive. The authors use MinHash to build a shorter signature of each page from which they can estimate this similarity. The paper mentions SimHash as another technique for detecting duplicates. Its implemented pipeline uses MinHash and locality-sensitive hashing.
Locality-sensitive hashing makes it practical to propose pairs worth comparing. The system uses signatures of length 100, with 20 bands of 5 rows each. The authors report that these settings give a 99.6% probability of identifying documents with a Jaccard similarity of 0.75 as candidates. This probability describes the candidate search for documents at that similarity. The next stage checks the actual Jaccard similarity of the candidate pairs, so appearing together in the approximate search is only a reason to examine a pair more closely.
Following the NearDup approach in work on training-data deduplication, the authors put pages into a graph. Each page is a node, and a pair receives an edge when the exact similarity is greater than 0.75. The authors keep a representative from each connected component. Membership in such a component can follow from a chain of links, so pages grouped together can be connected through intermediate versions. The method brings the collection down from 24M pages to around 1M. The remaining FAQ entries stay grouped by page and language.
Choosing what to hold out
For each language, the authors aim to assign 10% of its pairs to validation. They choose pages together because page membership determines which answers a question will compete with. They also want validation to cover a range of websites. If train and validation were drawn by randomly assigning individual pairs, a large website could contribute many closely related entries to both. Even after deduplication, sites can retain numerous pages about a broad subject or with a recognizable editorial style.
MFAQ groups sites by root domain for this purpose. The authors strip the domain extension and subdomains so that a site's regional addresses or help subdomain can count together. Kayak is the largest contributor discussed in the paper. Different addresses for the service can therefore be grouped even if they appear under different national extensions. A root domain can supply up to 3 FAQ pages in validation, and a root domain assigned to validation is kept out of training. The paper reports that the largest domain accounts for 21% of the training set contribution under discussion and 3% in validation.
The intent of the cap is to broaden validation coverage. Its justification is a practical assumption that different root domains tend to cover different topics. The distinction between sites and topics matters. Several sites can cover the same subject, and a large site can cover several subjects. The sampling procedure directly controls site contributions, and the authors leave the distribution of topics themselves for future study.
The authors also change the distribution of page sizes. Around 50% of MFAQ pages have 5 or fewer pairs. A system facing a page with very few answers has a short list to search even when its relevance judgments are weak. The authors start validation selection with pages that have more entries, where more candidates can compete for the top positions. The resulting split gives particular weight to answer ranking on longer pages. The 10% target describes the intended size by language, while domain membership and page size shape which pairs can fill it.
A further rule addresses possible overlap across languages. A site may publish versions of much the same FAQ at different regional addresses. The authors give the example of French and Spanish editions of Expedia. For validation they consider only root domains associated with a single language. This reduces the opportunity for a question or answer in validation to have a close counterpart on a different-language page from the same publisher. It also makes the validation collection a particular subset of multilingual web FAQ material, with multilingual publishers excluded from that side of the split.
Defining the query and the candidate
The paper first describes the general retrieval task. A user query belongs to a collection of queries, and the system scores it against an FAQ entry that consists of the stored question and answer. The notation for the candidate collection is as follows.
F = {(q₁, a₁), …, (qₙ, aₙ)}
Here F is the collection of FAQ entries for the domain under consideration. The letter q represents a stored question and a represents its associated answer. Each parenthesis encloses a pair. The subscripts distinguish entries, starting with 1 and continuing to n, the number of pairs. The ellipsis stands for the intervening entries, the braces enclose the collection, and the equals sign defines F.
h(pᵢ, fⱼ)
The function h gives a relevance score. Its inputs are pᵢ, the query indexed by i in the set P of user queries, and fⱼ, the entry indexed by j in F. The indices distinguish the query being asked from whichever candidate entry is being considered. The procedure would compare the scores across candidates to decide which entry best serves that query.
MFAQ has the publisher's pairs, so the authors use each published question in the query position. Leaving the identical question in its own candidate would make that entry easy to recognize by exact text. As a consequence, the experimental candidate contains the answer field. The other answers on the same page are the alternatives during validation. For a question from that page, the associated answer is the positive candidate and the positions of the alternatives depend on their scores.
P = {q₁, …, qₙ}
In this experimental definition, P is the collection of queries supplied by the stored questions. Each q with a subscript is a question from the page, and n is the number of stored pairs there. The braces delimit the collection and the ellipsis includes the intermediate questions.
F = {a₁, …, aₙ}
In the restricted task, F contains the answer texts. Each indexed a is the answer from the corresponding pair, n is the number of pairs on the page, and the ellipsis includes all intervening answers. For question qᵢ, the target is its paired answer aᵢ. The distinction between the two definitions of F matters when interpreting scores. The experiment measures ranking using the text of the published question and the text of the answers. The broader task in the paper's opening definition allows a new user query to be compared with an entry containing both fields.
Turning text into a ranking
The main retriever is a bi-encoder. It reads the question on its own and produces a vector, then reads an answer by itself and produces another vector with the same number of coordinates. The paper denotes that fixed dimensionality by d. Both vectors occupy the same space, so the system can compare them with a dot product, which adds the products of corresponding coordinates. A higher score puts the answer nearer the top. The trained representation gives those coordinates their meaning for ranking. They need no pre-defined interpretation such as the occurrence of a particular word.
h(qᵢ, aⱼ) = E(qᵢ) · E(aⱼ)
Here h is the relevance score for the stored question qᵢ and candidate answer aⱼ. The subscripts i and j identify the question and candidate, respectively. E denotes the shared encoder, which produces a vector for each input. The dot denotes the dot product, and the equals sign expresses how the relevance score is obtained. This equation writes out the comparison described for the shared architecture, with the role markers understood as part of each input.
A bi-encoder can have separate networks for questions and answers or reuse the same network. The MFAQ retriever shares the network weights across the two roles. It still gives the encoder explicit information about the role of an input. It puts <question> before each question and <answer> before each answer. These markers let the encoder distinguish the two types of text while applying the same learned network. DPR, as used in the comparison, has independent encoders. The difference matters for the training comparison because the paper uses a smaller batch for DPR.
The authors initialize the shared multilingual encoder with XLM-RoBERTa. They describe its pretraining as masked language prediction on text in one hundred languages, with more than 2TB of filtered Common Crawl material. In that kind of pretraining, the encoder learns from predicting withheld text in context. The FAQ training then adapts the representations to the narrower goal of choosing the answer paired with a question. Joint training gives questions and answers from all 21 MFAQ languages access to common parameters. That creates a route for experience with well-represented languages to affect retrieval in languages with less FAQ data.
Encoding the texts independently has a practical consequence at search time. The system can compute and cache vectors for the available answers before a query arrives. It computes a new vector for the query and retrieves the answers with the highest scores. The representation of an answer stays the same across queries. During training, this same independence makes it possible to reuse answer vectors across many question–answer comparisons in a batch.
Training on neighboring answers
The objective gives each question a positive answer and competing answers. The paired answer supplies the target. A distractor comes from an entry paired with a different question. The authors optimize the negative log-likelihood of selecting the positive answer from the set. In the following shorthand, the probability is the one assigned to that selection among the current candidates.
ℓᵢ = −log Pr(aᵢ ∣ qᵢ, Aᵢ)
The symbol ℓᵢ is the loss for the question indexed by i. The question is qᵢ, its paired answer is aᵢ, and Aᵢ is the set comprising that answer and the competing answers for the training comparison. Pr denotes the probability assigned to selecting aᵢ given the question and the candidate set, with the vertical bar marking that conditioning. The log is the logarithm, and its leading minus sign makes the loss smaller as the probability of the paired answer increases. The equation expresses the training objective the paper describes in words.
An answer already encoded for its own question can be reused as a negative example for another. The authors call these in-batch negatives. If a batch contained unrelated pages sampled without regard to topic, some of its distractors would be easy to dismiss. Here, the authors add the entries from a given page together as they assemble batches. The answer to a neighboring FAQ can share vocabulary, named entities, and background with the right answer. Its score can therefore give a more demanding training signal. In the vaccination example, choosing the correct answer requires distinguishing the concerns within a shared subject. The words identifying the broad subject can be present on several sides of the comparison.
The paper describes other ways retrieval systems obtain hard negatives, such as asking a lexical retriever for plausible candidates or using rankings from an earlier version of a dense retriever. It cites hard-negative training for dense retrieval in this context. MFAQ obtains related distractors from the page grouping already present in the data. Neighboring answers can be difficult, while the difficulty of any individual distractor depends on its content and on the question being scored. The paper's training design uses topical proximity as a source of plausible competition.
Each batch contains entries in the same language. This makes the language of an answer unhelpful as a shortcut for deciding which answer belongs to the question. A batch of French questions and answers still contributes to multilingual training because it updates the same shared network as batches in other languages. It trains the network to distinguish answers within French. This separates two properties of the procedure that are easy to conflate. Training is multilingual across batches, while each ranking exercise within a batch is monolingual.
The reported standard batch size is 800. The authors limit sequences to 128 tokens and say this retains the entirety of 90% of the dataset. They use Adam with a learning rate written as 0,0001, a warmup of 1000 steps, and 25% dropout. The main runs use a training subset restricted to one page per domain. The separate comparison with the full training set tests the effect of that choice. The paper also releases the script used for training, alongside the dataset and trained retriever.
Experiments and results
Data and the comparisons it supports
MFAQ covers 21 languages and is heavily concentrated in English, German, and Spanish. The authors report that English supplies 58% of its pairs, German 13%, and Spanish 8%. The language breakdown lists 3,719,484 English pairs, 829,098 German pairs, and 482,818 Spanish pairs. Near the smaller end of that breakdown, it lists 11,212 Hebrew pairs, 8,598 Hungarian pairs, and 5,215 Croatian pairs. These are corpus counts. The validation rankings are evaluated on the separate split constructed from pages, with the root-domain restrictions described above.
The paper gives several descriptions of corpus size. Its general account says around 6M pairs from 1M pages across 26K root web domains. The comparison of datasets lists 6,134,533 pairs for MFAQ. The detailed language breakdown gives a total of 6,346,693 pairs and 1,035,649 pages. The differences between the reported pair totals are left unexplained in the paper, so around 6M is the clearest characterization of the collection as a whole. The language-level counts give a more direct picture of the imbalance relevant to the retrieval experiments.
The main multilingual experiment trains a single XLM-RoBERTa retriever on examples from all the available languages. The authors compare it with a local lexical baseline and a pretrained sentence encoder that do not receive supervised FAQ training. A separate set of experiments compares the jointly trained retriever with language-specific systems. The language-specific comparison is restricted to the largest languages in the dataset, for which the authors had enough training examples and could find pretrained encoders suitable for the comparison.
The lexical baseline represents questions and answers with TF-IDF and takes the dot product of the resulting vectors. It uses token sequences in the range the paper writes as (1, 3), and it fits the representation separately for each FAQ page. A term's ability to distinguish entries is therefore estimated in the immediate candidate collection. Words shared by most of the answers on a page offer less discrimination than words specific to one answer. The baseline can make a strong match when the question and answer use the same distinctive phrase.
The second unsupervised baseline, the Universal Sentence Encoder, represents questions and answers independently and ranks them by vector dot product. Its representation comes from pretraining and is applied to this task without the MFAQ training procedure. The comparison tests what a general-purpose sentence representation can do on the page-level candidate lists. It also provides a useful counterpart to TF-IDF because the two representations make different use of the text.
DPR provides a supervised comparison in English. The authors adapt it to FAQ answer ranking using their training procedure. It brings a dense passage retrieval architecture to the task, with independent encoders for questions and answers. The English comparison also includes a shared encoder based on RoBERTa. The appendix reports a random ranking alongside the main multilingual and language-specific systems. Its scores help indicate what the page-level task permits without a learned or lexical preference among the candidates.
How the paper measures a ranking
Each question has a corresponding answer in the data, so the evaluator checks where that answer appears in the ordered list. Precision at one, or P@1, counts the cases in which it is the first answer. With a single labeled answer, this is also the accuracy of picking one response. Recall at 5, or R@5, counts the cases in which the paired answer appears somewhere among the first 5. It is relevant to an interface that presents several alternatives to the user.
Mean reciprocal rank, or MRR, gives each question credit equal to the reciprocal of the position of the paired answer and averages the credits over the questions. Moving the answer closer to the top increases the credit, with the greatest emphasis near the first position. Thus MRR distinguishes rankings that receive the same P@1 result but place a missed answer at different depths in the list. It also distinguishes rankings that both count as successes at the recall cutoff. The paper foregrounds MRR in its main comparisons and provides the other metrics in its appendix. The charts below retain the scale on which the paper reports MRR.
The candidate list affects all of these metrics. On a page with few answers, returning several candidates can cover much of the list. When a page has many entries, the same cutoff leaves more opportunities to miss. The random baseline illustrates this variation. On English validation it records 5.9 P@1, 18.9 MRR, and 29.7 R@5. On Vietnamese validation it records 11.3 P@1, 30.6 MRR, and 56.6 R@5. These figures describe the behavior of the metric under random ordering on the different page collections. They help explain why comparing systems on the same language and split is more informative than interpreting the raw difference between language scores as a difference in linguistic competence.
Joint training compared with the unsupervised baselines
The multilingual XLM-RoBERTa retriever achieves the highest MRR of the systems in the main unsupervised-baseline comparison for every MFAQ language. The ordering of the baselines themselves varies. The Universal Sentence Encoder is slightly ahead of TF-IDF on English, with 64.2 MRR against 63.8. In French it records 62.4 against 60.6 for TF-IDF. Dutch changes the order, with TF-IDF at 62.9 and the Universal Sentence Encoder at 59.6. On Vietnamese the corresponding MRR scores are 73.3 and 43.2. The paper's supervised multilingual retriever leads in each of these settings.
Retrievers on the MFAQ French validation set by mean reciprocal rank
The trained multilingual retriever ranks paired French answers higher than either unsupervised baseline.
The numbers
| System or setting | MRR |
|---|---|
| TF-IDF | 60.6 |
| Universal Sentence Encoder | 62.4 |
| Multilingual XLM-RoBERTa (this paper) | 80.7 |
The French scores illustrate how the metrics describe the behavior of the same ranking at different positions. For the multilingual retriever, P@1 is 72.2, MRR is 80.7, and R@5 is 93.3. For TF-IDF, those scores are 49.9, 60.6, and 78.0. The two ways of evaluating the head of the list tell a consistent story on this split. A reader presented with a single answer would see the correct response more often with the trained retriever, and a reader offered the top 5 would also encounter the correct response more often.
English shows why stating the metric matters when comparing the two unsupervised systems. TF-IDF has a P@1 of 53.9, ahead of the Universal Sentence Encoder at 52.6. The Universal Sentence Encoder has the higher MRR, at 64.2, and the higher R@5, at 83.0 against 79.8. Thus the lexical baseline places the exact target first more frequently on this split, while the sentence encoder does better on the reported measures that give credit to answers below the first position. The multilingual retriever leads both, recording 74.9 P@1, 82.5 MRR, and 93.5 R@5.
The smaller language collections produce a range of scores. The multilingual retriever reaches 83.6 MRR for Hebrew and 83.6 for Croatian. For Hebrew, TF-IDF reaches 61.5 and the Universal Sentence Encoder 26.5. For Croatian, the baselines reach 58.1 and 41.4, respectively. On Czech and Hungarian, the multilingual retriever records 69.0 and 69.7 MRR. The authors point to strong results on some smaller collections as a possible sign of transfer across languages. The direct evidence is the ability of a single trained retriever to perform well on separate validation sets with very different amounts of available data.
Joint training compared with language-specific training
The authors use language-specific pretrained encoders for the monolingual runs and apply the FAQ training procedure to the relevant language. The multilingual retriever's advantage varies considerably. German is close, with 81.3 MRR for multilingual training and 81.1 for the German encoder. On Spanish validation the scores are 81.7 and 78.0, respectively. French, Italian, Dutch, Portuguese, Russian, and Polish also favor multilingual training in the reported results. Turkish scores 78.8 with the multilingual retriever and 76.1 with the language-specific system.
Multilingual and language-specific retrieval on the MFAQ Polish validation set by mean reciprocal rank
The shared retriever trained across languages ranks the paired Polish answers higher.
The numbers
| System or setting | MRR |
|---|---|
| Polish encoder | 73.9 |
| Multilingual XLM-RoBERTa (this paper) | 85.2 |
French gives the multilingual retriever 80.7 MRR and the French encoder 71.0. On Italian validation the scores are 74.7 and 64.1. The Polish comparison gives the jointly trained system 85.2 MRR against 73.9, and the appendix shows that the ordering holds at the other cutoffs. On Polish validation, the multilingual retriever records 77.6 P@1 and 96.0 R@5, while the Polish encoder records 64.0 P@1 and 89.8 R@5. In these comparisons, the multilingual gain is visible both when the system has to pick a single answer and when it returns a shortlist.
English is the exception when the multilingual retriever is compared with the strongest English-only system. RoBERTa reaches 82.9 MRR on English validation. The multilingual retriever and fine-tuned DPR reach 82.5 and 80.5. RoBERTa also leads the multilingual retriever on P@1, with 75.6 against 74.9, while both record 93.5 R@5. The distinction between the English baselines is consequential. A comparison only with DPR would favor the multilingual retriever on English MRR, whereas using the stronger English-only comparator favors RoBERTa.
The authors point out that the DPR comparison also involves a change in batch size. They use 320 for DPR and 800 for RoBERTa because DPR has independent encoders. Since other answers in the batch are part of the training signal, a change in batch size changes how many such answers can compete in a training comparison. The English results establish how the systems perform under their reported configurations. The paper offers the batch difference as a possible explanation for DPR's lower score.
Retrieval when the question is translated
The authors also test a different use of the multilingual retriever. They translate the published questions into English and leave the candidate answers in French, Hungarian, or Croatian. That demands a match across languages at evaluation time, whereas the multilingual training batches compare texts in the same language.
French MRR is 78.2 with English questions and French answers, compared with 80.7 when both are in French. The French cross-language score remains above the unsupervised baselines' same-language scores in the main comparison. Hungarian MRR is 65.9 for English questions and Hungarian answers, compared with 69.7 in Hungarian throughout. Croatian MRR is 71.2 with translated questions and 83.6 in the same-language condition. The decline is therefore more pronounced for Croatian than for French in the reported results. Across this test, the retriever retains some ability to rank the paired answers after the language of the question changes, and the direction of the change in MRR is consistent.
What the ablations show
Restricting the contribution of each training domain
The full-data comparison tests an assumption that matters for web collections. A large number of pairs can give a retrieval system more instances to learn from, while a large contribution from a few domains can repeatedly expose it to the same subjects and styles. The authors compare using the entire training set with retaining one FAQ page per domain. Both settings are evaluated on the validation collection whose domain contributions are already capped.
Training-domain sampling on MFAQ validation by average mean reciprocal rank
Restricting training to a page per domain improves average validation ranking.
The numbers
| System or setting | MRR |
|---|---|
| Full training set | 76.7 |
| One page per domain (this paper) | 80.8 |
The paper reports 80.8 average MRR for the restricted training set and 76.7 for the full set. The appendix shows higher MRR with the restricted training set across the listed languages. English scores 82.5 under the restriction and 80.7 with all training pages. Czech scores 69.0 under the restriction and 60.2 with the full set. Romanian scores 83.2 and 75.4, respectively. In these settings, the reduced concentration of training pages is associated with improvement even though the retriever sees fewer FAQ entries.
The authors interpret the result as a better match between the distribution of training material and the more evenly distributed validation domains. The experiment supports the effect of their selection rule on this validation set. The rule changes several aspects of the material together, including the number of examples and the frequency of pages from prolific sites. Topic coverage is inferred from the sites supplying the entries. The paper proposes sampling a page from each domain again at each epoch as another way to limit concentration while varying exposure to pages. That procedure remains a suggestion.
Reading the multilingual comparisons as evidence of transfer
The language-specific runs are a useful comparison because the task and training recipe are similar while access to other languages changes. The consistent direction outside English is compatible with the authors' view that the multilingual retriever benefits from training on more languages. German shows that the gain can be small. Polish, French, and Italian show that it can be substantial under these choices of encoder and data. English offers a case in which the largest training language can support the highest-scoring language-specific system in the comparison.
The evidence concerns the full training setups. The multilingual and monolingual runs start with different pretrained encoders and draw on different amounts of FAQ material. As a consequence, the comparison can evaluate the practical choice of training a shared system or using a language-specific one under the paper's conditions. A study that held the starting encoder and amount of text fixed while varying the languages in the training data would address the role of multilingual supervision more directly. Similarly, the translated-query experiment changes the wording and language of the query together. It shows how the trained system responds to that combined change.
Another part of the design that the comparisons leave open is the contribution of the neighboring negatives. Page grouping supplies a clear reason to expect informative distractors, and the successful retriever uses them. The authors give no separate score for otherwise identical training in which entries from the same page are scattered among unrelated batches. The gain from grouping therefore cannot be read off the difference between XLM-RoBERTa and the baselines. Those systems differ in additional ways, including whether they learn from labeled FAQ pairs.
What changes when a few words change
The authors examine an admissions FAQ page from the Tepper School of Business to see how particular predictions respond to edits. On that page, the multilingual retriever places the paired answer first for 74.07% of the questions and attains 85.49 MRR. The page is useful for inspection because it contains questions on related parts of the same program. An imperfect ranking can still achieve a fairly high MRR when the right answer is near the top. The authors use examples from the page to investigate which words can decide the ordering.
One example tests coreference resolution, the ability to recognize that different expressions refer to the same thing. A question asks whether applicants can obtain a waiver of the GMAT or GRE requirement. The stored answer indicates that the scores are required, but refers to them with a general expression. In the original ranking, the system selects another answer. When the authors insert the test names into the correct answer, it moves to the top. The edited version supplies an explicit connection between question and answer that a human reader could already infer from the surrounding FAQ pair. The edit also increases exact word overlap, so the example shows a failure to handle this instance of reference without establishing which internal features drove the change.
The paper also rewrites a question about whether the program's hours suit someone who works full-time. Recasting it as a question about managing the program while already holding a full-time job preserves the correct top result. Dropping the full-time cue sends the correct answer down to fourth place. The successful rewrite shows that the retriever can tolerate changes to the structure of the question. The subsequent edit shows the importance of the phrase connecting the query to the answer. That phrase carries substantive information about the person's circumstances as well as supplying a lexical match.
A question about what students can do on campus gives another view of wording sensitivity. The published question uses the term “opportunities,” and the system initially ranks another answer first. The authors get the desired result when they change the question to use “experiences” or “activities.” The alternate term “events” fails to repair the ranking. The success of “activities” shows that an exact repetition of the answer's wording is unnecessary in that case. The outcome across the variants shows how two formulations that seem usable to a reader can have different retrieval results.
Finally, the authors reduce several queries to short cues about cohorts, payment plans, military status, or technical requirements. The retriever still ranks the paired answers first in those examples. This can be desirable when a person types a short search phrase. It also shows that a distinctive word can sometimes determine the rank without a full sentence. Taken together with the edits that cause failures, the examples motivate the authors' concern about overreliance on keywords. They describe the behavior of the retriever on these particular questions and answers, leaving the prevalence of the same failures across MFAQ to be measured.
Limitations
Limits the authors identify
The authors name the absence of real user queries as an open problem for applying the results to actual FAQ search. The validation query is the publisher's own question. The system searches the answer texts, and the target is the answer paired with that question. A user can describe a concern in other terms, omit details that the published question includes, or ask about something the page does not cover. The authors leave evaluation with real user wording and question-to-question retrieval for future work. The edited questions on the admissions page provide concrete examples of sensitivity to wording, with the breadth of a user-query evaluation still to be established.
Language coverage is another stated limitation. The collection process was general across languages, but it removed languages with fewer than 250 pairs. The authors observe the absence of Chinese, Hindi, Arabic, and Japanese and discuss filtering or the prevalence of the required markup as possible explanations. They leave the cause unresolved and identify improved collection in missing languages as a direction for future work. Thus the multilingual results describe a collection of languages that were sufficiently represented by this extraction process.
The authors explicitly call their treatment of topic diversity a simplifying assumption. Counting and capping root domains is feasible at the scale of the crawl. Measuring the topics across the pages requires a different analysis, which they leave open. Their qualitative findings also lead them to call for a linguistic study of performance by question, answer, and entity type, as well as further work on training against challenging edits. The examples establish the existence of ranking changes that such a study could investigate systematically.
Limits that follow from the design
MFAQ's initial selection depends on a particular publication practice. A site's use of FAQ markup, the readability of its extracted content under the filters, and the result of language identification all affect whether its entries reach the corpus. The final set therefore describes what that procedure retrieves from the web. The language frequencies cannot be read as estimates of how often people in those languages need FAQ support or even of how many FAQ pages exist in each language. The concentration of several languages and domains is part of the collection produced by the method.
The validation split gives specific meaning to generalization. It asks the retriever to work on held-out root domains, and the preference for longer pages provides more candidates to rank. Different application settings can expose it to other mixtures of page sizes and publishers, including multilingual organizations that are ineligible for this validation split. The held-out condition limits a direct form of overlap by publisher. The design permits separate domains to discuss the same topics or use similar wording, so a claim about generalization to entirely unseen topics would require additional evidence.
The candidate search is bounded by the page. The validation procedure supplies the page and always includes the paired answer among its candidates. A search facility that starts with many pages would also have to identify the right page or retrieve the right answer from a larger inventory. A service responding to an unsupported request would need some way to decide whether any candidate applies. P@1, MRR, and R@5 for the page-level task give no direct measurement of either decision.
Correctness in these experiments means recovering the publisher's paired answer. That makes scoring feasible at scale. It leaves open whether another answer on the same page supplies some relevant guidance, whether a response is helpful by itself, or whether a user would judge the published answer adequate. The admissions examples show why the fields can depend on each other. An answer can rely on its question to specify what test it refers to, while the ranking setup gives the answer encoder the answer by itself. In a different interface that displayed the paired question and answer together, a reader could have more context than the retriever uses in these experiments.
The multilingual comparisons establish a practical ranking result for the tested systems, with a narrower basis for explaining the underlying cause. Monolingual encoders differ in their pretraining, and the joint retriever can learn from more FAQ text. The results leave open how much of the gain comes from particular added languages, the amount of data, or properties of the starting encoder. The translated-query test uses English as the query language and examines a limited set of answer languages. Its scores characterize those conditions and do not establish how arbitrary language pairings or naturally written cross-language queries would behave.
The close reading of a single page provides demonstrations, not a distribution of error types. The changes reveal that some rankings are sensitive to explicit names, phrases, and synonyms. They do not show how often each behavior occurs across topics and languages. Similarly, the domain-sampling experiment measures performance under one policy for validation selection. Its result is evidence for the restricted training set under that policy, with the effect on other distributions left open. These distinctions allow the benchmark to support firm statements about the rankings it measures while keeping broader claims proportional to the experiments.
What came after
The later papers that cite MFAQ span language-specific retrieval benchmarks, question-answering collections, and adaptation to a particular FAQ domain. Their titles establish the tasks they address. The nature of their dependence on MFAQ, such as reuse of its pairs, adoption of its training procedure, or citation as related work, remains unspecified. The connections below concern the problems these papers address alongside MFAQ's contribution.
PIRB studies dense and hybrid text retrieval in Polish. The point of contact is the evaluation of learned text representations for retrieval. MFAQ supplies a Polish answer-ranking experiment with candidates drawn from individual FAQ pages. PIRB's stated remit is a benchmark for Polish retrieval methods, including hybrid approaches. These scopes motivate different readings of a score. MFAQ's Polish result concerns whether the paired answer rises above neighboring answers, while the title of PIRB places its contribution at the level of benchmarking retrieval methods for the language.
Natural Questions in Icelandic addresses question answering in Icelandic. Icelandic does not occur in MFAQ's language breakdown. The later work's focus gives Icelandic a place in the discussion of question-answering resources, while MFAQ addresses language coverage through a common procedure for extracting marked web FAQs. The two works meet at the need to define what question answering entails for the language being assessed. MFAQ defines the target from a publisher's FAQ pair. The title of the Icelandic work gives its language and task without specifying any role for those pairs.
VaccinChatNL addresses domain and task adaptation for a Dutch COVID-19 FAQ answering corpus and a classifier. It has the closest stated task to MFAQ. Both concern finding an FAQ response, and Dutch is among the languages for which MFAQ reports retrieval scores. VaccinChatNL's stated scope puts a single language and domain at the center of the study. This brings the problem of specialization into view alongside MFAQ's decision to train across languages and a wide variety of sites. Its classification setting is a separate way to frame choosing an answer to an FAQ request.
TR-MTEB presents a Turkish benchmark and a suite of Turkish sentence representations. MFAQ's Turkish experiment assesses representations through the relative positions of answers on FAQ pages. The Turkish benchmark paper's title identifies sentence representation as the broader object of evaluation. That change in scope matters when considering what a benchmark score can establish. A strong result on same-page FAQ ranking gives evidence about one use of a representation. The benchmark title points to a wider evaluation remit, with its specific relationship to the FAQ experiment unspecified.
WikiQA-IS studies assisted benchmark creation and automated evaluation of Icelandic cultural knowledge. Its connection to MFAQ concerns how authors obtain evaluation material and define what a correct answer demonstrates. A correct response in MFAQ recovers the answer associated with a published question. The stated aim of WikiQA-IS concerns assessment of cultural knowledge, a different target for a question-based benchmark. The work therefore sits alongside Natural Questions in Icelandic as a later effort focused on evaluation in Icelandic, with a specific emphasis on culture and benchmark construction.
SkMTEB presents a Slovak text embedding benchmark and work on adapting encoders. It shares MFAQ's interest in evaluating text representations and adapting them for a language setting. Slovak is absent from MFAQ's reported language set, so the later paper's stated focus addresses a language for which MFAQ supplies no FAQ ranking result. Across these citing works, the recurring question is what evidence a language-specific or multilingual evaluation can supply. MFAQ's evidence is specific to paired answers on held-out FAQ pages, a task whose data source, candidate set, and scoring rules are central to understanding its results.
Cite
Cite as Maxime De Bruyn, Ehsan Lotfi, Jeska Buhmann and Walter Daelemans. 2021. MFAQ: a Multilingual FAQ Dataset. Proceedings of the 3rd Workshop on Machine Reading for Question Answering.
@inproceedings{bruyn2021mfaq,
title = {{MFAQ: a Multilingual FAQ Dataset}},
author = {Maxime {De Bruyn}, Ehsan Lotfi, Jeska Buhmann and Walter Daelemans},
booktitle = {Proceedings of the 3rd Workshop on Machine Reading for Question Answering},
year = {2021},
doi = {10.18653/v1/2021.mrqa-1.1},
url = {https://doi.org/10.18653/v1/2021.mrqa-1.1}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bruyn-2021-mfaq-multilingual-faq-dataset/