Skip to main content

Trustworthy conversational AI: detecting out-of-scope requests with Huawei

2021 to 2023, an industry research collaboration with the Huawei Research Centre, Ireland, Completed

Illustration: customer requests read by a general and a domain encoder, fused and classified; known intents handled automatically, out-of-scope requests passed to a person

About the project

Customer-facing AI assistants fail in a predictable way: asked something they were never built for, they answer anyway. For a service provider that is a quality and trust problem, because a confident wrong answer is worse than a handover. With the Huawei Research Centre in Ireland, the group asked how a conversational system can recognise the limits of its own competence and route those requests to a person.

The result is DROID, a compact decision model that reads every request in two ways: a general sentence encoder (the Universal Sentence Encoder) captures broad meaning, and a denoising autoencoder adapted to the service (TSDAE) captures its own vocabulary. A lightweight classifier fuses the two and applies a single calibrated threshold, so known requests are handled automatically and out-of-scope ones are flagged for escalation, with no extra scoring step. Training is strengthened with synthetic and open-domain examples of what falls outside the service.

Tested on three public benchmarks (CLINC-150, BANKING77 and StackOverflow), DROID outperformed recent methods on both known and out-of-scope requests, with the largest gains where little labelled data is available, which is the usual situation when a new service launches. It is small enough to run in real time, where large language models remain slow and costly. The work was first presented at LREC-COLING 2024 and extended in DROID.

The same principle runs through the group's later work on agentic AI: automate what the system knows, and give people the cases it does not.

Read the paper: DROID: Dual Representation for Out-of-Scope Intent Detection (arXiv).

Publications from this project