Machine Translation Attribute Inference for Gender and Formality

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional machine translation systems often choose translations at random or based on assumptions, leading to inappropriate and potentially misinterpreting translations due to the lack of consideration for grammatical gender and formality levels, especially in languages like Spanish where these attributes significantly impact word endings and spellings.

Innovation Solution

Customizable machine translation models are trained to account for grammatical gender and formality level attributes, using a combination of manual and automated label generation techniques, including multi-task learning and zero-shot cross-lingual transfer, to provide context-specific and high-quality translations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional machine translation systems translate without considering grammatical gender and formality level attributes, then translation speed and simplicity are improved, but translation accuracy and cultural appropriateness deteriorate

Engineering Contradiction:
Improvetranslation speedVSAvoidtranslation accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The system performs preliminary action by inferring grammatical gender and formality level attributes from the source text before generating the translation. This allows the translation model to select appropriate target language forms in advance, ensuring cultural appropriateness without sacrificing translation speed. The attribute inference step prepares necessary contextual information ahead of time, resolving the contradiction between speed and accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces an intermediary mechanism by adding attribute inference as a separate processing stage between source text input and translation output. This intermediary component analyzes the source text to determine grammatical gender and formality level, then passes this information to the translation model. This mediator enables accurate culturally-appropriate translations while maintaining efficiency through automated attribute detection.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Manufacturing precision

If machine translation models are trained with multiple attributes (grammatical gender, formality level), then translation quality for specific contexts is improved, but training complexity and data requirements increase

Engineering Contradiction:
Improvetranslation qualityVSAvoidtraining complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The training process is segmented into distinct components: attribute inference training and translation generation training. The system first trains a separate attribute inference model to detect grammatical gender and formality level, then uses these inferred attributes as conditions for the translation model. This segmentation reduces overall training complexity by breaking down the complex multi-attribute translation task into manageable sub-tasks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary attribute inference before translation generation during both training and inference phases. By pre-determining grammatical gender and formality level attributes, the translation model only needs to learn to generate translations conditional on these attributes rather than learning to infer them simultaneously. This preliminary action simplifies the translation model's learning task and reduces training complexity.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If translations are customized based on inferred attributes, then cultural appropriateness is improved, but processing time and computational resources increase

Engineering Contradiction:
Improvecultural appropriatenessVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system replaces manual or rule-based attribute determination with automated machine learning-based attribute inference. This substitution enables rapid, accurate detection of grammatical gender and formality level attributes without requiring complex manual analysis or extensive rule sets. The automated inference process maintains cultural appropriateness while minimizing additional processing time through efficient neural network-based attribute prediction.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS12499330B1Customized machine translation using client-specified attributes
Publication Date: 2025.12.16 AMAZON TECH INC
  • US12499330B1 patent drawing
  • US12499330B1 patent drawing
  • US12499330B1 patent drawing

AI summary

A respective label set is obtained for a number of translation unit pairs, with each pair comprising a set of language elements in a first language and the translation of the set of language elements to a second language. The label set includes values of one or more translation customization attributes. A value of such an attribute associated with a translation request is identified. A translated version of an input set of language elements indicated in the translation request is generated in accordance with the value of the attribute, using a machine learning model trained with the help of the label sets.