Spoken language understanding device and spoken language understanding method using the same

By introducing morpheme analysis and delexicalization technology into the spoken language understanding device, the problems of OOV word processing and noise influence are solved, the accuracy and robustness of time slot marking are improved, and better language generation and understanding effects are achieved.

CN110428823BActive Publication Date: 2024-09-24HYUNDAI MOTOR CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811516059.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-04-30
Filing Date
2018-12-12
Publication Date
2024-09-24
Estimated Expiration
2038-12-12

AI Technical Summary

Technical Problem

Existing spoken language understanding devices cannot effectively handle out-of-view words (OOVs) when only learning slot markers and performance degradation due to noise when learning slot markers and language models simultaneously.

Method used

Using a device including a morpheme analysis unit, a slot marking unit and a language generation module, a combined sequence is generated to improve the slot marking performance of OOV words through morpheme analysis, slot marking and delexicalization slot name conversion, and through language generation The module learns contextual information to improve slot marking performance.

Benefits of technology

It improves the slot labeling performance of OOV words, enhances the accuracy and robustness of slot tag extraction, and can effectively handle unregistered words and generate appropriate slot tags and combination sequences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110428823B_ABST
    Figure CN110428823B_ABST
Patent Text Reader

Abstract

The present invention relates to a spoken language understanding device and a spoken language understanding method using the device. The spoken language understanding device according to an embodiment of the present invention may include: a slot marking module, including: a morpheme analysis unit configured to analyze morphemes about a spoken sentence; a slot marking unit configured to mark slots corresponding to semantic entities in a plurality of input tokens generated according to the analyzed morphemes, and a slot name conversion unit configured to convert phrases corresponding to the marked slots into de-lexicalized slot names based on adjacent context information; and a language generation module configured to generate a combination sequence by combining de-lexicalized slot names based on a plurality of input tokens.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to a spoken language understanding device, and more particularly, to a spoken language understanding device for simultaneously learning slot tagging and language generation and a spoken language understanding method using the same. Background Art

[0002] With the recent emergence of dialogue system services, e.g. of Google of For intelligent assistants and conversation navigation systems, technology for understanding spoken language is becoming increasingly important. To create a conversation system, a conversation manager needs to understand the intent of a spoken conversation through spoken language understanding (SLU) and manage the corresponding content.

[0003] SLU refers to analyzing speech recognized utterances to extract time slots according to semantic structures, and plays an important role in many natural language processing or dialogue systems. However, general spoken language understanding devices have the following problems.

[0004] First, out-of-view (OOV) handling is limited when only slot tags are learned.

[0005] Figure 1 is a diagram showing a conventional model 100 that learns only slot labels.

[0006] like Figure 1 As shown, the model only uses a sequence-to-sequence attention model to learn slot labels. The sequence-to-sequence attention model attempts to generate a probability model that converts a source sequence corresponding to input data into a target sequence corresponding to output data through an encoder 110 and a decoder 120. The encoder 110 inputs input tokens 111 (x1 to x4) to form a source sequence to the neural network 112 to output hidden states 113 (h1 to h4), and the decoder 120 inputs the hidden states 113 and attention 121 (c1 to c4) to the neural network 122 to output a target sequence (y1 to y4) including output tokens 123, thereby predicting slot labels. However, the above model that has only learned slot labels only learns slot labels (e.g., output tokens) for each word (e.g., input tokens), so even if the pattern of the sequence is the same, accurate slot labeling cannot be performed when OOV is input.

[0007] Second, when slot labeling and language model are learned simultaneously, the performance of slot labeling deteriorates due to the noise induced by the language model.

[0008] Figure 2 is a diagram showing a conventional model 200 that simultaneously learns slot labels and a language model.

[0009] like Figure 2 As shown, when learning the language model 210 and the time slot markers 220 simultaneously, insufficient learning data may hinder learning because the size of the vocabulary w t Greater than the size s of the slot label t In addition, operations that require user intention (e.g., time slot labeling) usually have insufficient data scale to learn a language model, so the operation of the language model may deteriorate.

[0010] Therefore, there is a need for a robust spoken language understanding model that can improve the performance of processing OOV words and enhance the performance of time slot tag extraction. Summary of the invention

[0011] The purpose of the embodiments disclosed herein is to provide a spoken language understanding device and a spoken language understanding method, which uses the device to learn the context of sentences in the same mode based on the output of de-lexicalized time slot names and / or sentences for input sentences, and improve the time slot tagging performance of OOV words.

[0012] Those skilled in the art will appreciate that the objectives that can be achieved by the present invention are not limited to the above and the contents specifically described above, and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description.

[0013] According to an embodiment of the present invention, a spoken language comprehension device may include: a slot marking module, including: a morpheme analysis unit, configured to analyze morphemes about a spoken sentence; a slot marking unit, configured to mark slots corresponding to semantic entities in a plurality of input tokens generated based on the analyzed morphemes; and a slot name conversion unit, configured to convert phrases corresponding to the marked slots into delexicalized slot names based on adjacent context information; and a language generation module, configured to generate a combination sequence by combining delexicalized slot names based on a plurality of input tokens.

[0014] In addition, according to an embodiment of the present invention, a spoken language understanding method may include: tokenizing a spoken sentence based on a morpheme analysis of the spoken sentence; marking time slots corresponding to semantic entities from a plurality of input tokens generated based on the analyzed morphemes; converting phrases corresponding to the marked time slots into de-lexicalized time slot names based on adjacent context information; and generating a combined sequence by combining the de-lexicalized time slot names based on the plurality of input tokens.

[0015] According to an embodiment of the present invention, by simultaneously learning time slot tags and language generation for an input sentence and outputting a de-lexicalized time slot name and / or sentence, the context of the sentence in the same mode can be learned. In addition, even when a token including an OOV word is input, the time slot corresponding to the token can be extracted, so the time slot tagging performance can be improved.

[0016] Those skilled in the art will understand that the effects that can be achieved by the present invention are not limited to the effects that have been specifically described above, and other advantages of the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The embodiments herein may be better understood by referring to the following description in conjunction with the drawings briefly described below, wherein like reference numbers indicate identical or functionally similar elements.

[0018] Figure 1 is a diagram showing a model in which only slot labels are learned.

[0019] Figure 2 is a diagram showing a model for simultaneously learning slot labels and a language model.

[0020] Figure 3 is a diagram schematically showing a configuration of a spoken language understanding apparatus according to an embodiment of the present invention.

[0021] Figure 4 2 is a diagram showing data learning by the spoken language understanding device according to the embodiment of the present invention.

[0022] Figure 5 is a schematic flow chart showing a method for generating a combined time slot label according to an embodiment of the present invention.

[0023] Figure 6 and 7 This is a table for comparing time slot signatures between the spoken language understanding apparatus according to the embodiment of the present invention and a general language understanding apparatus when an out-of-view (OOV) word is input.

[0024] Figure 8 and 9 is a table comparing time slot labels based on language generation model learning between the spoken language understanding apparatus according to the embodiment of the present invention and a general language understanding apparatus.

[0025] It should be understood that the above drawings are not necessarily drawn to scale and present a slightly simplified representation of various preferred features that illustrate the basic principles of the invention. The specific design features of the present invention, including, for example, specific dimensions, directions, locations, and shapes, will be determined in part by the specific intended application and use environment. DETAILED DESCRIPTION

[0026] Reference will now be made in detail to embodiments, examples of which are shown in the accompanying drawings. Although the present invention may be subjected to various modifications and substitutions, specific embodiments thereof are shown by way of example in the accompanying drawings. However, the present invention should not be construed as being limited to the embodiments described herein, but on the contrary, the present invention will cover all modifications, equivalents and alternatives falling within the spirit and scope of the embodiments.

[0027] Although terms such as "first", "second", etc. may be used to describe various components, these components should not be limited by the above terms. The above terms are only used to distinguish one component from another. In addition, the terms specifically defined in consideration of the construction and operation of the embodiments are only used to describe the embodiments, rather than to limit the scope of the embodiments.

[0028] In the description of the embodiments, it should be understood that when an element is referred to as being formed "on" or "under" another element, it may be directly "on" or "under" the other element or indirectly with an intervening element formed therebetween. It should also be understood that when an element is referred to as being "on" or "under", "under the element" as well as "on the element" may include elements based on the element.

[0029] As used herein, relational terms such as “upper” / “upper” / “above”, “lower” / “lower” / “below”, etc. are used solely to distinguish one entity or element from another entity or element and do not necessarily require or imply any physical or logical relationship or order between such entities or elements.

[0030] The terms used in the specification describe specific embodiments and are not intended to limit the present invention. Unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. It should be understood that the terms "including" or "having" described herein are used to specify the presence of features, numbers, steps, operations, components, parts or combinations thereof disclosed in the specification, and do not exclude the presence or possibility of adding one or more other features, numbers, steps, operations, components, parts or combinations thereof.

[0031] Unless otherwise specified, all terms including technical and scientific terms have the same meaning as those generally understood by ordinary technicians in the field to which the present invention belongs. Commonly used terms, such as those defined in dictionaries, should be interpreted as consistent with the meaning of the relevant technology from the context. Unless defined differently in the present invention, these terms should not be interpreted in an ideal or overly formal manner.

[0032] In addition, it should be understood that one or more of the following methods or aspects thereof may be performed by at least one control unit. The term "control unit" may refer to a hardware device including a memory and a processor. The memory is configured to store program instructions, and the processor is specifically programmed to execute the program instructions to perform one or more processes further described below. As described herein, a control unit may control the operation of a unit, module, component, device, etc. In addition, it should be understood that the following methods may be performed by a device including a control unit in combination with one or more other components, as will be understood by a person of ordinary skill in the art.

[0033] In addition, the control unit of the present invention may be embodied as a non-transitory computer-readable medium containing executable program instructions executed by a processor. Examples of computer-readable media include, but are not limited to, ROM, RAM, compact disk (CD)-ROM, magnetic tape, floppy disk, flash drive, smart card, and optical data storage device. The computer-readable recording medium may also be distributed throughout a computer network so that program instructions are stored and executed in a distributed manner, such as by a telematics server or a controller area network (CAN).

[0034] Hereinafter, a spoken language understanding apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings.

[0035] Figure 3 is a diagram schematically showing a configuration of a spoken language understanding apparatus according to an embodiment of the present invention.

[0036] like Figure 3 As shown, the spoken language understanding apparatus 300 according to the embodiment may include a spoken sentence input unit 310 , a time slot marking module 320 and a language generation module 330 .

[0037] The spoken sentence input unit 310 can receive the recognition result of the speech uttered by the user. Here, the speech recognition result can be an input sentence obtained by converting the speech uttered by the user into a text form.

[0038] The time slot tagging module 320 can tag time slots corresponding to semantic entities extracted by analyzing morphemes about a sentence input from the spoken sentence input unit 301, and convert phrases corresponding to the marked time slots into de-lexicalized time slot names based on adjacent context information. Here, time slot tagging refers to a technique for extracting words corresponding to concepts related to user intentions in the input sentence.

[0039] Hereinafter, subcomponents of the time slot marking module 320 and the language generation module 330 will be described in detail according to an example of a speech recognition result input to the time slot marking module 320 according to an embodiment of the present invention.

[0040] The time slot marking module 320 may include a morpheme analyzing unit 321 , a time slot marking unit 322 , a time slot label assigning unit 323 , a time slot name converting unit 324 , and a time slot label combination outputting unit 325 .

[0041] Input sentence 1: Call Hong gil-dong, please (Please call Hong gil-dong)

[0042] When a sentence in text form according to the speech recognition result is input from the spoken sentence input unit 310 to the slot marking module 320, the morpheme analysis unit 321 may tokenize the input sentence. For example, when the speech recognition result is "call Hong gil-dong, please", the morpheme analysis unit 321 may tokenize the input sentence into "call", "Honggil-dong" and "please".

[0043] The time slot marking unit 322 can extract words (or phrases) corresponding to concepts (i.e., semantic entities) related to the user's intention from the tokens constituting the input sentence. In other words, the time slot marking unit 322 can mark the time slots corresponding to the semantic entity in order to identify the functional role with respect to the semantic entity. One or more time slots can be marked. For example, since the user has the intention of "making a call" in the input sentence 1, "Hong gil-dong", which is a concept related to the intention of "called party", can be extracted as a semantic entity.

[0044] In addition, the slot tagging unit 322 may further include a semantic entity recognition unit (not shown) which determines whether each token constituting the input sentence is a semantic entity in order to determine de-lexicalization of the tag slots which will be described later.

[0045] The semantic entity recognition unit (not shown) can determine whether the token is a semantic entity based on binary entity classification, and provide the determination result to the time slot marking unit 322 and the time slot name conversion unit 324 to be described later. Here, the determination of whether the token is a semantic entity can be performed before the time slot extraction.

[0046] When the token is a semantic entity, the binary entity classification can classify each token constituting the input sentence as a first value, and when the token is not a semantic entity, the binary entity classification can classify it as a second value, and the determination result about the semantic entity can be represented by a binary number including the first value and / or the second value. Here, the first value can be 1 (or 0) and the second value can be 0 (or 1). At the same time, the binary entity classification described as a method for determining whether a token is a semantic entity is exemplary, and it is obvious to those skilled in the art that the present invention is not limited to this.

[0047] The time slot marking unit 322 may mark the token corresponding to the first value provided by the semantic entity recognition unit (not shown) as a time slot. For example, the semantic entity recognition unit (not shown) may generate a binary sequence of "1,0,0,0,0" according to the above input sentence 1, and provide the binary sequence to the time slot marking unit 322, and the time slot marking unit 322 may mark "Hong gil-dong" as a token corresponding to "1" as a time slot.

[0048] The slot label assignment unit 323 may assign a slot label to each token constituting the input sentence by a sequential labeling method. Specifically, when a slot is a token, the corresponding slot name is assigned as a slot label. When a slot is not a token, a label 0 (outside) is assigned to it. The slot labels may be assigned sequentially in the order of the input tokens. For example, the slot label "Honggil-dong, 0, 0, 0, 0" may be assigned to each token constituting the above-mentioned input sentence 1 by the slot label assignment unit 323.

[0049] The time slot name conversion unit 324 can convert the phrase corresponding to the marked time slot into a de-lexicalized time slot name based on the adjacent context information. At least one token located before and after the time slot can be used as the adjacent context information. For example, "Hong gil-dong" in the above input sentence 1 can be converted into a de-lexicalized time slot name of "called party" based on the adjacent context information.

[0050] In addition, a determination result about the semantic entity (which is represented as a binary number including a first value and / or a second value) can be provided from the semantic entity recognition unit (not shown) to the time slot name conversion unit 324 to determine whether the time slot is de-lexicalized. For example, when the binary sequence "1,0,0,0,0" generated in the semantic entity unit (not shown) is provided to the time slot name converter 324, the time slot name converter 324 can determine that "Hong gil-dong" (which is a token corresponding to "1") is converted into a de-lexicalized time slot name.

[0051] The slot label combination output unit 325 can combine the slot label assigned by the slot label assignment unit 323 and the slot name label de-lexicalized by the slot name converter 324, and provide the combination to the slot label model learning unit 340. For example, the slot label of "called party, 0, 0, 0, 0" can be finally output for the above input sentence 1.

[0052] The language generation module 330 can combine the input sentence with the converted time slot name to generate a combined sequence. Language generation requires generating a predetermined output sentence for the input sentence, and can be mainly used for automatic encoding or adjacent sentence generation. Here, automatic encoding refers to generating a sentence that is the same as the input sentence, and adjacent sentence generation refers to generating a subsequent utterance of a previous utterance in a dialogue system.

[0053] The language generation module 330 may include a sentence combination unit 341 and a sequence combination output unit 342 .

[0054] The sentence combining unit 341 can combine the de-lexicalized slot names of the slots marked by the slot marking unit 322 based on the tokens of the input sentence tokenized by the morpheme analyzing unit 321 to generate a language. For example, the sentence combining unit 341 can generate a combined sequence of "call", "called party", and "please" for the input sentence of "call", "Hong gil-dong", and "please".

[0055] The sequence combination output unit 342 may output the combined sequence generated from the sentence combining unit 341 , and provide the generated combined sequence to the language generation model learning unit 350 .

[0056] In addition, the spoken language understanding device 300 according to the embodiment of the present invention may also include a time slot marking model learning unit 340 (which learns the combined time slot labels provided by the time slot marking module 320), a language generation model learning unit 350 (which learns the combined sequence provided by the language generation module 330) and a database 360 ​​for storing the combined time slot labels and the combined sequence.

[0057] Here, the time slot labeling model learning unit 340 may learn the determination result regarding the semantic entity represented by the binary number including the first value and / or the second value from the semantic entity recognition unit (not shown).

[0058] In addition, the database 360 ​​can store learning data from the time slot labeling model learning unit 340 and the language generation model learning unit 350, such as combined time slot labels, determination results regarding semantic entities, and combined sequences, and can provide learning data to the time slot labeling module 320 so that repeated learning is performed on input sentences of the same pattern, and can store (or accumulate) data obtained as a result of repeated learning.

[0059] The spoken language understanding device 300 according to an embodiment of the present invention can learn time slot marking and language generation at the same time. In particular, the spoken language understanding device 300 can learn the context of sentences in the same mode by outputting de-lexicalized time slot names and / or sentences for input sentences, and can extract time slots corresponding to tokens even if the input includes tokens of out-of-date (OOV) words, thereby improving time slot marking performance.

[0060] In the following, reference will be made to Figure 3 and Figure 4 The data learning method of the spoken language understanding device according to the embodiment of the present invention is described.

[0061] Figure 4 2 is a diagram illustrating data learning of the spoken language understanding device according to the embodiment of the present invention.

[0062] like Figure 4 As shown, the model uses a sequence-to-sequence attention model to learn data such as combining slot labels, determining results about semantic entities, and combining sequences.

[0063] The encoder 410 may encode an input sentence, and the decoder 420 may perform slot labeling, combined sequence generation, and semantic entity determination. The encoder 410 and the decoder 420 may be functionally categorized according to operations.

[0064] Hereinafter, a method of learning the above data in the encoder 410 and the decoder 420 according to an embodiment of the present invention will be described in detail based on the input sentence 2.

[0065] Input sentence 2: From LA to Seattle (From Los Angeles to Seattle)

[0066] The encoder 410 may input a plurality of input tokens 411 ( x1 to x4 ) obtained by tokenizing an input sentence by the morpheme analysis unit 321 into the neural network 412 , thereby outputting a plurality of hidden states 413 ( h1 to h4 ).

[0067] The decoder 420 can input the hidden state 413 and the attention 421 (c1 to c4) to the neural network 422 to output a plurality of output tokens y1 to y4, thereby predicting the time slot label. Here, regarding the current output token y i , we can consider the previous output token y i-1 、Current hidden state h i and current attention c i , and i represents the time step.

[0068] As described above, the decoder 420 may perform semantic entity determination 423, slot labeling 424, and combined sequence generation 425, and learn corresponding operations.

[0069] Reference together Figure 3 and Figure 4 , the semantic entity recognition unit (not shown) may perform (or output) the determination of the semantic entity according to the binary entity classification and learn the determination result. For example, since the user intends to extract information about "departure place" and "destination" in the above-mentioned input sentence 2, the semantic entity recognition unit (not shown) may determine the input tokens of "LA" and "Seattle" as semantic entities, assign "1" to "LA" and "Seattle", and assign "0" to "from" and "to" to output the determination result of "0,1,0,1" according to the order of the input tokens.

[0070] In addition, the semantic entity recognition unit (not shown) can provide the semantic entity determination result 423 to the time slot marking unit 322 and the time slot name conversion unit 324, the time slot marking module 320 can output the combined time slot label 424 to perform the time slot marking operation, and the language generation module 330 can output the combined sequence 425 to perform the language generation operation.

[0071] Although the method of generating the combined time slot label 424 and the combined sequence 425 has been described, for the convenience of description, the method will be briefly described below based on the input sentence 2.

[0072] For example, "LA" and "Seattle" can be converted into de-lexicalized time slot names of "From_Loc(location)" and "To_Loc(location)" respectively based on the adjacent context information of input sentence 2, the label "0(outside)" can be assigned to "from" and "to", and the time slot label combination output unit 325 can generate a combined time slot label 425 of "0,From_Loc,0,To-Loc".

[0073] Additionally, the language generation module may combine the de-lexicalized slot names of the tokenized slots based on the tokens of the tokenized input sentence to generate a combined sequence 424 of “From, From_Loc, To, To_Loc”.

[0074] As described above, the spoken language understanding apparatus according to the embodiment of the present invention can generate data including combined time slot labels, determination results on semantic entities, and combined sequences, and learn the distribution of the data.

[0075] The combined time slot label distribution can be defined as represented by the following equation 1.

[0076] [Equation 1]

[0077] P(y i |y<i;x)=SlotLabelDist(s i )

[0078] Here, i represents the time step, y i denotes the i-th output token, x denotes the input token, and the equation represents the probability distribution of all previous output tokens and input tokens being transformed into the current output token.

[0079] The combined sequence distribution can be defined as represented by the following equation 2.

[0080] [Equation 2]

[0081]

[0082] Here, i represents the time step, y i word represents the i-th output word, and x represents the input word.

[0083] The semantic entity distribution can be defined as represented by the following Equation 3.

[0084] [Equation 3]

[0085] P(z i |y<i;x)=SlotLabelDist(s i )

[0086] Here, z represents the first value or the second value, i represents the time step, and z i represents the i-th z value, and x represents the input token. The first value can be 1 (or 0), and the second value can be 0 (or 1).

[0087] In addition, the distribution probability of data including combined time slot labels, determination results about semantic entities, and combined sequences can be determined by considering the following: a value obtained by applying the time slot label weight to the probability that the output token is the first value or the second value and a value obtained by applying the language generation learning weight to the probability that the output word is the first value or the second value, and the distribution probability of the above data can be defined as represented by the following Equation 4.

[0088] [Equation 4]

[0089]

[0090] Here, α s and α w Respectively represent according to z i Slot labeling and learning weights for language generation.

[0091] Equation 4 represents the learning distribution probability of data including the combined time slot label, the determination result about the semantic entity, and the combined sequence. Since the learning data may include the de-lexicalized time slot name, the spoken language understanding apparatus according to the embodiment of the present invention can improve the time slot label extraction performance and the OOV processing performance.

[0092] In the following, reference will be made to Figure 5 Describe the method of generating reassembly slot labels.

[0093] Figure 5 is a schematic flow chart showing a method for generating a combined time slot label according to an embodiment of the present invention.

[0094] The method for generating a combined time slot label may include a sentence tokenization step S510, a semantic entity determination step S520, a time slot label marking step S530, a time slot name conversion step S550 and a combined time slot label generation step S560.

[0095] In the spoken sentence tokenizing step S510, morphemes of an input sentence obtained by converting a speech uttered by a user into text may be analyzed and tokenized to generate a plurality of tokens.

[0096] In the semantic entity determination step S520, it is determined whether the multiple tokens are words (or phrases) corresponding to the concepts (i.e., semantic entities) related to the user's intention. Here, the semantic entity determination can be performed according to binary entity classification. When the token is a semantic entity, the binary entity classification can classify each token constituting the input sentence as a first value, and when the token is not a semantic entity, the token is classified as a second value. The semantic entity determination result can be expressed as a binary including a first value and / or a second value. Here, the first value can be 1 (or 0) and the second value can be 0 (or 1). The binary entity classification described as the semantic entity determination method is exemplary, and it is obvious to those skilled in the art that the present invention is not limited to this.

[0097] If the specific token is a semantic entity as a result of semantic entity determination, the slot label marking step S530 may be performed, and if the specific token is not a semantic entity, the 0 (outer) label assignment step S540 may be performed.

[0098] In the slot tagging step S530, the token corresponding to the first value output according to the binary entity classification may be marked as a slot. In other words, the slot corresponding to the semantic entity may be marked to identify the functional role of the semantic entity, and at least one slot may be marked.

[0099] In the slot name conversion step S550, the phrase corresponding to the slot marked in the slot label marking step S530 may be converted into a de-lexicalized slot name based on the adjacent context information. Here, at least one token located before and after the slot may be used as the adjacent context information.

[0100] In the 0 (outer) label assignment step S540 , a label 0 (outer) may be assigned to a token corresponding to the second value output according to binary entity classification.

[0101] In the combined slot label generation step S560, the de-lexicalized slot name label generated in the slot name conversion step S550 and the slot label assigned in the 0 (outer) label assignment step S540 may be combined to generate a combined slot label.

[0102] As described above, by generating de-lexicalized slot names for input sentences, the context of sentences in the same mode can be learned. In addition, even when input includes OOV tokens, the slots corresponding to the tokens can be extracted, so the slot labeling performance can be improved.

[0103] In the following, reference will be made to Figure 6 and 7 The time slot marking in the spoken language understanding apparatus according to the embodiment of the present invention and the general language understanding apparatus when an OOV word is input is described by comparison.

[0104] Figure 6 and 7 is a table for comparing time slot signatures between the spoken language understanding apparatus according to the embodiment of the present invention and a general language understanding apparatus when an OOV word is input.

[0105] exist Figure 6 and 7 In the above, “gold” refers to the correct answer, “ours” refers to the spoken language understanding device according to an embodiment of the present invention, and “baseline” refers to Figure 1 The model shown only learns the time slot labels. A description will be given based on the following input sentence 3.

[0106] Input sentence 3: What is the seating capacity of the aircraft? (How many passengers can the plane carry).

[0107] In input sentence 3, since the user intends to extract information about the number of passengers on a "specific aircraft", concepts related to the intention "specific aircraft" may be extracted as semantic entities.

[0108] refer to Figure 6 and 7, when OOV words such as “ooS” and / or “moo” are given as input tokens at the end of input sentence 3, the model that only learns general slot tags (baseline) may tag the OOV words as “round trip” (see Figure 6 ) or mark OOV words with the label "0 (outside)" (see Figure 7 As mentioned above, if a spelling error or OOV word is added to the input sentence, the model that only learns time slot tags may not understand the user's intention even if the sentence with the same pattern is input (refer to Figure 6 ), or slot marking may not be performed (see Figure 7 ).

[0109] On the other hand, the spoken language understanding device ("we") according to an embodiment of the present invention converts OOV words into de-lexicalized slot names "aircraft_code" based on adjacent context information (e.g., aircraft), and generates combined slot labels and combined sequences to learn sentence patterns, so that even if OOV words such as "ooS" and / or "moo" are given as input tokens at the end of input sentence 3, slot labeling can be performed. In other words, the spoken language understanding device according to an embodiment of the present invention can learn sentences of the same pattern by combining slot labels and combined sequences, which are obtained by converting words (or phrases) corresponding to slots into de-lexicalized slot names based on adjacent context information, and thus can correctly understand the user's intention.

[0110] In the following, reference will be made to Figure 8 and 9 The effect when learning a language generation model in the spoken language understanding device according to the embodiment of the present invention and the general language understanding device is described by comparison.

[0111] Figure 8 and 9 is a table for comparing time slot labels according to language generation model learning between the spoken language understanding apparatus according to the embodiment of the present invention and a general language understanding apparatus.

[0112] exist Figure 8 and 9 In , “gold” refers to the correct (i.e., right) answer, “us” refers to the spoken language understanding apparatus according to an embodiment of the present invention, and “baseline” refers to Figure 1 Model shown learning only slot labels. Figure 8 Based on the following input statement 4, Fig. 9 Based on the following input statement 5.

[0113] Enter sentence 4: I need flights departing from Oakland and arriving in Salt Lake City (I need a flight from Oakland to Salt Lake City).

[0114] Input sentence 5: Find me a flight from Cincinnati to any airport in the New York City area (Please help me find flights from Cincinnati to any airport in the New York City area).

[0115] In input sentences 4 and 5, the user has the intention to extract airplane information about "destination", so concepts related to the intention "destination" can be extracted as semantic entities.

[0116] refer to Figure 8 and 9 , the spoken language understanding device (we) according to the embodiment of the present invention can learn the de-lexicalized slot name "to_loc.city" for the tokens input after "fromOakland" and / or "from Cincinnati". Therefore, context-compliant slot tagging can be performed. In other words, the spoken language understanding device (we) according to the embodiment of the present invention can generate a combination sequence by combining the de-lexicalized slot names based on the tokens of the tokenized input sentence, and thus can learn the sentence pattern to perform context-compliant slot tagging.

[0117] On the other hand, the general model (baseline) that only learns slot tagging does not learn a language generation model, and thus the tokens input after "from Oakland" and / or "from Cincinnati" may be slot-tagged "stop_loc.city" and / or "city" instead of "to_loc.city". Such slot tagging may lead to inappropriate subsequent utterances because the user's intention is not reflected in it or understood by it.

[0118] As described above, according to the embodiments of the present invention, time slot marking suitable for the context can be performed, and since the language generation model is learned, it is possible to prevent inappropriate subsequent utterances from being caused.

[0119] Although some embodiments have been described above, various other embodiments are also possible. If not incompatible technologies, the above embodiments can be combined in various ways to implement new embodiments.

[0120] The spoken language understanding device and the spoken language understanding method using the device according to the above-described embodiment can be used in dialogue system services such as intelligent secretary and dialogue navigation system.

[0121] Those skilled in the art will appreciate that the present invention may be implemented in other specific ways except as described herein without departing from the spirit and essential features of the present invention. Therefore, the above embodiments should be interpreted as illustrative and not restrictive in all respects. The scope of the present invention should be determined by the appended claims and their legal equivalents, rather than by the above description, and all changes falling within the meaning and equivalent scope of the appended claims are intended to be included therein.

Claims

1. A spoken language understanding device, include: Timeslot marking module, including: a morpheme analysis unit configured to analyze morphemes regarding the spoken sentence, a slot marking unit configured to mark slots corresponding to semantic entities in a plurality of input tokens generated according to the analyzed morphemes, a time slot label assignment unit configured to sequentially assign labels to tokens not corresponding to time slots according to an order of a plurality of input tokens, a time slot name conversion unit configured to convert a phrase corresponding to the marked time slot into a de-lexicalized time slot name based on adjacent context information, a time slot label combination output unit configured to output a combined time slot label by combining the time slot label assigned by the time slot label assignment unit with the time slot name converted by the time slot name conversion unit; a language generation module configured to generate a combination sequence by combining de-lexicalized slot names based on the plurality of input tokens; a slot labeling model learning unit configured to learn whether at least one of the plurality of input tokens is a semantic entity determined by the semantic entity recognition unit, and learn a distribution of each combined slot label; and A language generation model learning unit, configured to learn the distribution of combinatorial sequences, Wherein, the time slot marking unit includes: a semantic entity recognition unit, configured to determine whether at least one of the multiple input tokens is a semantic entity, and based on the determination, generate at least one of a first value assigned to a token that is a semantic entity or a second value assigned to a token that is not a semantic entity.

2. The spoken language understanding device according to claim 1, in, The slot labeling module is configured to generate, for each learning round, a learning distribution probability of data including whether at least one of a plurality of input tokens is a semantic entity determined by the semantic entity recognition unit, including combined slot labels, and including a combined sequence, based on a value obtained by applying a slot labeling weight to a probability that an output token is a first value or a second value and also based on a value obtained by applying a language generation learning weight to a probability that a word is a first value or a second value.

3. A method for oral comprehension, The following steps are involved: tokenizing the spoken sentences based on the morpheme analysis of the spoken sentences; determining whether at least one of a plurality of input tokens is a semantic entity; generating at least one of a first value assigned to a token that is a semantic entity or a second value assigned to a token that is not a semantic entity based on the determining; marking slots corresponding to semantic entities in a plurality of input tokens generated from the analyzed morphemes; converting phrases corresponding to the marked time slots into de-lexicalized time slot names based on adjacent contextual information; generating a combined sequence by combining the de-lexicalized slot names based on the plurality of input tokens; sequentially assigning tags to tokens not corresponding to time slots according to an order of a plurality of input tokens; outputting a combined slot label by combining the assigned slot label with the translated slot name; learning whether at least one of the plurality of input tokens is a semantic entity determined by a semantic entity recognition unit, and learning a distribution of each combined slot label; and Learning distributions over combinatorial sequences.

4. The method for spoken language comprehension according to claim 3, further comprising: The following steps are involved: For each learning round, a learning distribution probability of data including whether at least one of a plurality of input tokens is a semantic entity determined by the semantic entity recognition unit, including combined slot labels, and including a combined sequence is generated based on a value obtained by applying a slot label weight to the probability that an output token is a first value or a second value and also based on a value obtained by applying a language generation learning weight to the probability that a word is a first value or a second value.