Intent Detection
Intent detection identifies the action or goal expressed by a message so a system can choose an appropriate next step. The skill is defining an actionable intent inventory, separating similar requests and handling ambiguity or unsupported goals. Predicting an intent label is distinct from authorizing or executing the requested action.
What it is
A system maps an utterance and, when needed, conversation context to one or more intent categories such as checking a delivery or changing an address. Classifiers, embedding matching, rules or prompted models can implement this mapping. Slot or entity extraction supplies arguments such as an order number, but does not replace the intent decision. Closely related intents require clear boundaries based on different downstream handling. Out-of-scope detection identifies messages that do not belong to the supported inventory. Multi-intent requests and changes of goal within a conversation need an explicit policy. The taxonomy is an application design choice, rather than a universal list of human intentions.
What the work involves
Start from supported workflows and write label definitions that specify different next actions. Collect realistic wording, short replies and confusing near-neighbor requests. Split by conversation and paraphrase family, and reserve unsupported requests for evaluation. Compare routing accuracy by intent, confusion between consequential actions and false acceptance of out-of-scope input. Tune clarification or abstention thresholds on development data. Evaluate extracted arguments and routing separately, then test their combination. The deliverable is an intent model and routing policy with documented ambiguity handling, including when the system asks a question before proceeding.
Illustrative example
An illustrative assistant distinguishes cancelling an order from asking about a cancellation policy. The developer adds near-miss examples that mention the same word but require different handling. Evaluation includes a message saying the customer does not want to cancel, as well as a short follow-up referring to a previous order. Uncertain cases request clarification, and even a confident cancellation intent passes through a separate authorized-action workflow rather than immediately changing the order.
Limits and common mistakes
A forced-choice classifier can assign a confident supported label to an unfamiliar request. Keywords alone miss negation, indirect questions and changing context. Overlapping categories create annotation disagreement and unstable routing. High accuracy on templated utterances may not transfer to natural conversations. Intent labels do not establish identity, permission or complete arguments. Evaluate rejection and clarification alongside classification, and keep the semantic interpretation separate from the controls that permit consequential actions.
Prerequisites
Related skills
- → is subcategory of: NLP
Sources and further reading
- An Evaluation Dataset for Intent Classification and Out-of-Scope Prediction
Primary intent-classification benchmark with explicit unsupported-input evaluation.
- Snips Voice Platform: an embedded Spoken Language Understanding system for private-by-design voice interfaces
Intent and slot interpretation within an application-oriented spoken-language pipeline.
Last updated: 2026-10-10