Neural machine translation method with document embedding function

By introducing global and local document-level clues into neural machine translation, global static and local dynamic document embeddings are generated, which solves the problem of insufficient document-level contextual information, significantly improves translation performance and accuracy, and improves the scalability of the model.

CN118690758AInactive Publication Date: 2024-09-24NANTONG UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410818693.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing document-level standard neural machine translation methods fail to fully capture document-level contextual information, resulting in inaccurate translation. There is an urgent need for a document-level machine translation model that can obtain richer contextual information.

Method used

By introducing global and local document-level clues, using the Transformer model to generate global static document embeddings and local dynamic document embeddings, and connecting them with source tokens, the translation performance is significantly improved.

Benefits of technology

This method effectively captures document-level contextual information, significantly improves the accuracy and fluency of translation, and improves the scalability of the model to better adapt to new translation tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690758A
    Figure CN118690758A
Patent Text Reader

Abstract

The invention provides a neural machine translation method based on document embedding, and belongs to the technical field of natural language processing. According to the technical scheme, the method comprises the steps that firstly, a corpus is processed, all sentences in a boundary are defined as a document for corpora with a clear boundary, global documents or local documents are embedded to serve as marks to be placed in front of the sentences, and a combined source is embedded and a target translation result of the sentences is input into a model; then, a document-level enhanced neural machine translation model is trained on a corpus, and the model processes two groups of input sentences by using an encoder and a decoder of a Transform; then, extracting sentence features by six self-attention hidden layers and feed-forward layers in an encoder stage; and finally, calculating the similarity between the source sentence and the target sentence to obtain a BLEU score of sentence translation. The method has the beneficial effects that the prediction accuracy is improved, and a user is helped to obtain the translation result of the document more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine translation natural language processing, and in particular to a neural machine translation method with document embedding. Background Art

[0002] Machine translation is the process of using computers to convert one natural language into another. It can translate sentences, texts, and documents. Traditional machine translation technology is mainly based on rules and statistical methods. With the rise of deep learning technology, neural machine translation has gradually become mainstream.

[0003] Most existing document-level standard neural machine translation methods are satisfied with simple document-level information, such as using the context around the source sentence as document-level information. D. Bahdanau et al. proposed a method in which the model automatically searches for source sentences related to the predicted target word in "Neural machine translation by joint learning to align and translate", which extends the basic encoder-decoder. This saves the model from having to encode the entire source sentence into a fixed-length vector and also allows the model to focus only on information related to generating the next target word. However, the model does not pay attention to the document information before and after the sentence, which may lead to inaccurate translation of the sentence. Developing detailed document-level context based on multiple forms of document embedding can fully model deeper and richer document-level context; X. Tan et al. proposed a method for hierarchical modeling of global context for document-level neural machine translation in "Hierarchical modeling of global context for document-level neural machine translation". Although this method has made some progress in document-level machine translation, there is still a technical problem of incomplete document context: there is an urgent need for a document-level machine translation model that can obtain richer context information for document translation. There are two methods to mine document-level information: (1) document-level recurrent neural network (RNN), which processes each sentence and obtains all sentence-level representations, with the last hidden state representing the summary of the entire sentence; (2) word embedding averaging, which takes each word into account through an averaging method, thereby adding source context that captures the entire document with precise boundaries.

[0004] In neural machine translation, recurrent neural networks (RNN) and long short-term memory networks (LSTM) are two commonly used models. In recent years, a new neural network architecture, the Transformer model, has achieved great success in the field of machine translation. Therefore, how to obtain document-level context information in NMT and how to integrate richer document-level information are challenging topics faced by the present invention. Summary of the invention

[0005] The purpose of the present invention is to provide a neural machine translation method with document embedding, which enhances the Transformer baseline by introducing global and local document-level clues at the source end, compresses the entire document text with clear boundaries into a global static document embedding of one token size, and compresses adjacent sentences into a local dynamic document embedding of one token size and connects it with the source token. The method significantly improves the translation performance. The present invention develops detailed document-level context based on various forms of document embedding, and has good document translation performance.

[0006] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is specifically: a neural machine translation method with document embedding, comprising the following steps:

[0007] S10: The translation dataset contains training, validation and testing parts. Read the translation dataset to obtain a corpus consisting of multiple documents {T1,...,T k ,...,T K}, document T k Contains a series of sentences Sentence a in the document j The word is represented as

[0008] S20: The global document is the entire document T in the corpus. k Generated, local document b j It is generated by the surrounding sentences of the current sentence. The source language data and the target language data are processed by word segmentation, filling and truncation. After being embedded in the model, the sentence embedding is represented by E a ={X1,...,X i ,...,X n}, then calculate the global document embedding E for each document T T and local embedding E b ;

[0009] S30: The source embedding of the input sentence a is s = {E T ,E b ,X1,...,X i ,...,X n}, the input target sentence is y={y1,...,y i ,...,y n}, the target sentence is E after being embedded in the model y ={Y1,...,Y i ,...,Y n};

[0010] S40: embed the source embedding s and the target sentence embedding E y Add position information code E pos , where pos represents the position, and then inputs it into the multi-head attention of the Transformer encoder module for L cycles. The result of the j-th cycle is X i , repeat L rounds to get output X L In each round of calculation, record the attention matrix A in each Transformer module k , k=1,2,...,L, the last attention matrix is ​​passed through the position fully connected feedforward network, and then input into the decoder together with the embedding matrix of the target sentence. The Beam Search algorithm is used in the decoding part, and the softmax activation function is used to map it into a probability distribution. At each time step, the i sequences with the best conditional probability up to the current step are retained, and the final output sequence is the maximum product of the conditional probability at each step;

[0011] S50: Calculate BLEU for the sentences translated by the model and the target sentences to represent the translation performance of the model, and obtain the model parameters with the best translation performance on the training set and the validation set;

[0012] S60: The test set data is processed through the above steps S1-S4 to obtain the final target translation sentence;

[0013] As a neural machine translation method based on document embedding provided by the present invention, the specific steps of step S20 are as follows:

[0014] Step S21: Global document embedding E T is calculated by averaging all N word vectors X in the document. i , so they have the same dimension, and the calculation formula is as follows:

[0015]

[0016] Step S22: Local document embedding E b The three methods are respectively used: the average value of word embedding, document RNN and weighted sum of self-attention. The average value of word embedding is the same as the formula in step S21; the document RNN method is to first let the sentence RNN read the sentence x in sequence j The corresponding word x ini,j , updating the hidden state looks like this:

[0017] s i,j =f(s i-1,j ,x i,j )(2)

[0018] In the formula, f(·) is the activation function, s i,j is the hidden state at time i, and the final hidden state Represents the summary of the entire sentence. Then, all sentence-level representations are input into the document RNN as follows:

[0019]

[0020] Where S j is the recurrent state at time j in the document. We use the last hidden state of the document RNN to represent the summary of the document of length z, that is, E = S z ; Then the weighted sum of self-attention, for sentence a j The word x in i,j , we calculate the weight w of each word through the self-attention mechanism j =softmax(a j ,a j T ), and then use these weights to calculate sentence a j Representation:

[0021]

[0022] Then, as in the document RNN, we again perform self-attention on the sequence of sentence representations The formula is as follows:

[0023]

[0024]

[0025] Among them, W represents the weight of each sentence calculated by the self-attention mechanism;

[0026] As a neural machine translation method based on document embedding provided by the present invention, the specific steps of step S40 are as follows:

[0027] Step S41: Project the processed source language and target language data sets into D dimension through the embedding part of the transformer, and add the position information code E to both. pos , and finally the calculation formula of the model input is as follows:

[0028] s1={E T ,Eb ,x1,x i ,...,x n}+E pos (7)

[0029] E y1 ={Y1,...,Y i ,...,Y n}+E pos (8)

[0030] Where s1 is the processed source embedding, E y1 Embed the processed target;

[0031] Step S42: For a neural network machine translation model with an encoder-decoder framework, s1 is input into a Transformer module, and the module is executed L times in total. The result obtained by entering the module for the jth time is X j In each module, a layer normalization is performed first, namely LN(X j ), the calculation formula is as follows:

[0032]

[0033] Step S43: Input to the multi-head self-attention module and initialize the weight matrix W through attention Q , W K , W V , and dynamically adjust the weight matrix so that the weight can reflect the importance of the sample, and finally obtain the Q, K, V matrices as follows:

[0034] Q=W Q ·X(10)

[0035] K=W K ·X(11)

[0036] V=W V ·X(12)

[0037] Q is the query matrix, K and V are the key and value matrices respectively, both of which are obtained by linearly changing the sample X itself;

[0038] Step S44: Finally get the attention matrix A j :

[0039]

[0040] where d kIndicates the dimension of the key matrix. In the self-attention, the Q, K, and V matrices are linearly changed many times, and then the attention function is executed in parallel, and they are connected and projected again to get the final result. The core of multi-head attention is scale dot product attention, and then the multi-head attention is connected in series through dot product attention. The calculation formula is as follows:

[0041] MultiHead(Q,K,V)=Concat(head1,...,head h )W O (14)

[0042] The second sublayer is a feed-forward network consisting of two linear transformations with a ReLU activation in between;

[0043] Step S45: The decoder predicts the corresponding target symbol sequence one element at a time. Like the encoder, the decoder also consists of a stack of L identical layers, but a third sublayer is inserted that performs multi-head attention on the output of the encoder stack. The residual connection around each sublayer is also used, followed by layer normalization. The model's ability to translate word-for-word from the source sentence a to the target sentence y is calculated as follows:

[0044]

[0045] Where w(·) is a linear function that outputs the previously generated word y i The probability of i is the i-th source representation, and the i-th decoded hidden state S i Calculated as:

[0046] s i =f(s i_1 ,y i_1 ,c i )(16)

[0047] For an NMT model with an encoder-decoder framework, the encoder maps a symbolic input sequence s to a continuous sequence {z1,...,z i ,...,z S}, then the decoder predicts the corresponding target symbol sequence one element at a time.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] 1. Richness of multi-feature fusion: By splicing and fusing different feature information in the document, the present invention breaks through the limitation of insufficient document information and can effectively capture general information within the entire document and specific detailed information in the surrounding text. The multi-feature fusion method not only improves the efficiency of information utilization and obtains richer feature expressions, but also provides a more accurate and comprehensive feature basis for subsequent translation tasks.

[0050] 2. Significantly improved translation performance: The model in this invention uses global embedding (generated by the "word embedding average" method) and local embedding (generated by the "document RNN" method) to accurately encode relevant document-level context to enhance the performance of the model. Our model can infer discourse relations and add connectives, which significantly improves the accuracy and fluency of translation.

[0051] 3. Improved model scalability: When faced with new translation tasks, this method can quickly adapt and integrate new information sources without large-scale modifications to the overall framework. And because this method is based on modular design, each part can be optimized and updated independently, further improving the scalability of the model and providing strong support for research and application in the field of machine translation; BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention.

[0053] Figure 1 A flowchart of a neural machine translation method with document embedding in an embodiment of the present application;

[0054] Figure 2 This is a model framework diagram of the neural machine translation method with document embedding in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Of course, the specific embodiments described here are only used to explain the present invention and are not used to limit the present invention;

[0056] Example 1

[0057] See also Figure 1 As shown, the technical solution provided by this embodiment is a method for neural machine translation with document embedding, comprising the following steps:

[0058] S10: This example uses the Chinese to English (Zh-En) translation dataset on the TED speech corpus from IWSLT2017 for training and evaluation, using dev2010 as the validation set and tst2010-2015 as the test set. The statistics of the corpus are listed in Table 1. Then the English corpus is labeled using a tagger, and the Chinese corpus is segmented using Jieba Chinese text segmentation technology. The translation dataset is read to obtain a corpus consisting of multiple documents. The document contains a series of sentences. The English sentences in the document are composed of words separated by spaces, and the Chinese sentences are converted into pinyin versions. The first example of the translation result is shown in Table 2.

[0059] Table 1 Experiments using Chinese to English corpus data

[0060]

[0061] Table 2 The first example of Chinese to English translation results

[0062]

[0063] S20: The global document is the entire document T in the corpus. k Generated, local document b j It is generated by the surrounding sentences of the current sentence. The source language data and the target language data are processed by word segmentation, filling and truncation. After being embedded in the model, the sentence embedding is represented by E a ={X1,...,X i ,...,X n}, then calculate the global document embedding E for each document T T and local embedding E b ;

[0064] Step S21: Global document embedding E T is calculated by averaging all N word vectors X in the document. i , so they have the same dimension, and the calculation formula is as follows:

[0065]

[0066] Step S22: Local document embedding E b The three methods are respectively used: the average value of word embedding, document RNN and weighted sum of self-attention. The average value of word embedding is the same as the formula in step S21; the document RNN method is to first let the sentence RNN read the sentence x in sequence j The corresponding word x in i,j , updating the hidden state looks like this:

[0067] s i,j =f(si_1,j ,x i,j )(2)

[0068] In the formula, f(·) is the activation function, s i,j is the hidden state at time i, and the final hidden state Represents the summary of the entire sentence. Then, all sentence-level representations are input into the document RNN as follows:

[0069]

[0070] Where S j is the recurrent state at time j in the document. We use the last hidden state of the document RNN to represent the summary of the document of length z, that is, E = S z ; Then the weighted sum of self-attention, for sentence a j The word x in i,j , we calculate the weight w of each word through the self-attention mechanism j =softmax(a j ,a j T ), and then use these weights to calculate sentence a j Representation:

[0071]

[0072] Then, as in the document RNN, we again perform self-attention on the sequence of sentence representations The formula is as follows:

[0073]

[0074]

[0075] Among them, W represents the weight of each sentence calculated by the self-attention mechanism;

[0076] S30: The source embedding of the input sentence a is s = {E T ,E b ,X1,...,X i ,...,X n}, the input target sentence is y={y1,...,y i ,...,y n}, the target sentence is E after being embedded in the model y ={Y1,...,Y i ,...,Y n The ablation study method of using different document embedding methods to enhance the model is as follows:

[0077] Table 3 Different word embedding methods

[0078]

[0079] The labels AVG, RNN, and ATTN indicate that document embeddings are generated by the “average word embedding” method, the “document RNN” method, and the “self-attention weighted sum” method. Both global document embedding and local document embedding play an indispensable complementary role. The document RNN method has a significant positive effect on enhancing the model.

[0080] S40: The encoder and decoder of the model both consist of 6 hidden layers, all hidden states have 512 dimensions, 8 heads are used for multi-head attention, the training batch contains about 6520 source tokens, the source embedding s and the target sentence embedding E y Add position information code E pos , where pos represents the position, and then inputs it into the multi-head attention of the Transformer encoder module for L cycles. The result of the j-th cycle is X i , repeat L rounds to get output X L In each round of calculation, record the attention matrix A in each Transformer module k , k=1,2,...,L, the last attention matrix is ​​passed through the position fully connected feedforward network, and then input into the decoder together with the embedding matrix of the target sentence. The Beam Search algorithm is used in the decoding part, and the softmax activation function is used to map it into a probability distribution. At each time step, the i sequences with the best conditional probability up to the current step are retained, and the final output sequence is the maximum product of the conditional probability at each step;

[0081] Step S41: Project the processed source language and target language data sets into D dimension through the embedding part of the transformer, and add the position information code E to both. pos , and finally the calculation formula of the model input is as follows:

[0082] s1={E T ,E b ,x1,x i ,...,x n}+E pos (7)

[0083] E y1 ={Y1,...,Y i ,...,Y n}+E pos (8)

[0084] Where s1 is the processed source embedding, E y1Embed the processed target;

[0085] Step S42: For a neural network machine translation model with an encoder-decoder framework, s1 is input into a Transformer module, and the module is executed L times in total. The result obtained by entering the module for the jth time is X j In each module, a layer normalization is performed first, namely LN(X j ), the calculation formula is as follows:

[0086]

[0087] Step S43: Input to the multi-head self-attention module and initialize the weight matrix W through attention Q , W K , W V , and dynamically adjust the weight matrix so that the weight can reflect the importance of the sample, and finally obtain the Q, K, V matrices as follows:

[0088] Q=W Q ·X(10)

[0089] K=W K ·X(11)

[0090] V=W V ·X (12)

[0091] Q is the query matrix, K and V are the key and value matrices respectively, both of which are obtained by linearly changing the sample X itself;

[0092] Step S44: Finally get the attention matrix A j :

[0093]

[0094] where d k Indicates the dimension of the key matrix. In the self-attention, the Q, K, and V matrices are linearly changed many times, and then the attention function is executed in parallel, and they are connected and projected again to get the final result. The core of multi-head attention is scale dot product attention, and then the multi-head attention is connected in series through dot product attention. The calculation formula is as follows:

[0095] MultiHead(Q,K,V)=Concat(head1,...,head h )W O (14)

[0096] The second sublayer is a feed-forward network consisting of two linear transformations with a ReLU activation in between;

[0097] Step S45: The decoder predicts the corresponding target symbol sequence one element at a time. Like the encoder, the decoder also consists of a stack of L identical layers, but a third sublayer is inserted that performs multi-head attention on the output of the encoder stack. The residual connection around each sublayer is also used, followed by layer normalization. The model's ability to translate word-for-word from the source sentence a to the target sentence y is calculated as follows:

[0098]

[0099] Where w(·) is a linear function that outputs the previously generated word y i The probability of i is the i-th source representation, and the i-th decoded hidden state S i Calculated as:

[0100] s i =f(s i-1 ,y i-1 ,c i )(16)

[0101] For an NMT model with an encoder-decoder framework, the encoder maps a symbolic input sequence s to a continuous sequence {z1,...,z i ,...,z S}, then, the decoder predicts the corresponding target symbol sequence one element at a time;

[0102] S50: Calculate BLEU for the sentences translated by the model and the target sentences to represent the translation performance of the model, and obtain the model parameters with the best translation performance on the training set and the validation set;

[0103] S60: The test set data undergoes the above steps S1-S4 to obtain the final target translation sentence. As shown in Table 4, the document-level translation method of the present invention has higher accuracy than the hierarchical attention network NMT model (HAN) and the hierarchical modeling of the global document context method (HM-GDC);

[0104] Table 4 Comparison of related work

[0105]

[0106] The above embodiments only express the preferred implementation of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present application. For those skilled in the art, the present invention may have various changes and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A neural machine translation method based on document embedding, It is characterized in that The following steps are involved: S10: The translation dataset contains training, verification and testing parts. Input the translation dataset to obtain a corpus consisting of multiple documents {T 1 ,...,T k ,...,T K }, document T k Contains a series of sentences Sentence a in the document j The word is represented as S20: The global document is the entire document T in the corpus. k Generated, local document b j It is generated by the surrounding sentences of the current sentence. The source language data and the target language data are processed by word segmentation, filling and truncation. After being embedded by the model, the sentence embedding is represented by E a ={X 1 ,...,X i ,...,X n }, then calculate the global document embedding E for each document T T and local embedding E b ; S30: The source embedding of the input sentence a is s = {E T ,E b ,X 1 ,...,X i ,...,X n }, the input target sentence is y={y 1 ,...,y i ,...,y n }, the target sentence is E after being embedded in the model y = {Y 1 ,...,Y i ,...,Y n }; S40: embed the source embedding s and the target sentence embedding E y Add position information code E pos , where pos represents the position, and then inputs it into the multi-head attention of the Transformer encoder module for L cycles. The result of the j-th cycle is X i , repeat L rounds to get output X L In each round of calculation, record the attention matrix A in each Transformer module k , k=1,2,...,L, the last attention matrix is ​​passed through the position fully connected feedforward network, and then input into the decoder together with the embedding matrix of the target sentence. The Beam Search algorithm is used in the decoding part, and the softmax activation function is used to map it into a probability distribution. At each time step, the i sequences with the best conditional probability up to the current step are retained, and the final output sequence is the maximum product of the conditional probability at each step; S50: Calculate BLEU for the sentences translated by the model and the target sentences to represent the translation performance of the model, and obtain the model parameters with the best translation performance on the training set and the validation set; S60: The test set data undergoes the above steps S1 to S4 to obtain the final target translation sentence.

2. The method for neural machine translation based on document embedding according to claim 1, It is characterized in that The specific steps of step S2 are as follows: Step S21: Global document embedding E T is calculated by averaging all N word vectors X in the document. i , have the same dimension, and the calculation formula is as follows: Step S22: Local document embedding E b The three methods are respectively used: the average value of word embedding, document RNN and weighted sum of self-attention. The average value of word embedding is the same as the formula in step S21; the document RNN method is to first let the sentence RNN read the sentence x in sequence j The corresponding word x in i,j , updating the hidden state looks like this: In the formula, f(·) is the activation function, s i,j is the hidden state at time i, and the final hidden state is s nj,j Represents the summary of the entire sentence. Then, all sentence-level representations are input into the document RNN as follows: Where S j is the recurrent state at time j in the document, using the last hidden state of the document RNN to represent the summary of the document of length z, i.e. E = S z ; Then the weighted sum of self-attention, for sentence a j The word x in i,j , calculate the weight w of each word through the self-attention mechanism j =softmax(a j ,a j T ), and then use these weights to calculate sentence a j Representation: Then, as with the document RNN, self-attention is performed again on the sequence of sentence representations The formula is as follows: Among them, W represents the weight of each sentence calculated by the self-attention mechanism.

3. The method for neural machine translation based on document embedding according to claim 1, It is characterized in that The specific steps of step S40 are as follows: Step S41: Project the processed source language and target language data sets into D dimension through the embedding part of the transformer, and add the position information code E to both. pos , and finally the calculation formula of the model input is as follows: s 1 ={E T ,E b ,x 1 ,x i ,...,x n }+E pos (7) where s 1 To process the source embedding, Embed the processed target; Step S42: For a neural network machine translation model with an encoder-decoder framework, s 1 Enter the Transformer module, which is executed L times in total. The result obtained by entering the module for the jth time is X j In each module, a layer normalization is performed first, namely LN(X j ), the calculation formula is as follows: Step S43: Input to the multi-head self-attention module and initialize the weight matrix W through attention Q , W K , W V , and dynamically adjust the weight matrix so that the weight reflects the importance of the sample, and finally obtain the Q, K, V matrices as follows: Q=W Q ·X(10)K=W K ·X(11)V=W V ·X(12) Q is the query matrix, K and V are the key and value matrices respectively, both of which are obtained by linearly changing the sample X itself; Step S44: Finally get the attention matrix A j : where d k Represents the dimension of the key matrix. In the self-attention, the Q, K, and V matrices are linearly changed many times, and then the attention function is executed in parallel, and they are connected and projected again to get the final result. The core of multi-head attention is scale dot product attention, and then the multi-head attention is connected in series through dot product attention. The calculation formula is as follows: MultiHead(Q,K,V)=Concat(head 1 ,...,head h )W O (14) The second sublayer is a feed-forward network consisting of two linear transformations with a ReLU activation in between; Step S45: The decoder predicts the corresponding target symbol sequence one element at a time. Like the encoder, the decoder also consists of a stack of L identical layers, with a third sublayer inserted that performs multi-head attention on the output of the encoder stack, using the residual connections around each sublayer, followed by layer normalization. The model's ability to translate word-for-word from the source sentence a to the target sentence y is calculated as follows: Where w(·) is a linear function that outputs the previously generated word y i The probability of i is the i-th source representation, and the i-th decoded hidden state S i Calculated as: s i =f(s i-1 ,y i-1 ,c i )(16) For the NMT model with encoder-decoder framework, the encoder maps the symbolic input sequence s to a continuous representation sequence {z 1 ,...,z i ,...,z S }, then the decoder predicts the corresponding target symbol sequence one element at a time.

Citation Information

Patent Citations

  • Tapter machine translation system and method capable of selecting context information

    CN113095091A

  • Tapter-level neural machine translation method fusing topic information

    CN115048946A

  • Mongolian-Chinese neural machine translation method based on source language syntactic dependency and quantization matrix

    CN116720531A

  • Tapter-level neural machine translation method based on context information screening

    CN117010419A

  • Systems and methods for generalized structured data discovery utilizing contextual metadata disambiguation via machine learning techniques

    US20220067294A1