Learning Semantic Representations for Nonterminals in Hierarchical Phrase-Based Translation

Xing Wang, Deyi Xiong, Min Zhang

Introduction

Hierarchical Phrase-Based Translation (HPBT) systems traditionally rely on a Synchronous Context-Free Grammar (SCFG) where most rules utilize a generic nonterminal symbol, typically denoted as $X$. While effective, this "one-size-fits-all" approach lacks the necessary substitution constraints to ensure semantic and grammatical coherence. This paper, presented at EMNLP 2015 by researchers from Soochow University, proposes a novel framework to replace these coarse symbols with rich, real-valued semantic vectors learned from unlabeled data.

The Challenge of Generic Nonterminals

In HPBT, a rule like “$X_1$ of $X_2$” $\rightarrow$ “$X_2$ 的 $X_1$” acts as a template. However, the symbol $X$ does not distinguish between different syntactic or semantic categories, such as noun phrases or verb phrases. This often results in translations that are syntactically plausible but semantically incorrect. While previous efforts have used syntactic labels from parsers to refine these rules, such tools are not universally available and require extensive manually labeled data. The authors ask: can we use unlabeled data to give these $X$ symbols a "semantic fingerprint" instead?

Methodology: From Raw Text to Semantic Fingerprints

The authors propose a multi-stage pipeline to induce semantic representations for nonterminals without relying on external parsers.

1. Learning Phrase Vectors

To represent multi-word phrases, the system employs Recursive Autoencoders (RAE). Starting with pre-trained word embeddings, the RAE iteratively combines two vectors into a parent vector, minimizing reconstruction error to ensure the parent captures the combined meaning.

Recursive Autoencoder (RAE) architecture for learning phrase representations.

2. Inducing Nonterminal Vectors

When a translation rule is extracted, the generic $X$ is assigned a vector that represents the average meaning of the phrases it replaces during training. Two primary methods were evaluated:

  • Weighted Mean Value (MV): A simple weighted average of phrase vectors.
  • Minimum Distance (MD): A centroid in semantic space that minimizes the distance to all substituted phrases.

3. Target-Side Decoding and Integration

Calculating target-side vectors during decoding is computationally intensive. The authors introduced two strategies:

  • Nonlinear Projection: A neural network that maps source vectors into the target semantic space.
  • Two-Pass Decoding: A first pass identifies the top 100 candidates, and a second pass performs precise semantic calculations on this subset.

The final model integrates these vectors by adding features that measure the Cosine Similarity or Euclidean Distance between a candidate phrase and the nonterminal "slot" it occupies.

Experimental Results

The model was evaluated on Chinese-to-English translation tasks using NIST MT datasets. The results demonstrate that semantic refinement significantly outperforms both the baseline and traditional syntax-based models.

Comparison of BLEU scores for source, target, and combined semantic models against baseline and syntax-based (Syn-Mis) systems.

As shown in the results, the combined model achieved an average improvement of 1.16 BLEU points over the baseline. Notably, it outperformed the state-of-the-art syntax mismatch model (Syn-Mis) by 0.41 BLEU points, suggesting that learned embeddings can effectively capture structural information typically provided by human-annotated parsers.

Conclusion and Future Work

This research demonstrates that distributional semantics can provide a powerful, data-driven alternative to formal syntax in machine translation. By treating nonterminals as clusters in a vector space, the model gains "soft" constraints that improve translation quality. Future directions include developing context-sensitive nonterminal representations and exploring joint bilingual embedding spaces to further refine the mapping between languages.

Summary updated

BibTeX
@inproceedings{wang2015learning,
  author = {Xing Wang and Deyi Xiong and Min Zhang},
  title = {{Learning Semantic Representations for Nonterminals in Hierarchical Phrase-Based Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1164},
}
Figure