IP Library › Granted Patent US 12,217,185
Granted Patent B2
US 12,217,185 · App. 17/332,464 · Granted Feb 4, 2025

Method and apparatus of increasing knowledge based on uncertainty in neural networks

Inventors: Hyun Woo Kim (Daejeon, KR); Jeon Gue Park (Daejeon, KR); Hwa Jeon Song (Daejeon, KR); Yoo Rhee Oh (Daejeon, KR); Byung Hyun Yoo (Daejeon, KR); Eui Sok Chung (Daejeon, KR); Ran Han (Daejeon, KR)
Assignee: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
G06N3/082G06F40/35G06N3/042G06N5/022G06N5/043
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,217,185
App. No.
17/332,464
Granted
Feb 4, 2025
Kind
B2
Abstract

A knowledge increasing method includes calculating uncertainty of knowledge obtained from a neural network using an explicit memory, determining the insufficiency of the knowledge on the basis of the calculated uncertainty, obtaining additional data (learning data) for increasing insufficient knowledge, and training the neural network by using the additional data to autonomously increase knowledge.

Claims (40)

1. A method of increasing knowledge based on uncertainty of a neural network in an artificial intelligence (AI) agent, programmed and executed by a computing device to include a knowledge generating neural network for generating knowledge about a user query and a dialogue generating neural network for generating an answer to the user query on the basis of the knowledge, the method comprising:

converting each of a current user query, previous knowledge generated by the knowledge generating neural network, and a previous answer, generated by the dialogue generating neural network, into an embedding vector value having a specific dimension;

calculating a plurality of output values corresponding to the embedding vector value by using the knowledge generating neural network with a dropout technique applied thereto and calculating uncertainty of the knowledge generating neural network on the basis of the calculated plurality of output values; and

performing linear conversion on the calculated uncertainty to calculate a compensation value, obtain learning data having the calculated compensation value from a database built through unsupervised learning, and training the knowledge generating neural network and the dialogue generating neural network on the basis of the obtained learning data to increase knowledge.

2. The method of claim 1 , wherein the calculating of the uncertainty comprises:

deleting some neurons included in the knowledge generating neural network on the basis of the dropout technique;

obtaining the plurality of output values, corresponding to number of methods of deleting the some neurons, from the knowledge generating neural network; and

calculating the uncertainty on the basis of an average and a variance of the plurality of output values.

3. The method of claim 1 , wherein the calculating of the uncertainty comprises calculating uncertainty, occurring in a process of modeling data, and uncertainty occurring due to noise of the data.

4. The method of claim 1 , wherein the calculating of the uncertainty comprises:

calculating an average of the plurality of output values corresponding to the embedding vector value by using the knowledge generating neural network with the dropout technique applied thereto;

calculating first uncertainty occurring in a process of modeling data on the basis of the calculated average;

calculating a variance of the plurality of output values;

calculating second uncertainty caused by noise of the data on the basis of the calculated variance; and

summating the first uncertainty and the second uncertainty to calculate uncertainty of the knowledge generating neural network.

5. The method of claim 1 , wherein the increasing of the knowledge comprises:

determining the insufficiency or not of the knowledge about a user demand matter corresponding to the embedding vector value on the basis of the calculated uncertainty; and

when it is determined that the knowledge is insufficient, searching for the database to obtain the learning data.

6. The method of claim 5 , wherein the determining of the insufficiency or not of the knowledge comprises comparing the calculated uncertainty with a predetermined threshold value to determine the insufficiency or not of the knowledge on the basis of a result of the comparison.

7. The method of claim 5 , wherein the generating of the learning data comprises:

performing linear conversion on the calculated uncertainty to calculate a compensation value; and

obtaining learning data including the calculated compensation value from the database by using the embedding vector value as a query value.

8. The method of claim 1 , wherein the increasing of the knowledge comprises training the knowledge generating neural network and the dialogue generating neural network through unsupervised learning.

9. The method of claim 1 , wherein

the AI agent further comprises a value estimation neural network programmed to generate a parameter for training the knowledge generating neural network and the dialogue generating neural network through reinforcement learning on the basis of the knowledge and an accuracy of the answer, and

the increasing of the knowledge comprises further training the value estimation neural network on the basis of the generated learning data.

10. A knowledge increasing apparatus comprising:

a storage configured to store an artificial intelligence (AI) agent programmed to include a knowledge generating neural network for generating knowledge about a user query and a dialogue generating neural network for generating an answer to the user query on the basis of the knowledge; and

a processor configured to execute the AI agent stored in the storage,

wherein the AI agent comprises:

a preprocessor that converts each of a current user query, previous knowledge generated by the knowledge generating neural network, and a previous answer, generated by the dialogue generating neural network, into an embedding vector value having a specific dimension;

a calculator that calculates a plurality of output values corresponding to the embedding vector value by using the knowledge generating neural network with a dropout technique applied thereto and to calculate uncertainty of the knowledge generating neural network on the basis of the calculated plurality of output values; and

a sampler that linearly converts on the calculated uncertainty to calculate a compensation value, obtain learning data having the calculated compensation value from a database built through unsupervised learning, and train the knowledge generating neural network and the dialogue generating neural network on the basis of the obtained learning data to increase knowledge.

11. The knowledge increasing apparatus of claim 10 , wherein the calculator calculates first uncertainty occurring in a process of modeling data on the basis of an average of the plurality of output values, calculates second uncertainty caused by noise of the data on the basis of a variance of the plurality of output values, and summates the first uncertainty and the second uncertainty to calculate uncertainty of an output of the knowledge generating neural network.

12. The knowledge increasing apparatus of claim 10 , wherein the sampler compares the calculated uncertainty with a predetermined threshold value to determine the insufficiency or not of the knowledge on the basis of a result of the comparison, and when it is determined that the knowledge is insufficient, searches for the database to obtain the learning data.

13. The knowledge increasing apparatus of claim 10 , wherein the sampler obtains the learning data corresponding to insufficient knowledge from the database by using the embedding vector value as a query value.

14. The knowledge increasing apparatus of claim 10 , wherein the sampler trains the knowledge generating neural network and the dialogue generating neural network through unsupervised learning to increase knowledge.

15. The knowledge increasing apparatus of claim 10 , wherein

the AI agent further comprises a value estimation neural network programmed to generate a parameter for training the knowledge generating neural network and the dialogue generating neural network through reinforcement learning on the basis of the knowledge and an accuracy of the answer, and

the sampler further trains the value estimation neural network on the basis of the generated learning data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 27, 2021
From: KIM, HYUN WOO; PARK, JEON GUE; SONG, HWA JEON; OH, YOO RHEE; YOO, BYUNG HYUN; CHUNG, EUI SOK; HAN, RAN
To: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
Reel/Frame 056375/0853 →
Priority Claims (1)
KR 10-2020-0065489 · May 29, 2020 · national
Continuity (1)
Related Publication 20210374545A1 · Dec 2, 2021
References Cited (12)
US 20150100455A1 · Kitou et al. · 2015 [cited by applicant]
US 20180189655A1 · Oh et al. · 2018 [cited by applicant]
US 20180189679A1 · Kang et al. · 2018 [cited by applicant]
US 20190251184A1 · Shan · 2019 [cited by examiner]
US 20200086862A1 · Cui et al. · 2020 [cited by applicant]
US 20210012156A1 · Vijaykeerthy · 2021 [cited by examiner]
KR 101787611 · 2017 [cited by applicant]
WO 2017119997 · 2017 [cited by applicant]
Ding et al. “Incorporating Uncertainties in Student Response Modeling by Loss Function Regularization”, Preprint submitted to Neurocomputing, May 27, 2020, pp. 17. [cited by examiner]
Lakshminarayanan et al. “Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles”, NIPS, 2017, pp. 15. [cited by examiner]
Deepak Pathak et al., “Curiosity-driven Exploration by Self-supervised Prediction”, Proceedings of the 34th International Conference on Machine Learning. arXiv:1705.05363v1 [cs.LG], Aug. 2017, 12 pages. [cited by applicant]
H.J. Song, et al., “Self-Improving Artificial Intelligence Technology”, ETRI Electronics and Telecommunications Trends, 34-4, Aug. 2019. [cited by applicant]