QE Viewer: an Open-Source Tool for Visualization of Machine Translation Quality Estimation Results

Felipe Soares, Anna Zaretskaya, Diego Bartolomé

Introduction

Machine Translation Quality Estimation (QE) is often considered the "holy grail" of the field, as it attempts to predict translation quality without requiring a human-written reference. While frameworks like OpenKiwi produce powerful metrics, such as predicted Post-Editing Distance (PED), the output is typically raw data that is difficult for humans to interpret. QE Viewer addresses this gap by providing a web-based graphical interface that maps abstract quality scores back onto the text, making them actionable for researchers and industry professionals.

Methodology

The authors developed QE Viewer as a system-agnostic web application using a modern Python stack. The backend is built on Flask with SQLAlchemy for database management, while the frontend utilizes Bootstrap 4 and Jinja2 for a responsive user experience.

To maintain flexibility, the tool communicates with QE frameworks via a pre-defined API. A specific wrapper for OpenKiwi was implemented, allowing the tool to fetch and display predictions in real-time. The workflow involves uploading bilingual files (TMXL or .zip), validating them, and storing results in a local database to optimize performance by avoiding redundant API calls.

Key Features and Visualizations

QE Viewer moves beyond simple document-level scores to provide granular insights into translation quality.

Document-Level Analysis

The tool generates comprehensive file-level statistics, including total segments, word counts, and predicted average PED. A key component of this analysis is the PED Histogram, which categorizes segments by their predicted difficulty. This allows users to quickly identify "trouble spots" within large datasets.

Document Statistics and PED Histogram Dashboard

Segment-Level Precision

For deeper debugging, the tool provides a segment-level view. This includes Word-Level Highlighting, where the QE system flags specific words predicted to be incorrect. Users can also utilize a "Sensitivity Bar" to adjust the error detection threshold, tailoring the visualization to specific quality requirements (e.g., gist-only vs. publication-quality).

Segment-level Quality Estimation with Word-level Highlighting

Industry Impact and Results

The primary contribution of this work is the release of QE Viewer as an open-source project. By supporting industry-standard formats like TMXL and focusing on metrics like Post-Editing Distance, the tool bridges the gap between academic QE research and commercial translation workflows. It enables project managers to budget more accurately for human post-editing and helps researchers visualize model failures more effectively.

Limitations and Future Work

Currently, QE Viewer is heavily oriented toward the TXML format. Expanding support to more universal formats like XLIFF or CSV would broaden its utility. Additionally, as a visualization tool, its effectiveness is inherently tied to the quality of the underlying QE engine. Future developments may include interactive feedback loops for training human post-editors, further integrating human expertise with machine predictions.

Summary updated

BibTeX
@inproceedings{soares2020qe,
  author = {Felipe Soares and Anna Zaretskaya and Diego Bartolomé},
  title = {{QE Viewer: an Open-Source Tool for Visualization of Machine Translation Quality Estimation Results}},
  booktitle = {Eamt},
  year = {2020},
}
Figure