KR101131278B1 - Method and Apparatus to Improve Dialog System based on Study - Google Patents

Method and Apparatus to Improve Dialog System based on Study Download PDF

Info

Publication number
KR101131278B1
KR101131278B1 KR1020100018448A KR20100018448A KR101131278B1 KR 101131278 B1 KR101131278 B1 KR 101131278B1 KR 1020100018448 A KR1020100018448 A KR 1020100018448A KR 20100018448 A KR20100018448 A KR 20100018448A KR 101131278 B1 KR101131278 B1 KR 101131278B1
Authority
KR
South Korea
Prior art keywords
conversation
candidate group
speech recognition
model
language understanding
Prior art date
Application number
KR1020100018448A
Other languages
Korean (ko)
Other versions
KR20110099434A (en
Inventor
이동현
이청재
정상근
김경덕
이진식
이근배
Original Assignee
포항공과대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 포항공과대학교 산학협력단 filed Critical 포항공과대학교 산학협력단
Priority to KR1020100018448A priority Critical patent/KR101131278B1/en
Publication of KR20110099434A publication Critical patent/KR20110099434A/en
Application granted granted Critical
Publication of KR101131278B1 publication Critical patent/KR101131278B1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/04Electrically-operated educational appliances with audible presentation of the material to be studied
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B7/00Electrically-operated teaching apparatus or devices working with questions and answers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Machine Translation (AREA)

Abstract

본 발명은 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법 및 그 장치에 관한 것이다. 본 발명에 따른 방법은 사용자와 대화 시스템 사이의 대화 로그를 수집하는 단계, 수집된 대화 로그에서 오류 발화를 추출하여 대화 시스템의 음성 인식 모델을 향상하기 위한 음성 인식 후보군을 생성하는 단계, 수집된 대화 로그에서 오류 발화를 추출하여 대화 시스템의 언어 이해 모델을 향상하기 위한 언어 이해 후보군을 생성하는 단계, 수집된 대화 로그에서 대화 시스템의 대화 패턴에 존재하지 않는 새로운 대화 패턴을 추출하여 대화 시스템의 대화 모델을 향상하기 위한 대화 패턴 후보군을 생성하는 단계, 음성 인식 후보군, 언어 이해 후보군 및 대화 패턴 후보군을 검증하는 단계, 그리고 검증된 후보군을 음성 인식 모델, 언어 이해 모델 및 대화 모델의 향상에 적용하는 단계를 포함한다.The present invention relates to a method and apparatus for improving performance of a learning based conversation system using a conversation log. The method according to the present invention comprises the steps of: collecting a conversation log between the user and the conversation system; generating a speech recognition candidate group for improving a speech recognition model of the conversation system by extracting error utterances from the collected conversation log; Generating a language understanding candidate to improve the language understanding model of the conversation system by extracting error utterances from the log; and extracting a new conversation pattern that does not exist in the conversation system's conversation pattern from the collected conversation logs. Generating a conversation pattern candidate group for improving the speech recognition, verifying the speech recognition candidate group, the language understanding candidate group and the conversation pattern candidate group, and applying the verified candidate group to the improvement of the speech recognition model, the language understanding model, and the conversation model. Include.

Description

대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법 및 그 장치{Method and Apparatus to Improve Dialog System based on Study}Method and Apparatus for Improving Learning-Based Dialog System Performance Using Dialog Log {Method and Apparatus to Improve Dialog System based on Study}

본 발명은 학습 기반 대화 시스템 성능 향상 방법 및 그 장치에 관한 것으로, 보다 상세하게는 대화 로그를 이용하여 반자동으로 학습 기반 대화 시스템의 성능을 향상시키는 방법 및 그 장치에 관한 것이다.The present invention relates to a method and apparatus for improving performance of a learning-based conversation system, and more particularly, to a method and apparatus for improving performance of a learning-based conversation system using a conversation log.

대화 시스템은 음성 또는 문자를 이용하여 사용자가 대화를 통해 필요로 하는 정보를 얻는 장치를 말하며, 단말기, 자동차, 로봇 등에 차세대 지능형 인터페이스로 사용되고 있으며, 이용 범위가 점차 확장되고 있다. 그런데 대화 시스템을 필요로 하는 도메인별로 그에 맞추어 구축하기 위해서는 많은 시간과 노력 및 비용이 든다.The conversation system refers to a device that obtains the information that a user needs through a conversation by using voice or text. The conversation system is used as a next-generation intelligent interface for a terminal, a car, a robot, and the use range is gradually expanded. However, it takes a lot of time, effort and cost to build a dialogue system according to each domain that needs it.

도 1은 종래의 대화 시스템의 일 예를 설명하기 위해 제공되는 블록도이다.1 is a block diagram provided to explain an example of a conventional conversation system.

도 1을 참고하면, 종래 대화 시스템(10)은 사용자가 발화한 음성이 입력되면, 음성 인식부(11)와 언어 이해부(13)를 거쳐 대화 관리자(15)에서 최종 응답이 결정되며, 응답 생성부(17)와 음성 합성부(19)를 거쳐 시스템 발화를 출력된다. 이와 같이 음성 인식부(11), 언어 이해부(13), 대화 관리자(15)의 각 부분이 제대로 동작하기 위해서는 해당 부분을 처리하기 위한 모델이 필요하며, 이는 보통 시스템(10)이 사용되기 전에 만들어져야 한다. 그리고 필요한 경우 추후에 모델의 수정도 가능하나 이 과정에서 전문가의 많은 노력과 도움이 필요하다.Referring to FIG. 1, in the conventional conversation system 10, when a voice spoken by a user is input, the final response is determined by the conversation manager 15 through the voice recognition unit 11 and the language understanding unit 13. The system speech is outputted through the generation unit 17 and the speech synthesis unit 19. In order for the parts of the voice recognition unit 11, the language understanding unit 13, and the conversation manager 15 to work properly, a model for processing the parts is required, which is usually before the system 10 is used. It must be made. And if necessary, the model can be modified later, but it requires a lot of effort and help from experts.

특히 종래 대화 시스템은 사용자의 활용이 기존의 모델과 다소 다른 경우 뛰어난 성능을 보이기 어렵다. 전문가가 개입하여 사용자의 활용을 다시 분석하며 모델을 다시 만들어 적용할 수 있지만, 역시 꾸준한 관리와 노력이 요구된다. 이런 과정에서 요구되는 관리자의 부담을 덜어주기 위한 워크벤치 툴이 개발되기도 하였지만, 여전히 사람의 노력이 많이 들어가고 대화 시스템이 활용되는 과정을 자동으로 분석하여 적용하지는 못하였다.In particular, the conventional dialog system is difficult to show excellent performance when the user's utilization is slightly different from the existing model. Experts can intervene to re-analyze user usage and recreate and apply models, but they also require constant management and effort. Workbench tools have been developed to relieve the burden on the managers, but they have not been able to automatically analyze and apply processes that require a lot of human effort and use of the dialogue system.

따라서 본 발명이 이루고자 하는 목적은 전문가 개입을 최소화하면서 대화 시스템에서 사용하는 음성 인식 모델, 언어 이해 모델, 대화 관리 모델 등을 수정하여 그 성능을 향상시킬 수 있는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법 및 그 장치를 제공하는 것이다.Therefore, an object of the present invention is to improve the performance of the learning-based conversation system using a conversation log that can improve the performance by modifying the speech recognition model, language understanding model, conversation management model, etc. used in the conversation system with minimal expert intervention. It is to provide a method and an apparatus thereof.

이러한 기술적 과제를 해결하기 위한 본 발명의 한 실시예에 따른 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법은, 사용자와 대화 시스템 사이의 대화 로그를 수집하는 단계, 상기 수집된 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 음성 인식 모델을 향상하기 위한 음성 인식 후보군을 생성하는 단계, 상기 수집된 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 언어 이해 모델을 향상하기 위한 언어 이해 후보군을 생성하는 단계, 상기 수집된 대화 로그에서 상기 대화 시스템의 대화 패턴에 존재하지 않는 새로운 대화 패턴을 추출하여 상기 대화 시스템의 대화 모델을 향상하기 위한 대화 패턴 후보군을 생성하는 단계, 상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군을 검증하는 단계, 그리고 상기 검증 단계에서 검증된 후보군을 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of improving performance of a learning-based conversation system using a conversation log, including: collecting a conversation log between a user and a conversation system; Generating a speech recognition candidate group for extracting and improving a speech recognition model of the conversation system; generating a language understanding candidate group for improving a language understanding model of the conversation system by extracting an error speech from the collected conversation logs; Generating a conversation pattern candidate group for improving a conversation model of the conversation system by extracting a new conversation pattern that does not exist in the conversation pattern of the conversation system from the collected conversation log, the speech recognition candidate group and the language understanding candidate group Verifying the conversation pattern candidate group; And a step of applying the candidates verified in the verification step to improve the speech recognition model, the language understanding model and the dialogue model.

상기 검증 단계는 전문가 또는 미리 정해진 사용자에 의해 상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군 중에서 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용할 후보군을 선택받을 수 있다.In the verifying step, a candidate group to be applied to the improvement of the speech recognition model, the language understanding model, and the conversation model may be selected by the expert or a predetermined user from among the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group. .

상기 음성 인식 후보군 생성 단계는, 상기 대화 로그에서 오류 발화를 추출하는 단계, 상기 대화 시스템의 음성 인식 모델보다 인식률이 높은 음성 인식 모델을 이용하여 상기 추출된 오류 발화에 대한 음성 인식을 수행하는 단계, 및 상기 음성 인식 수행에 따른 음성 인식 결과와 음성 인식 신뢰도를 포함하는 음성 인식 후보군을 생성하는 단계를 포함할 수 있다.The generating of the speech recognition candidate group may include extracting an error speech from the conversation log, performing speech recognition on the extracted error speech using a speech recognition model having a higher recognition rate than the speech recognition model of the conversation system; And generating a voice recognition candidate group including a voice recognition result and voice recognition reliability according to the voice recognition.

상기 언어 이해 후보군 생성 단계는, 상기 대화 로그에서 오류 발화를 추출하는 단계, 상기 대화 로그에 포함된 대화 이력 정보에 기초하여 상기 오류 발화에 대한 언어 이해를 수행하는 단계, 상기 대화 시스템의 언어 이해 모델과 동일한 모델을 이용하여 상기 오류 발화에 대한 언어 이해를 수행하는 단계, 및 상기 대화 이력 정보에 기초한 언어 이해 결과와 상기 언어 이해 모델을 이용한 언어 이해 결과 중에서 언어 이해 신뢰도가 높은 언어 이해 결과를 언어 이해 후보군으로 생성하는 단계를 포함할 수 있다.The language understanding candidate group generating step may include extracting an error utterance from the conversation log, and performing a language understanding of the error utterance based on conversation history information included in the conversation log, a language understanding model of the conversation system. Performing a language understanding on the error utterance using the same model as the language understanding, and a language understanding result having a high language understanding reliability among the language understanding results based on the conversation history information and the language understanding results using the language understanding model. And generating the candidate group.

상기 대화 패턴 후보군 생성 단계는, 상기 대화 로그에서 상기 대화 시스템에 존재하지 않는 대화 패턴을 추출하는 단계, 상기 대화 패턴에서 오류를 제거하는 단계, 및 상기 오류가 제거된 대화 패턴을 대화 패턴 후보군으로 생성하는 단계를 포함할 수 있다.The conversation pattern candidate group generating step may include extracting a conversation pattern that does not exist in the conversation system from the conversation log, removing an error from the conversation pattern, and generating the conversation pattern in which the error is removed as a conversation pattern candidate group. It may include the step.

상기 음성 인식 후보군 생성을 위한 오류 발화 추출은 상기 대화 로그에서 음성 인식 신뢰도가 일정 기준치 이하인 사용자 발화를 추출하여 이루어지고, 상기 언어 이해 후보군 생성을 위한 오류 발화 추출은 상기 대화 로그에서 음성 인식 신뢰도 및 언어 이해 신뢰도 중 적어도 하나가 일정 기준치 이하인 사용자 발화를 추출하여 이루어질 수 있다.Error speech extraction for generating the speech recognition candidate group is performed by extracting user speech whose speech recognition reliability is below a predetermined reference value from the conversation log, and error speech extraction for generating the language understanding candidate group is performed in the conversation log. At least one of the understanding reliability may be achieved by extracting user utterance that is less than or equal to a predetermined reference value.

상기 대화 로그는 사용자명, 발화 시간, 발화 음성, 음성 인식 결과, 음성 인식 신뢰도, 언어 이해 결과, 언어 이해 신뢰도, 대화 이력 정보를 포함할 수 있다.The conversation log may include a user name, speech time, speech speech, speech recognition result, speech recognition reliability, language understanding result, language understanding reliability, and conversation history information.

상기 대화 로그는 사용자 별로 수집되고, 상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군 생성 및 검증과, 검증된 후보군을 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용은 사용자 별로 수행될 수 있다.The conversation log is collected for each user, and generation and verification of the speech recognition candidate group, the language understanding candidate group and the conversation pattern candidate group, and the application of the verified candidate group to the speech recognition model, the language understanding model, and the conversation model are performed. It can be performed per user.

본 발명의 다른 실시예에 따른 컴퓨터로 읽을 수 있는 매체는 상기한 방법 중 어느 하나를 컴퓨터에 실행시키기 위한 프로그램을 기록한다.A computer readable medium according to another embodiment of the present invention records a program for causing a computer to execute any one of the above methods.

본 발명의 다른 실시예에 따른 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치는, 사용자와 대화 시스템 사이의 대화 로그를 저장하는 대화 로그 저장부, 상기 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 음성 인식 모델을 향상하기 위한 음성 인식 후보군을 생성하는 음성 인식 모델 향상부, 상기 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 언어 이해 모델을 향상하기 위한 언어 이해 후보군을 생성하는 언어 이해 모델 향상부, 상기 대화 로그에서 상기 대화 시스템의 대화 패턴에 존재하지 않는 새로운 대화 패턴을 추출하여 상기 대화 시스템의 대화 모델을 향상하기 위한 대화 패턴 후보군을 생성하는 대화 모델 향상부, 상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군을 검증하는 후보군 검증부, 및 상기 검증된 후보군을 상기 대화 시스템의 음성 인식 모델, 언어 이해 모델 및 대화 모델의 향상에 적용하는 모델 훈련부를 포함한다.An apparatus for improving performance of a learning-based conversation system using a conversation log according to another embodiment of the present invention may include a conversation log storage unit for storing a conversation log between a user and a conversation system, and extracting an error utterance from the conversation log. A speech recognition model enhancement unit for generating a speech recognition candidate group for improving a speech recognition model, and a language understanding model enhancement unit for generating a language understanding candidate group for improving a language understanding model of the conversation system by extracting an error speech from the conversation log. A conversation model enhancement unit for generating a conversation pattern candidate group for improving a conversation model of the conversation system by extracting a new conversation pattern that does not exist in the conversation pattern of the conversation system from the conversation log, the speech recognition candidate group, and understanding the language Candidates for verifying the candidate group and the conversation pattern candidate group And a Model and Training of applying a verification unit, and the improvement of speech recognition models, language understanding model and model dialog of the dialog system the verification of candidate.

이와 같이 본 발명에 의하면, 사용자가 대화 시스템을 실제 사용하는 과정에서 수집된 대화 로그를 이용함으로써 실제 사용자 맞춤형으로 모델을 향상시킬 수 있다.As described above, according to the present invention, the model can be improved by actual user customization by using the chat log collected in the process of actually using the chat system by the user.

또한 사용자 대화 로그 분석을 통해 도출된 모델 향상 후보군 결과를 전문가 또는 숙련자에 의해 검증받은 후 모델 향상에 반영함으로써 최적의 성능 향상 효과를 기대할 수 있다.In addition, the optimal performance improvement effect can be expected by reflecting the results of the model improvement candidate group derived through the user dialog log analysis to the model improvement after being verified by experts or experts.

또한 전문가는 장치에 의해 제시된 모델 후보군에 대한 검증만을 수행하면 되므로, 종래 모델 후보군 도출까지 개입하던 것에 비해 전문가의 노력 및 시간이 보다 적게 들어가도 되므로 경제적이다.In addition, since the expert only needs to perform the verification of the model candidate group presented by the device, it is economical because the effort and time of the expert may be less than that of the conventional model candidate group.

도 1은 종래의 대화 시스템의 일 예를 설명하기 위해 제공되는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 대화 시스템 성능 향상 장치를 설명하기 위해 제공되는 블록도이다.
도 3은 도 2의 대화 시스템을 설명하기 위해 제공되는 블록도이다.
도 4는 도 2의 대화 시스템 성능 향상 장치를 설명하기 위해 제공되는 블록도이다.
1 is a block diagram provided to explain an example of a conventional conversation system.
2 is a block diagram provided to explain an apparatus for improving conversational system performance according to an embodiment of the present invention.
FIG. 3 is a block diagram provided to explain the conversation system of FIG. 2.
4 is a block diagram provided to explain the apparatus for improving conversation system performance of FIG. 2.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

도 2는 본 발명의 일 실시예에 따른 대화 시스템 성능 향상 장치를 설명하기 위해 제공되는 블록도이다.2 is a block diagram provided to explain an apparatus for improving conversational system performance according to an embodiment of the present invention.

도 2를 참고하면, 대화 시스템 성능 향상 장치(400)는 대화 시스템(300)과 연결되어 대화 로그를 제공받는다. 대화 시스템 성능 향상 장치(400)는 대화 로그를 분석하여 대화 시스템(300)의 음성 인식 모델, 언어 이해 모델 및 대화 관리 모델을 향상시키는 기능을 수행한다. 대화 시스템 성능 향상 장치(400)와 대화 시스템(300)은 유무선 통신망을 통해 연결되거나 케이블 등을 통해 직접 연결될 수도 있다.Referring to FIG. 2, the conversation system performance improving apparatus 400 is connected to the conversation system 300 to receive a conversation log. The conversation system performance improving apparatus 400 analyzes the conversation log and performs a function of improving the speech recognition model, the language understanding model, and the conversation management model of the conversation system 300. The conversation system performance improving apparatus 400 and the conversation system 300 may be connected through a wired or wireless communication network or directly through a cable.

대화 시스템(300)은 사용자와 음성이나 문자 등을 이용하여 의사 소통을 함으로써 사용자가 원하는 서비스를 제공하는 시스템이다. 예를 들어 가정 내의 방송 수신 장치(도시하지 않음)와 연결되어 사용자의 음성을 통한 방송 프로그램 검색 요청, 채널 변경 명령 등을 이해하고 그에 따라 방송 수신 장치가 동작하도록 하는 시스템에 이용될 수 있다.The conversation system 300 is a system that provides a service desired by a user by communicating with a user using voice or text. For example, it may be used in a system connected to a broadcast receiving device (not shown) in a home to understand a broadcast program search request through a user's voice, a channel change command, and to operate the broadcast receiving device accordingly.

그러면 도 3을 참고하여, 도 2의 대화 시스템(300)을 자세하게 설명한다.3, the conversation system 300 of FIG. 2 will be described in detail.

도 3은 도 2의 대화 시스템을 설명하기 위해 제공되는 블록도이다.FIG. 3 is a block diagram provided to explain the conversation system of FIG. 2.

도 3을 참고하면, 본 발명에 따른 대화 시스템(300)은 음성 인식 모델(310), 언어 이해 모델(330), 대화 모델(350), 음성 인식부(320), 언어 이해부(340), 대화 관리부(360), 응답 생성부(370), 음성 합성부(380) 및 로그 관리자(390)를 포함한다. 또한 실시예에 따라 대화 시스템(300)은 사용자 관리자(395)를 포함할 수 있다.Referring to FIG. 3, the conversation system 300 according to the present invention includes a speech recognition model 310, a language understanding model 330, a conversation model 350, a speech recognition unit 320, a language understanding unit 340, The conversation manager 360, a response generator 370, a voice synthesizer 380, and a log manager 390 are included. In addition, according to an embodiment, the conversation system 300 may include a user manager 395.

음성 인식 모델(310)은 음성 인식부(320)에서 사용되는 모델로 크게 2가지로 구분할 수 있다. 하나는 문장의 확률을 추정해주는 언어 모델이고, 다른 하나는 각 발음에 대해 입력 사운드를 바탕으로 확률을 추정해주는 음향 모델이다.The speech recognition model 310 is a model used by the speech recognition unit 320 and can be classified into two types. One is a language model that estimates the probability of a sentence, and the other is an acoustic model that estimates the probability based on the input sound for each pronunciation.

음성 인식부(320)는 사용자 발화가 입력되면 음성 인식 모델(310)을 이용하여 사용자 발화에 대해서 가장 최적의 문장을 찾아내는 기능을 수행한다. 즉 음성 인식부(320)는 사용자 발화에 따른 음성 신호를 그에 대응하는 문장으로 변환한다. 예를 들어, 음성 인식부(320)는 사용자가 "지금 TV에서 뭐하지?" 라고 발화한 경우 그에 대응하는 텍스트 문장으로 변환하여 출력한다. 이렇게 사용자 발화를 음성 인식부(320)에서 문장으로 변환한 것을 음성 인식 결과라고 한다.When the user speech is input, the voice recognition unit 320 performs a function of finding the most optimal sentence for the user speech using the speech recognition model 310. That is, the voice recognition unit 320 converts the voice signal according to the user's speech into a sentence corresponding thereto. For example, the speech recognition unit 320 may ask the user "What are you doing on the TV now?" Is converted into a text sentence corresponding to the text. The conversion of the user speech into a sentence in the speech recognition unit 320 is called a speech recognition result.

언어 이해 모델(330)은 주어진 문장이 어떤 목적/의도로 발화되었는지, 개체명(named-entity)은 무엇인지 등을 파악하는 데 사용되는 모델이다. 언어 이해 모델(330)은 발화 의도와 개체명(named-entity)이 태깅(tagging)된 문장으로부터 훈련될 수 있다.언어 이해 모델(330)은 규칙 기반 방법과 통계적 방법 등이 채택될 수 있다. The language understanding model 330 is a model used to determine what purpose / intention a given sentence is uttered, what is a named-entity, and so on. The language understanding model 330 may be trained from sentences tagged with speech intent and named-entity. The language understanding model 330 may adopt a rule-based method, a statistical method, or the like.

언어 이해부(340)는 언어 이해 모델(330)을 이용하여 사용자의 발화 목적/의도를 파악한 결과를 언어 이해 결과로 출력하는 기능을 수행한다. 즉 언어 이해 결과는 사용자의 발화가 질문, 요구, 제안 또는 부탁 등 어떠한 목적 또는 의도에 의한 것인지를 분석한 결과를 의미한다. 예를 들어, 사용자 발화를 'dialogue act', 'Main action', 'Component Slot'으로 분석할 수 있다. The language understanding unit 340 performs a function of outputting, as a language understanding result, a result of identifying a user's speech purpose / intention by using the language understanding model 330. That is, the result of language understanding means a result of analyzing whether the user's speech is caused by any purpose or intention such as a question, a request, a suggestion, or a request. For example, user speech can be analyzed as 'dialogue act', 'Main action', and 'Component Slot'.

여기서 'dialogue act'는 대화 문장의 분류 기준이 되는 항목으로서, 대화 문장이 사용자 요청과 관련된 문장 형태(request)인지, W-H 질문에 관한 문장 형태인지, Yes-No 질문에 관한 문장 형태인지에 따라 사용자 문장이 분류될 수 있다.Here, 'dialogue act' is an item that is a classification criterion of a conversation sentence. The dialogue act is a user depending on whether the dialogue sentence is a sentence form relating to a user request, a sentence form regarding a WH question, or a sentence form regarding a Yes-No question. Sentences can be classified.

'Main action'은 사용자가 대화를 통해 원하는 행위를 나타내는 의미적 정보이다. 예를 들어, 사용자가 프로그램 시작 시간을 알기 원하는 것(search_time), 사용자가 원하는 프로그램이 방영되는 채널을 알기 원하는 것(search_channel) 등으로 분류될 수 있다.'Main action' is semantic information representing an action desired by a user through a conversation. For example, the user may be classified into one that the user wants to know the program start time (search_time), one that the user wants to know the channel in which the desired program is aired (search_channel).

'Component Slot'은 실제 사용자 발화에 나타나는 도메인에 대한 개체 정보이다. 예를 들어 해당 방송 프로그램이 방영되는 채널(channel=KBS) 또는 해당 방송 프로그램의 장르(genre=드라마) 등으로 분류될 수 있다.'Component Slot' is object information about domain that appears in actual user speech. For example, it may be classified into a channel (channel = KBS) in which the broadcast program is broadcast, or a genre (genre = drama) of the broadcast program.

예를 들어 사용자 발화가 "지금 TV에서 뭐하지?"인 경우에 대한 언어 이해 결과는 다음과 같이 분석될 수 있다. 'dialogue act'에 해당하는 "wh-question(의문형)"과, 'Main action,에 해당하는 "search_time", 그리고 'Component Slot'에 해당하는 [start_time=지금] 등으로 분석될 수 있다. For example, the result of understanding the language for the case where the user speech is "what are you doing on TV?" Can be analyzed as follows. It can be analyzed as "wh-question" for "dialogue act", "search_time" for "Main action", and [start_time = now] for "Component Slot".

대화 모델(350)은 사용자 발화에 대해 대화 상황/담화(discourse) 정보를 바탕으로 최적의 시스템 응답을 결정하는 데 사용되는 모델이다. 대화 모델(350)은 대화 예제로부터 훈련될 수 있다. 보다 자세하게는 대화 모델(350)은 대화 예제 코퍼스(corpus)로부터 각각의 대화 예제를 자동으로 추출하여 대화예제 DB를 구축할 수 있다. 이때 대화 예제 코퍼스는 파싱을 하기 쉽도록 XML 형태로 될 수 있다. 그리고 대화 예제 코퍼스를 파싱한 결과를 가지고 화행 정보(dialogue act), 주행 정보(Main action), 구성성분 정보(Component Slot), 대화 이력 정보를 이용하여 색인테이블을 만들 수 있다. The conversation model 350 is a model used to determine an optimal system response based on conversation situation / discourse information for user speech. The conversation model 350 can be trained from a conversation example. In more detail, the conversation model 350 may automatically extract each conversation example from the conversation example corpus to build a conversation example DB. The dialogue example corpus can be in XML form for easy parsing. With the result of parsing the conversation example corpus, an index table can be created using dialogue act information, driving information, main component information, component slot information, and conversation history information.

대화 관리부(360)는 대화 모델(350)을 이용하여 사용자의 발화 의도에 가장 적절한 시스템 응답을 결정하는 기능을 수행한다. 보다 자세하게는 대화 관리부(360)는 대화 모델(350)에서 현재의 대화 상황 및 대화 이력 정보를 바탕으로 가장 적절한 대화 예제를 추출하고 이를 바탕으로 시스템 응답을 결정한다. 즉 대화 관리부(360)는 언어 이해 결과와 대화 모델을 바탕으로 사용자의 질문, 요구, 제안 또는 부탁 등에 대한 대화 시스템(300)의 답변, 거절 또는 승락 등의 시스템 응답을 결정한다.The conversation manager 360 determines a system response most suitable for the user's intention of speaking using the conversation model 350. In more detail, the conversation manager 360 extracts the most appropriate conversation example from the conversation model 350 based on the current conversation situation and the conversation history information, and determines the system response based on the conversation example. That is, the conversation manager 360 determines a system response such as an answer, a rejection, or an approval of the conversation system 300 based on the language understanding result and the conversation model.

응답 생성부(370)는 대화 관리부(360)에서 결정된 시스템 응답에 따라 출력 문장을 생성한다.The response generator 370 generates an output sentence according to the system response determined by the conversation manager 360.

음성 합성부(380)는 출력 문장을 음성으로 변환하여 출력한다.The speech synthesizer 380 converts the output sentence into speech and outputs the speech.

로그 관리자(390)는 대화 시스템(300)이 동작하는 동안에 얻을 수 있는 각종 정보(이하 '대화 로그'라 함)를 미리 정해진 저장수단(도시하지 않음)에 저장할 수 있다. 저장수단은 대화 시스템(300)에 포함되거나 대화 시스템 성능 향상 장치(400)에 포함될 수 있다. 로그 관리자(390)에 의해 수집되는 대화 로그는 사용자명, 발화 시간, 발화 음성, 음성 인식 결과, 음성 인식 신뢰도, 언어 이해 결과, 언어 이해 신뢰도, 대화 이력 정보 등을 포함할 수 있다.The log manager 390 may store various types of information (hereinafter, referred to as “conversation logs”) that can be obtained while the conversation system 300 is operating in predetermined storage means (not shown). The storage means may be included in the conversation system 300 or may be included in the conversation system performance enhancing apparatus 400. The conversation log collected by the log manager 390 may include a user name, speech time, speech speech, speech recognition result, speech recognition reliability, language understanding result, language understanding reliability, conversation history information, and the like.

여기서 사용자명은 대화 시스템(300)을 사용하는 사용자를 식별할 수 있는 성명 또는 아이디 등이 될 수 있다. 발화 음성은 사용자가 발화한 음성을 마이크(도시하지 않음) 등의 음성 입력 수단을 통해 입력받은 음성 입력 신호를 의미한다. 그리고 음성 인식 신뢰도는 음성 인식부(320)에서 인식한 문장이 사용자 발화에 부합되는 정도를 나타내는 것으로, 음성 인식부(320)에서 미리 정해진 방식에 의해 산출되어 제공될 수 있다. 언어 이해 신뢰도는 언어 이해부(340)에서 파악한 사용자의 발화 목적/의도가 실제 사용자 발화에 부합되는 정도를 나타내는 것으로, 언어 이해부(340)에서 미리 정해진 방식에 의해 산출되어 제공될 수 있다. 대화 이력 정보는 현재 대화 상태까지 채워진 구성 성분 정도에 대한 이진 벡터(Slot filing vector)와 이전 대화에 나타난 화행 정보(Dialog act)와 주행(Main act) 정보를 포함한다.Here, the user name may be a name or ID for identifying a user who uses the conversation system 300. The spoken voice refers to a voice input signal received by a user through voice input means such as a microphone (not shown). The speech recognition reliability indicates the degree to which the sentence recognized by the speech recognizer 320 corresponds to user speech, and may be calculated and provided by the speech recognizer 320 in a predetermined manner. The language understanding reliability indicates the degree to which the user's uttering purpose / intention grasped by the language understanding unit 340 corresponds to the actual user speech, and may be calculated and provided by the language understanding unit 340 in a predetermined manner. The conversation history information includes a slot filing vector for the component degree filled up to the current conversation state, and dialog act information and main act information shown in the previous conversation.

사용자 관리자(395)는 대화 시스템(300)을 사용하는 사용자가 여러 명일 경우 사용자 별로 음성 인식 모델, 언어 이해 모델, 대화 모델 등을 따로 관리하는 기능을 수행한다.The user manager 395 performs a function of separately managing a speech recognition model, a language understanding model, and a conversation model for each user when there are a plurality of users who use the conversation system 300.

그러면 도 4를 참고하여, 도 2의 대화 시스템 성능 향상 장치(400)를 자세하게 설명한다.Next, referring to FIG. 4, the interactive system performance improving apparatus 400 of FIG. 2 will be described in detail.

도 4는 도 2의 대화 시스템 성능 향상 장치를 설명하기 위해 제공되는 블록도이다.4 is a block diagram provided to explain the apparatus for improving conversation system performance of FIG. 2.

도 4를 참고하면, 대화 시스템 성능 향상 장치(300)는 대화 로그 저장부(410), 음성 인식 모델 향상부(420), 언어 이해 모델 향상부(430), 대화 모델 향상부(440), 후보군 검증부(450) 및 모델 훈련부(460)를 포함할 수 있다.Referring to FIG. 4, the apparatus 300 for improving performance of a conversation system includes a conversation log storage unit 410, a speech recognition model enhancement unit 420, a language understanding model enhancement unit 430, a conversation model enhancement unit 440, and a candidate group. The verification unit 450 and the model training unit 460 may be included.

대화 로그 저장부(410)는 대화 시스템(300)의 로그 관리자(390)로부터 제공되는 대화 로그를 저장하고, 음성 인식 모델 향상부(420), 언어 이해 모델 향상부(430), 대화 모델 향상부(440)에 제공할 수 있다.The conversation log storage unit 410 stores a conversation log provided from the log manager 390 of the conversation system 300, and includes a speech recognition model enhancer 420, a language understanding model enhancer 430, and a conversation model enhancer. 440 may be provided.

음성 인식 모델 향상부(420)는 오류 발화 추출부(421), 음성 인식 모델(423), 음성 인식기(425) 및 음성인식 후보군 생성부(427)를 포함할 수 있다.The speech recognition model enhancer 420 may include an error speech extractor 421, a speech recognition model 423, a speech recognizer 425, and a speech recognition candidate group generator 427.

오류 발화 추출부(421)는 대화 로그 저장부(410)에 저장된 사용자 발화 중에서 오류 발화를 추출한다. 음성 인식 신뢰도가 일정 기준치 이하인 사용자 발화를 오류 발화로 추출할 수 있다.The error utterance extractor 421 extracts an error utterance from the user utterances stored in the conversation log storage 410. User speech with a speech recognition reliability below a predetermined threshold may be extracted as an error speech.

음성 인식기(425)는 음성 인식 모델(423)을 이용하여 추출된 오류 발화에 대한 음성 인식 결과를 생성한다. 또한 음성 인식기(425)는 생성된 음성 인식 결과에 대한 음성 인식 신뢰도도 구할 수 있다.The speech recognizer 425 generates a speech recognition result for the extracted error speech using the speech recognition model 423. In addition, the speech recognizer 425 may obtain a speech recognition reliability of the generated speech recognition result.

음성 인식 모델 향상부(420)에서 사용되는 음성 인식 모델(423)은 대화 시스템(300)에 사용되는 것보다 인식할 수 있는 범위가 보다 넓어질 수 있도록 설계될 수 있다. 대화 시스템(300)에서의 음성 인식 모델(310)은 사용자에게 빠른 응답을 줘야 하는 제약 때문에 상대적으로 크기 및 성능이 제한받을 수밖에 없다. 하지만, 대화 시스템 성능 향상 장치(400)에서는 시간적 제약이 없기 때문에 음성 인식기(425)의 실행 속도에 큰 부담이 없어 음성 인식 모델(423)을 좀 더 자유롭게 만들 수 있으며, 또 계산 부담이 큰 미등록어 처리 모듈(도시하지 않음)도 포함하여 기존 모델에서 정의하지 못한 단어도 추가로 파악하도록 구현할 수 있다.The speech recognition model 423 used in the speech recognition model enhancer 420 may be designed to allow a wider range of recognition than that used in the conversation system 300. The speech recognition model 310 of the conversation system 300 is limited in size and performance due to the constraint of giving a quick response to the user. However, since there is no time constraint in the conversation system performance improving apparatus 400, there is no significant burden on the execution speed of the speech recognizer 425, so that the speech recognition model 423 can be made more freely. In addition to processing modules (not shown), it may be implemented to further identify words not defined in the existing model.

음성 인식 후보군 생성부(427)는 음성 인식기(425)에서 생성된 음성 인식 결과와 음성 인식 신뢰도를 포함하는 음성 인식 후보군을 생성하여 후보군 검증부(450)에 제공할 수 있다. 음성 인식 후보군은 다음과 같이 오류 발화에 대한 음성 인식 결과(문장)와 음성 인식 신뢰도(점수)로 표 1과 같이 제공될 수 있다.The speech recognition candidate group generator 427 may generate a speech recognition candidate group including the speech recognition result generated by the speech recognizer 425 and the speech recognition reliability and provide the generated speech recognition candidate group to the candidate group verification unit 450. The speech recognition candidate group may be provided as shown in Table 1 as a speech recognition result (sentence) and speech recognition reliability (score) for an error utterance as follows.

음성 인식 결과Speech recognition results 음성 인식 신뢰도Speech recognition reliability "그럼 KBS 드라마는 언제 하지?""Then when is the KBS drama?" 0.690.69

언어 이해 모델 향상부(430)는 오류 발화 추출부(431), 언어 이해 결과 추정부(433), 언어 이해 모듈(435), 결합부(437) 및 언어 이해 후보군 생성부(439)를 포함할 수 있다.The language understanding model improving unit 430 may include an error speech extraction unit 431, a language understanding result estimating unit 433, a language understanding module 435, a combining unit 437, and a language understanding candidate group generation unit 439. Can be.

오류 발화 추출부(431)는 대화 로그 저장부(410)에서 음성 인식 신뢰도 및 언어 이해 신뢰도 중 적어도 하나가 일정 기준치 이하인 사용자 발화를 오류 발화로 추출한다. 언어 이해 신뢰도뿐만 아니라 음성 인식 신뢰도를 함께 고려하는 이유는 음성 인식이 제대로 이루어지지 않은 경우 이를 기초로 한 언어 이해 결과도 오류가 있을 가능성이 높기 때문이다.The error speech extraction unit 431 extracts a user speech in which the conversation log storage unit 410 has at least one of a speech recognition reliability and a language understanding reliability as an error speech. The reason for considering both the speech recognition reliability as well as the speech recognition reliability is that if the speech recognition is not properly performed, there is a high possibility that the result of the language understanding based on this is also in error.

언어 이해 모듈(435)은 추출된 오류 발화에 대해서 대화 시스템(300)에서 사용되는 언어 이해 모델(330)과 동일한 언어 이해 모델을 이용하여 언어 이해 결과를 구한다.The language understanding module 435 obtains a language understanding result using the same language understanding model as the language understanding model 330 used in the dialogue system 300 with respect to the extracted error speech.

언어 이해 결과 추정부(433)는 대화 로그 저장부(410)에서 대화 이력 정보를 통해 오류 발화에 대한 언어 이해 결과를 추정한다. 대화 예제로부터 화행(Dialog Act)/주행(Main Action)에 대한 N-gram을 계산한다. 이를 바탕으로 과거 화행/주행 정보에 따라 현재에 가장 나올 확률이 높은 화행/주행 정보를 추정한다.The language understanding result estimator 433 estimates the language understanding result of the error utterance through the conversation history information in the conversation log storage 410. Compute the N-gram for the Dialog Act / Main Action from the dialogue example. Based on this, estimating the acting / driving information that is most likely to come out in the present according to the acting / driving information of the past.

결합부(437)는 언어 이해 모듈(435)에서 구해진 언어 이해 결과와 언어 이해 결과 추정부(433)에서 추정된 언어 이해 결과를 비교하여 둘 중에서 어느 것이 신뢰도가 높은지 판단한다.The combiner 437 compares the language comprehension result obtained by the language comprehension module 435 with the language comprehension result estimated by the language comprehension result estimator 433 to determine which of the two is high.

언어 이해 후보군 생성부(439)는 결합부(437)에서 신뢰도가 높은 것으로 판정된 언어 이해 결과 및 언어 이해 신뢰도를 포함하는 언어 이해 후보군을 생성한다. 예를 들어 언어 이해 후보군은 다음 표 2에 나타낸 것과 같이 제공될 수 있다.
The language understanding candidate group generation unit 439 generates a language understanding candidate group including the language understanding result and the language understanding reliability determined by the combiner 437 to have high reliability. For example, a language understanding candidate may be provided as shown in Table 2 below.

언어 이해 결과Language understanding result 언어 이해 신뢰도Language understanding reliability Dialog ActDialog Act Main ActionMain action SlotsSlots When-questionWhen-question Search_start_timeSearch_start_time [channel=KBS, genre=드라마][channel = KBS, genre = drama] 0.870.87

대화 모델 향상부(440)는 대화 패턴 추출부(441), 오류 제거부(443) 및 대화 패턴 후보군 생성부(445)를 포함할 수 있다.The conversation model enhancer 440 may include a conversation pattern extractor 441, an error remover 443, and a conversation pattern candidate group generator 445.

대화 패턴 추출부(441)는 대화 로그 저장부(410)에서 대화 시스템(300)의 대화 모델에 없는 새로운 대화 패턴을 추출해낸다. 대화 로그 저장부(410)에는 사용자 발화와 시스템 발화가 앞에서 설명한 것과 같이 대화 단위로 묶여 있다. 따라서 대화 패턴 추출부(441)는 대화 단위별로 기존에 없었던 대화 패턴을 일정 기준에 의해 확인하여 추출해낼 수 있다. 여기서 사용되는 기준은 언어 모델과 유사한 담화(discourse) 기반의 n-gram 혹은 SWB(Structured and Word interpolated BLUE score)를 사용하여 일정 기준치 이하일 때 해당 대화 패턴을 새로운 대화 패턴으로 판단하여 추출해낼 수 있다.The conversation pattern extractor 441 extracts a new conversation pattern that is not in the conversation model of the conversation system 300 from the conversation log storage unit 410. In the conversation log storage unit 410, user speech and system speech are grouped into conversation units as described above. Therefore, the conversation pattern extractor 441 may identify and extract a conversation pattern that does not exist previously for each conversation unit by a predetermined criterion. The criterion used here may be extracted by judging the conversation pattern as a new conversation pattern when the content is below a certain threshold value using a discourse-based n-gram or structured and word interpolated BLUE score (SWB) similar to a language model.

오류 제거부(443)는 추출된 새로운 대화 패턴에 대해서 대화 과정에서 있었던 주요 오류 과정을 제거한다. 예컨대 주요 오류 과정은 대화 예제를 찾을 수 없었거나, 음성 인식 오류, 언어 이해 오류가 포함된 경우가 여기에 해당한다.The error remover 443 removes the main error process that was present in the dialogue process with respect to the extracted new dialogue pattern. For example, the main error process could be a case where no conversation example was found, or a speech recognition error or language understanding error was included.

대화 로그 저장부(410)에서 추출된 대화 패턴에서 오류 제거된 대화 패턴의 예를 나타내면 다음과 같다.
An example of a conversation pattern in which an error is removed from the conversation pattern extracted from the conversation log storage unit 410 is as follows.

* 오류 제거 전 대화 패턴 ** Conversation Pattern Before Eliminating Errors *

============================================================================================================================== ==========================

User : 지금 TV에서 뭐 하지?User: What are you doing on TV right now?

System : MBC에서 놀러와를, KBS에서 미녀들의 수다를 방송합니다. 채널을 골라 주십시오.System: Come to MBC to play, and KBS to broadcast a chat of beauty. Please choose a channel.

User : 그럼 10시 틀어줘 <- 음성 인식 오류 / 언어 이해 오류 [신뢰도 점수 참고하여 오류 판정]User: Then 10 o'clock please <-Voice recognition error / Language understanding error

System : 대화 예제를 찾을 수 없습니다. <- 대화 예제 없음System: No conversation example found <-No conversation example

User : 그럼 MBC 틀어줘.User: Then turn on MBC.

System : MBC로 채널을 이동합니다.System: Move the channel to MBC.

============================================================================
================================================== ==========================

* 오류 제거 후 대화 패턴 *Conversation pattern after error removal

============================================================================================================================== ==========================

User : 지금 TV에서 뭐 하지? // 언어 이해 결과 + Discourse History [1,0,1,0,0,0,0,0] User: What are you doing on TV right now? // language understanding result + Discourse History [1,0,1,0,0,0,0,0]

System : MBC에서 놀러와를, KBS에서 미녀들의 수다를 방송 합니다. 채널을 골라 주십시오. System: Come to MBC to play, and KBS to broadcast the chat of beauty. Please choose a channel.

User : 그럼 MBC 틀어줘. // 언어 이해 결과 + Discourse History [1,0,1,1,1,0,0,0] User: Then turn on MBC. // language understanding result + Discourse History [1,0,1,1,1,0,0,0]

System : MBC로 채널을 이동합니다. System: Move the channel to MBC.

=============================================================================================================================== ===========================

이렇게 오류가 제거된 새로운 대화 패턴은 대화 후보군으로 제공될 수 있다. 대화 후보군 역시 화행/주행 정보 N-gram을 바탕으로 해당 대화 후보군의 신뢰도를 계산하여 함께 제공될 수 있다.The new conversation pattern in which the error is eliminated may be provided to the conversation candidate group. The conversation candidate group may also be provided by calculating the reliability of the conversation candidate group based on the dialogue act / driving information N-gram.

후보군 검증부(450)는 음성 인식 모델 향상부(420), 언어 이해 모델 향상부(430), 대화 모델 향상부(440)에서 각 모델 별로 생성되는 후보군들에 대해 대화 시스템(300)에 절용할지 여부를 검증한다. 바람직하게는 전문가 또는 숙련된 사용자에게 각 모델 별 후보군들을 제시하고 대화 시스템(300)의 성능 향상에 적용할 후보군을 선택받을 수 있다. 실시예에 따라서는 신뢰도가 일정 기준 이상인 후보군을 자동적으로 대화 시스템(300)의 성능 향상에 이용할 수도 있다.The candidate group verification unit 450 may cut the candidate system generated by each model from the speech recognition model enhancer 420, the language understanding model enhancer 430, and the conversation model enhancer 440 in the dialogue system 300. Verify it. Preferably, a candidate group for each model may be presented to an expert or an experienced user, and a candidate group to be applied to the performance improvement of the dialogue system 300 may be selected. According to an exemplary embodiment, candidate groups having a reliability higher than or equal to a predetermined criterion may be automatically used to improve the performance of the conversation system 300.

모델 훈련부(460)는 후보군 검증부(450)에서 검증되어 선택된 후보군을 대화 시스템(300)의 각 모델에 적용하여 모델 향상을 수행한다. 보다 자세하게는 모델 훈련부(460)는 기존 모델의 훈련에 사용된 코퍼스와 대화 시스템 성능 향상 장치(400)에서 후보군으로 추가된 코퍼스를 더하여 대화 시스템(300)의 음성 인식 모델, 언어 이해 모델 및 대화 관리 모델을 다시 훈련함으로써 기존 모델을 대체하는 방식으로 이루어진다.The model training unit 460 performs model enhancement by applying the selected candidate group verified by the candidate group verification unit 450 to each model of the dialogue system 300. More specifically, the model training unit 460 adds a corpus used for training an existing model and a corpus added as a candidate group in the dialogue system performance improving apparatus 400 to add a speech recognition model, a language understanding model, and conversation management of the dialogue system 300. By retraining the model, it replaces the existing model.

본 발명의 실시예는 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터로 읽을 수 있는 매체를 포함한다. 이 매체는 지금까지 설명한 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법을 실행시키기 위한 프로그램을 기록한다. 이 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 이러한 매체의 예에는 하드디스크, 플로피디스크 및 자기 테이프와 같은 자기 매체, CD 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(Floptical Disk)와 자기-광 매체, 롬, 램, 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 구성된 하드웨어 장치 등이 있다. 또는 이러한 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.Embodiments of the present invention include a computer-readable medium having program instructions for performing various computer-implemented operations. This medium records a program for executing the learning-based conversation system performance improvement method using the conversation log described so far. The medium may include program instructions, data files, data structures, etc., alone or in combination. Examples of such media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CDs and DVDs, floppy disks and program commands such as magnetic-optical media, ROM, RAM and flash memory. Hardware devices configured to store and perform such operations. Alternatively, the medium may be a transmission medium such as an optical or metal wire, a waveguide, or the like including a carrier wave for transmitting a signal specifying a program command, a data structure, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.

이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, Of the right.

Claims (16)

사용자와 대화 시스템 사이의 대화 로그를 수집하는 단계;
상기 수집된 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 음성 인식 모델을 향상하기 위한 음성 인식 후보군을 생성하는 단계,
상기 수집된 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 언어 이해 모델을 향상하기 위한 언어 이해 후보군을 생성하는 단계,
상기 수집된 대화 로그에서 상기 대화 시스템의 대화 패턴에 존재하지 않는 새로운 대화 패턴을 추출하여 상기 대화 시스템의 대화 모델을 향상하기 위한 대화 패턴 후보군을 생성하는 단계,
상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군을 검증하는 단계, 그리고
상기 검증 단계에서 검증된 후보군을 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용하는 단계
를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
Collecting a chat log between the user and the chat system;
Generating a speech recognition candidate group for improving a speech recognition model of the conversation system by extracting an error utterance from the collected conversation log;
Generating a language understanding candidate group for improving a language understanding model of the conversation system by extracting an error speech from the collected conversation log;
Generating a conversation pattern candidate group for improving a conversation model of the conversation system by extracting a new conversation pattern that does not exist in the conversation pattern of the conversation system from the collected conversation log;
Verifying the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group; and
Applying the candidate group verified in the verification step to the speech recognition model, the language understanding model, and the conversation model;
Learning-based conversation system performance improvement method using a conversation log containing a.
제 1 항에서,
상기 후보군 검증은 전문가 또는 미리 정해진 사용자에 의해 상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군 중에서 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용할 후보군을 선택받는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method of claim 1,
The candidate group verification is a conversation log in which an expert or a predetermined user selects a candidate group to be applied to the speech recognition model, the language understanding model, and the conversation model from among the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group. Method for Improving Learning-Based Dialog System Using
제 1 항에서,
상기 음성 인식 후보군 생성 단계는,
상기 대화 로그에서 오류 발화를 추출하는 단계,
상기 대화 로그를 수집하는데 사용된 대화 시스템의 음성 인식 모델의 인식률보다 높은 인식률을 가지는 음성 인식 모델을 이용하여 상기 추출된 오류 발화에 대한 음성 인식을 수행하는 단계, 및
상기 음성 인식 수행에 따른 음성 인식 결과와 음성 인식 신뢰도를 포함하는 음성 인식 후보군을 생성하는 단계를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method of claim 1,
The voice recognition candidate group generation step,
Extracting an error utterance from the conversation log,
Performing speech recognition on the extracted error speech using a speech recognition model having a recognition rate higher than that of the speech recognition model of the conversation system used to collect the conversation log; and
And generating a speech recognition candidate group including a speech recognition result according to the speech recognition performance and a speech recognition reliability.
제 1 항에서,
상기 언어 이해 후보군 생성 단계는,
상기 대화 로그에서 오류 발화를 추출하는 단계,
상기 대화 로그에 포함된 대화 이력 정보에 기초하여 상기 추출한 오류 발화에 대한 언어 이해를 수행하는 단계,
상기 대화 시스템의 언어 이해 모델과 동일한 모델을 이용하여 상기 추출한 오류 발화에 대한 언어 이해를 수행하는 단계, 및
상기 대화 이력 정보에 기초한 언어 이해 결과의 신뢰도 값과 상기 언어 이해 모델을 이용한 언어 이해 결과의 신뢰도 값을 비교하여 언어 이해 신뢰도 값이 더 큰 언어 이해 결과를 언어 이해 후보군으로 생성하는 단계를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method of claim 1,
The language understanding candidate group generation step,
Extracting an error utterance from the conversation log,
Performing a language understanding on the extracted error utterance based on conversation history information included in the conversation log;
Performing language understanding on the extracted error utterance using the same model as the language understanding model of the dialogue system, and
And comparing the reliability value of the language understanding result based on the conversation history information with the reliability value of the language understanding result using the language understanding model to generate a language understanding result having a greater language understanding reliability value as a language understanding candidate group. How to improve the performance of learning-based dialogue system using logs.
제 1 항에서,
상기 대화 패턴 후보군 생성 단계는,
상기 대화 로그에서 상기 대화 시스템에 존재하지 않는 대화 패턴을 추출하는 단계,
상기 대화 패턴에서 오류를 제거하는 단계, 및
상기 오류가 제거된 대화 패턴을 대화 패턴 후보군으로 생성하는 단계를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method of claim 1,
The conversation pattern candidate group generation step,
Extracting a conversation pattern that does not exist in the conversation system from the conversation log;
Removing the error from the conversation pattern, and
The method for improving performance of a learning-based conversation system using a conversation log comprising generating the conversation pattern from which the error is eliminated as a conversation pattern candidate group.
제 3 항 내지 제 5 항 중 어느 한 항에서,
상기 음성 인식 후보군 생성을 위한 오류 발화 추출은 상기 대화 로그에서 음성 인식 신뢰도가 일정 기준치 이하인 사용자 발화를 추출하여 이루어지고,
상기 언어 이해 후보군 생성을 위한 오류 발화 추출은 상기 대화 로그에서 음성 인식 신뢰도 및 언어 이해 신뢰도 중 적어도 하나가 일정 기준치 이하인 사용자 발화를 추출하여 이루어지는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method according to any one of claims 3 to 5,
The error speech extraction for generating the speech recognition candidate group is performed by extracting a user speech whose reliability of speech recognition is less than or equal to a predetermined reference value from the conversation log.
The error speech extraction for generating the language understanding candidate group is performed by extracting user speech in which at least one of speech recognition reliability and language understanding reliability is less than or equal to a predetermined reference value from the conversation log.
제 1 항에서,
상기 대화 로그는 사용자명, 발화 시간, 발화 음성, 음성 인식 결과, 음성 인식 신뢰도, 언어 이해 결과, 언어 이해 신뢰도, 대화 이력 정보를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method of claim 1,
The conversation log is a method of improving performance of a learning-based conversation system using a conversation log including a user name, speech time, speech speech, speech recognition result, speech recognition reliability, language understanding result, language understanding reliability, and conversation history information.
제 1 항에서,
상기 대화 로그는 사용자 별로 수집되고,
상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군 생성 및 검증과, 검증된 후보군을 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용은 사용자 별로 수행되는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 방법.
The method of claim 1,
The chat log is collected for each user,
Generating and verifying the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group, and applying the verified candidate group to the improvement of the speech recognition model, the language understanding model, and the conversation model is learning using a conversation log performed by a user. How to improve performance based conversation system.
사용자와 대화 시스템 사이의 대화 로그를 저장하는 대화 로그 저장부,
상기 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 음성 인식 모델을 향상하기 위한 음성 인식 후보군을 생성하는 음성 인식 모델 향상부,
상기 대화 로그에서 오류 발화를 추출하여 상기 대화 시스템의 언어 이해 모델을 향상하기 위한 언어 이해 후보군을 생성하는 언어 이해 모델 향상부,
상기 대화 로그에서 상기 대화 시스템의 대화 패턴에 존재하지 않는 새로운 대화 패턴을 추출하여 상기 대화 시스템의 대화 모델을 향상하기 위한 대화 패턴 후보군을 생성하는 대화 모델 향상부,
상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군을 검증하는 후보군 검증부, 및
상기 검증된 후보군을 상기 대화 시스템의 음성 인식 모델, 언어 이해 모델 및 대화 모델의 향상에 적용하는 모델 훈련부를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
A chat log storage for storing a chat log between a user and a chat system,
Speech recognition model improving unit for generating a speech recognition candidate group for improving the speech recognition model of the conversation system by extracting an error speech from the conversation log,
A language understanding model improving unit for generating a language understanding candidate group for extracting an error speech from the conversation log to improve a language understanding model of the conversation system;
A conversation model enhancement unit for extracting a new conversation pattern that does not exist in the conversation pattern of the conversation system from the conversation log to generate a conversation pattern candidate group for improving the conversation model of the conversation system;
A candidate group verification unit that verifies the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group, and
And a model training unit for applying the verified candidate group to the improvement of the speech recognition model, the language understanding model, and the conversation model of the conversation system.
제 9 항에서,
상기 후보군 검증은 전문가 또는 미리 정해진 사용자에 의해 상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군 중에서 상기 대화 시스템의 음성 인식 모델, 언어 이해 모델 및 대화 모델의 향상에 적용할 후보군을 선택받는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
In claim 9,
The candidate group verification is a conversation in which an expert or a predetermined user selects a candidate group to be applied to the speech recognition model, the language understanding model, and the conversation model of the conversation system from among the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group. Device for improving performance of learning-based dialogue system using logs.
제 9 항에서,
상기 음성 인식 후보군 생성은,
상기 대화 로그에서 오류 발화를 추출하고, 상기 대화 로그를 수집하는데 사용된 대화 시스템의 음성 인식 모델의 인식률보다 높은 인식률을 가지는 음성 인식 모델을 이용하여 상기 추출된 오류 발화에 대한 음성 인식을 수행하며, 상기 음성 인식 수행에 따른 음성 인식 결과와 음성 인식 신뢰도를 포함하는 음성 인식 후보군을 생성하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
In claim 9,
The voice recognition candidate group generation,
Extracting an error utterance from the conversation log, and performing speech recognition on the extracted error utterance using a speech recognition model having a recognition rate higher than that of the speech recognition model of the conversation system used to collect the conversation log, The apparatus for improving performance of a learning-based dialogue system using a dialogue log generating a speech recognition candidate group including a speech recognition result according to the speech recognition and speech recognition reliability.
제 9 항에서,
상기 언어 이해 후보군 생성은,
상기 대화 로그에서 오류 발화를 추출하고, 상기 대화 로그에 포함된 대화 이력 정보에 기초하여 상기 오류 발화에 대한 언어 이해를 수행하며, 상기 대화 시스템의 언어 이해 모델과 동일한 모델을 이용하여 상기 오류 발화에 대한 언어 이해를 수행하고, 상기 대화 이력 정보에 기초한 언어 이해 결과의 신뢰도 값과 상기 언어 이해 모델을 이용한 언어 이해 결과의 신뢰도 값을 비교하여 언어 이해 신뢰도 값이 더 큰 언어 이해 결과를 언어 이해 후보군으로 생성하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
In claim 9,
The language understanding candidate group generation,
Extracting an error utterance from the conversation log, performing a language understanding of the error utterance based on conversation history information included in the conversation log, and using the same model as the language understanding model of the conversation system. Language comprehension results, the language comprehension result having the greater language comprehension reliability value is compared to the language comprehension candidate group by comparing the reliability value of the language comprehension result based on the conversation history information with the reliability value of the language comprehension result using the language comprehension model. An apparatus for improving performance of a learning based conversation system using a conversation log generated.
제 9 항에서,
상기 대화 패턴 후보군 생성은,
상기 대화 로그에서 상기 대화 시스템에 존재하지 않는 대화 패턴을 추출하고, 상기 대화 패턴에서 오류를 제거하며, 상기 오류가 제거된 대화 패턴을 대화 패턴 후보군으로 생성하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
In claim 9,
The conversation pattern candidate group generation is
Improving the performance of a learning-based conversation system using a conversation log extracting a conversation pattern that does not exist in the conversation system from the conversation log, removing an error from the conversation pattern, and generating the conversation pattern from which the error is eliminated as a conversation pattern candidate group. Device.
제 11 항 내지 제 13 항 중 어느 한 항에서,
상기 음성 인식 후보군 생성을 위한 오류 발화 추출은 상기 대화 로그에서 음성 인식 신뢰도가 일정 기준치 이하인 사용자 발화를 추출하여 이루어지고,
상기 언어 이해 후보군 생성을 위한 오류 발화 추출은 상기 대화 로그에서 음성 인식 신뢰도 및 언어 이해 신뢰도 중 적어도 하나가 일정 기준치 이하인 사용자 발화를 추출하여 이루어지는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
The method according to any one of claims 11 to 13,
The error speech extraction for generating the speech recognition candidate group is performed by extracting a user speech whose reliability of speech recognition is less than or equal to a predetermined reference value from the conversation log.
The error utterance extraction for generating the language understanding candidate group is performed by extracting a user utterance having at least one of a speech recognition reliability and a language understanding reliability from the conversation log using a conversation log.
제 9 항에서,
상기 대화 로그는 사용자명, 발화 시간, 발화 음성, 음성 인식 결과, 음성 인식 신뢰도, 언어 이해 결과, 언어 이해 신뢰도, 대화 이력 정보를 포함하는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.
In claim 9,
And the conversation log includes a user name, speech time, speech speech, speech recognition result, speech recognition reliability, language understanding result, language understanding reliability, and conversation history information.
제 9 항에서,
상기 대화 로그는 사용자 별로 수집되고,
상기 음성 인식 후보군, 상기 언어 이해 후보군 및 상기 대화 패턴 후보군 생성 및 검증과, 검증된 후보군을 상기 음성 인식 모델, 상기 언어 이해 모델 및 상기 대화 모델의 향상에 적용은 사용자 별로 수행되는 대화 로그를 이용한 학습 기반 대화 시스템 성능 향상 장치.




In claim 9,
The chat log is collected for each user,
Generating and verifying the speech recognition candidate group, the language understanding candidate group, and the conversation pattern candidate group, and applying the verified candidate group to the improvement of the speech recognition model, the language understanding model, and the conversation model is learning using a conversation log performed by a user. -Based conversation system performance enhancing device.




KR1020100018448A 2010-03-02 2010-03-02 Method and Apparatus to Improve Dialog System based on Study KR101131278B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100018448A KR101131278B1 (en) 2010-03-02 2010-03-02 Method and Apparatus to Improve Dialog System based on Study

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100018448A KR101131278B1 (en) 2010-03-02 2010-03-02 Method and Apparatus to Improve Dialog System based on Study

Publications (2)

Publication Number Publication Date
KR20110099434A KR20110099434A (en) 2011-09-08
KR101131278B1 true KR101131278B1 (en) 2012-03-30

Family

ID=44952309

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100018448A KR101131278B1 (en) 2010-03-02 2010-03-02 Method and Apparatus to Improve Dialog System based on Study

Country Status (1)

Country Link
KR (1) KR101131278B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10061388B2 (en) 2014-08-18 2018-08-28 Samsung Electronics Co., Ltd. Method and apparatus for processing user input
WO2020013428A1 (en) * 2018-07-13 2020-01-16 삼성전자 주식회사 Electronic device for generating personalized asr model and method for operating same

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102033388B1 (en) * 2014-06-30 2019-10-17 한국전자통신연구원 Apparatus and method for question answering
KR102447513B1 (en) * 2016-01-22 2022-09-27 한국전자통신연구원 Self-learning based dialogue apparatus for incremental dialogue knowledge, and method thereof
KR102152339B1 (en) * 2017-11-22 2020-09-04 서강대학교 산학협력단 Method for optimizing dialog policy model and dialog system implementing the same
JP6943158B2 (en) * 2017-11-28 2021-09-29 トヨタ自動車株式会社 Response sentence generator, method and program, and voice dialogue system
KR101881744B1 (en) * 2017-12-18 2018-07-25 주식회사 머니브레인 Method, computer device and computer readable recording medium for augumatically building/updating hierachical dialogue flow management model for interactive ai agent system
KR102119468B1 (en) * 2018-08-20 2020-06-05 주식회사 부뜰정보시스템 System and method for learning counseling chatter robot based on counceling contents of counselor
KR102356996B1 (en) 2019-12-16 2022-01-28 주식회사 엘지유플러스 Apparatus and Method for verifying the learning phrase quality of the AI service dialogue model
US10930272B1 (en) * 2020-10-15 2021-02-23 Drift.com, Inc. Event-based semantic search and retrieval

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10061388B2 (en) 2014-08-18 2018-08-28 Samsung Electronics Co., Ltd. Method and apparatus for processing user input
WO2020013428A1 (en) * 2018-07-13 2020-01-16 삼성전자 주식회사 Electronic device for generating personalized asr model and method for operating same

Also Published As

Publication number Publication date
KR20110099434A (en) 2011-09-08

Similar Documents

Publication Publication Date Title
KR101131278B1 (en) Method and Apparatus to Improve Dialog System based on Study
US20200258506A1 (en) Domain and intent name feature identification and processing
CN106683677B (en) Voice recognition method and device
US9117450B2 (en) Combining re-speaking, partial agent transcription and ASR for improved accuracy / human guided ASR
EP2700071B1 (en) Speech recognition using multiple language models
US10789943B1 (en) Proxy for selective use of human and artificial intelligence in a natural language understanding system
US9368116B2 (en) Speaker separation in diarization
CN101326572B (en) Speech recognition system with huge vocabulary
JP2018124425A (en) Voice dialog device and voice dialog method
JP2018523156A (en) Language model speech end pointing
CN105304080A (en) Speech synthesis device and speech synthesis method
CN111429899A (en) Speech response processing method, device, equipment and medium based on artificial intelligence
CN102436807A (en) Method and system for automatically generating voice with stressed syllables
CN110853628A (en) Model training method and device, electronic equipment and storage medium
JP2010078877A (en) Speech recognition device, speech recognition method, and speech recognition program
US8423354B2 (en) Speech recognition dictionary creating support device, computer readable medium storing processing program, and processing method
CN111949778A (en) Intelligent voice conversation method and device based on user emotion and electronic equipment
CN111179903A (en) Voice recognition method and device, storage medium and electric appliance
US9218807B2 (en) Calibration of a speech recognition engine using validated text
Tsiakoulis et al. Dialogue context sensitive HMM-based speech synthesis
JP7326931B2 (en) Program, information processing device, and information processing method
US7272560B2 (en) Methodology for performing a refinement procedure to implement a speech recognition dictionary
López-Cózar et al. Combining language models in the input interface of a spoken dialogue system
US20090326940A1 (en) Automated voice-operated user support
CN108364654B (en) Voice processing method, medium, device and computing equipment

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee