AI
New Two-Stage Framework Detects Fraud in Online Chat While Distinguishing Legitimate Topic Shifts
Researchers propose an LLM-assisted system that combines anomaly detection with concept drift analysis to improve accuracy in flagging social engineering scams.
Identifying fraudulent interactions on digital platforms has long posed a difficult challenge for security systems, which must balance catching genuine threats while avoiding false positives. The problem becomes even trickier when legitimate conversations naturally shift topics—a phenomenon called concept drift—which traditional detection tools often misclassify as malicious behavior.
The Core Problem#
Existing anomaly detection approaches rely on static rules that struggle to adapt as conversations evolve. When a user naturally changes the subject in a chat, these rigid systems may flag the behavior as suspicious, creating noise that obscures actual fraud. At the same time, genuine scam attempts can slip through because they're not properly distinguished from ordinary topic transitions.
A Two-Stage Detection Approach#
Researchers have developed a framework that tackles this dual challenge through a modular design. The first stage uses a specialized ensemble classification model to identify potentially suspicious conversations. Flagged dialogues then enter a second stage, where a One Class Drift Detector (OCDD) analyzes whether conversational shifts indicate actual concept drift.
When drift is detected, a large language model evaluates whether the shift represents fraudulent manipulation or simply a benign change of subject. If no drift is found, the behavior is treated as spam-like activity. This separation allows the system to handle different types of malicious behavior more precisely.
Testing and Validation#
The team validated their approach using datasets of social engineering chat scenarios, demonstrating improvements in both accuracy and interpretability compared to simpler alternatives. They also benchmarked their modular design against a Dual LLM baseline that uses separate language models for detection and judgment, revealing practical trade-offs in performance and resource efficiency.
The work appears to advance real-time fraud detection by making it easier for systems to explain why they flag a conversation—a critical capability for trust and operational effectiveness in production environments.

