Dependency Graph-to-String Translation

Liangyou Li, Andy Way, Qun Liu

Abstract

Traditional Statistical Machine Translation (SMT) systems often rely on rigid linguistic trees to model source-language syntax. However, these structures frequently fail to capture "non-syntactic" phrases and complex reordering patterns. This paper presents a novel approach using a synchronous Edge Replacement Grammar (ERG) to treat source syntax as a flexible dependency graph. By introducing a continuous span restriction, the model achieves the generative power of graph grammars while maintaining a manageable $O(n^3)$ decoding complexity. Experimental results on Chinese–English and German–English tasks demonstrate significant improvements over state-of-the-art hierarchical and tree-based baselines.

Introduction: The Limitations of Tree-Based SMT

In the field of SMT, syntax-based models have long used dependency trees to guide word reordering. While effective, trees are inherently restrictive. They struggle with "non-syntactic" phrases—groups of words that are siblings in a tree but do not form a single, contiguous constituent. While general graphs offer the flexibility needed to model these relationships, they typically introduce exponential computational complexity, making them impractical for large-scale translation systems.

This research bridges this gap by proposing a Dependency Graph-to-String Grammar (DGSG). This framework captures the structural advantages of graphs while employing clever constraints to ensure efficiency.

Methodology: Dependency Graph-to-String Grammar

The core of the proposed system is a specialized version of graph grammars known as Edge Replacement Grammar (ERG). The translation process follows a structured pipeline:

  1. Graph Construction: Standard dependency trees are converted into graphs where edges are labeled with words or non-terminals.
  2. Synchronous Grammar Rules: The model utilizes rules that simultaneously generate a source-side graph fragment and a corresponding target-side string. This allows the system to learn how complex structural patterns (e.g., a verb and its multiple objects) map directly to word sequences in the target language.
Example of a synchronous Edge Replacement Grammar (ERG) rule, where a non-terminal edge X is replaced by a graph fragment.

Complexity and Efficiency

To prevent the "exponential explosion" common in graph processing, the authors impose a continuous span restriction. This constraint requires each graph fragment to correspond to a continuous sequence of words in the source sentence. This optimization reduces decoding complexity to cubic time ($O(n^3)$), placing it on par with standard hierarchical phrase-based (HPB) models in terms of efficiency.

A step-by-step derivation of a dependency graph using the proposed synchronous grammar, illustrating how structural patterns are mapped to target strings.

Experimental Setup and Results

The model was evaluated on two major language pairs: Chinese–English (ZH–EN) and German–English (DE–EN). The ZH–EN system was trained on 1.5M+ sentence pairs, while the DE–EN system utilized 2M+ pairs from the WMT 2014 corpus.

Key Findings

  • Performance Gains: The proposed DGST (Dependency Graph-to-String Translation) system consistently outperformed baselines. In ZH–EN tasks, it achieved an average gain of +1.25 BLEU and +0.55 METEOR points over the HPB model. It also significantly reduced the Translation Edit Rate (TER).
  • Structural Robustness: The model proved particularly adept at handling long-distance reordering. By capturing structural relationships rather than just local word patterns, it successfully managed difficult constructions like the Chinese "X 的 Y" (X of Y), which often results in ungrammatical output in traditional dependency-based systems.
  • Generalization: Unlike traditional models, DGST showed less sensitivity to maximum phrase length limits, suggesting that graph-based rules generalize better to long, complex sentences.

Conclusion

By treating source-language syntax as a dependency graph and utilizing synchronous Edge Replacement Grammars, this approach provides a unified solution for modeling treelets, complex reordering, and non-syntactic phrases. While the current "continuous span" restriction limits the handling of discontinuous phrases, the model represents a significant step forward in balancing linguistic expressivity with computational feasibility in machine translation. Future work may explore relaxing these restrictions or adopting hyperedge replacement grammars (HRG) for even greater flexibility.

Summary updated

BibTeX
@inproceedings{li2015dependency,
  author = {Liangyou Li and Andy Way and Qun Liu},
  title = {{Dependency Graph-to-String Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1004},
}
Figure