# US 2022/0284196 A1 · Electronic device, method and computer program

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

- Number: US 2022/0284196 A1
- Document ID: US20220284196A1
- Status: Published application
- Kind: A1
- Application number: 17/635,704
- Filed: 2020-08-11
- Published: 2022-09-08
- Earliest claimed: 2019-08-23
- Assignees: Sony Group Corporation
- Applicants: Sony Group Corporation
- Inventors: Javier ALONSO GARCIA; Fabien CARDINAUX; Thomas KEMP; Lukas MAUCH; Stefan UHLICH; Stephen TIEDEMANN
- Web page: https://patentgrep.com/patent/US20220284196A1

## CPC

- 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/30: Semantic analysis
- G06F 40/44: Statistical methods, e.g. probability models
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- 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

A method comprising a deep learning based translation system translating a source sentence from language A to a target sentence in language B, placing constraints on the target sentence in language B.

## Claims

### Claim 1

A method comprising training a deep learning based translation system to translate an input sentence from a first language into a target sentence in a second language, the training including a constraint on the target sentence in the second language.

### Claim 2 (depends on 1)

The method of claim 1, comprising training a first encoder/decoder pair which is trained using a monolingual corpus for the first language, and a second encoder/decoder pair which is trained using a monolingual corpus for the second language.

### Claim 3 (depends on 2)

The method of claim 2, comprising training the first encoder to translate the input sentence in the first language to a latent representation, and the first decoder to translate the latent representation back to the input sentence in the first language.

### Claim 4 (depends on 2)

The method of claim 2, comprising training the second encoder to translate the target sentence in the second language to a latent representation, and the second decoder to translate the latent representation back to the target sentence in the second language.

### Claim 5 (depends on 2)

The method of claim 2, comprising training the encoder/decoder pairs and using two independent monolingual corpora, one for the set of sentences of the first language, and one for the set of sentences of the second language.

### Claim 6 (depends on 1)

The method of claim 1, wherein the encoder/decoder pairs are trained using a loss-function.

### Claim 7 (depends on 6)

The method of claim 6, wherein the loss-function comprises a reconstruction loss for the sentences of the first language, which relates an input sentence of the first language to a resulting sentence of the first language, whereby, during training, the resulting sentence is obtained by the encoder network translating the input sentence to a latent representation and the decoder network translating this latent representation back to the first language.

### Claim 8 (depends on 6)

The method of claim 6, wherein the loss-function comprises a reconstruction loss for the sentences of the second language, which relates a target sentence of the second language to a resulting sentence of the second language, whereby, during training, the resulting sentence is obtained by the encoder network translating the target sentence to a latent representation and the decoder network translating this latent representation back to the second language.

### Claim 9 (depends on 6)

The method of claim 6, wherein the loss-function comprises a cross-language loss for sentences of the first language, which relates an input sentence of the first language to a resulting sentence of the first language, whereby during training, the resulting sentence is obtained by the encoder network translating the input sentence to a latent representation, the decoder network translating this latent representation to a target sentence in the second language, the encoder network translating the target sentence to a latent representation and the decoder translating the latent representation back to the first language.

### Claim 10 (depends on 6)

The method of claim 6, wherein the loss-function comprises a cross-language loss for sentences of the second language, which relates a target sentence of the second language to a resulting sentence of the second language, whereby, during training, the resulting sentence is obtained by the encoder network translating the target sentence to a latent representation, the decoder network translating this latent representation to an input sentence in the first language, the encoder network translating the input sentence to a latent representation and the decoder translating the latent representation back to the second language.

### Claim 11 (depends on 1)

The method of claim 1, wherein multiple constraints are imposed on the target sentence in a second language.

### Claim 12 (depends on 1)

The method of claim 1, wherein a constraint is imposed on the target sentence in a second language by using a penalty term.

### Claim 13 (depends on 6)

The method of claim 6, wherein the loss-function comprises a penalty term, the penalty term being imposed on a target sentence in the second language, whereby, during training, the target sentence is obtained by the encoder network translating an input sentence to a latent representation and the decoder translating this latent representation to the target sentence.

### Claim 14 (depends on 13)

The method of claim 13, wherein the penalty term is realized by an indicator function.

### Claim 15 (depends on 1)

The method of claim 1, wherein the first language and the second language are different languages.

### Claim 16 (depends on 1)

The method of claim 1, wherein first language and the second language are the same language.

### Claim 17 (depends on 1)

The method of claim 1, wherein the constraint on the target sentence in the second language is based on the number of words in the target sentence.

### Claim 18 (depends on 1)

The method of claim 1, wherein the constraint on the target sentence in the second language is based on the number of syllables in the target sentence.

### Claim 19 (depends on 1)

The method of claim 1, wherein the constraint on the target sentence in the second language relates to representability of the target sentence using sign language.

### Claim 20 (depends on 1)

The method of claim 1, wherein the constraint on the target sentence in the second language is that the target sentence has minimal similarity with other sentences with different meaning.

### Claim 21 (depends on 1)

The method of claim 1, wherein the constraint on the target sentence in the second language is that the target sentence uses only words from a predetermined subset set of the second language.

### Claim 22

An electronic device comprising circuitry trained to translate an input sentence from a first language into a target sentence in second language, the training including a constraint on the target sentence in the second language.
