IP Library Granted Patent US 12,468,938
Granted Patent B2
US 12,468,938 · App. 17/480,398 · Granted Nov 11, 2025

Training example generation to create new intents for chatbots

Inventors: Paulo Rodrigo Cavalin (Rio de Janeiro, BR); Ana Paula Appel (Sao Paulo, BR); Bruno Silva (Sao Paulo, BR); Renato Luiz de Freitas Cunha (Sao Paulo, BR)
Assignee: International Business Machines Corporation
G06N3/08G06F16/2455G06N3/006G06N3/042
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,468,938
App. No.
17/480,398
Granted
Nov 11, 2025
Kind
B2
Abstract

A topic for building a new intent on which to train a chatbot can be received. A database of chatbot training data can be searched for a candidate intent having meta-knowledge similar to the received topic. Utterances associated with the candidate intent can be extracted. The received topic and the extracted utterances can be input to a trained machine learning model. The trained machine learning model generates example utterances for the new intent. The new intent with the generated example utterances can be used as training data for training the chatbot.

Claims (46)

1 . A computer-implemented method comprising:

receiving a topic for building a new intent on which to train a chatbot;

mapping the received topic to meta-knowledge based on similarity of the topic and the meta-knowledge;

searching a database of chatbot training data for a candidate intent having the meta-knowledge;

extracting utterances associated with the candidate intent; and

inputting the received topic and the extracted utterances to a trained machine learning model, the trained machine learning model generating example utterances for the new intent, the trained machine learning model having been trained to convert a first intent to a second intent based on: a plurality of pairs of input samples, a pair of input sample in the plurality of pairs of input samples comprising a training utterance and a training utterance's meta-knowledge associated with the first intent, and using as ground truth a plurality of second intent's examples and associated meta-knowledge;

discarding an example utterance from the generated example utterances responsive to determining that the example utterance is similar, based on a threshold level of similarity, to an extracted utterance of the extracted utterances used as input in training the machine learning model;

presenting via a graphical user interface the at least the example utterances for validation of the example utterances;

training the chatbot using at least the example utterances without the discarded example utterance, generated by the trained machine learning model; and

automatically updating knowledge and retraining of the chatbot using a set of intents that includes the first intent and the converted second intent thereby causing the chatbot to interact with a user by carrying on a conversation associated with the new intent that is different from a previous intent.

2 . The method of claim 1 , wherein the extracted utterances include a question associated with the candidate intent, and wherein the example utterances generated by the trained machine learning model include a question associated with the topic,

the method further including generating an answer to the question by at least searching an external network for the answer for responding to the question associated with the topic, wherein the generated answer with the question is used in training the chatbot.

3 . The method of claim 2 , further including validating the answer.

4 . The method of claim 1 , wherein the machine learning model includes a neural network.

5 . A system comprising:

a hardware processor; and

a memory device coupled with the hardware processor,

the hardware processor configured to at least:

receive a topic for building a new intent on which to train a chatbot;

map the received topic to meta-knowledge based on similarity of the topic and the meta-knowledge;

search a database of chatbot training data for a candidate intent having the meta-knowledge;

extract utterances associated with the candidate intent; and

input the received topic and the extracted utterances to a trained machine learning model, the trained machine learning model generating example utterances for the new intent, the trained machine learning model having been trained to convert a first intent to a second intent based on: a plurality of pairs of input samples, a pair of input sample in the plurality of pairs of input samples comprising a training utterance and a training utterance's meta-knowledge associated with the first intent, and using as ground truth a plurality of second intent's examples and associated meta-knowledge;

discard an example utterance from the generated example utterances responsive to determining that the example utterance is similar, based on a threshold level of similarity, to an extracted utterance of the extracted utterances used as input in training the machine learning model;

present via a graphical user interface the at least the example utterances for validation of the example utterances;

train the chatbot using at least the example utterances without the discarded example utterance, generated by the trained machine learning model; and

automatically update knowledge and retrain the chatbot using a set of intents that includes the first intent and the converted second intent thereby cause the chatbot to interact with a user by carrying on a conversation associated with the new intent that is different from a previous intent.

6 . The system of claim 5 , wherein the extracted utterances include a question associated with the candidate intent, and wherein the example utterances generated by the trained machine learning model include a question associated with the topic, wherein the hardware processor is further configured to generate an answer to the question by at least searching an external network for the answer for responding to the question associated with the topic, wherein the generated answer with the question is used in training the chatbot.

7 . The system of claim 6 , wherein the hardware processor is further configured to validate the answer.

8 . The system of claim 5 , wherein the trained machine learning model includes a neural network.

9 . The system of claim 5 , wherein the trained machine learning model is trained based on input data including intents and associated utterances, wherein the trained machine learning model is trained to, given a new intent topic, generate example utterances associated with the new intent topic.

10 . A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a device to cause the device to:

receive a topic for building a new intent on which to train a chatbot;

map the received topic to meta-knowledge based on similarity of the topic and the meta-knowledge;

search a database of chatbot training data for a candidate intent having meta-knowledge similar to the received topic;

extract utterances associated with the candidate intent; and

input the received topic and the extracted utterances to a trained machine learning model, the trained machine learning model generating example utterances for the new intent, the trained machine learning model having been trained to convert a first intent to a second intent based on:

a plurality of pairs of input samples, a pair of input sample in the plurality of pairs of input samples comprising a training utterance and a training utterance's meta-knowledge associated with the first intent, and using as ground truth a plurality of second intent's examples and associated meta-knowledge;

discard an example utterance from the generated example utterances responsive to determining that the example utterance is similar, based on a threshold level of similarity, to an extracted utterance of the extracted utterances used as input in training the machine learning model;

present via a graphical user interface the at least the example utterances for validation of the example utterances;

train the chatbot using at least the example utterances without the discarded example utterance, generated by the trained machine learning model; and

automatically update knowledge and retrain the chatbot using a set of intents that includes the first intent and the converted second intent thereby cause the chatbot to interact with a user by carrying on a conversation associated with the new intent that is different from a previous intent.

11 . The computer program product of claim 10 , wherein the extracted utterances include a question associated with the candidate intent, and wherein the example utterances generated by the trained machine learning model include a question associated with the topic, wherein the device is further configured to generate an answer to the question by at least searching an external network for the answer for responding to the question associated with the topic, wherein the generated answer with the question is used in training the chatbot.

12 . The computer program product of claim 11 , wherein the device is further caused to validate the answer.

13 . The computer program product of claim 10 , wherein the trained machine learning model includes a neural network.

14 . The computer program product of claim 10 , wherein the trained machine learning model is trained based on input data including intents and associated utterances, wherein the trained machine learning model is trained to, given a new intent topic, generate example utterances associated with the new intent topic.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 21, 2021
From: RODRIGO CAVALIN, PAULO; APPEL, ANA PAULA; SILVA, BRUNO; DE FREITAS CUNHA, RENATO LUIZ
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 057544/0563 →
Continuity (1)
Related Publication 20230092274A1 · Mar 23, 2023
References Cited (44)
US 6959417B2 · Gupta · 2005 [cited by applicant]
US 7249117B2 · Estes · 2007 [cited by applicant]
US 8103735B2 · Adams et al. · 2012 [cited by applicant]
US 8935150B2 · Christ · 2015 [cited by applicant]
US 8949132B2 · Bangalore et al. · 2015 [cited by applicant]
US 9621601B2 · Johnson, Jr. et al. · 2017 [cited by applicant]
US 10127274B2 · Moreno et al. · 2018 [cited by applicant]
US 10339453B2 · Balani et al. · 2019 [cited by applicant]
US 10460042B2 · Byron et al. · 2019 [cited by applicant]
US 10498898B2 · Mazza et al. · 2019 [cited by applicant]
US 10592504B2 · Moreno et al. · 2020 [cited by applicant]
US 10769380B2 · Reiter · 2020 [cited by applicant]
US 10916237B2 · Yan et al. · 2021 [cited by applicant]
US 11194966B1 · Appel et al. · 2021 [cited by applicant]
US 11562028B2 · Appel et al. · 2023 [cited by applicant]
US 11677692B2 · Rodrigo Cavalin et al. · 2023 [cited by applicant]
US 20110125734A1 · Duboue et al. · 2011 [cited by applicant]
US 20140279050A1 · Makar et al. · 2014 [cited by applicant]
US 20160260029A1 · Gelfenbeyn et al. · 2016 [cited by applicant]
US 20170235841A1 · Li et al. · 2017 [cited by applicant]
US 20180025726A1 · Gatti De Bayser et al. · 2018 [cited by applicant]
US 20180052664A1 · Zhang et al. · 2018 [cited by applicant]
US 20180131645A1 · Magliozzi et al. · 2018 [cited by applicant]
US 20190124020A1 · Bobbarjung et al. · 2019 [cited by applicant]
US 20190361977A1 · Crudele · 2019 [cited by examiner]
US 20200111486A1 · Gelfenbeyn et al. · 2020 [cited by applicant]
US 20200142719A1 · Akbulut et al. · 2020 [cited by applicant]
US 20210082400A1 · Vishnoi · 2021 [cited by examiner]
US 20210304733A1 · Jalaluddin · 2021 [cited by examiner]
US 20210390951A1 · Gadde · 2021 [cited by examiner]
US 20220021630A1 · Goyal · 2022 [cited by examiner]
US 20220139372A1 · Muschett · 2022 [cited by examiner]
CN 105144040B · 2018 [cited by applicant]
JP 2019506659A · 2019 [cited by applicant]
KR 20170046611A · 2017 [cited by applicant]
KR 20190055425A · 2019 [cited by applicant]
Pinhanez, C., et al., “Using Meta-Knowledge Mined from Identifiers to Improve Intent Recognition in Neuro-Symbolic Algorithms”, arXiv:2012.09005v1, Dec. 16, 2020, 9 pages. [cited by applicant]
Acharya, S., et al., “Using Optimal Embeddings to Learn New Intents with Few Examples: An Application in the Insurance Domain”, KDD Converse'20, Aug. 2020, 8 pages. [cited by applicant]
Liu, X., et al., “metaCAT: A Metadata-based Task-oriented Chatbot Annotation Tool”, In Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th Internat… [cited by applicant]
Bradesko, L., et al., “Curious Cat-Mobile, Context-Aware Conversational Crowdsourcing Knowledge Acquisition”, ACM Transactions on Information Systems (TOIS), 2017, 49 pages, 35(4). [cited by applicant]
Schmitt, T., et al., “Improving NLU Training over Linked Data with Placeholder Concepts”, https://link.springer.com/chapter/10.1007/978-3-030-33220-4_6, First Online Nov. 4, 2019, Semantics 2019, pp. 67-82, LNCS 11702. [cited by applicant]
Rasa Technologies Inc., “Open source conversational Al”, https://rasa.com/, Accessed on Sep. 21, 2021, 10 pages. [cited by applicant]
Wong, E., et al., “AutoComment: Mining Question and Answer Sites for Automatic Comment Generation”, 2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE 2013), Nov. 11-15, 2013, pp. 562-567. [cited by applicant]
Rao, S., “Answer-based Adversarial Training for Generating Clarification Questions”, arXiv:1904.02281v1, Apr. 4, 2019, 14 pages. [cited by applicant]
Cited By (1)
US 12,707,009