Sign language translation device and program thereof

The sign language translation device efficiently translates Japanese sentences into sign language by using a pre-trained model and automatic proper noun replacement, enhancing translation accuracy and reducing the need for manual intervention.

JP2024121998AActive Publication Date: 2024-09-09NIPPON HOSO KYOKAI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023029285
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

Conventional sign language translation methods require retraining the translation model and manual replacement of proper nouns with placeholders, which is time-consuming and inefficient.

Method used

A sign language translation device that uses a pre-trained translation model and a correspondence estimation unit to automatically identify and replace proper nouns in sign language word strings without placeholders, utilizing a translation dictionary to map Japanese proper nouns to sign language words.

Benefits of technology

Reduces the effort required to prepare data for learning a translation model and improves translation accuracy by eliminating the need for placeholder-based retraining and manual replacements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a sign language translation device that does not use a placeholder.SOLUTION: A sign language translation device 1 includes: a sign language translating unit 10 that executes machine translation on a Japanese sentence into a sign language word string using a translation model; a correspondence relation estimating unit 11 that estimates, in the sign language word string translated by the sign language translating unit 10, the position of a sign language word corresponding to a proper noun within the Japanese sentence; and a translation word substituting unit 13 which refers to a translation dictionary, and which substitutes the sign language word at the estimated position by the correspondence relation estimating unit 11 with the sign language translation word in the translation dictionary.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a sign language translation device and a program for translating a Japanese sentence into a string of sign language words. [Background technology]

[0002] In broadcast program production, machine translation of sign language is increasingly being used to reduce production costs. Since proper nouns need to be translated accurately, the results of machine translation are replaced in post-processing. Conventionally, a method has been proposed in which replacement tags called placeholders are used in sign language translation (Patent Document 1, Non-Patent Document 1).

[0003] A conventional placeholder will be described with reference to Fig. 6. As shown in Fig. 6, the proper nouns "NHK Giken" and "Setagaya" contained in the Japanese sentence "NHK Giken wa Setagaya ni Aiteru" are replaced with placeholders. <org>and <place>Then, using the translation model, the Japanese sentence " <org>teeth <place>"It is in" in sign language <org>pt3 N <place>The sign language word "pt3" represents pointing, and the sign language word "N" represents the speaker nodding. <org>and <place>By replacing the above with the sign language word that corresponds to the proper noun, the sign language "NHK technical research location pt3 N Setagaya location there" is obtained. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-166672 A [Non-patent literature]

[0005] [Non-Patent Document 1] Thang Luong et al. "Addressing the rare word problem in neural machine translation." Summary of the Invention [Problem to be solved by the invention]

[0006] However, in the above-mentioned conventional technology, when adding a type of placeholder, it is necessary to retrain the translation model. For example, when replacing the proper noun "new coronavirus", which is not a person's name or a place name, with a placeholder, it is necessary to retrain the translation model. Furthermore, in the conventional technology, it is necessary to manually replace the proper noun with the placeholder. Thus, the conventional technology has a problem that sign language translation is time-consuming because it uses placeholders.

[0007] Therefore, an object of the present invention is to provide a sign language translation device and a program therefor that do not use placeholders. [Means for solving the problem]

[0008] In order to solve the above-mentioned problems, the sign language translation device of the present invention is a sign language translation device that translates a Japanese sentence including a proper noun into a sign language word string composed of sign language words, and is configured to include a sign language translation unit that uses a pre-trained translation model to machine translate the Japanese sentence into a sign language word string, a correspondence estimation unit that estimates the positions of sign language words that correspond to the proper nouns contained in the Japanese sentence, in the sign language word string translated by the sign language translation unit, and a translation replacement unit that refers to a translation dictionary that stores sign language translations that correspond to Japanese proper nouns, and replaces the sign language word at the position estimated by the correspondence estimation unit with the sign language translation from the translation dictionary.

[0009] With this configuration, the correspondence estimation unit calculates, for each partial word string consisting of one or two or more consecutive sign language words included in the sign language word string, a first likelihood that a proper noun in a Japanese sentence is input to the translation model and the partial word string is output, and a second likelihood that a word other than the partial word string is output by inputting a word other than the proper noun in the Japanese sentence to the translation model.The correspondence estimation unit then estimates the position of the partial word string where the product of the first likelihood and the second likelihood is highest, as the position of the sign language word corresponding to the proper noun.

[0010] In this way, after the machine translation is completed, the sign language translation device uses the translation model again to estimate which sign language word corresponds to the proper noun. In other words, the sign language translation device can replace the proper noun in the sign language word string that is the result of the machine translation after the fact, without using a placeholder.

[0011] The present invention can also be realized by a program for causing a computer to function as the sign language translation device described above. Effect of the Invention

[0012] According to the present invention, since placeholders are not used, it is possible to reduce the effort required for data preparation when training a translation model. [Brief description of the drawings]

[0013] [Figure 1] 1 is a block diagram showing a configuration of a sign language translation device according to an embodiment. [Diagram 2] In the embodiment, (a) is an explanatory diagram for explaining an example of a translation model, and (b) is an explanatory diagram for explaining an example of sign language translation by a sign language translation device. [Diagram 3] FIG. 1A is an explanatory diagram for explaining an example of a Japanese sentence in an embodiment, and FIGS. 1B and 1C are explanatory diagrams for explaining an example of score calculation. [Figure 4] In an embodiment, (a) is an explanatory diagram illustrating an example of a Japanese sentence, (b) is an explanatory diagram illustrating an example of a translation dictionary, and (c) is an explanatory diagram illustrating the replacement of proper nouns. [Diagram 5] 4 is a flowchart showing the operation of the sign language translation device according to the embodiment. [Figure 6] FIG. 1 is an explanatory diagram illustrating a conventional placeholder. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, each embodiment described below is intended to embody the technical idea of ​​the present invention, and unless otherwise specified, the present invention is not limited to the following. In addition, the same symbols are used for the same means, and descriptions thereof may be omitted.

[0015] [Configuration of sign language translation device] The configuration of a sign language translation device 1 according to an embodiment will be described with reference to FIG. The sign language translation device 1 translates a Japanese sentence including a proper noun into a string of sign language words composed of sign language words. As shown in Fig. 1, the sign language translation device 1 includes a sign language translation unit 10, a correspondence relationship estimation unit 11, a translation dictionary storage unit 12, and a translation replacement unit 13.

[0016] A Japanese sentence (Japanese text) to be translated into sign language is input to the sign language translation device 1. The type and content of the Japanese sentence are not particularly limited, and it may be, for example, a script for a news program. The sign language translation device 1 also outputs a string of sign language words that is the result of translating the Japanese sentence into sign language. For example, the string of sign language words can be used to automatically generate sign language CG for a news program.

[0017] The sign language translation unit 10 uses a translation model that has been trained in advance to perform machine translation of Japanese sentences into a string of sign language words. The translation model may be a translation model using a neural network (neural translation model), such as an Encoder-Decoder model using a general Transformer.

[0018] Here, since the translation accuracy is improved, it is preferable that the sign language translation unit 10 uses a pre-trained model as the translation model or as a part thereof. For example, the sign language translation unit 10 can use Transformer Bidirectional Encoder Representations from Transformers (BERT), which is a pre-trained model based on a transformer, as the Encoder of the translation model.

[0019] As shown in FIG. 2(a), in neural translation model 20, a Japanese sentence is input to Encoder 21 and vectorized. Next, in neural translation model 20, the vector output by Encoder 21 and a translation start symbol (BOS) are input to Decoder 22 to predict the first sign language word. Thereafter, in neural translation model 20, the vector output by Encoder 21 and the partial word strings of sign language that have been translated so far as translation results are input to Decoder 22 to predict sign language words one by one. Then, in neural translation model 20, the sign language translation ends when the end of translation symbol (EOS) is output.

[0020] In the example of Figure 2(b), the translation result of the Japanese sentence "My name is Yoshida" is the sign language word sequence "My name N Yoshida N." Here, the Japanese proper noun "Yoshida" is directly translated into the sign language word sequence "Yoshida," and it is difficult to understand that this is a proper noun representing a surname in sign language. Therefore, as described later, the sign language word sequence "Yoshida" is replaced with another sign language word sequence.

[0021] The sign language translation unit 10 outputs the Japanese sentence input to the sign language translation device 1 and the string of sign language words that is the translation result to the correspondence estimation unit 11. Note that the string of sign language words output by the sign language translation unit 10 is before proper noun replacement, which will be described later.

[0022] Returning to FIG. 1, the description of the configuration of the sign language translation device 1 will continue. The correspondence estimation unit 11 estimates the position of a sign language word corresponding to a proper noun included in a Japanese sentence in the sign language word string translated by the sign language translation unit 10. In the example of Fig. 2(b), the correspondence estimation unit 11 uses the translation model (Encoder 21 and Decoder 22) of the sign language translation unit 10 to associate "Yoshida" in the sign language word string "I, name, N, Yoshida, N" with the proper noun "Yoshida" in the Japanese sentence.

[0023] <Matching by the Matching Relationship Estimation Unit 11> The correspondence estimation performed by the correspondence estimation unit 11 will be described in detail with reference to FIG. Specifically, for each partial word string consisting of one or two or more consecutive sign language words included in the sign language word string, the correspondence estimation unit 11 calculates a first likelihood that a proper noun in a Japanese sentence is input to the translation model and the partial word string is output, and a second likelihood that a word other than the partial word string is input to the translation model and a word other than the partial word string is output. Then, the correspondence estimation unit 11 estimates the position of the partial word string where the product (score) of the first likelihood and the second likelihood is the highest, as the position of the sign language word corresponding to the proper noun.

[0024] That is, the correspondence estimation unit 11 can calculate the score by using the following formula (1). In formula (1), p(T m´ m |S n´ n ) represents the first likelihood, and p ̄(T m´ m |S n´ n ) represents the second likelihood. n´ n represents a subword sequence T consisting of the mth to m´th words in the sign language word sequence T. m´ m Represents.

[0025]

number

[0026] First likelihood p(T m´ m |S n´ n ) is a Japanese proper noun S n´ n When the input is input to the translation model (Encoder21), the translation model (Decoder22) outputs a partial word sequence T m´ m represents the likelihood of being output. Also, the second likelihood p ̄(T m´ m |S n´ n ) is a Japanese sentence S to proper noun S n´ n When the input to the translation model (Encoder21) is a partial word sequence T from the sign language word sequence T, m´ m represents the likelihood output from the translation model (Decoder22).

[0027] As shown in Figure 3(a), we will take as an example the Japanese sentence "My name is Yoshida" and the translated sign language word sequence "My name N Yoshida N" and the proper noun "Yoshida" in the Japanese sentence.

[0028] As shown in FIG. 3(b), the correspondence estimation unit 11 calculates a first likelihood and a second likelihood for the partial word sequence "Yoshida" in sign language, and calculates a score which is the product of the first likelihood and the second likelihood. Specifically, the correspondence estimation unit 11 inputs the proper noun "Yoshida" in a Japanese sentence into the translation model (Encoder 21) of the sign language translation unit 10, and calculates a first likelihood of 0.8 that the partial word sequence "Yoshida" will be output from the translation model (Decoder 22) of the sign language translation unit 10. Note that, <eos>represents the translation end symbol and is treated as part of the partial word string.

[0029] Next, the correspondence estimation unit 11 inputs the Japanese sentence "My name is" excluding the proper noun "Yoshida" into the translation model (Encoder 21) of the sign language translation unit 10, and calculates a second likelihood of 0.7 that the sign language word string "My name NN" excluding the partial word string "Yoshida" will be output from the translation model (Decoder 22) of the sign language translation unit 10.

[0030] Furthermore, the correspondence estimation unit 11 calculates the product 0.56 of the first likelihood 0.8 and the second likelihood 0.7 as a score. This score represents the probability that the proper noun “Yoshida” in the Japanese sentence is translated into the partial word string “Yoshida”.

[0031] 3(c), the correspondence estimation unit 11 calculates a first likelihood and a second likelihood for the partial word string "Name N" in sign language, and calculates a score which is the product of the first likelihood and the second likelihood. Specifically, the correspondence estimation unit 11 inputs the proper noun "Yoshida" in the Japanese sentence to the translation model (Encoder 21) of the sign language translation unit 10, and calculates a first likelihood of 0.1 that the partial word string "Name N" will be output from the translation model (Decoder 22) of the sign language translation unit 10.

[0032] Next, the correspondence estimation unit 11 inputs the Japanese sentence "My name is" excluding the proper noun "Yoshida" into the translation model (Encoder 21) of the sign language translation unit 10, and calculates a second likelihood of 0.6 that the sign language word string "I Yoshida N" excluding the partial word string "Name N" will be output from the translation model (Decoder 22) of the sign language translation unit 10.

[0033] Furthermore, the correspondence estimation unit 11 calculates the product 0.06 of the first likelihood 0.1 and the second likelihood 0.6 as a score. This score represents the probability that the proper noun "Yoshida" in the Japanese sentence is translated into the partial word string "Name N".

[0034] In the above example, the first likelihood, the second likelihood, and the score are calculated for the partial word string "Yoshida" and "Name N". Similarly, the correspondence estimation unit 11 calculates the first likelihood, the second likelihood, and the score for all partial word strings. For example, the correspondence estimation unit 11 also calculates the first likelihood, the second likelihood, and the score for the partial word string "I Name" "N Yo" "Yoshida" "Shida" consisting of two consecutive sign language words in the sign language word string "I Name N Yoshida N".

[0035] Here, the correspondence estimation unit 11 also treats three or more consecutive sign language words in a sign language word string, such as the partial word string "Yoshida", as a partial word string. For example, the correspondence estimation unit 11 calculates the first likelihood, the second likelihood, and the score for partial word strings "I Name N", "Name N Yo", "N Yoshida", and "Shida N" consisting of three consecutive sign language words in the sign language word string "I Name N Yoshida N". Furthermore, the correspondence estimation unit 11 similarly calculates the first likelihood, the second likelihood, and the score for partial word strings consisting of four consecutive sign language words in the sign language word string. Furthermore, the correspondence estimation unit 11 similarly calculates the first likelihood, the second likelihood, and the score for partial word strings consisting of one sign language word included in a sign language word string, such as the partial word string "Ta".

[0036] An upper limit may be set for the number of words in a partial word string. For example, the correspondence estimation unit 11 may treat up to 10 consecutive sign language words in a sign language word string as a partial word string. Since proper nouns are not expressed separately in sign language, the correspondence estimation unit 11 treats consecutive sign language words in a sign language word string or one sign language word as a partial word string. If necessary, the correspondence estimation unit 11 may treat sign language words that are separated from each other in a sign language word string as a partial word string.

[0037] Subsequently, the correspondence relationship estimation unit 11 estimates the position of the partial word sequence with the highest calculated score as the position of the sign language word corresponding to the proper noun. For example, as shown in FIG. 3(b), assume that among the scores of all partial word sequences included in the sign language word sequence "Watashi Namae N Yoshi Da N", the score of the partial word sequence "Yoshi Da" is the highest. In this case, as shown in FIG. 2(b), the correspondence relationship estimation unit 11 associates the proper noun "Yoshida" in the Japanese sentence with the partial word sequence "Yoshi Da" of the sign language. That is, the correspondence relationship estimation unit 11 estimates the position of the sign language word sequence corresponding to the proper noun "Yoshida" in the Japanese sentence as the position of the partial word sequence "Yoshi Da" in the sign language word sequence "Watashi Namae N Yoshi Da N".

[0038] The correspondence relationship estimation unit 11 outputs the Japanese sentence input to the sign language translation device 1, the sign language word sequence from the sign language translation unit 10, and the estimation result of the correspondence relationship to the translation word replacement unit 13.

[0039] The translation word dictionary storage unit 12 is a storage device such as a memory or a hard disk that stores the translation word dictionary. The translation word dictionary is a dictionary in which sign language translation words corresponding to Japanese proper nouns are stored. For example, as shown in FIG. 4(b), the translation word dictionary stores the sign language translation word "Yoi Ta" corresponding to the Japanese proper noun "Yoshida". Here, the sign language word sequence "Yoi Ta" can be easily understood as the surname "Yoshida" in sign language. Since the translation word dictionary can be generated by known methods, further explanation is omitted.

[0040] The translation word replacement unit 13 refers to the translation word dictionary in which sign language translation words corresponding to Japanese proper nouns are stored, and replaces the sign language word at the position estimated by the correspondence relationship estimation unit 11 with the sign language translation word in the translation word dictionary. That is, the translation word replacement unit 13 replaces the sign language word at the position indicated by the estimation result input from the correspondence relationship estimation unit 11 with the sign language word stored in the translation word dictionary of the translation word dictionary storage unit 12.

[0041] As shown in Fig. 2(b), the estimated result of the correspondence relationship shows that in the sign language word string "I, name, N, Yoshida, N", the sign language word string corresponding to the proper noun "Yoshida" in the Japanese sentence is the partial word string "Yoshida". Therefore, as shown in Fig. 3(c), the translation word replacement unit 13 replaces the partial word string "Yoshida" included in the sign language word string "I, name, N, Yoshida, N" with the sign language word "Good, Ta" from the translation dictionary. After that, the translation word replacement unit 13 outputs the sign language word string "I, name, N, Good, Ta" replaced with the sign language word from the translation dictionary.

[0042] [Sign language translation device in action] The operation of the sign language translation device 1 will be described with reference to FIG. As shown in FIG. 5, in step S1, the sign language translation apparatus 1 translates a Japanese sentence into a string of sign language words. In step S2 (estimating correspondence), the correspondence estimation unit 11 estimates the positions of sign language words corresponding to proper nouns contained in the Japanese sentence in the string of sign language words translated in step S1. In step S3, the translation word replacement unit 13 refers to the translation dictionary and replaces the sign language word at the position estimated in step S2 with a sign language translation in the translation dictionary.

[0043] [Actions and Effects] As described above, after the end of the machine translation, the sign language translation apparatus 1 uses the translation model again to estimate which sign language word corresponds to the proper noun. In this way, the sign language translation apparatus 1 can replace the proper noun in the sign language word string resulting from the machine translation after the fact without using a placeholder. In other words, the sign language translation apparatus 1 does not need to re-learn the translation model even when a new type of proper noun (e.g., "new coronavirus") is included in the Japanese sentence, as in the conventional technology. Furthermore, the sign language translation apparatus 1 does not need to manually replace the proper noun with a placeholder, as in the conventional technology. In this way, the sign language translation apparatus 1 can reduce the effort required for data preparation when learning the translation model.

[0044] Since a pre-trained model can only handle the vocabulary at the time the model was created, it was not possible to perform learning using placeholders. However, since the sign language translation device 1 does not use placeholders, it can use pre-trained models such as BERT, thereby realizing highly accurate sign language translation.

[0045] Although the embodiment has been described in detail above, the present invention is not limited to the above-described embodiment, and includes design modifications and the like within the scope of the present invention.

[0046] In the above embodiment, the sign language translation device is described as an independent piece of hardware, but the present invention is not limited to this. For example, the present invention can be realized by a program for causing hardware resources such as a CPU, memory, and hard disk of a computer to function as the sign language translation device. This program may be distributed via a communication line, or may be written on a recording medium such as a CD-ROM or a flash memory and distributed. EXAMPLES

[0047] An evaluation experiment was conducted on the sign language translation device 1 shown in Fig. 1, and the results of the evaluation experiment are described below. The sign language news corpus produced by the Japan Broadcasting Corporation was used in the evaluation experiment. The sign language news corpus was collected from the "Sign Language News" broadcast by the Japan Broadcasting Corporation since April 2009, and contains approximately 160,000 sentence pairs of Japanese speech transcripts and sign language video transcripts of the programs. In the evaluation experiment, 69,776 sentences containing named entities (place names, organization names, and person names) were used from this corpus, and the data was randomly divided into 66,776 training sentences, 2,000 development sentences, and 1,000 evaluation sentences. Named entities that appeared in the sentences were manually extracted in advance, and the expressions of named entities were associated between the Japanese sentences and the sign language.

[0048] Pytorch and Transformers were used to implement the translation model 20. The pre-training model for Encoder 21 was japanese-roberta-base, and the Decoder 22 was a 6-layer Transformer Decoder. RAdam was used to optimize the translation model 20, and the learning rate of Decoder 22 was set to 1.0 × 10 -3 The learning rate of Encoder21 is set to 2.0 × 10 -5 The number of training epochs was set to a maximum of 20, and the model with the highest BLEU value for the development data was used for evaluation. Training was performed three times for each translation model with different random seeds, and the translation model with the best performance was used for evaluation.

[0049] The results of the evaluation experiment are shown in Table 1. In Table 1, Example 1 shows the case where the pre-trained model was used, Example 2 shows the case where the pre-trained model was not used, and Comparative Example shows the case where a placeholder was used. Note that in Example 1 and Comparative Example, which do not use a pre-trained model, an Encoder-Decoder model with a 6-layer Transformer was used as the translation model, and training was performed using only training data from a sign language corpus.

[0050] [Table 1]

[0051] As shown in Table 1, it was found that Example 1 showed the best performance (high BLEU value, close edit distance), and Example 2 was also superior to the comparative example. The reason for this is believed to be that the advantages of both improving translation accuracy using a pre-trained model and replacing proper nouns after the fact were utilized. Comparing Example 1 and Example 2, it can be seen that the use of a pre-trained model improved translation accuracy. Furthermore, comparing Examples 1 and 2 with the comparative example, it was found that sufficient translation accuracy could be obtained even without using placeholders. [Explanation of symbols]

[0052] 1. Sign language translation device 10. Sign Language Translation Department 11 Correspondence estimation unit 12 Translation dictionary memory section 13 Translation Substitution Section 20 Neural Translation Models 21 Encoder 22 Decoder< / eos> < / place> < / org> < / place> < / org> < / place> < / org> < / place> < / org>

Claims

1. A sign language translation device that translates a Japanese sentence including a proper noun into a sign language word string including sign language words, a sign language translation unit that performs machine translation of the Japanese sentence into the sign language word string using a translation model that has been trained in advance; a correspondence estimation unit that estimates a position of a sign language word corresponding to a proper noun included in the Japanese sentence in the string of sign language words translated by the sign language translation unit; a translation replacement unit that refers to a translation dictionary in which sign language translations corresponding to Japanese proper nouns are stored, and replaces the sign language word at the position estimated by the correspondence estimation unit with the sign language translation of the translation dictionary, The correspondence relationship estimation unit is For each partial word string consisting of one or two or more consecutive sign language words included in the sign language word string, a first likelihood is calculated that a proper noun in the Japanese sentence is input to the translation model and the partial word string is output, and a second likelihood is calculated that a word other than the partial word string is output by inputting a word other than the proper noun in the Japanese sentence to the translation model; a position of a partial word string for which the product of the first likelihood and the second likelihood is the largest is estimated as the position of a sign language word corresponding to the proper noun.

2. The sign language translation device according to claim 1 , wherein the sign language translation unit uses a pre-trained model as the translation model.

3. A program for causing a computer to function as the sign language translation device according to claim 1 or 2.

Citation Information

Patent Citations

  • Automatic proper noun translation method

    CN103678288A

  • Translation device, translation method and translation program

    JP2006338261A

  • Translation device and translation program

    JP2015069359A

  • Proper name translation device and proper name translation method

    JP2016051171A

  • Methods and systems for speech-to-speech translation

    US20220382999A1