Multi-lingual Embedding Vector Alignment for Cross-Lingual QA

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training machine learning models for multi-lingual question-answer systems is challenging due to the lack of available training data in non-English languages, making it difficult to predict answers in languages other than English, as generating such data is expensive and time-consuming.

Innovation Solution

The method involves receiving questions in multiple languages, generating vectors representing these questions, and adjusting the machine learning model based on answers and vector distances to enable it to predict answers in languages without available training data, using techniques like machine translation and loss function adjustments to bring vector distances closer together.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If training data is generated for multiple languages, then the question-answer system can answer questions in multiple languages, but the cost and time required become prohibitively expensive and slow

Engineering Contradiction:
Improvemulti-lingual capabilityVSAvoidtraining time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system pre-translates questions from a source language to target languages using machine translation before training. This preliminary action creates synthetic training data in multiple languages without requiring manual translation, significantly reducing the time and cost while maintaining the ability to answer questions in multiple languages

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates synthetic training examples by copying existing source language question-answer pairs and translating them to target languages. This copying approach generates sufficient training data in multiple languages without requiring original content creation in each language, reducing both time and resource requirements

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If training data is generated for multiple languages, then the question-answer system can answer questions in multiple languages, but the cost becomes prohibitively expensive

Engineering Contradiction:
Improvemulti-lingual capabilityVSAvoidtraining cost
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The system copies existing high-quality source language training data and translates it to target languages, creating synthetic multi-lingual training sets. This approach avoids the high cost of creating original training data in each language while maintaining answer quality through the use of existing proven training examples

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system changes the language parameter of existing training data through machine translation rather than creating new training data from scratch in each language. This parameter transformation approach significantly reduces costs while maintaining the structural integrity and quality of the training examples

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If the question-answer system is trained only in English, then training is straightforward with readily available data, but it cannot answer questions in languages other than English

Engineering Contradiction:
Improvetraining easeVSAvoidlanguage coverage
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary machine translation of source language questions to target languages before training. This allows the system to maintain straightforward training procedures while expanding language coverage, as the translation is done automatically without requiring manual intervention in each language

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses machine translation as an intermediary to bridge source language training data and target language questions. This intermediary approach allows English-trained models to handle multiple languages by translating questions to the training language, maintaining training simplicity while expanding language capabilities

Inventive Principle:
Principle #24Intermediary (Mediator)

4Adaptability or versatility

If machine translation is used to translate questions, then training data in multiple languages can be created, but the accuracy may be affected by translation quality

Engineering Contradiction:
Improvelanguage coverageVSAvoidanswer accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The system copies proven source language question-answer pairs and translates them to target languages. By copying from high-quality source data rather than generating new content, the system maintains answer accuracy even with machine translation, as the original answer logic and information are preserved in the translation process

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11574130B2Enhancing multi-lingual embeddings for cross-lingual question-answer system
Publication Date: 2023.02.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11574130B2 patent drawing
  • US11574130B2 patent drawing
  • US11574130B2 patent drawing

AI summary

A method includes receiving, by a question-answer system, a question in a first language and the question in a second language and predicting, by the question-answer system, a first answer to the question in the first language and a second answer to the question in the second language. The method also includes generating, by the question-answer system, a first vector representing the question in the first language and a second vector representing the question in the second language and adjusting the question-answer system based on the first and second answers and the first and second vectors such that when the question-answer system subsequently generates a third vector representing the question in the first language and a fourth vector representing the question in the second language, a distance between the third and fourth vectors is less than a distance between the first and second vectors.