Abstract
Traditional neural machine translation models often struggle with informal language and "verbiage," leading to the loss of key factual information. This paper introduces Knowledge-Based Semantic Embedding (KBSE), a framework that grounds translation in structured semantic tuples derived from a knowledge base. By mapping source sentences to an explicit semantic space and using an extraction gate during decoding, KBSE improves translation accuracy and robustness, particularly in preserving specific user intentions.
Introduction
Standard sequence-to-sequence (S2S) models compress source sentences into implicit "context vectors." While flexible, these "black box" representations are sensitive to noise and filler words, often failing to capture critical details like specific product attributes. Furthermore, these implicit vectors make it difficult to integrate external structured knowledge. To address these issues, the authors propose Knowledge-Based Semantic Embedding (KBSE), which bridges neural flexibility with the precision of structured Knowledge Bases (KBs).
The KBSE Framework
The KBSE approach decomposes translation into two primary stages: Source Grounding and Target Generation.
Source Grounding
Instead of relying solely on a hidden vector, the model employs a Recurrent Neural Network (RNN) paired with a hierarchical classifier. This classifier identifies paths within a "tuple tree" that correspond to the source sentence's meaning (e.g., Appearance.color.white). These tuples serve as a language-agnostic "interlingua," where the same semantic node represents a concept across different languages.
Target Generation
The decoder uses a modified Gated Recurrent Unit (GRU) featuring a novel extraction gate. This gate acts as a "checklist" mechanism: as the model generates words, it retrieves and subsequently reduces the corresponding information from the semantic vector. For instance, once the word "white" is produced, the feature value for the "color: white" tuple decreases, preventing redundancy and ensuring all intended information is conveyed.
Key Insights: The Checklist Mechanism
A defining feature of KBSE is its ability to track which parts of the semantic intent have been fulfilled. This is visualized through the decay of tuple feature values during the generation process.
By treating the semantic vector as a finite resource to be consumed, the model becomes significantly more robust to the "verbiage" of informal speech. The grounding phase learns to extract specific entities while ignoring irrelevant filler words that might otherwise distort a standard encoder's context vector.
Evaluation and Results
The model was tested on datasets from the E-commerce and Movie domains, both of which require high factual precision.
- Quantitative Performance: In the E-commerce task, KBSE achieved a BLEU score of 62.19, outperforming the standard Encoder-Decoder baseline (60.31). A hybrid model combining both approaches reached a score of 64.52.
- Human Evaluation: The benefits were even clearer in human trials. KBSE maintained a 97.1% accuracy in preserving user intention in the E-commerce domain, whereas the standard neural model dropped to 90.8%.
- Qualitative Robustness: Qualitative analysis showed that while standard models often missed specific adjectives or were confused by wordy inputs, KBSE consistently preserved core facts.
Limitations and Future Work
While effective, KBSE is dependent on the coverage of its underlying Knowledge Base. Concepts or slang not present in the KB cannot be grounded, potentially leading to errors. Additionally, as a two-stage process, errors in the initial grounding phase can propagate to the final translation. Future research may explore integrating attention mechanisms or using Convolutional Neural Networks (CNNs) to enhance the encoding process.
Summary updated