Skip to content
Back to skills

Transbench Eval

ASecurity

TransBench evaluates machine translation models across three industrial capability levels: basic linguistic quality and robustness, domain-specific proficiency (e-commerce/finance), and cultural adaptation (taboo words and honorifics). It probes whether models maintain translation fidelity under input perturbations, adhere to domain terminology, and correctly handle culturally sensitive expressions without omission or over-translation. Use when the user wants to benchmark on TransBench, or as...

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythonexpresstesting

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill transbench-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Transbench Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Transbench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-transbench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-transbench-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: transbench-eval
description: TransBench evaluates machine translation models across three industrial capability levels: basic linguistic quality and robustness, domain-specific proficiency (e-commerce/finance), and cultural adaptation (taboo words and honorifics). It probes whether models maintain translation fidelity under input perturbations, adhere to domain terminology, and correctly handle culturally sensitive expressions without omission or over-translation. Use when the user wants to benchmark on TransBench, or asks about evaluating this task. Reports BLEU.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2505.14244
  bibtex_key: [REDACTED]
  confidence: high
---

# transbench-eval

> TransBench: Benchmarking Machine Translation for Industrial-Scale Applications — Li et al. (2025) (arXiv:2505.14244, 2025)

## What this evaluates

TransBench evaluates machine translation models across three industrial capability levels: basic linguistic quality and robustness, domain-specific proficiency (e-commerce/finance), and cultural adaptation (taboo words and honorifics). It probes whether models maintain translation fidelity under input perturbations, adhere to domain terminology, and correctly handle culturally sensitive expressions without omission or over-translation.

## Datasets

- **TransBench** — total 17000; splits: test (-1)

## Metrics

- `BLEU` **(primary)** — range: [0, 1]
  - Precision-oriented n-gram co-occurrence metric incorporating a brevity penalty to penalize overly short translations.
- `TER` — range: [0, 1]
  - Edit-distance-based metric measuring the minimum number of insertions, deletions, substitutions, and shifts required to transform a candidate into a reference, normalized by reference length.
- `chrF` — range: [0, 1]
  - Character n-gram F-score computing a weighted harmonic mean of character-level precision and recall, emphasizing morphological and surface-form similarity.
- `COMET-XXL` — range: [0, 1]
  - Model-based metric leveraging multilingual pre-trained models (e.g., XLM-RoBERTa) to model the relationship between human ratings and vector space alignment via regression.
- `Hallucination Rate (HR)` — range: [0, 1]
  - HR = sum(F(S_H|S) for S in H_data) / |H_data|, where F is a binary classifier determining if the translation exhibits hallucination (repetition, omission, language mismatch, or length ratio violation).
- `Marco-MOS` — range: [0, 5]
  - Domain-tailored Quality Estimation model (fine-tuned Qwen2.5) predicting human Mean Opinion Scores on a 0-5 scale for financial and e-commerce datasets.
- `Taboo Accuracy (ACC_taboo)` — range: [0, 1]
  - Fraction of translations containing zero taboo words: sum(1 if no taboo words in translation else 0) / |T_data|.
- `Honorific Accuracy (ACC_hon)` — range: [0, 1]
  - Fraction of translations containing all expected honorific units: sum(F(S_Hon|S)) / |HO_data|, where F returns 1 only if all specified honorific tokens are present.

## Input / output format

**Input**: Source sentence (optionally perturbed at sentence, character, or word level for robustness testing) and target language specification.

**Output**: Generated target-language translation string.

## Scoring recipe

```python
def score_translations(dataset, refs, taboo_list, honorific_units):
    bleu = compute_bleu(refs, dataset.hyp)
    ter = compute_ter(refs, dataset.hyp)
    comet = comet_xxl_score(dataset.src, dataset.hyp)
    
    hr = sum(hallucination_classifier(s, h) for s, h in dataset) / len(dataset)
    
    taboo_acc = sum(1 for h in dataset if not any(t in h for t in taboo_list)) / len(dataset)
    
    hon_acc = sum(1 for s, h in dataset if all(u in h for u in honorific_units)) / len(dataset)
    
    marco_mos = marco_mos_model.predict(dataset.src, dataset.hyp)
    return {'BLEU': bleu, 'TER': ter, 'chrF': chrF, 'COMET-XXL': comet, 'HR': hr, 'ACC_taboo': taboo_acc, 'ACC_hon': hon_acc, 'Marco-MOS': marco_mos}
```

## Common pitfalls

- Robustness is evaluated by measuring BLEU drop on perturbed sources while keeping references unaltered, which can conflate translation degradation with perturbation sensitivity rather than true model robustness.
- Cultural fidelity metrics use strict exact-match accuracy for taboo words and honorifics, ignoring partial correctness, contextual nuance, or acceptable paraphrasing.
- Hallucination detection relies on heuristic thresholds (e.g., vector distance, length ratios, language detection) and a binary classifier that may not align with human judgments of omission or over-translation.

## Evidence (verbatim from paper)

> We utilize a set of established automatic metrics to measure fundamental linguistic quality and reliability, which include popular N-gram based metrics such as BLEU and TER, character-based metrics like chrF, and model-based metrics like COMET-XXL which leverage large language models to assess translation quality.

## Citation

```bibtex
@misc{li2025transbench,
  title={TransBench: Benchmarking Machine Translation for Industrial-Scale Applications},
  author={Li et al. (2025)},
  year={2025},
  note={arXiv:2505.14244}
}
```

- arXiv: 2505.14244

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.