liveBook · Manning

False positive

As explained in Effective Conversational AI

A false positive is a classification error in which a model predicts a category or condition that is incorrect for the input.

A false positive is a classification error: the model selects an intent or category that does not match the input. In a chatbot, this can send a user down the wrong conversation path. It is also called over-selection. section 5.2 section 5.1.1

A chatbot chooses the wrong intent

A user says “Somebody hit my car,” but the classifier predicts Request_Agent instead of Report_Accident. That prediction is a false positive for Request_Agent. In a test with four correct predictions and two such errors, precision is 4/(4+2), or 0.66. section 5.1.1

Precision measures how well an intent avoids false positives: true positives divided by true positives plus false positives. Review blind-test utterances, then prune redundant or unsupported training examples when an intent is over-selected. Re-test after every change because improving one intent can affect another. section 5.2.2

How Effective Conversational AI covers it

How deep it goes
Defines the error, relates it to precision, and demonstrates diagnosis through blind-test results and training-example pruning.
Examples
Uses Request_Agent, Report_Accident, Chitchat_VA_About, and Item_Not_Received utterances to show over-selection.
What it assumes
Assumes familiarity with predicted and correct intents while defining precision, recall, F1 score, and confusion-matrix outcomes.
What you can do after
Diagnose false positives with precision and blind tests, then prune training examples and evaluate cross-intent effects.
How it connects
Connects false positives with precision, recall, F1 score, false negatives, confusion matrices, and intent classification.

Also explained in

Compare how 19 books explain false positive →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Conversational AI. The section links point to the parts of the book it draws on.