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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
{
    "paper_id": "2020",
    "header": {
        "generated_with": "S2ORC 1.0.0",
        "date_generated": "2023-01-19T07:12:40.327490Z"
    },
    "title": "HINT3: Raising the bar for Intent Detection in the Wild",
    "authors": [
        {
            "first": "Gaurav",
            "middle": [],
            "last": "Arora",
            "suffix": "",
            "affiliation": {},
            "email": "gaurav@haptik.ai"
        },
        {
            "first": "Jio",
            "middle": [],
            "last": "Haptik",
            "suffix": "",
            "affiliation": {},
            "email": ""
        },
        {
            "first": "Chirag",
            "middle": [],
            "last": "Jain",
            "suffix": "",
            "affiliation": {},
            "email": "chirag.jain@haptik.ai"
        },
        {
            "first": "Manas",
            "middle": [],
            "last": "Chaturvedi",
            "suffix": "",
            "affiliation": {},
            "email": "manas.chaturvedi@haptik.ai"
        },
        {
            "first": "Krupal",
            "middle": [],
            "last": "Modi",
            "suffix": "",
            "affiliation": {},
            "email": "krupal@haptik.ai"
        }
    ],
    "year": "",
    "venue": null,
    "identifiers": {},
    "abstract": "Intent Detection systems in the real world are exposed to complexities of imbalanced datasets containing varying perception of intent, unintended correlations and domainspecific aberrations. To facilitate benchmarking which can reflect near real-world scenarios, we introduce 3 new datasets created from live chatbots in diverse domains. Unlike most existing datasets that are crowdsourced, our datasets contain real user queries received by the chatbots and facilitates penalising unwanted correlations grasped during the training process. We evaluate 4 NLU platforms and a BERT based classifier and find that performance saturates at inadequate levels on test sets because all systems latch on to unintended patterns in training data.",
    "pdf_parse": {
        "paper_id": "2020",
        "_pdf_hash": "",
        "abstract": [
            {
                "text": "Intent Detection systems in the real world are exposed to complexities of imbalanced datasets containing varying perception of intent, unintended correlations and domainspecific aberrations. To facilitate benchmarking which can reflect near real-world scenarios, we introduce 3 new datasets created from live chatbots in diverse domains. Unlike most existing datasets that are crowdsourced, our datasets contain real user queries received by the chatbots and facilitates penalising unwanted correlations grasped during the training process. We evaluate 4 NLU platforms and a BERT based classifier and find that performance saturates at inadequate levels on test sets because all systems latch on to unintended patterns in training data.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Abstract",
                "sec_num": null
            }
        ],
        "body_text": [
            {
                "text": "Over the last few years, task-oriented dialogue systems have gained increasing traction for applications like personal assistants, automated customer support agents, etc. This has led to the availability of several commercialised and/or open conversational bot building platforms. Most popular systems today involve intent detection as a vital part of their Natural Language Understanding (NLU) pipeline. Recent advances in transfer learning (Howard and Ruder, 2018; Peters et al., 2018; Devlin et al., 2019) has enabled systems that perform quite well on existing benchmarking datasets (Larson et al., 2019; Casanueva et al., 2020) .",
                "cite_spans": [
                    {
                        "start": 442,
                        "end": 466,
                        "text": "(Howard and Ruder, 2018;",
                        "ref_id": "BIBREF5"
                    },
                    {
                        "start": 467,
                        "end": 487,
                        "text": "Peters et al., 2018;",
                        "ref_id": "BIBREF9"
                    },
                    {
                        "start": 488,
                        "end": 508,
                        "text": "Devlin et al., 2019)",
                        "ref_id": "BIBREF4"
                    },
                    {
                        "start": 587,
                        "end": 608,
                        "text": "(Larson et al., 2019;",
                        "ref_id": "BIBREF6"
                    },
                    {
                        "start": 609,
                        "end": 632,
                        "text": "Casanueva et al., 2020)",
                        "ref_id": "BIBREF3"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "Definitions of intent often vary across users, tasks and domains. Perception of intent could range from a generic abstraction such as \"Ordering a product\" to extreme granularity such as \"Enquiring for a discount on a specific product if ordered using a specific card\". Additionally, factors such as imbalanced data distribution in the training set, assumptions during training data generation, diverse background of domain experts involved in defining the classes make this task more challenging. During inference, these systems may be deployed to users with diverse cultural backgrounds who might frame their queries differently even when communicating in the same language. Furthermore, during inference, apart from correctly identifying in-scope queries, the system is expected to accurately reject out-of-scope (Larson et al., 2019) queries, adding on to the challenge.",
                "cite_spans": [
                    {
                        "start": 815,
                        "end": 836,
                        "text": "(Larson et al., 2019)",
                        "ref_id": "BIBREF6"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "Most existing datasets for intent detection are generated using crowdsourcing services. To accurately benchmark in real-world settings, we release 3 new single-domain datasets, each spanning multiple coarse and fine grain intents, with the test sets being drawn entirely from actual user queries on the live systems at scale instead of being crowdsourced. On these datasets, we find that the performance of existing systems saturates at unsatisfactory levels because they end up learning spurious patterns from the training dataset instead of generalising to the perceived meanings of intents.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "We evaluate 4 NLU platforms -Dialogflow 1 , LUIS 2 , Rasa NLU 3 , Haptik 45 and a BERT (Devlin et al., 2019) based classifier on all 3 datasets and highlight gaps in language understanding. We further probe into queries where all the current systems fail and question the efficacy of the current approach of learning. Additionally, we repeat all our experiments on the subset of training data and show a performance drop in all the systems despite retaining relevant and sufficient utterances in the training subset. We've made our datasets and code freely accessible on GitHub to promote ",
                "cite_spans": [
                    {
                        "start": 87,
                        "end": 108,
                        "text": "(Devlin et al., 2019)",
                        "ref_id": "BIBREF4"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "Despite intent detection being an important component of most dialogue systems, very few datasets have been collected from real users. Web Apps, Ask Ubuntu and Chatbot datasets from (Braun et al., 2017 ) contain a limited number of intents (<10), oversimplifying the task. More recent datasets like HWU64 from (Liu et al., 2019) and CLINC150 from (Larson et al., 2019 ) span a large number of intents in multiple domains but are generated using crowd sourcing services hence are limited in diversity in user expressions which arise from but not limited to domain specific presumptions, context from how and where the bot is made available, paraphrases emerging from cultural and ethnic diversity of user base, conversational slang, etc. Our work has some similarity with CLINC150, in that they also highlight the problem of out-ofscope intent detection and with BANKING77 from (Casanueva et al., 2020 ) that focuses on a single domain. However, all three -HWU64, CLINC150, ",
                "cite_spans": [
                    {
                        "start": 182,
                        "end": 201,
                        "text": "(Braun et al., 2017",
                        "ref_id": "BIBREF2"
                    },
                    {
                        "start": 310,
                        "end": 328,
                        "text": "(Liu et al., 2019)",
                        "ref_id": "BIBREF7"
                    },
                    {
                        "start": 347,
                        "end": 367,
                        "text": "(Larson et al., 2019",
                        "ref_id": "BIBREF6"
                    },
                    {
                        "start": 877,
                        "end": 900,
                        "text": "(Casanueva et al., 2020",
                        "ref_id": "BIBREF3"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Prior Work",
                "sec_num": "2"
            },
            {
                "text": "We introduce HINT3, a collection of datasets shown in Table 2 -SOFMattress, Curekart and Powerplay11 each containing diverse set of intents in a single domain -mattress products retail, fitness supplements retail and online gaming respectively. Table 1 shows few example intents of varying granularity in HINT3 dataset, along with examples of training queries created by domain experts and in-scope, out-of-scope queries received from real users.",
                "cite_spans": [],
                "ref_spans": [
                    {
                        "start": 54,
                        "end": 61,
                        "text": "Table 2",
                        "ref_id": "TABREF3"
                    },
                    {
                        "start": 245,
                        "end": 252,
                        "text": "Table 1",
                        "ref_id": "TABREF1"
                    }
                ],
                "eq_spans": [],
                "section": "Datasets",
                "sec_num": "3"
            },
            {
                "text": "Training data is prepared by a team of domain experts trying to emulate real users after in-depth research of historical user queries. The experts do not create an explicit set of out of scope queries primarily because the universe of such queries is infinitely big. Training datasets show class imbalance, occurrence of domain specific words, acronyms 7 . All training data queries are in English.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Training Data Collection",
                "sec_num": "3.1"
            },
            {
                "text": "In addition to Full training sets, we create Subset versions for each training set. For each class, after retaining the first query we iterate over the 7 github.com/hellohaptik/HINT3/tree/master/data exploration rest, discarding a query if it has an entailment score (Bowman et al., 2015) greater than 0.6 in both directions with any of the queries retained so far i.e. the subset version has the following property",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Dataset Variants",
                "sec_num": null
            },
            {
                "text": "E(x a , x b ) \u2264 0.6 \u2227 E(x b , x a ) \u2264 0.6; a = b, a \u2208 [1, |X i |], b \u2208 [1, |X i |] \u2200 I",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Dataset Variants",
                "sec_num": null
            },
            {
                "text": "where I is the set of all intents,X i is the set of queries retained for class i, E(h, p) is the entailment scoring function with h as hypothesis and p as premise. We use ELMo model trained on SNLI (Peters et al., 2018; Parikh et al., 2016) 8 for E(h, p). These are intended to evaluate performance with only semantically different sentences in the training set as ideally systems should already understand semantically similar queries to the ones present in the training set. ",
                "cite_spans": [
                    {
                        "start": 198,
                        "end": 219,
                        "text": "(Peters et al., 2018;",
                        "ref_id": "BIBREF9"
                    },
                    {
                        "start": 220,
                        "end": 242,
                        "text": "Parikh et al., 2016) 8",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Dataset Variants",
                "sec_num": null
            },
            {
                "text": "Our test sets contain the first message received by live systems from real users over a period of 15 days. Inter-annotator agreement was 75.8%, 80.0% and 73.4% for SOFMattress, Curekart and Power-play11 respectively and conflicts were resolved by domain experts. One major reason for low interannotator agreement was unclear criteria for defining an intent which sometimes lead to overlapping intents of different levels of granularity, even after we had made sure to manually merge any conflicting or highly similar intents in the training data. Directly coming from real users our test set queries also contain messaging slangs, acronyms, spelling mistakes, grammatical mistakes and usage of code-mixed languages 7 . Queries in non-Latin script or code-mixed languages were marked as out of scope (labelled as NO NODES DETECTED). Since live chat systems don't cater all the queries related to a brand, our test set contains relevant outof-scope queries received from users about that domain. Any identifiable information of users, brands was replaced with made-up values in both train and test sets.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Test Data Collection and Annotation",
                "sec_num": "3.2"
            },
            {
                "text": "We evaluated the performance of our datasets on platforms like Dialogflow, LUIS, RASA and Haptik in addition to evaluating performance on BERT. All layers of BERT were fine-tuned with a learning rate of 4e-5 for up to 50 epochs with a warmup period of 0.1 and early stopping.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Benchmark Evaluation",
                "sec_num": "4"
            },
            {
                "text": "We use thresholds on the model's probability estimate for the task of predicting whether a query is OOS. We show performance on thresholds ranging from 0.1 to 0.9 at an interval of 0.1 to show the maximum performance a model can achieve irrespective of how we choose the threshold.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Out-Of-Scope (OOS) prediction",
                "sec_num": "4.1"
            },
            {
                "text": "We consider Accuracy and Matthew's Correlation Coefficient 9 as overall performance metrics for the systems. We use OOS recall (Larson et al., 2019) to evaluate performance on OOS queries and accuracy of in-scope queries to evaluate performance on inscope queries. Figure 1 presents results for all systems, for both Full and Subset variations of the dataset. Best Accuracy on all the datasets is in the early 70s. Best MCC for the datasets varies from 0.4 to 0.6, suggesting the systems are far from perfectly understanding natural language.",
                "cite_spans": [
                    {
                        "start": 127,
                        "end": 148,
                        "text": "(Larson et al., 2019)",
                        "ref_id": "BIBREF6"
                    }
                ],
                "ref_spans": [
                    {
                        "start": 265,
                        "end": 273,
                        "text": "Figure 1",
                        "ref_id": "FIGREF0"
                    }
                ],
                "eq_spans": [],
                "section": "Metrics",
                "sec_num": "4.2"
            },
            {
                "text": "In Table 3 , we consider in-scope accuracy at a very low threshold of 0.1, to see if false positives on OOS queries would not have mattered, what's the maximum in-scope accuracy that current systems are able to achieve. Our results show that even with such a low threshold, the maximum in-scope accuracy which systems are able to achieve on Full Training set is pretty low, unlike the 90+ in-scope accuracies of these systems which have been reported on other public datasets like CLINC150 in (Larson et al., 2019) . And, the in-scope accuracy is even worse for the Subset of the training data. Table 5 shows percentage drop in in-scope accuracy on subset data across all systems as compared to in-scope accuracy on full data. The drop varies from 0.6% to 22.3% across datasets and platforms. In an ideal world, this drop should be close to 0 across all datasets, as if the system understands the meaning of queries in training data, its performance should not get affected at all by removing queries in training data which are semantically similar to the ones already present.",
                "cite_spans": [
                    {
                        "start": 493,
                        "end": 514,
                        "text": "(Larson et al., 2019)",
                        "ref_id": "BIBREF6"
                    }
                ],
                "ref_spans": [
                    {
                        "start": 3,
                        "end": 10,
                        "text": "Table 3",
                        "ref_id": "TABREF5"
                    },
                    {
                        "start": 595,
                        "end": 602,
                        "text": "Table 5",
                        "ref_id": "TABREF8"
                    }
                ],
                "eq_spans": [],
                "section": "Results",
                "sec_num": "5"
            },
            {
                "text": "Analyzing few example queries which failed on all platforms in Table 4 suggests that these models Figure 2 : Out-of-Scope (OOS) Recall at the cost of Inscope Accuracy for SOFMattress Full dataset aren't actually \"understanding\" language or capturing \"meaning\", instead capturing spurious patterns in training data, as was also pointed in (Bender and Koller, 2020) . Predicting based on these spurious patterns, which models latch on to during training, leads to models having high confidence even on OOS queries. Figure 2 shows this behaviour on SOFMattress Full dataset, as significant percentage of OOS queries have high confidence scores on all systems, except LUIS, for which it is at the cost of in-scope accuracy.",
                "cite_spans": [
                    {
                        "start": 338,
                        "end": 363,
                        "text": "(Bender and Koller, 2020)",
                        "ref_id": "BIBREF0"
                    }
                ],
                "ref_spans": [
                    {
                        "start": 63,
                        "end": 70,
                        "text": "Table 4",
                        "ref_id": "TABREF7"
                    },
                    {
                        "start": 98,
                        "end": 106,
                        "text": "Figure 2",
                        "ref_id": null
                    },
                    {
                        "start": 513,
                        "end": 521,
                        "text": "Figure 2",
                        "ref_id": null
                    }
                ],
                "eq_spans": [],
                "section": "Results",
                "sec_num": "5"
            },
            {
                "text": "This paper analyzed intent detection on 3 new datasets consisting of both in-scope and out-ofscope queries received on 3 live chat bots over a period of 15 days. Our findings indicate that there's a significant gap in performance on crowdsourced datasets vs in a real world setup. NLU systems don't seem to be actually \"understanding\" language or capturing \"meaning\". We believe our analysis and dataset will lead to developing better, more robust dialogue systems.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusion",
                "sec_num": "6"
            },
            {
                "text": "https://cloud.google.com/dialogflow 2 https://www.luis.ai/ 3 https://github.com/RasaHQ/rasa/ 4 https://haptik.ai 5 Access requests for signup on Haptik are processed via contact form at https://haptik.ai/contact-us/",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            },
            {
                "text": "https://demo.allennlp.org/textual-entailment",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            },
            {
                "text": "https://scikit-learn.org/stable/modules/model evaluation",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            }
        ],
        "back_matter": [
            {
                "text": "We are grateful to Bot Analysts at Haptik, especially Aaron Dsouza 10 , who helped us open-source HINT3 datasets. We also want to thank clients of Haptik who allowed us to share queries received on their bots with the research community.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Acknowledgments",
                "sec_num": null
            }
        ],
        "bib_entries": {
            "BIBREF0": {
                "ref_id": "b0",
                "title": "Climbing towards NLU: On meaning, form, and understanding in the age of data",
                "authors": [
                    {
                        "first": "Emily",
                        "middle": [
                            "M"
                        ],
                        "last": "Bender",
                        "suffix": ""
                    },
                    {
                        "first": "Alexander",
                        "middle": [],
                        "last": "Koller",
                        "suffix": ""
                    }
                ],
                "year": 2020,
                "venue": "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
                "volume": "",
                "issue": "",
                "pages": "5185--5198",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/2020.acl-main.463"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Emily M. Bender and Alexander Koller. 2020. Climb- ing towards NLU: On meaning, form, and under- standing in the age of data. In Proceedings of the 58th Annual Meeting of the Association for Compu- tational Linguistics, pages 5185-5198, Online. As- sociation for Computational Linguistics.",
                "links": null
            },
            "BIBREF1": {
                "ref_id": "b1",
                "title": "A large annotated corpus for learning natural language inference",
                "authors": [
                    {
                        "first": "R",
                        "middle": [],
                        "last": "Samuel",
                        "suffix": ""
                    },
                    {
                        "first": "Gabor",
                        "middle": [],
                        "last": "Bowman",
                        "suffix": ""
                    },
                    {
                        "first": "Christopher",
                        "middle": [],
                        "last": "Angeli",
                        "suffix": ""
                    },
                    {
                        "first": "Christopher",
                        "middle": [
                            "D"
                        ],
                        "last": "Potts",
                        "suffix": ""
                    },
                    {
                        "first": "",
                        "middle": [],
                        "last": "Manning",
                        "suffix": ""
                    }
                ],
                "year": 2015,
                "venue": "Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing",
                "volume": "",
                "issue": "",
                "pages": "632--642",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/D15-1075"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large anno- tated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empiri- cal Methods in Natural Language Processing, pages 632-642, Lisbon, Portugal. Association for Compu- tational Linguistics.",
                "links": null
            },
            "BIBREF2": {
                "ref_id": "b2",
                "title": "Evaluating natural language understanding services for conversational question answering systems",
                "authors": [
                    {
                        "first": "Daniel",
                        "middle": [],
                        "last": "Braun",
                        "suffix": ""
                    },
                    {
                        "first": "Adrian",
                        "middle": [
                            "Hernandez"
                        ],
                        "last": "Mendez",
                        "suffix": ""
                    },
                    {
                        "first": "Florian",
                        "middle": [],
                        "last": "Matthes",
                        "suffix": ""
                    },
                    {
                        "first": "Manfred",
                        "middle": [],
                        "last": "Langen",
                        "suffix": ""
                    }
                ],
                "year": 2017,
                "venue": "Proceedings of the 18th Annual SIGdial Meeting on Discourse and Dialogue",
                "volume": "",
                "issue": "",
                "pages": "174--185",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/W17-5522"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Daniel Braun, Adrian Hernandez Mendez, Florian Matthes, and Manfred Langen. 2017. Evaluating natural language understanding services for conver- sational question answering systems. In Proceed- ings of the 18th Annual SIGdial Meeting on Dis- course and Dialogue, pages 174-185, Saarbr\u00fccken, Germany. Association for Computational Linguis- tics.",
                "links": null
            },
            "BIBREF3": {
                "ref_id": "b3",
                "title": "Efficient intent detection with dual sentence encoders",
                "authors": [
                    {
                        "first": "I\u00f1igo",
                        "middle": [],
                        "last": "Casanueva",
                        "suffix": ""
                    },
                    {
                        "first": "Tadas",
                        "middle": [],
                        "last": "Tem\u010dinas",
                        "suffix": ""
                    },
                    {
                        "first": "Daniela",
                        "middle": [],
                        "last": "Gerz",
                        "suffix": ""
                    },
                    {
                        "first": "Matthew",
                        "middle": [],
                        "last": "Henderson",
                        "suffix": ""
                    },
                    {
                        "first": "Ivan",
                        "middle": [],
                        "last": "Vuli\u0107",
                        "suffix": ""
                    }
                ],
                "year": 2020,
                "venue": "Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI",
                "volume": "",
                "issue": "",
                "pages": "38--45",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/2020.nlp4convai-1.5"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "I\u00f1igo Casanueva, Tadas Tem\u010dinas, Daniela Gerz, Matthew Henderson, and Ivan Vuli\u0107. 2020. Efficient intent detection with dual sentence encoders. In Pro- ceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, pages 38-45, On- line. Association for Computational Linguistics. 10 Reachable at aaron.dsouza@haptik.ai",
                "links": null
            },
            "BIBREF4": {
                "ref_id": "b4",
                "title": "BERT: Pre-training of deep bidirectional transformers for language understanding",
                "authors": [
                    {
                        "first": "Jacob",
                        "middle": [],
                        "last": "Devlin",
                        "suffix": ""
                    },
                    {
                        "first": "Ming-Wei",
                        "middle": [],
                        "last": "Chang",
                        "suffix": ""
                    },
                    {
                        "first": "Kenton",
                        "middle": [],
                        "last": "Lee",
                        "suffix": ""
                    },
                    {
                        "first": "Kristina",
                        "middle": [],
                        "last": "Toutanova",
                        "suffix": ""
                    }
                ],
                "year": 2019,
                "venue": "Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies",
                "volume": "1",
                "issue": "",
                "pages": "4171--4186",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/N19-1423"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language under- standing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapolis, Minnesota. Associ- ation for Computational Linguistics.",
                "links": null
            },
            "BIBREF5": {
                "ref_id": "b5",
                "title": "Universal language model fine-tuning for text classification",
                "authors": [
                    {
                        "first": "Jeremy",
                        "middle": [],
                        "last": "Howard",
                        "suffix": ""
                    },
                    {
                        "first": "Sebastian",
                        "middle": [],
                        "last": "Ruder",
                        "suffix": ""
                    }
                ],
                "year": 2018,
                "venue": "Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics",
                "volume": "1",
                "issue": "",
                "pages": "328--339",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/P18-1031"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Jeremy Howard and Sebastian Ruder. 2018. Universal language model fine-tuning for text classification. In Proceedings of the 56th Annual Meeting of the As- sociation for Computational Linguistics (Volume 1: Long Papers), pages 328-339, Melbourne, Australia. Association for Computational Linguistics.",
                "links": null
            },
            "BIBREF6": {
                "ref_id": "b6",
                "title": "An evaluation dataset for intent classification and out-of-scope prediction",
                "authors": [
                    {
                        "first": "Stefan",
                        "middle": [],
                        "last": "Larson",
                        "suffix": ""
                    },
                    {
                        "first": "Anish",
                        "middle": [],
                        "last": "Mahendran",
                        "suffix": ""
                    },
                    {
                        "first": "Joseph",
                        "middle": [
                            "J"
                        ],
                        "last": "Peper",
                        "suffix": ""
                    },
                    {
                        "first": "Christopher",
                        "middle": [],
                        "last": "Clarke",
                        "suffix": ""
                    },
                    {
                        "first": "Andrew",
                        "middle": [],
                        "last": "Lee",
                        "suffix": ""
                    },
                    {
                        "first": "Parker",
                        "middle": [],
                        "last": "Hill",
                        "suffix": ""
                    },
                    {
                        "first": "Jonathan",
                        "middle": [
                            "K"
                        ],
                        "last": "Kummerfeld",
                        "suffix": ""
                    },
                    {
                        "first": "Kevin",
                        "middle": [],
                        "last": "Leach",
                        "suffix": ""
                    },
                    {
                        "first": "Michael",
                        "middle": [
                            "A"
                        ],
                        "last": "Laurenzano",
                        "suffix": ""
                    },
                    {
                        "first": "Lingjia",
                        "middle": [],
                        "last": "Tang",
                        "suffix": ""
                    },
                    {
                        "first": "Jason",
                        "middle": [],
                        "last": "Mars",
                        "suffix": ""
                    }
                ],
                "year": 2019,
                "venue": "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)",
                "volume": "",
                "issue": "",
                "pages": "1311--1316",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/D19-1131"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Stefan Larson, Anish Mahendran, Joseph J. Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K. Kummerfeld, Kevin Leach, Michael A. Laurenzano, Lingjia Tang, and Jason Mars. 2019. An evaluation dataset for intent classification and out-of-scope prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natu- ral Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1311-1316, Hong Kong, China. Association for Computational Linguistics.",
                "links": null
            },
            "BIBREF7": {
                "ref_id": "b7",
                "title": "Benchmarking natural language understanding services for building conversational agents",
                "authors": [
                    {
                        "first": "Xingkun",
                        "middle": [],
                        "last": "Liu",
                        "suffix": ""
                    },
                    {
                        "first": "Arash",
                        "middle": [],
                        "last": "Eshghi",
                        "suffix": ""
                    },
                    {
                        "first": "Pawel",
                        "middle": [],
                        "last": "Swietojanski",
                        "suffix": ""
                    },
                    {
                        "first": "Verena",
                        "middle": [],
                        "last": "Rieser",
                        "suffix": ""
                    }
                ],
                "year": 2019,
                "venue": "Proceedings of the Tenth International Workshop on Spoken Dialogue Systems Technology (IWSDS)",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Xingkun Liu, Arash Eshghi, Pawel Swietojanski, and Verena Rieser. 2019. Benchmarking natural lan- guage understanding services for building conversa- tional agents. In Proceedings of the Tenth Interna- tional Workshop on Spoken Dialogue Systems Tech- nology (IWSDS), pages xxx-xxx, Ortigia, Siracusa (SR), Italy. Springer.",
                "links": null
            },
            "BIBREF8": {
                "ref_id": "b8",
                "title": "A decomposable attention model for natural language inference",
                "authors": [
                    {
                        "first": "Ankur",
                        "middle": [],
                        "last": "Parikh",
                        "suffix": ""
                    },
                    {
                        "first": "Oscar",
                        "middle": [],
                        "last": "T\u00e4ckstr\u00f6m",
                        "suffix": ""
                    },
                    {
                        "first": "Dipanjan",
                        "middle": [],
                        "last": "Das",
                        "suffix": ""
                    },
                    {
                        "first": "Jakob",
                        "middle": [],
                        "last": "Uszkoreit",
                        "suffix": ""
                    }
                ],
                "year": 2016,
                "venue": "Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing",
                "volume": "",
                "issue": "",
                "pages": "2249--2255",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/D16-1244"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Ankur Parikh, Oscar T\u00e4ckstr\u00f6m, Dipanjan Das, and Jakob Uszkoreit. 2016. A decomposable attention model for natural language inference. In Proceed- ings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2249-2255, Austin, Texas. Association for Computational Lin- guistics.",
                "links": null
            },
            "BIBREF9": {
                "ref_id": "b9",
                "title": "Deep contextualized word representations",
                "authors": [
                    {
                        "first": "Matthew",
                        "middle": [],
                        "last": "Peters",
                        "suffix": ""
                    },
                    {
                        "first": "Mark",
                        "middle": [],
                        "last": "Neumann",
                        "suffix": ""
                    },
                    {
                        "first": "Mohit",
                        "middle": [],
                        "last": "Iyyer",
                        "suffix": ""
                    },
                    {
                        "first": "Matt",
                        "middle": [],
                        "last": "Gardner",
                        "suffix": ""
                    },
                    {
                        "first": "Christopher",
                        "middle": [],
                        "last": "Clark",
                        "suffix": ""
                    },
                    {
                        "first": "Kenton",
                        "middle": [],
                        "last": "Lee",
                        "suffix": ""
                    },
                    {
                        "first": "Luke",
                        "middle": [],
                        "last": "Zettlemoyer",
                        "suffix": ""
                    }
                ],
                "year": 2018,
                "venue": "Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies",
                "volume": "1",
                "issue": "",
                "pages": "2227--2237",
                "other_ids": {
                    "DOI": [
                        "10.18653/v1/N18-1202"
                    ]
                },
                "num": null,
                "urls": [],
                "raw_text": "Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word rep- resentations. In Proceedings of the 2018 Confer- ence of the North American Chapter of the Associ- ation for Computational Linguistics: Human Lan- guage Technologies, Volume 1 (Long Papers), pages 2227-2237, New Orleans, Louisiana. Association for Computational Linguistics.",
                "links": null
            }
        },
        "ref_entries": {
            "FIGREF0": {
                "text": "Matthew's Correlation Coefficient and Accuracy across all datasets and platforms",
                "type_str": "figure",
                "num": null,
                "uris": null
            },
            "TABREF1": {
                "type_str": "table",
                "num": null,
                "html": null,
                "content": "<table/>",
                "text": ""
            },
            "TABREF3": {
                "type_str": "table",
                "num": null,
                "html": null,
                "content": "<table/>",
                "text": "Statistics of the 3 datasets in HINT3BANKING77 offer relatively large and well balanced training set which might not be always feasible to collect for every new domain. For all datasets mentioned so far, recent works have reported a reasonably high performance (>90% average) for in-scope queries. Despite this, gaps in language understanding become apparent when such systems are deployed. Datasets introduced in this paper and further analysis of results attempts to recognise critical gaps in language understanding and calls for further research into more robust methods."
            },
            "TABREF5": {
                "type_str": "table",
                "num": null,
                "html": null,
                "content": "<table/>",
                "text": "Inscope Accuracy at low threshold=0.1 for Full and Subset data variants"
            },
            "TABREF6": {
                "type_str": "table",
                "num": null,
                "html": null,
                "content": "<table><tr><td>Test query</td><td>True label</td><td>Top predicted label</td><td>Sample training queries for True label</td><td>Sample training queries for predicted label</td></tr><tr><td>Ergo 7272 inches price?</td><td>MATTRESS COST</td><td>L,H,D,R: ERGO FEATURES</td><td>\u2022 Price of mattress \u2022 Custom size cost</td><td>\u2022 Features of Ergo mattress \u2022 Tell me about SOF Ergo mattress</td></tr><tr><td>Trail option are there</td><td>100 NIGHT TRIAL OFFER</td><td>L,H,D: COD R: EMI</td><td>\u2022 Trial details \u2022 How to enroll for trial</td><td>\u2022 Can I get COD option? \u2022 Can it deliver by COD</td></tr><tr><td>I require 75 inch 57 inch. Is it available? Covid19 how can you deliver</td><td>SIZE CUSTOMIZATION NO NODES DETECTED</td><td>L: DISTRIBUTORS H,D,R: L,H,D,R: CHECK PINCODE L,H,D,R: CHECK PINCODE</td><td>-</td><td>\u2022 Do you deliver to my pincode \u2022 Will you be able to deliver here</td></tr></table>",
                "text": "WHAT SIZE TO ORDER \u2022 Will I get an option to Customise the size \u2022 How can I order a custom sized mattress \u2022 Want to know the custom size chart \u2022 Show me all available sizes 20 % discount available on emi OFFERS L,H,D,R: EMI \u2022 Want to know the discount \u2022 Tell me about the latest offers \u2022 You guys provide EMI option? \u2022 No cost EMI is available? How will u deliver with this LockDown in place ? NO NODES DETECTED"
            },
            "TABREF7": {
                "type_str": "table",
                "num": null,
                "html": null,
                "content": "<table><tr><td/><td>SOF Mattress</td><td>Curekart</td><td>Power play11</td></tr><tr><td>Dialogflow</td><td>10.6</td><td>5.0</td><td>6.7</td></tr><tr><td>RASA</td><td>18.7</td><td>4.1</td><td>10.5</td></tr><tr><td>LUIS</td><td>16.8</td><td>1.2</td><td>8.3</td></tr><tr><td>Haptik</td><td>11.3</td><td>0.6</td><td>10.9</td></tr><tr><td>BERT</td><td>22.3</td><td>1.5</td><td>9.4</td></tr></table>",
                "text": "Few examples of test queries in SOFMattress which failed on all platforms, L: LUIS, H: Haptik, D: Dialogflow, R: Rasa. NO NODES DETECTED is the out-of-scope label."
            },
            "TABREF8": {
                "type_str": "table",
                "num": null,
                "html": null,
                "content": "<table/>",
                "text": "Percentage drop in Inscope Accuracy at low threshold=0.1 in Subset data as compared to Full"
            }
        }
    }
}