Elamur Research

HINT3: Raising the bar for Intent Detection in the Wild

Paper · 2020 · Gaurav Arora, Chirag Jain, Manas Chaturvedi et al.

Summary

A customer can ask a chatbot a perfectly clear question and still receive an irrelevant answer. The system may recognize the product and miss what the customer wants to know about it. It may also assign a familiar label to a request the service has no way to handle. HINT3 brings both problems into a benchmark for intent detection, the task of assigning a user’s message to a category the service can act on. The authors assembled datasets from live services in mattress retail, fitness supplement retail and online gaming. The test sets use users’ opening messages, including requests that fell outside the services’ supported categories.

The training examples came from domain experts who studied historical queries and wrote examples of how users might express each intent. The authors released both the Full training sets and smaller Subset versions. To construct a Subset, they compared examples carrying the same label and used a textual entailment scorer to identify pairs that conveyed similar information in both directions. This gave them a way to ask whether a classifier could learn from a more compact collection of examples and still recognize the variety of requests encountered in service. They tested Dialogflow, LUIS, Rasa and Haptik, as well as a classifier built with BERT.

The paper reports best overall accuracies in the early 70s. At the permissive rejection threshold of 0.1, the leading in-scope accuracies with Full training were 73.5 on SOFMattress, 84.0 on Curekart and 66.5 on Powerplay11. Each figure measures how frequently the system assigned the correct intent on test messages that had a supported label. Every system scored lower on that measure when trained on the corresponding Subset. Changing the confidence threshold also exposed a difficulty on SOFMattress. Most systems gave high scores to a substantial share of unsupported requests, while LUIS’s greater willingness to reject them came at a cost to its accuracy on supported requests.

The errors show what can go wrong even when part of a message is familiar. In the mattress data, several platforms routed a price question to a product-features category. They treated questions about delivery during lockdown as questions about delivery to a postcode. The authors interpret such cases as evidence that incidental associations in the training data can drive predictions. HINT3 makes those associations easier to find by evaluating both intent assignment and rejection on the kinds of messages users actually send. The authors released the datasets and evaluation code under the HINT3 name.

Deep dive: HINT3: Raising the bar for Intent Detection in the Wild

HINT3 tests intent detection on messages from live chatbots and shows where classifiers misread requests or fail to reject unsupported ones. · about 31 minutes to read

The problem and its context

What an intent label is supposed to capture

In a task-oriented dialogue system, an incoming message has to be connected to a response or action the service supports. A mattress retailer might offer an explanation of a trial, help with calculating a price or information about how an item is delivered. The intent detector’s job is to decide which of those categories fits the message. In that sense, intent detection is a form of text classification. The labels are defined for a particular service, and the prediction expresses a judgment about what the user is trying to accomplish within it.

A category can cover a wide family of requests, or it can describe an action in a particular set of circumstances. A general offers category might cover several questions about discounts. A separate trial category can give a particular promotion its own route through the service. The difference matters when a customer mentions a product, an offer and a payment arrangement in the same message. Each detail may be useful to a business. The detector has to assign the label attached to the customer’s purpose under the service’s chosen division of responsibilities.

That division is partly an operational choice. A business can make a particular promotion a separate intent because it has a distinct answer. Another business could handle promotion questions together. The words customers use can stay the same across those designs, even as the expected labels change. Intent recognition therefore combines a problem about language with a problem about the categories an organization has defined. Correctly reading the words helps with both, but the classification target also depends on what those categories mean locally.

The authors situate intent detection within natural language understanding, the part of the system concerned with interpreting a message for downstream use. A detector can make an error at several points in the routing decision. It might overlook the phrase that expresses the request, attach too much importance to a product name or mistake a circumstance mentioned by the user for the subject of the question. It can also be asked to choose between categories whose descriptions give people difficulty. Those errors look similar in an accuracy total, which simply records whether the chosen label matches the assigned one.

The boundary of a service

A live service also receives messages for which its intent inventory offers no suitable response. HINT3 calls these out of scope. A request can be in the right commercial domain and still fall outside the chatbot’s function. For a retailer, a question about an unusual delivery restriction can be recognizably about the retailer’s operations while falling outside the available delivery intents. Topical relevance helps distinguish a mattress question from an unrelated message. It offers less guidance when the two candidate judgments are a supported question about mattress delivery and an unsupported question about the same activity.

This creates a second decision alongside selection of the best intent. The system needs some basis for deciding whether that best candidate is good enough to use. A score that ranks familiar labels can identify the closest available category even when every category is a poor fit. In an interface where the prediction triggers a response, that distinction determines whether the user receives an answer about the intended task, an answer about an adjacent task or a rejection. Testing only on inputs chosen to fit known intents leaves the decision to reject mostly unexamined.

Variation in expression complicates both decisions. A user may refer to a service in language shaped by what they saw when the chatbot was made available, by an assumption about the business or by habits of informal messaging. The authors also point to cultural differences in expression among people using the same language. Domain experts can anticipate some of this variation by examining earlier requests. Any set of examples they author still reflects judgments about which phrasings will occur and which details are likely to distinguish the categories.

The composition of training data matters for a related reason. A collection can contain many examples for one intent and relatively few for another. Some recurring words can become closely associated with a class because an author repeatedly uses the same phrasing or writes several examples about a particular aspect of the service. During training, those associations may help distinguish the supplied labels. Deployment puts pressure on the association when a customer uses the same words to express a different purpose or expresses the familiar purpose without the usual words.

What earlier benchmarks measured

The paper describes prior intent benchmarks as covering different parts of this problem. Web Apps, Ask Ubuntu and Chatbot contained requests collected from users, but the authors characterize their intent inventories as small, at fewer than 10 intents. A compact inventory limits the number of categories a detector must distinguish. It can still support meaningful evaluation, particularly for the service it represents. The authors wanted a test with more room for neighboring intents and differences in how finely a domain’s activities were divided.

HWU64 and CLINC150 addressed breadth with many intents across multiple domains. Their data came from crowdsourcing, a procedure in which people are asked to supply examples for a dataset. The HINT3 authors argue that an example elicited for an assigned intent comes from a different situation than an opening message addressed to an actual service. In the former, the contributor is working within the collection task. In the latter, the sender arrives with their own purpose, their own assumptions about the service and no obligation to use the expected vocabulary. The distinction matters especially for requests that a dataset designer might have difficulty anticipating.

CLINC150 is an important precedent in the paper because it already tests out-of-scope prediction. HINT3 takes up the same broad question under different collection conditions. Its unsupported requests arrive through live systems, where the researchers can encounter messages that sound highly relevant to the domain. The construction therefore puts some of the work of choosing difficult cases in the hands of users, whose reasons for contacting a business may cut across the categories the service was designed to handle.

The authors also compare HINT3 with BANKING77, discussed in Efficient Intent Detection with Dual Sentence Encoders. BANKING77 shares its focus on distinctions within a single domain. HINT3 follows that idea separately for each service. A classifier working within mattress retail cannot separate intents simply by recognizing that an input is about a mattress. That common subject is already shared by several labels. It must do more with the part of the message that specifies a price question, a trial inquiry or another objective.

In the authors’ account, HWU64, CLINC150 and BANKING77 offer relatively large, well-balanced training sets. That makes them useful settings for comparing intent classification under substantial supervision. The cost of establishing a similarly balanced inventory for a new service is part of the practical problem HINT3 takes up. Experts have to define the classes and write suitable examples, and the distinctions they choose may vary in granularity. A benchmark that preserves uneven coverage tests what happens under a different training condition from one in which each intent receives comparable attention.

The paper connects the strong results reported on established in-scope benchmarks to advances in transfer learning. In this setting, transfer means starting with language representations learned from another training objective and adapting them to labeled intent examples. HINT3 retains a system built on that approach for comparison with the chatbot platforms. Its main change lies in how the evaluation is constructed. The authors bring together uneven expert-authored training data, opening messages from users and a requirement to handle unsupported requests. The resulting questions concern which distinctions survive that combination and which break down under it.

The method, step by step

Building an evaluation around each service

HINT3 treats each chatbot as a separate classification problem with its own inventory. SOFMattress represents mattress retail, Curekart covers fitness supplements and Powerplay11 concerns online gaming. Each domain supplies the context in which a label is meaningful. The retail examples illustrate how an intent can refer to a general kind of assistance, such as recommending a product, or to a defined offer. The gaming examples include requests whose vocabulary is closely tied to how people use the service. These are different settings for testing intent discrimination within a domain.

The basic data arrangement gives the systems written examples of supported requests at training time and opening messages from users at test time. This difference is central to the design. An expert can choose a clear instance of an intent to teach its scope. A user can mention reasons for asking, provide measurements or product details, make a spelling error or assume the service knows what they are referring to. The trained detector has to decide which parts of that message matter for the label.

How HINT3 builds and evaluates its benchmarks

The steps in order.

How HINT3 builds and evaluates its benchmarksStep 1: Define supported intents for each chatbot1. Define supported intents for each chatbotStep 2: Write training examples informed by historical queries2. Write training examples informed by historical queriesStep 3: Remove mutually entailing examples for Subset training3. Remove mutually entailing examples for Subset trainingStep 4: Label opening messages from live chatbots4. Label opening messages from live chatbotsStep 5: Train systems on each training variant5. Train systems on each training variantStep 6: Sweep confidence thresholds for out-of-scope rejection6. Sweep confidence thresholds for out-of-scope rejectionStep 7: Measure intent assignment and rejection on test messages7. Measure intent assignment and rejection on test messages

Writing the training examples

The training material was prepared by people with knowledge of the domains. They examined historical queries and used that research to write examples resembling requests from users. Each example belonged to an intent the corresponding service was meant to handle. Researching earlier messages makes this more informed than writing examples from a label name alone. The experts still had to decide which parts of observed requests were worth reproducing and which phrases to use to represent a class.

The training procedure gave each service an inventory of supported intents. Highly similar or conflicting categories were manually merged during preparation. Even after this work, broad and narrow categories could intersect in how they applied to a real message. The examples consequently serve two functions. They provide language from which a classifier can learn, and they illustrate the distinctions the experts intend the classifier to make. When definitions are close, the examples carry more of the burden of conveying where one label ends and another begins.

All training queries were in English. They included domain-specific terms and abbreviations and were unevenly distributed across classes. The authors also chose to omit a separately authored collection of unsupported training requests. They describe the universe of such requests as too broad to represent by enumerating examples. Under the reported procedure, the contents of the training sets teach the systems about supported classes. The task of rejecting an input is handled at evaluation through a confidence threshold on the intent prediction.

This arrangement changes what it means for a message to be hard. A class with few examples can be hard because the detector has limited evidence about how it may be expressed. A message can also be hard because it resembles a well-represented class that happens to be the wrong one. Both situations arise among classes that the experts have already defined. For unsupported requests, the input poses a further problem because the desired outcome is to withhold an assignment to any supported label.

Selecting the smaller training sets

The Full set for each service contains the expert-authored examples before the entailment filter is applied. Its Subset is built independently within each intent. The authors first keep the initial query in the class. They then consider each subsequent query in order and compare it with the examples already retained. A candidate is discarded if it scores above 0.6 in both directions with any such example. A retained candidate becomes part of the collection against which later candidates are compared.

Textual entailment concerns whether the information in a premise supports a hypothesis. Here the authors use a scorer trained for that task as a way of comparing two requests. The scorer takes text in two roles, and reversing those roles can change the result. A detailed request may contain enough information to support a more general description, while the general description gives little reason to expect the additional details. Requiring strong support in both directions seeks a narrower relationship, closer to two phrasings conveying the same information.

The operation is applied within a class because the question is whether several examples illustrate essentially the same point about that intent. A pair of similar requests with different assigned labels could present a different problem, such as overlap between the categories. The procedure leaves such cross-class pairs outside its comparisons. It also leaves the inventory intact by retaining the first query for each class. The intervention changes which examples are used to teach the categories while preserving the categories themselves.

The authors used a scorer based on ELMo, from Deep Contextualized Word Representations, trained on SNLI. SNLI is the annotated entailment corpus introduced in A large annotated corpus for learning natural language inference. The paper also cites A Decomposable Attention Model for Natural Language Inference in describing the scoring setup. The entailment scorer has a role in data selection. The downstream systems are evaluated on their own decisions about intent and scope.

The paper expresses the intended property of the retained examples as follows.

E(xₐ, xᵦ) ≤ 0.6 ∧ E(xᵦ, xₐ) ≤ 0.6;  a ≠ b,  a ∈ [1, |X̂ᵢ|],  b ∈ [1, |X̂ᵢ|],  ∀ i ∈ I

Here I is the set of intents, i identifies a particular intent and X̂ᵢ is the set of queries kept for that intent. The bars in |X̂ᵢ| denote the number of retained queries. The indices a and b range from 1 through that number, and a ≠ b makes them refer to distinct members. The expressions xₐ and xᵦ denote the queries at those indices within the class. The notation ∀ i ∈ I applies the condition to every intent in the inventory.

The function E gives a directed entailment score, with its first argument serving as the hypothesis and its second as the premise. Swapping those arguments gives the score in the reverse direction. The symbol ≤ allows a score equal to or below the cutoff of 0.6, and ∧ requires both inequalities to hold. The written condition is stronger than the discard rule described in prose. That rule removes a pair when both entailment scores exceed the cutoff, so it can leave a pair whose scores fall on opposite sides. The formula would exclude that pair as well. This distinction matters for reproducing the selection exactly.

The step-by-step procedure also gives earlier examples priority. Once an example has been kept, the next one is judged against it. If several examples serve much the same purpose and the scorer recognizes them as similar, the result can depend on which phrasing was encountered first. The authors use the smaller set as a test of whether exposure to a representative formulation can support later recognition of related requests. The choice of representative, the judgments of the entailment scorer and the reduction in the number of examples are all part of that intervention.

Labeling the user messages

The test data came from the first message users sent to the live systems over a period of 15 days. Studying an opening turn gives each evaluation item a clear starting point. It is the message available for initial routing, before an exchange could give more context or let the user clarify their purpose. The resulting collection includes informal language, abbreviations, spelling and grammar errors, and messages mixing languages. In this setup such variation comes from ordinary use of the services.

Through linguistic annotation, the authors assigned a supported label where the service had a suitable category and an out-of-scope label otherwise. Domain experts resolved conflicts among annotators. The paper attributes much of the disagreement to uncertainty about intent definitions, particularly when a narrow label and a broader category could both plausibly describe a request. The resolution step establishes a single reference for scoring. The initial disagreements provide information about where that reference was difficult to establish.

The out-of-scope category covers more than requests on an unrelated subject. Users can ask a relevant question that the actual service was never meant to answer. The authors also assigned the out-of-scope label to messages written in non-Latin scripts and to code-mixed messages. The datasets thus combine limits of service coverage and a language rule under the same rejection label. The authors replaced identifying user and brand information with invented values in both training and test material.

Assigning intents and deciding when to reject

The evaluation uses the intent scores supplied by each system. An input receiving sufficient confidence can be assigned a supported intent. At lower confidence the rejection rule returns the out-of-scope label. This makes it possible to evaluate recognition and rejection with the same trained classifier. The system is asked to do both jobs using the strength of its preference among categories it has been trained to recognize.

The authors sweep the confidence threshold from 0.1 to 0.9, in increments of 0.1. A low cutoff makes the system more willing to commit to an intent. That setting can reveal how well the system ranks the correct label when rejection is relatively permissive. A higher cutoff demands stronger support before accepting the assignment. The performance curves across this range show how much correct rejection can be gained as the system becomes less willing to answer, and what happens to the supported requests at the same settings.

Confidence is useful for rejection only insofar as it helps separate the cases that ought to be accepted from those that ought to be declined. If an unsupported question receives a strong score for a nearby intent, increasing the cutoff may also reject supported requests with comparable scores. A single score can rank the supported labels by plausibility while being a poor indicator of whether any label is appropriate. The sweep puts that possibility into the evaluation without requiring the reader to treat one threshold as universally suitable.

The comparison includes Dialogflow, LUIS, Rasa and Haptik. The BERT classifier provides a separate point of comparison using a pretrained system adapted to these intent labels. For that classifier, fine-tuning updated all BERT layers. The authors report a learning rate of 4e-5, training for up to 50 epochs, a warmup period of 0.1 and early stopping. These settings govern the size of parameter updates, the upper limit on passes through the training set, the initial warmup and the option of ending training before the limit, respectively. The same Full-versus-Subset question is asked of the platforms and the fine-tuned classifier.

Experiments and results

How much data each system sees

SOFMattress has 21 intents. Its Full training set contains 328 queries and its Subset contains 180. The test set comprises 231 in-scope and 166 out-of-scope queries. Those counts describe distinct parts of the experiment. The training counts specify how much labeled material a system receives in the two conditions. The test counts specify how many opening messages contribute to accuracy on supported requests and recall on unsupported ones.

Curekart has 28 intents, with 600 queries in Full training and 413 in Subset training. Its test set has 452 in-scope queries and 539 out-of-scope queries. Powerplay11 has 59 intents, with 471 Full training queries and 261 Subset training queries. Its test set contains 275 in-scope and 708 out-of-scope queries. A detector can encounter many requests requiring rejection in either of these domains. On Powerplay11, that part of the test set is particularly prominent.

The test sets also differed in how readily annotators agreed. The paper reports inter-annotator agreement of 75.8% for SOFMattress, 80.0% for Curekart and 73.4% for Powerplay11. These percentages concern judgments about the test labels, before conflicts were resolved. They are separate from the scores of the tested systems. A score for a system compares its predictions with the resolved labels. The agreement percentages give some indication of how much judgment could go into establishing those labels in the first place.

Several aspects of the datasets vary at once. Powerplay11 has the largest intent inventory and fewer Full training queries than Curekart. Curekart and Powerplay11 both contain more unsupported than supported test messages, whereas the order is reversed for SOFMattress. These differences matter because intent assignment depends on the labels and examples available in training, while overall accuracy also depends on how often the test set calls for a rejection. A score for a service is a result under that combination of training and test conditions.

Which metric answers which question

The paper uses overall accuracy and Matthews correlation coefficient, or MCC, across the full classification problem. Overall accuracy asks how frequently the predicted outcome matches the resolved label, including when that outcome is rejection. MCC measures association between the predictions and the reference labels, giving another view of the overall relationship between the two sets of assignments in an evaluation with uneven label frequencies. The paper presents both across thresholds for the systems trained on the Full and Subset variants.

The authors also divide performance according to the status of the test input. In-scope accuracy measures the share of supported messages assigned their correct intent. An accepted message with the wrong supported label is an error, as is a supported message that gets rejected. Out-of-scope recall measures the share of unsupported inputs correctly rejected. It is calculated over the unsupported messages, so a system can score well on it by being willing to reject broadly. Reading it alongside in-scope accuracy shows how much supported traffic the same decision rule can still handle.

This distinction is important because a useful threshold has to manage both kinds of traffic. If the evaluation records only success on known intents, the classifier has an incentive to assign a label even when the available choices fit poorly. If it records only success on unsupported messages, widespread rejection looks attractive. The paired measurements let the reader see how a particular threshold balances intent assignment against rejection. Overall accuracy then describes the combined outcome for the particular mix of requests in the test set.

Across the benchmark, the authors describe the best overall accuracies as being in the early 70s. The best MCC values for the datasets range from 0.4 to 0.6. These results concern the evaluation over supported and unsupported requests together. The low-threshold comparison below concerns the supported part alone and asks a more specific question. It gives the systems a permissive cutoff and examines how frequently their estimated best label is the right one for a message with a defined intent.

The results at a permissive cutoff

At a threshold of 0.1, the authors report Full and Subset in-scope accuracy for every system on every dataset. They use that setting to make rejection a comparatively small obstacle to assigning a label. This diagnostic focuses attention on whether the systems can identify the correct supported intent when the test item has one. Its chosen metric leaves aside the consequences of accepting unsupported messages at the same cutoff, which are examined through the threshold curves.

SOFMattress test in-scope accuracy at threshold 0.1

BERT leads with Full training and Dialogflow leads with Subset training.

SOFMattress test in-scope accuracy at threshold 0.1Dialogflow Full: 73.1Dialogflow Full73.1Dialogflow Subset: 65.3Dialogflow Subset65.3Rasa Full: 69.2Rasa Full69.2Rasa Subset: 56.2Rasa Subset56.2LUIS Full: 59.3LUIS Full59.3LUIS Subset: 49.3LUIS Subset49.3Haptik Full: 72.2Haptik Full72.2Haptik Subset: 64.0Haptik Subset64.0BERT Full (this paper): 73.5BERT Full (this paper)73.5BERT Subset: 57.1BERT Subset57.1
The numbers
System or settingaccuracy %
Dialogflow Full73.1
Dialogflow Subset65.3
Rasa Full69.2
Rasa Subset56.2
LUIS Full59.3
LUIS Subset49.3
Haptik Full72.2
Haptik Subset64.0
BERT Full (this paper)73.5
BERT Subset57.1

On SOFMattress, BERT, Dialogflow and Haptik have closely grouped Full results. The ranking changes after the entailment filter is applied. Dialogflow has the highest Subset accuracy, at 65.3, followed by Haptik at 64.0 on the in-scope test messages. BERT moves behind both of them. The change illustrates a difference between doing well with all the available examples and being relatively insensitive to which examples are removed. A comparison that included only Full training would show the first of those properties.

Curekart test in-scope accuracy at threshold 0.1

Rasa leads with Full training and BERT leads with Subset training.

Curekart test in-scope accuracy at threshold 0.1Dialogflow Full: 75.0Dialogflow Full75.0Dialogflow Subset: 71.2Dialogflow Subset71.2Rasa Full (this paper): 84.0Rasa Full (this paper)84.0Rasa Subset: 80.5Rasa Subset80.5LUIS Full: 72.5LUIS Full72.5LUIS Subset: 71.6LUIS Subset71.6Haptik Full: 80.3Haptik Full80.3Haptik Subset: 79.8Haptik Subset79.8BERT Full: 83.6BERT Full83.6BERT Subset: 82.3BERT Subset82.3
The numbers
System or settingaccuracy %
Dialogflow Full75.0
Dialogflow Subset71.2
Rasa Full (this paper)84.0
Rasa Subset80.5
LUIS Full72.5
LUIS Subset71.6
Haptik Full80.3
Haptik Subset79.8
BERT Full83.6
BERT Subset82.3

Curekart has the highest leading Full score of the three settings. Rasa reaches 84.0 on the in-scope test set and BERT reaches 83.6. BERT leads on Subset training with 82.3, while Rasa reaches 80.5. The Full-to-Subset changes for Haptik and LUIS are small in this dataset. The filter therefore reduces performance across the comparison but has a less pronounced effect here than in settings where many systems suffer larger relative losses. The remaining in-scope mistakes also show that the comparatively small losses from filtering are compatible with errors under both training conditions.

Powerplay11 test in-scope accuracy at threshold 0.1

Haptik leads under both training conditions and every system scores lower with Subset training.

Powerplay11 test in-scope accuracy at threshold 0.1Dialogflow Full: 59.6Dialogflow Full59.6Dialogflow Subset: 55.6Dialogflow Subset55.6Rasa Full: 49.0Rasa Full49.0Rasa Subset: 38.5Rasa Subset38.5LUIS Full: 48.0LUIS Full48.0LUIS Subset: 44.0LUIS Subset44.0Haptik Full (this paper): 66.5Haptik Full (this paper)66.5Haptik Subset: 59.2Haptik Subset59.2BERT Full: 58.5BERT Full58.5BERT Subset: 53.0BERT Subset53.0
The numbers
System or settingaccuracy %
Dialogflow Full59.6
Dialogflow Subset55.6
Rasa Full49.0
Rasa Subset38.5
LUIS Full48.0
LUIS Subset44.0
Haptik Full (this paper)66.5
Haptik Subset59.2
BERT Full58.5
BERT Subset53.0

Haptik leads the Powerplay11 comparison with 66.5 on Full and 59.2 on Subset training, again for in-scope accuracy at threshold 0.1. This result is noteworthy alongside BERT’s lead on SOFMattress Full and Rasa’s lead on Curekart Full. The best choice by this metric changes with the domain. Powerplay11’s lower scores also show that a permissive cutoff can leave substantial difficulty even among messages addressed to supported intents. The system may be willing to assign a label and still assign the wrong one.

The paper contrasts the Full results with the 90+ in-scope accuracies reported for systems on other public benchmarks such as CLINC150. That comparison gives a sense of the performance expectations the authors wanted to challenge. It spans different datasets, so the differences in the scores reflect the combined effects of the categories, collection procedures, examples and test queries. HINT3 makes its strongest direct comparisons within a domain, where the evaluation messages and their labels are shared across systems and the Full and Subset variants.

What happens as rejection becomes stricter

The threshold analysis on SOFMattress Full places out-of-scope recall alongside in-scope accuracy. A classifier can improve rejection when it raises the cutoff and declines uncertain assignments. At the same time, a supported message that was correctly classified below that cutoff can now be rejected. The benefit depends on the scores assigned to the two groups. When the distributions are well separated, a single threshold can reject many unsupported requests while preserving successful assignments. When unsupported requests also receive high scores, the improvement becomes more costly.

For SOFMattress Full, the authors find that a substantial share of out-of-scope queries receives high confidence from most of the systems. They single out LUIS as the exception on those queries, with a cost to its in-scope accuracy. This result helps explain why the permissive-cutoff chart and the rejection comparison belong together. The chart is about selecting an intent for supported queries. The curves ask whether the score used to make that selection can also identify requests that lie beyond the inventory. Strength on either part answers only one of the two decisions required by the evaluation.

A practical reading of the curves is that the apparent fit between a message and its closest supported category can be misleading. A request about an unusual delivery circumstance can look much like ordinary delivery training data to the classifier. Its high score will then work against rejection, even though the service’s annotation treats the query as unsupported. The test cases examined by the authors show how that kind of confidence can arise from a close topical fit and an incorrect match on the user’s actual purpose.

What the ablations show

What the training-set comparison isolates

The principal ablation compares Full training with the entailment-filtered Subset for the same domain and system. Both runs face the same test queries, reference labels and intent inventory. What changes is which examples the system receives during training. The experiment is designed around a plausible expectation. If retained examples adequately represent the meanings of their intents, a detector should be able to recognize those meanings even after some similar expressions have been removed.

The authors report percentage drops in in-scope accuracy relative to Full training at the 0.1 threshold. The losses range from 0.6% to 22.3% across the systems and datasets. The reported 0.6% drop is Haptik on Curekart. The 22.3% drop is BERT on SOFMattress. These are relative percentage drops as tabulated by the paper, while the charts report the underlying in-scope accuracies for each condition. Every pair of conditions favors keeping the Full examples on this metric.

The magnitude varies enough to make the paired comparison informative. On SOFMattress, Rasa’s reported relative drop is 18.7%, beside 10.6% for Dialogflow. On Curekart, the corresponding drops are 4.1% and 5.0%. The systems therefore differ in their response to the same change in one domain, and the comparison changes when made in another. With the intervention defined by filtering each domain’s own sentences, these differences concern the interaction between a learning system and the examples present in a particular service.

Curekart’s smaller losses are evidence that it was less sensitive to this intervention. For BERT the relative drop there is 1.5%, alongside its 22.3% drop on SOFMattress. Powerplay11 provides a different pattern again. Haptik leads both training variants at the permissive threshold while sustaining a reported relative drop of 10.9%. Retaining a lead and maintaining the original score are distinct outcomes. The paired design shows which systems remain comparatively strong and how far their own performance moves.

The paper interprets the losses as evidence that classifiers can benefit from repeated expressions even when an entailment scorer judges much of their information similar. Those expressions can supply different surface cues, such as words or phrases a user is likely to reuse. Removing them therefore changes the range of phrasings directly supported by the training set. The result fits the authors’ concern about reliance on incidental patterns. It also leaves room for the effect of fewer examples overall and for mistakes by the entailment scorer about which detail matters to an intent.

How familiar words can lead to a different intent

The qualitative analysis examines SOFMattress messages that the tested platforms handled poorly. For a request about the cost of an Ergo mattress in a stated size, the designated category is mattress cost. Dialogflow, LUIS, Rasa and Haptik all put Ergo features at the top. The relevant training examples indicate why the result is plausible. The cost class includes questions about price and custom sizes, while the product name appears in examples for the features class. The prediction picks up the named product and routes the message as though that name also established what information the customer wanted.

A discount question that mentions installment payment produces a similar result. The assigned category is offers, while the platforms select the installment-payment category, labeled EMI. The offer examples contain discount inquiries, and the installment examples concern whether that form of payment is available. The test message brings the two together. Its purpose concerns the discount, with the payment arrangement specifying the circumstances. The error illustrates the difference between recognizing a salient term and understanding how it contributes to the request.

An inquiry about whether a mattress is available in specified dimensions exposes a different kind of competition. The reference category concerns size customization. LUIS favors a distributor category, while the other platforms in the comparison favor advice about which size to order. A dimension can be relevant to several things a customer might ask. Here the user already gives the dimensions and asks about availability, which makes the request fit customization in the paper’s labeling. Recognizing that the message concerns size is only an intermediate step toward selecting the intended response.

The trial example shows the pressure of informal language. The user apparently means to ask whether a trial is available, but writes the word in a form that swaps the order of its letters. The intended label is the named trial offer. Several platforms prefer cash on delivery and Rasa prefers the installment-payment category. The training examples for the trial make the correct spelling and purpose clearer. The authors provide the predictions and relevant training examples, so a reader can see the competition between familiar forms. The example alone leaves the exact reason for each platform’s ranking uncertain.

These cases help distinguish participation in the same topic from equivalence of intent. A product can appear in a features request and a price request. A payment method can be the object of a question or a qualification on a discount. Dimensions can specify a custom order or supply context for sizing advice. The test message expresses a relation among those details, and an intent label usually depends on that relation. The paper’s examples show several ways that a correct recognition of individual details can coexist with an incorrect overall classification.

When an unsupported request receives a plausible label

The delivery examples extend the problem from intent discrimination to rejection. Users ask how the retailer can deliver during lockdown or in the circumstances of the pandemic. The relevant issue is whether the unusual conditions interfere with delivery. The assigned out-of-scope label reflects the absence of a supported category for that question. The platforms illustrated in the paper select the postcode-checking category. The training examples for that category ask whether the retailer delivers to a particular place.

Delivery vocabulary is appropriate in both cases, which gives the wrong label a credible surface fit. The distinction is what the user is asking the retailer to establish. A postcode check resolves whether the address falls within a delivery area. A lockdown question concerns whether delivery can take place under a restriction. Once the prediction is based on delivery language alone, the mechanism that uses the confidence score for rejection may interpret the high topical fit as evidence that the request is supported.

The confidence curves complement this error analysis. They show the aggregate difficulty of rejecting unsupported requests, while the examples explain what that difficulty can look like in a message. Neither measurement assigns a cause to every error. The examples illustrate where the authors’ account of incidental associations is plausible, and the threshold comparison shows that high confidence on unsupported queries is a broader phenomenon in SOFMattress Full. Together with the training-set ablation, they show that difficulty can arise both from how well the categories are learned and from how confidently a system applies them outside their intended coverage.

The paper connects its interpretation to Climbing towards NLU. In HINT3, the distinction between exploiting patterns in wording and recognizing the purpose of an utterance has a practical consequence. The chosen route can be wrong even when its vocabulary sounds relevant. The examples and scores trace that consequence in defined services. They leave the internal basis of individual predictions open to further investigation.

Limitations

Limits the authors identify

The authors emphasize that defining intents can be difficult even before a classifier is trained. Annotators faced broad and narrow categories whose meanings partly overlapped, despite the effort to merge closely related labels. Their agreement measurements document the difficulty, and domain experts settled the remaining disagreements for evaluation. The benchmark accordingly uses a consistent final answer for each item, with some answers depending on a judgment about the service’s preferred interpretation. A failure to match that answer may reflect an interpretation of an ambiguous boundary as well as a mistake about the user’s purpose.

The authors also explain the omission of an explicit out-of-scope training set by pointing to the wide variety of requests it would need to represent. The study evaluates rejection by thresholding the intent scores of classifiers trained on supported examples. Its results therefore characterize the difficulty of making both decisions in that particular setup. A method that learns rejection from labeled examples of unsupported requests would have different training information. The reported comparison leaves that alternative unevaluated.

The language policy supplies another stated boundary. Training examples are in English, and code-mixed or non-Latin-script test messages are assigned to the out-of-scope class. This is a policy for the benchmark’s services. A correctly rejected item can count as a success under that policy even if its request could be understood and answered in a service configured to support the language. The benchmark can measure adherence to that rejection rule. An assessment of multilingual intent recognition would need labels and training conditions suited to that separate question.

The authors present HINT3 as closer to a live setting because its test messages arise in actual interactions. At the same time, training is based on expert-authored examples. Their study therefore exposes a gap between the language an expert chooses to teach the system and the language that reaches the chatbot. The results are especially pertinent to services with that kind of training process. They say less directly about services with training collections drawn from labeled user messages under the same conditions as the test inputs.

Limits that follow from the evaluation design

The first-message sampling and collection window define the scope of the evidence. The benchmark captures how the systems route opening requests during a period of 15 days in the chosen services. Later turns could resolve a vague reference, disclose which offer the user means or make clear that the closest available intent is unsuitable. A single-turn score leaves those possibilities open. It also leaves open how the mix of requests would change with time, product offerings or events such as the delivery restrictions mentioned in the SOFMattress examples.

The three domains differ simultaneously in intent count, training material, annotation agreement and the balance of supported and unsupported test inputs. The results demonstrate difficulty under those combinations. They cannot assign a distinct share of the difficulty to each difference. For example, Powerplay11’s larger inventory offers more alternatives to distinguish, but its training set and user requests also differ from Curekart’s. Attributing the ranking of the datasets to intent count alone would set aside those differences.

Similarly, the comparison with prior benchmarks establishes that HINT3 presents a different evaluation challenge. It combines a source of test requests, an inventory for each service, uneven examples and a specific policy for what falls outside scope. A direct estimate of the effect of using live input instead of crowdsourced input would require greater control over those other characteristics. The paper uses previous benchmark performance as motivation and context, with the within-domain system and training-variant comparisons providing more direct evidence under shared test conditions.

The entailment ablation changes both training-set size and which phrasings are exposed to the classifier. A reduction under Subset training establishes sensitivity to that joint change. The paper gives no equally sized random reduction for separating the effect of filtering for entailment from the effect of having fewer training examples. It also gives no comparison of different representative choices for a cluster of similar examples. These comparisons would bear on which part of the procedure is responsible for a loss. The relative drops measure the combined effect of the filter as applied.

There is also a distinction between textual entailment and interchangeability as training data. Two requests can convey very similar information while providing different words that a classifier can learn to associate with an intent. Conversely, a scorer can find two messages similar while overlooking a service-specific condition that determines the correct label. The paper’s selection rule gives a practical test of a redundancy assumption. The retained examples are representatives under a particular scorer and processing order, with the formula and the prose offering different conditions for pairs whose scores are asymmetric.

A threshold sweep describes the behavior seen across the reported test settings. It gives a picture of attainable tradeoffs on those messages, but it does not establish what threshold a service could choose in advance and expect to work equally well on future traffic. A prediction score can have different implications for different systems. The paper’s comparisons show how each cutoff affects observed acceptance and rejection, without establishing a common interpretation for a given score across platforms or measuring the transfer of a selected threshold to another period.

Aggregate out-of-scope recall also combines multiple reasons for rejection. A message can fall outside scope because of its subject, because its question is relevant but unsupported, or because of the benchmark’s language policy. The delivery examples isolate an interpretable case of closely related unsupported traffic. The aggregate recall figures do not show how much of the total rejection performance comes from each kind of input. A system could handle clearly unrelated or disallowed messages readily and have difficulty with those that resemble a supported intent, even when its aggregate recall looks comparatively favorable.

The qualitative table is a selective diagnosis from SOFMattress, with predictions displayed for the chatbot platforms. It makes several possible failure mechanisms concrete, including prioritizing a product name over the requested property and matching a delivery term without recognizing the constraint. It gives no frequency estimate for those mechanisms across services, and the displayed assignments do not establish how BERT handled each example. The observations support an account of particular mistakes. The aggregate results supply the evidence about performance across the full test collections.

The authors describe the findings in terms of gaps in understanding. The directly measured outcomes are assignments to service-defined labels, rejection decisions and changes in accuracy after altering the training data. Those measures are enough to establish consequential failures in the tested systems. They offer a narrower basis for judgments about language understanding generally, especially where the answer depends on an inventory’s design or on an expert’s resolution of an ambiguous intent. The clearest conclusion concerns initial routing under the paper’s conditions. Correct assignment, reliable rejection and robustness to a smaller training set remain distinct challenges.

What came after

There is no documented follow-on study to trace here. The paper leaves an open empirical question about whether later intent detectors can preserve correct assignments as training examples are reduced and still reject unsupported requests that closely resemble supported ones.

Cite

Cite as Gaurav Arora, Chirag Jain, Manas Chaturvedi and Krupal Modi. 2020. HINT3: Raising the bar for Intent Detection in the Wild. Proceedings of the First Workshop on Insights from Negative Results in NLP.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2020.insights-1.16

@inproceedings{arora2020hint3,
  title = {{HINT3: Raising the bar for Intent Detection in the Wild}},
  author = {Gaurav Arora, Chirag Jain, Manas Chaturvedi and Krupal Modi},
  booktitle = {Proceedings of the First Workshop on Insights from Negative Results in NLP},
  year = {2020},
  doi = {10.18653/v1/2020.insights-1.16},
  url = {https://doi.org/10.18653/v1/2020.insights-1.16}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/arora-2020-hint3-raising-bar-intent-detection/