Weak Supervised Abnormal Entity Detection in Real-Time Response Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Real-time response systems face issues with biased text classification due to incorrect entity definitions, leading to potential misbehavior during live performance, as they rely on entity matching which can diverge from the intended design.
Innovation Solution
An abnormal entity detection mechanism is implemented using weak supervision, which maps entities to intents in training data and chat logs, comparing distributional differences to identify potential business-use cases and outliers, and filters insignificant values below a predefined level.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If entity matching is used in real-time response systems, then text classification can be performed, but biased classification occurs due to incorrect entity definitions
Solution Approach 1:
The system performs preliminary entity detection and validation by comparing entities in training data against entities in live chat logs before final text classification. This preliminary action identifies and corrects abnormal entities that would otherwise cause biased classification, ensuring more accurate results while maintaining classification capability
Solution Approach 2:
The system implements a feedback mechanism where entity detection results from live chat logs are used to validate and correct entities in training data. The comparison between training entities and live chat entities provides feedback that identifies discrepancies, allowing the system to refine entity definitions and improve subsequent classification accuracy
2Stability of the object's composition
If entity definitions are strictly enforced in training data, then system design intent is maintained, but entity matching diverges from intended design during live performance
Solution Approach 1:
The system dynamically adjusts entity matching by comparing training data entities with entities actually present in live chat logs. Rather than rigidly enforcing predefined entity definitions, the system adapts to the actual entities users employ, maintaining design intent while accommodating real-world variations in entity usage
Solution Approach 2:
The system changes the parameter of entity definition by validating training entities against live chat data. Entities that don't match actual user input are identified as abnormal and corrected, allowing the system to transition from static predefined entities to dynamically validated entities that reflect actual usage patterns
3Measurement precision
If weak supervision is implemented to detect abnormal entities, then classification accuracy improves, but system complexity increases
Solution Approach 1:
The system performs self-validation by automatically comparing its own training data entities against entities encountered in live chat logs. This self-service approach to entity validation improves detection accuracy without requiring external supervision, as the system uses its own operational data to identify and correct abnormal entities
Solution Approach 2:
The system creates a copy of the entity validation process by comparing training entities against live chat entities. Rather than implementing a complex external validation system, the system uses a simplified copying approach where entities are matched and compared across two data sources, improving accuracy while keeping the mechanism relatively simple
Data Source
AI summary
A mechanism is provided to implement an abnormal entity detection mechanism that facilitates detecting abnormal entities in real-time response systems through weak supervision. For each first intent from an entity labeled workspace that matches a second intent in labeled chat logs, when the entity score associated with each first entity or second entity is above a predefined significance level the first entity or the second entity is recorded. For each first intent from the entity labeled workspace that matches the second intent in the labeled chat logs: responsive to the first entity being recorded and the second entity failing to be recorded, that first entity is removed from the training data as being mistakenly included; or, responsive to the second entity being recorded and the first entity failing to be recorded, that second entity is added as a potential business case to the training data.


