hottub.patents
US 12,299,402 B2#3549129 Most CitedActiveUnited States (USPTO)Utility

Techniques for out-of-domain (OOD) detection

0Forward Citations (#3549129 Global)
0.0/yrCitation Velocity (#3549129 Global)
0.00Citation PageRank (#3549129 Global)
26Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

The present disclosure relates to techniques for identifying out-of-domain utterances. One particular technique includes receiving an utterance and a target domain of a chatbot, generating a sentence embedding for the utterance, obtaining an embedding representation for each cluster of in-domain utterances associated with the target domain, predicting, using a metric learning model, a first probability that the utterance belongs to the target domain based on a similarity or difference between the sentence embedding and each embedding representation for each cluster, predicting, using an outlier detection model, a second probability that the utterance belongs to the target domain based on a determined distance or density deviation between the sentence embedding and embedding representations for neighboring clusters, evaluating the first probability and the second probability to determine a final probability, and classifying the utterance as in-domain or out-of-domain for the chatbot based on the final probability.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: generating an embedding for an input utterance; predicting, based on the embedding and a distance or density algorithm, a first probability as to whether the input utterance belongs to a target domain of a chatbot; predicting, based on the embedding and a deep learning network, a second probability as to whether the input utterance belongs to the target domain of the chatbot; determining, based on the first probability and the second probability, a final probability as to whether the input utterance belongs to the target domain of the chatbot; and classifying, based on the first probability and the second probability, the input utterance is an in-domain utterance or out-of-domain utterance for the chatbot.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the first probability is predicted based on a distance or density deviation between the embedding and embedding representations for clusters of in-domain utterances associated with the target domain.

  3. Claim 3Depends on #2

    The method of claim 2, wherein each embedding representation of the embedding representations for the clusters is associated with a respective cluster of the clusters.

  4. Claim 4Depends on #2

    The method of claim 2, wherein the embedding representations for the clusters are obtained by generating a sentence embedding for each in-domain utterance of the in-domain utterances and inputting the sentence embedding for each in-domain utterance into an unsupervised clustering model configured to identify clusters.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the second probability is predicted based on a similarity or difference between the embedding and embedding representations for clusters of in-domain utterances associated with the target domain.

  6. Claim 6Depends on #5

    The method of claim 5, wherein each embedding representation of the embedding representations for the clusters is associated with a respective cluster of the clusters.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the deep learning network comprises at least one of a stacked highway network and a combination of a linear model and a deep neural network.

  8. Claim 8Independent Claim

    A computer-program product tangibly embodied in a non-transitory machine-readable storage medium, including instructions configured to cause one or more data processors to perform actions including: generating an embedding for an input utterance; predicting, based on the embedding and a distance or density algorithm, a first probability as to whether the input utterance belongs to a target domain of a chatbot; predicting, based on the embedding and a deep learning network, a second probability as to whether the input utterance belongs to the target domain of the chatbot; determining, based on the first probability and the second probability, a final probability as to whether the input utterance belongs to the target domain of the chatbot; and classifying, based on the first probability and the second probability, the input utterance is an in-domain utterance or out-of-domain utterance for the chatbot.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 18/364,298, filed Aug. 2, 2023, which is a continuation of U.S. patent application Ser. No. 17/217,909, filed Mar. 30, 2021, which claims the benefit and priority of U.S. Provisional Application No. 63/002,139, filed Mar. 30, 2020. The entire contents of the aforementioned applications are incorporated herein by reference for all purposes. FIELD OF THE INVENTION The present disclosure relates generally to chatbot systems, and more particularly, to improved techniques for identifying out-of-domain (OOD) utterances. 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

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

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (26)

PatentTitleYearCitations

Non-Patent Literature (8)

  • Office Action received in Japanese Patent Application No. 2022-559631; 3 pages.
  • U.S. Appl. No. 17/217,909, Non-Final Office Action Action mailed on Apr. 18, 2023, 15 pages.
  • U.S. Appl. No. 17/217,909, Notice of Allowance Action mailed on Jun. 8, 2023, 27 pages.
  • U.S. Appl. No. 18/364,298, Notice of Allowance Action mailed on Apr. 10, 2024, 15 pages.
  • Kim , et al., Joint Learning of Domain Classification and Out-of-Domain Detection with Dynamic Class Weighting for Satisficing False Acceptance Rates, Available online at: https://arxiv.org/pdf/1807.00072.pdf, Jun. 29, 2018, 6 pages.
  • Lane , et al., Out-of-Domain Utterance Detection Using Classification Confidences of Multiple Topics, Institute of Electrical and Electronics Engineers, Transactions on Audio, Speech, and Language Processing, vol. 15, No. 1, Jan. 1, 2007, pp. 150-161.
  • International Application No. PCT/US2021/024917, International Preliminary Report on Patentability mailed on Oct. 13, 2022, 9 pages.
  • International Application No. PCT/US2021/024917, International Search Report and Written Opinion mailed on Jul. 12, 2021, 13 pages.