hottub.patents
US 12,293,155 B2#2230790 Most CitedActiveUnited States (USPTO)Utility

Out-of-domain data augmentation for natural language processing

1Forward Citations (#2230790 Global)
1.0/yrCitation Velocity (#2230790 Global)
0.17Citation PageRank (#2230790 Global)
14Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

A method includes receiving a training set of utterances for training a machine-learning model to identify one or more intents for one or more utterances, and augmenting the training set of utterances with out-of-domain (OOD) examples. The augmenting includes: generating a data set of OOD examples, filtering out OOD examples from the data set of OOD examples, determining a difficulty value for each OOD example remaining within the filtered data set of the OOD examples, and generating augmented batches of utterances including utterances from the training set of utterances and utterances from the filtered data set of the OOD based on the difficulty value for each OOD. Thereafter, the machine-learning model is trained using the augmented batches of utterances in accordance with a curriculum training protocol.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 1.

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: receiving a training set of utterances comprising in-domain examples; augmenting the training set of utterances with out-of-domain (OOD) examples to generate augmented batches of utterances for training a machine-learning model, wherein the augmenting comprises: generating a data set of the OOD examples, filtering out a plurality of OOD examples from the data set of the OOD examples, based on a determination that context of each of the plurality of OOD examples has a substantial similarity to context of one or more of the utterances of the training set of utterances, and generating the augmented batches of utterances, each of the augmented batches of utterances comprising utterances from the training set of utterances and utterances from the filtered data set of the OOD examples; and training the machine-learning model using the augmented batches of utterances, wherein the trained machine-learning model is configured to, based on one or more ut

  2. Claim 2Depends on #1

    The computer-implemented method of claim 1, further comprising: determining a difficulty value for each OOD example remaining within the filtered data set of the OOD examples.

  3. Claim 3Depends on #2

    The computer-implemented method of claim 2, wherein the training the machine-learning model further comprises: inputting the augmented batches of utterances to the machine-learning model based on the difficulty values of the OOD examples within each batch of the augmented batches of utterances.

  4. Claim 4Depends on #3

    The method of claim 3, wherein the difficulty value is derived from the d_i value such that easy OOD examples will have a high d_i value, while hard OOD examples will have lower d_i values that are closer to the predetermined threshold.

  5. Claim 5Depends on #4

    The method of claim 4, wherein the augmented batches of utterances are generated based on at least one from among (i) a predetermined batch size, (ii) incorporation of a predetermined number of the in-domain examples from the training set of utterances within each augmented batch, (iii) incorporation of a predetermined number of the OOD examples of utterances from the filtered data set of the OOD examples within each augmented batch, (iv) the predetermined number of the in-domain examples and the predetermined number of the OOD examples of utterances are selected to maintain the predetermined batch size, (v) the OOD examples of utterances incorporated into each augmented batch have a substantially similar difficulty value, and (vi) each OOD example from the filtered data set of the OOD examples is incorporated into a single batch of the augmented batches of utterances.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising deploying the trained machine-learning model in a chatbot system.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the augmented batches of utterances are generated using a batch balancing scheme.

  8. Claim 8Independent Claim

    A system comprising: one or more processors; and a memory coupled to the one or more processors, the memory storing a plurality of instructions executable by the one or more processors, the plurality of instructions, when executed by the one or more processors, cause the one or more processors to perform operations including: receiving a training set of utterances comprising in-domain examples; augmenting the training set of utterances with out-of-domain (OOD) examples to generate augmented batches of utterances for training a machine-learning model, wherein the augmenting includes: generating a data set of the OOD examples, filtering out a plurality of OOD examples from the data set of the OOD examples, based on a determination that context of each of the plurality of OOD examples has a substantial similarity to context of one or more of the utterances of the training set of utterances, and generating the augmented batches of utterances, each of the augmented batches of utterances com

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/452,743, filed Oct. 28, 2021, which claims the benefit of the filing date of U.S. Provisional Application No. 63/119,526, filed Nov. 30, 2020, the disclosures of which are incorporated by reference herein in their entireties. FIELD The present disclosure relates generally to chatbot systems, and more particularly, to techniques for out-of-domain (OOD) data augmentation for training chatbot systems in natural language processing. BACKGROUND Many users around the world are on instant messaging or chat platforms in order to get instant reaction. Organizations often use these instant messaging or chat platforms to engage with customers (or end users) in live conversations. However, it can be very costly for organizations to employ service people to engage in live communication with customers or end users. Chatbots or bots have begun to be developed to simulate conversations with end users, especially over the Internet. End users can communicate with bots through messaging apps that the end users have already installed and used. An intelligent bot, generally powered by artificial intelligence (AI), can communicate more intelligently and contextually in live conversations, and thus may allow for a more natural conversation between the bot and the end users for improved conversational experience. Instead of the end user learning a fixed set of keywords or commands that the bot knows how to respond to, an intelligent bot may be able to understand the end user's intention based upon user utterances in natural language and respond accordingly. However, chatbots are difficult to build because these automated solutions require specific knowledge in certain fields and the application of certain techniques that may be solely within the capabilities of specialized developers. As part of building such chatbots, a developer may first understand the needs of enterprises a

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (14)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Yinfei Yang, Daniel Cer, Amin Ahmad, Mandy Guo, Jax Law, Noah Constant, Gustavo Hernandez Abrego, Steve Yuan, Chris Tar, Yun-Hsuan Sung, Brian Strope, Ray Kurzweil.
  • “
  • Multilingual Universal Sentence Encoder for Semantic Retrieval
  • ”
  • , Jul. 9, 2019, arXiv:1907.04307v1 (Year: 2019).
  • U.S. Appl. No. 17/452,742, Notice of Allowance, Mailed on Jul. 18, 2024, 11 pages.
  • U.S. Appl. No. 17/452,742, Final Office Action, Mailed on Mar. 26, 2024, 22 pages.
  • U.S. Appl. No. 17/452,742, Non-Final Office Action, Mailed on Dec. 27, 2023, 46 pages.
  • Abulaish et al.,
  • “