# US 2023/0274102 A1 · Method for training machine translation model for generating pseudo parallel translation data, method for obtaining pseudo parallel translation data, and method for training machine translation model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0274102 A1
- Document ID: US20230274102A1
- Status: Published application
- Kind: A1
- Application number: 18/017,938
- Filed: 2021-08-05
- Published: 2023-08-31
- Earliest claimed: 2020-08-17
- Assignees: National Institute of Information and Communications Technology
- Applicants: National Institute of Information and Communications Technology
- Inventors: Benjamin MARIE; Atsushi FUJITA
- Web page: https://patentgrep.com/patent/US20230274102A1

## CPC

- G06F 40/44: Statistical methods, e.g. probability models
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F 40/216: using statistical methods
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06F 40/56: Natural language generation
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/09: Supervised learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Provided is a pseudo parallel translation data generation apparatus for generating pseudo parallel translation data for accurately performing machine translation in an adaptation target domain even when there exists no parallel translation data for the adaptation target domain. Using other-domains parallel translation data D0(L1-L2), other-domains first language data D0(L1), other-domains second language D0(L2), adaptation target domain first language data D0(R1), and adaptation target domain second language data D0(R2), the pseudo parallel translation data generation apparatus 100 performs optimization processing for a cross-lingual language model including an input data embedding unit 2 and an XLM processing unit 3, and performs parameter optimization processing for a pseudo parallel translation data generation NMT model including the input data embedding unit after the optimization processing and a machine translation processing unit 5. Performing processing using the pseudo parallel translation data generation machine translation model obtained by the parameter optimization processing allows for obtaining pseudo parallel translation data for the adaptation target domain for which no parallel translation data sets exist.

## Claims

### Claim 1

A training method for a machine translation model for generating pseudo parallel translation data comprising:
an initialization step of performing training processing for the machine translation model for generating pseudo parallel translation data using
an other-domains parallel translation data set Dsetp(L1-L2) containing a plurality of pieces of parallel translation data comprising other-domains first language data, which is data for a domain other than an adaptation target domain that is a domain for which pseudo parallel translation data is to be generated, and other-domains second language data, which is translated data in a second language of the other-domains first language data,
an other-domains monolingual data set Dsetm(L1) containing a plurality of pieces of first language data for a domain other than the adaptation target domain,
an other-domains monolingual data set Dsetm(L2) containing a plurality of pieces of second language data for a domain other than the adaptation target domain,
an adaptation target domain monolingual data set Dsetm(R1) containing a plurality of pieces of data of the first language of the adaptation target domain, and
an adaptation target domain monolingual data set Dsetm(R2) containing a plurality of pieces of data of the second language of the adaptation target domain, and
setting parameters that have been set for the machine translation model for generating pseudo parallel translation data after performing the training processing to initial parameters; and
an optimization step of obtaining optimum parameters for the machine translation model for generating pseudo parallel translation data by performing training processing using at least one of
(1) auto-encoding processing that sets correct data to the same data as input data and then performs training processing for the machine translation model for generating pseudo parallel translation data with the initial parameters set,
(2) zero-shot round-trip machine translation processing that inputs again output data from the machine translation model for generating pseudo parallel translation data for the input data into the machine translation model for generating pseudo parallel translation data, and then performs training processing for the machine translation model for generating pseudo parallel translation data so that the output from the machine translation model for generating pseudo parallel translation data becomes the same data as the input data, for the machine translation model for generating pseudo parallel translation data with the initial parameters set, and
(3) supervised machine translation processing that sets one of first language data and second language data included in an other-domains translation data set Dsetp(L1-L2) to an input into the machine translation model for generating pseudo parallel translation data and sets the other to correct data, and then performs training processing for the machine translation model for generating pseudo parallel translation data with the initial parameters set.

### Claim 2 (depends on 1)

A pseudo parallel translation data obtaining method for obtaining pseudo parallel translation data for an adaptation target domain using the machine translation model for generating pseudo parallel translation data obtained by training processing for the machine translation model for generating pseudo parallel translation data according to claim 1, the pseudo parallel translation data obtaining method comprising:
a first machine translation step of performing machine translation processing on first language data obtained from the other-domains parallel translation data set Dsetp(L1-L2) using the machine translation model for generating pseudo parallel translation data with a type of an output set to the adaptation target domain second language to obtain pseudo parallel translation data for the adaptation target domain second language, which is a machine translation processing resultant data for the other-domains first language data;
a second machine translation step of performing machine translation processing on second language data obtained from the other-domains parallel translation data set Dsetp(L1-L2) using the machine translation model for generating pseudo parallel translation data with a type of an output set to the adaptation target domain first language to obtain pseudo parallel translation data for the adaptation target domain in the first language, which is machine translation processing resultant data for the other-domains second language data; and
a pseudo parallel translation data obtaining step of pairing second language pseudo translated data of the adaptation target domain obtained in the first machine translation step with first language pseudo translated data of the adaptation target domain obtained in the second machine translation step to obtain pseudo parallel translation data of the adaptation target domain.

### Claim 3 (depends on 1)

A pseudo parallel translation data obtaining method for obtaining pseudo parallel translation data for an adaptation target domain using the machine translation model for generating pseudo parallel translation data obtained by training processing for the machine translation model for generating pseudo parallel translation data according to claim 1, the pseudo parallel translation data obtaining method comprising:
a monolingual language data machine translation step of performing machine translation processing on first language data obtained from the adaptation target domain monolingual language data set Dsetm(R1) or second language data obtained from the adaptation target domain monolingual language data set Dsetm(R2) using the machine translation model for generating pseudo parallel translation data with a type of an output set to the adaptation target domain first language or the adaptation target domain second language to obtain pseudo parallel translation data for the adaptation target domain second language, which is a machine translation processing resultant data for the adaptation target domain first language data or pseudo parallel translation data for the adaptation target domain first language data, which is a machine translation processing resultant data for the adaptation target domain second language data; and
a pseudo parallel translation data obtaining step of pairing first language data of the adaptation target domain that has been set to the input into the machine translation model for generating pseudo parallel translation data with the adaptation target domain second language pseudo translated data obtained in the monolingual language data machine translation step, or pairing second language data of the adaptation target domain that has been set to the input into the machine translation model for generating pseudo parallel translation data with the adaptation target domain first language pseudo translated data obtained in the monolingual language data machine translation step, thereby obtaining pseudo parallel translation data of the adaptation target domain.

### Claim 4 (depends on 2)

The pseudo parallel translation data obtaining method according to claim 2, further comprising:
a filter processing step of obtaining a confidence degree indicating reliability of a result of machine translation processing for each sentence pair of the adaptation target domain pseudo parallel translation data obtained in the pseudo parallel translation data obtaining step, selecting only pseudo parallel translation data including sentence pairs whose confidence degrees are greater than or equal to a predetermined value, and outputting the selected data.

### Claim 5 (depends on 2)

A method for training a machine translation model and obtaining data in a second language by performing machine translation on data in a first language for an adaptation target domain, the method comprising:
a machine translation model training step of performing the machine translation model using
pseudo translation data of the adaptation target domain obtained by the pseudo parallel translation data obtaining method according to claim 2, and
an other-domains parallel translation data set Dsetp(L1-L2) containing a plurality of pieces of translation data including other-domains first language data that is data in the first language for a domain other than the adaptation target domain, and other-domains second language data that is translated data in the second language for the other-domains first language data.

### Claim 6 (depends on 5)

A machine translation apparatus that performs machine translation processing using (I) a trained machine translation model obtained by a training method for the machine translation model for generating pseudo parallel translation data, the training method comprising:
an initialization step of performing training processing for the machine translation model for generating pseudo parallel translation data using
an other-domains parallel translation data set Dsetp(L1-L2) containing a plurality of pieces of parallel translation data including other-domains first language data, which is data for a domain other than an adaptation target domain that is a domain for which pseudo parallel translation data is to be generated, and other-domains second language data, which is translated data in a second language of the other-domains first language data,
an other-domains monolingual data set Dsetm(L1) containing a plurality of pieces of first language data for a domain other than the adaptation target domain,
an other-domains monolingual data set Dsetm(L2) containing a plurality of pieces of second language data for a domain other than the adaptation target domain,
an adaptation target domain monolingual data set Dsetm(R1) containing a plurality of pieces of data of the first language of the adaptation target domain, and
an adaptation target domain monolingual data set Dsetm(R2) containing a plurality of pieces of data of the second language of the adaptation target domain, and
setting parameters that have been set for the machine translation model for generating pseudo parallel translation data after performing the training processing to initial parameters; and
an optimization step of obtaining optimum parameters for the machine translation model for generating pseudo parallel translation data by performing training processing using at least one of
(1) auto-encoding processing that sets correct data to the same data as input data and then performs training processing for the machine translation model for generating pseudo parallel translation data with the initial parameters set,
(2) zero-shot turn-back machine translation processing that inputs again output data from the machine translation model for generating pseudo parallel translation data for the input data into the machine translation model for generating pseudo parallel translation data, and then performs training processing for the machine translation model for generating pseudo parallel translation data so that the output from the machine translation model for generating pseudo parallel translation data becomes the same data as the input data, for the machine translation model for generating pseudo parallel translation data with the initial parameters set, and
(3) supervised machine translation processing that sets one of first language data and second language data included in a other-domains translation data set Dsetp(L1-L2) to an input into the machine translation model for generating pseudo parallel translation data and sets the other to correct data, and then performs training processing for the machine translation model for generating pseudo parallel translation data with the initial parameters set,
or (II) a trained machine translation model obtained by the method for training a machine translation model according to claim 5.
