Abstract
We describe QUEST, an open source framework for machine translation quality estimation. The framework allows the extraction of several quality indicators from source segments, their translations, external resources (corpora, language models, topic models, etc.), as well as language tools (parsers, part-of-speech tags, etc.). It also provides machine learning algorithms to build quality estimation models. We benchmark the framework on a number of datasets and discuss the efficacy of features and algorithms.
Introduction
In the field of Machine Translation (MT), evaluation has traditionally relied on reference-based metrics such as BLEU or METEOR. While effective for system development, these metrics require human-authored "gold standard" translations, which are unavailable in real-world production environments. Quality Estimation (QE) addresses this gap by predicting the quality of MT output "in the wild," relying solely on the source text and the generated translation.
The challenge of QE is twofold: quality is inherently subjective and highly dependent on the target task. A translation that suffices for a casual social media post may be entirely inadequate for legal or medical documentation. QuEst was developed as an open-source framework to provide researchers with a standardized environment for experimenting with complex linguistic features and machine learning models to solve these challenges.
Methodology
QuEst bridges the gap between linguistic engineering and machine learning through a modular architecture consisting of two primary components: feature extraction and model training.
Feature Extraction
The Java-based feature extraction module is designed to derive a wide array of indicators from the source text, the target translation, and various external resources like language models, corpora, and parsers. These features are organized into four conceptual "families":
- Complexity Indicators: These assess the inherent difficulty of the source sentence (e.g., sentence length, average word frequency).
- Fluency Indicators: These evaluate how natural and grammatically correct the translation appears in the target language.
- Adequacy Indicators: These measure the degree to which the translation preserves the semantic content of the source.
- Confidence Indicators: Often referred to as "glass-box" features, these look inside the MT system to extract internal state information, such as search graph statistics or model scores, to determine how "certain" the system was about a specific translation choice.
Machine Learning and Feature Selection
The learning module, implemented in Python using scikit-learn and GPy, handles model training and optimization. It supports both Support Vector Regression (SVR) and Gaussian Process (GP) regression. A key innovation in QuEst is the inclusion of automated feature selection. Given that the framework can generate hundreds of indicators, many of which may be redundant or noisy for a specific task, QuEst uses techniques like Lasso or GP-based relevance determination to identify the most predictive subset of features.
Experimental Setup
The authors benchmarked QuEst on nine distinct datasets covering various language pairs and domains. Notable benchmarks include:
- WMT12 (English-Spanish): Evaluated based on human post-editing effort on a 1-5 scale.
- EAMT11 (English-Spanish, French-English): Judged for post-editing effort on a 1-4 scale.
- GALE11 (Arabic-English): Focused on adequacy judgments on a 1-4 scale.
Results and Discussion
The framework's performance was evaluated using Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE). The results demonstrate that QuEst's feature selection and non-linear modeling significantly outperform standard baselines.
Key Insights
- The Power of Non-Linearity: Experimental results suggest that the relationship between linguistic features and perceived quality is highly complex. Non-linear models (using RBF kernels) consistently outperformed linear alternatives.
- Efficiency through Feature Selection: Using "All Features" (AF) often led to overfitting. Selecting the top 17-70 features (FS) consistently yielded better results. For instance, on the WMT12 dataset, feature selection reduced the MAE from 0.6802 to 0.6537.
- Complementary Feature Sets: While "black-box" features (independent of the MT system) are effective, their combination with "glass-box" features provides a significant performance boost. On the GALE11-s2 dataset, this combination achieved the lowest overall error (MAE 0.5121).
- Gaussian Processes: GP regression proved to be a robust alternative to SVR, with the added benefit of direct hyperparameter optimization via gradient ascent, bypassing the need for exhaustive grid searches.
Conclusion
QuEst provides a comprehensive, open-source platform for advancing MT Quality Estimation. While currently limited by some language-specific dependencies and the inherent noise in human judgments, it offers a standardized path for building production-ready QE models. Future research directions include applying QE to extrinsic tasks like MT self-training and text summarization.
Summary updated