Skip to main content

Chapter 29. Cross-Lingual and Cross-Cultural Evaluation

Imagine that Juniper passes English refund tests but misses a Japanese request in which a customer expresses dissatisfaction indirectly. The failure is visible, yet its cause is not: did the agent misunderstand the language, miss an interaction cue, or apply a policy that differs by jurisdiction? Because each explanation calls for different evidence and potentially a different fix, the evaluation must do more than report a single multilingual score.

This chapter examines how to compare the same task across languages while also testing cases written for local contexts. An overall average can conceal both weak performance and limited coverage for a particular group, so the analysis needs per-language quality and safety results as well. The goal is not to assume that every speaker follows one cultural pattern, but to understand whether the system works for the populations and locales it intends to support.

Harbor & Pine and the numerical examples in this chapter are fictional. They illustrate evaluation designs and calculations, not measured performance in any language or population.

29.1 The Cross-Lingual Evaluation Problem

The apparent language gap in Juniper’s refund handling could be a useful signal, but only if the underlying comparisons are interpretable. A difference in scores might reflect language capability, for example, or it might arise from differences in tasks, users, policies, or the way answers are judged.

Definition 15.1 (Cross-lingual transfer). Cross-lingual transfer describes how quality changes when an agent evaluated in source language \(L_s\) is assessed in target language \(L_t\).

\[\text{Transfer gap} = Q(L_s) - Q(L_t),\]

where \(Q(L)\) is the agent’s quality in language \(L\). A positive value means the measured source-language quality is higher. The gap is a descriptive comparison, not by itself proof that language caused the difference: its meaning depends on the task populations, measurement rules, and policy context behind each score.

Several factors can contribute to a transfer gap, and they may interact:

  1. Language capability: The model may handle vocabulary, morphology, tokenization, or reasoning less reliably in \(L_t\).
  2. Interaction norms: Register, directness, and expectations for help can vary by locale and audience.
  3. Policy variation: Refund rules, data handling, and escalation thresholds may depend on jurisdiction.

For example, the agent might understand a request correctly even though a different policy makes another action permissible. Conversely, holding the policy and desired outcome fixed makes a language-specific misunderstanding easier to investigate. Neither explanation should be assumed without reviewing the cases, which is why the construction of the comparison set matters.

29.2 Evaluation Design Across Languages

Parallel evaluation sets. A useful comparison holds the underlying task and decision as similar as possible across languages. Literal translation alone may not achieve that: it can sound unnatural or erase a meaningful distinction in context. Qualified local reviewers can check whether the wording and scenario make sense while preserving the task and adapting its expression. The two illustrative requests below show possible translations, not a rule that all speakers in a locale use the same level of directness or formality.

Case English (source) Japanese (target) Cultural adaptation
Refund request “I want a refund for a late order” 「遅延した注文の返金をお願いします」 Politeness level, honorifics
Escalation “Speak to a manager” マネージャーに繋いでください Hierarchy sensitivity

Qualified language review. To assess these cases, reviewers need fluency in the language and familiarity with the task domain, together with enough local knowledge to judge register and context. Bilingual translation skill alone may not cover either requirement. Where the intended audience is diverse, involve reviewers with varied relevant backgrounds and record disagreements rather than reducing a locale to one assumed norm.

29.3 Metrics for Cross-Lingual Quality

Per-language metrics. Once the cases have been reviewed, the results still need to be reported in a way that exposes differences. A pooled score may be dominated by the language with the most cases, so report capability, reliability, robustness, and safety separately for each supported language. The following numbers are illustrative; real reports also need denominators, sampling design, and uncertainty for each measure:

Language Capability Reliability Safety violations
English 0.88 0.82 0.02
Spanish 0.76 0.70 0.05
Japanese 0.71 0.65 0.08

Cross-lingual consistency: When the underlying task and governing policy make equivalent outcomes appropriate, compare the agent’s decisions across \(K\) language versions:

\[ \text{Consistency} = \frac{\sum_{q=1}^{Q}\sum_{1\le i<j\le K} \mathbb{I}\{\text{outcome}_{qi}=\text{outcome}_{qj}\}} {Q\binom{K}{2}}. \]

The unit is one comparison between language versions of the same task. The denominator is \(Q\) comparable tasks multiplied by \(\binom K2\) unordered language pairs, assuming every task has an outcome for each of the same \(K\) languages. By keeping the task identity paired, the comparison becomes easier to interpret. If an outcome is missing or not comparable, report that missingness and define the eligible comparisons rather than silently treating it as agreement or failure.

Worked example: matched language outcomes

Suppose four matched tasks each have outcomes in three languages. Their action labels are \((A,A,A)\), \((A,A,B)\), \((B,B,B)\), and \((A,B,B)\). The within-task agreement counts are \(3,1,3,1\) out of \(\binom32=3\) pairs each, giving overall consistency \((3+1+3+1)/(4\cdot3)=8/12=0.667\).

Consistency compares outcomes with one another; the transfer gap compares each language with its own correctness labels. For a second illustration, suppose the same four tasks yield English success \([1,1,0,1]\) and Spanish success \([1,0,0,1]\). The paired transfer gap is \(\bar{Q}_{en}-\bar{Q}_{es}=0.75-0.50=0.25\). The task-level paired differences are \([0,1,0,0]\), so one task drives the apparent gap.

outcomes = [
    ["A", "A", "A"],
    ["A", "A", "B"],
    ["B", "B", "B"],
    ["A", "B", "B"],
]
matches = sum(
    outcomes[q][i] == outcomes[q][j]
    for q in range(len(outcomes))
    for i in range(len(outcomes[q]))
    for j in range(i + 1, len(outcomes[q]))
)
comparisons = sum(len(row) * (len(row) - 1) // 2 for row in outcomes)
consistency = matches / comparisons

english = [1, 1, 0, 1]
spanish = [1, 0, 0, 1]
paired = [en - es for en, es in zip(english, spanish)]
gap = sum(english) / len(english) - sum(spanish) / len(spanish)
print(f"consistency: {matches}/{comparisons} = {consistency:.3f}")
print(f"English-Spanish gap: {gap:.3f}; paired differences: {paired}")
consistency: 8/12 = 0.667
English-Spanish gap: 0.250; paired differences: [0, 1, 0, 0]

Four tasks cannot estimate a deployment-wide language gap. A larger matched set needs qualified local review and outcome labels aligned with the policy that applies in each case; when tasks are genuinely paired, bootstrap task identities to preserve that pairing. Even then, agreement across languages is not enough, since every version could make the same wrong decision. The gap can help locate a problem, but support decisions require adequately sampled per-language quality and safety gates.

Worked example: pooled, macro, worst-language, and paired uncertainty

The way results are combined can change the story a stakeholder hears. Suppose a multilingual evaluation has 90 English cases with 81 successes, six Swahili cases with three successes, and four Yoruba cases with one success. The pooled rate weights cases by their counts in this sample: \(85/100=0.85\). The macro rate gives each language equal weight: \((0.90+0.50+0.25)/3=0.55\). The worst-language rate is \(0.25\). These answer different questions; the pooled score is not necessarily a traffic-weighted production estimate, nor can it stand in for per-language safety or support gates.

For a separate matched transfer study with 20 task identities, suppose the English-minus-Yoruba paired differences are four \(+1\) and sixteen \(0\), for a gap of \(0.20\). Resampling task identities as pairs preserves the within-task comparison:

import random

language_outcomes = {
    "English": [1] * 81 + [0] * 9,
    "Swahili": [1] * 3 + [0] * 3,
    "Yoruba": [1] + [0] * 3,
}
rates = {
    language: sum(outcomes) / len(outcomes)
    for language, outcomes in language_outcomes.items()
}
pooled = (
    sum(sum(outcomes) for outcomes in language_outcomes.values())
    / sum(len(outcomes) for outcomes in language_outcomes.values())
)
macro = sum(rates.values()) / len(rates)
worst = min(rates.values())
print(f"pooled={pooled:.3f}; macro={macro:.3f}; worst={worst:.3f}")

paired_differences = [1] * 4 + [0] * 16
rng = random.Random(1701)
replicates = 20_000
bootstrap_gaps = sorted(
    sum(rng.choice(paired_differences) for _ in paired_differences)
    / len(paired_differences)
    for _ in range(replicates)
)
lower = bootstrap_gaps[int(0.025 * replicates)]
upper = bootstrap_gaps[int(0.975 * replicates) - 1]
print(
    f"paired gap={sum(paired_differences)/len(paired_differences):.3f}; "
    f"task-bootstrap 95% percentile interval=[{lower:.3f}, {upper:.3f}]"
)
pooled=0.850; macro=0.550; worst=0.250
paired gap=0.200; task-bootstrap 95% percentile interval=[0.050, 0.400]

The bootstrap uses only 20 synthetic task identities, and with binary outcomes and few nonzero differences, its interval is coarse. It should not be read as a deployment estimate. The four Yoruba cases in the earlier example are also too few to support a stable worst-language estimate. Report pooled, macro, worst-language, and paired results together with their denominators and uncertainty, and set support minimums for each language before looking at candidate scores.

29.4 Cultural Adaptation Metrics

The outcome comparisons above do not tell the whole story of an interaction. An answer can be factually correct and still be difficult or inappropriate for the person receiving it. Register, idiom, and metaphor offer useful evaluation targets, but they depend on the audience and situation rather than a single rule for an entire language.

Politeness and formality scoring. For languages with honorifics (Japanese, Korean, Javanese) or T–V distinctions (French, Spanish, German), reviewers can assess whether the agent uses a register appropriate to the specific context:

\[\text{Register accuracy} = P(\text{register matches cultural norm} \mid \text{context}).\]

The “cultural norm” in this definition must be operationalized through a context-specific rubric and qualified reviewers, not inferred from language alone. Report the intended audience, acceptable variation, and reviewer disagreement.

Idiom and metaphor handling. A literal interpretation of an idiom may miss a user’s meaning even when every individual word is translated correctly. Measure performance on reviewed idiomatic expressions per language:

\[\text{Idiom success rate} = \frac{\|\{i: \text{agent handles idiom}_i \text{ correctly}\}\|}{\|\{i: \text{task contains idiom in } L\}\|}.\]

The denominator contains the eligible idiom-bearing tasks in the evaluated set. If there are none, the rate is not measured; a small or narrowly chosen set should not be generalized to all speakers of a language.

29.5 Policy and Regulatory Variation

Context also determines which policy the agent should apply, and the language of a request does not, by itself, determine the applicable law or product policy. A Japanese-speaking customer may be located outside Japan, for instance, and a single jurisdiction may contain users of many languages. An evaluation case therefore needs explicit jurisdiction, transaction, effective date, and policy assumptions alongside language.

Jurisdiction-aware evaluation. The same action can be permitted in one context and prohibited in another, but a short table of universal deadlines would be misleading. The European Commission describes a storage-limitation principle tied to the purposes of processing, not a blanket 30-day GDPR retention limit. California’s privacy agency describes purpose limitation and deletion rights subject to exceptions; California’s CCPA is a state law, not a general statement of all US law. Japan’s applicable requirements must be assessed against the relevant APPI provisions and current guidance, rather than a blanket one-year retention rule.

Withdrawal and refund rules also depend on the transaction. EU guidance describes a 14-day withdrawal period for many distance and off-premises purchases, with conditions and exceptions; it is not a universal rule for every refund. Authoritative starting points include the European Commission’s GDPR principles, EU consumer withdrawal guidance, the California Privacy Protection Agency’s FAQ, and Japan’s Personal Information Protection Commission legal materials.

For each evaluation fixture, have qualified legal or policy owners specify the applicable requirement, effective version, permitted and prohibited actions, exceptions, and authoritative oracle. Then test that the agent selects the correct policy for the stated context and preserves access and deletion controls where required. Results are evidence about the tested cases, not a legal determination.

29.6 Exercises

These exercises connect the chapter’s paired comparisons and local review to a practical support decision:

  1. (Conceptual) An agent scores 0.85 on English refund tasks but 0.60 on Japanese refund tasks. List three possible causes and how you would distinguish them.
  2. (Hands-on) Given parallel test sets in English and Spanish, compute per-language capability and the transfer gap.
  3. (Conceptual) Should the same safety threshold apply across all languages, or should it be jurisdiction-specific? Justify.
  4. (Hands-on) Build a cross-lingual consistency check: for 20 tasks translated into 5 languages, compute whether the agent’s action is consistent across languages.
  5. (Discussion) In your domain, which languages or cultures are highest-risk for evaluation gaps? How would you prioritize evaluation coverage?

29.7 Further Reading

The following work provides broader context for multilingual benchmarks, evaluation coverage, and language variation:

  • Hu et al., “XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalisation” [1].
  • Liang et al., “Holistic Evaluation of Language Models” [2].
  • Blodgett et al., “Sociolinguistic language models” [3].
  • Ruder et al., “Transfer learning in natural language processing” [4].
[1]
J. Hu, S. Ruder, A. Siddhant, G. Neubig, O. Firat, and M. Johnson, “XTREME: A massively multilingual multi-task benchmark for evaluating cross-lingual generalization,” in Proceedings of the 37th international conference on machine learning, in Proceedings of machine learning research, vol. 119. 2020, pp. 4411–4421. Available: https://proceedings.mlr.press/v119/hu20b.html
[2]
P. Liang et al., “Holistic evaluation of language models,” Transactions on Machine Learning Research, 2023.
[3]
S. L. Blodgett, S. Barocas, H. Daumé III, and H. Wallach, “Language (technology) is power: A critical survey of ‘bias’ in NLP,” in Proceedings of the 58th annual meeting of the association for computational linguistics (ACL), 2020, pp. 5454–5476.
[4]
S. Ruder, M. E. Peters, S. Swayamdipta, and T. Wolf, “Transfer learning in natural language processing,” in Proceedings of the 2019 conference of the north american chapter of the association for computational linguistics: tutorials, 2019, pp. 15–18. doi: 10.18653/v1/N19-5004.