[Paper Review] Session Analysis using Plan Recognition
This paper proposes a novel plan recognition approach using hierarchical task networks (HTNs) to analyze customer click-stream data in exploratory, high-noise financial web interfaces. By integrating low-level UI actions directly into a domain-specific plan library and applying filtering heuristics, the method reduces session analysis overhead by 83%, enabling real-time fraud detection, intent prediction, and proactive validation with high precision on real-world use cases.
This paper presents preliminary results of our work with a major financial company, where we try to use methods of plan recognition in order to investigate the interactions of a costumer with the company's online interface. In this paper, we present the first steps of integrating a plan recognition algorithm in a real-world application for detecting and analyzing the interactions of a costumer. It uses a novel approach for plan recognition from bare-bone UI data, which reasons about the plan library at the lowest recognition level in order to define the relevancy of actions in our domain, and then uses it to perform plan recognition. We present preliminary results of inference on three different use-cases modeled by domain experts from the company, and show that this approach manages to decrease the overload of information required from an analyst to evaluate a costumer's session - whether this is a malicious or benign session, whether the intended tasks were completed, and if not - what actions are expected next.
Motivation & Objective
- To address the challenge of inferring user intent in open-ended, exploratory web interfaces common in financial applications.
- To reduce the cognitive and analytical burden on human analysts by transforming raw click-stream data into structured, interpretable plan explanations.
- To enable real-time fraud detection and proactive validation by predicting user intentions and deviations from expected behavior.
- To develop a plan recognition system that handles exogenous actions, mistakes, and task interleaving inherent in real-world user interactions.
- To evaluate the effectiveness of filtering mechanisms in reducing redundant explanations while preserving meaningful intent inference.
Proposed method
- The approach uses a hierarchical task network (HTN) plan library as the core domain model, encoding goals, non-terminals, terminals, and derivation rules for task decomposition.
- Low-level UI actions (e.g., page visits, clicks) are directly mapped to terminals in the plan library without requiring a separate activity recognition step.
- A plan recognition algorithm (CRADLE) performs incremental inference over partial action sequences, generating candidate explanations based on the plan library.
- A filtering mechanism reduces explanation bloat by applying domain-independent thresholds: (1) ≤ average number of plans, (2) ≤ average frontier nodes, (3) ≤ 4 distinct plans.
- The system handles exogenous actions and errors by omitting them from explanations when they do not align with recognized plans.
- Performance is evaluated by comparing CRADLE against PHATT, a baseline algorithm, on three real-world session types: Buy, Add Account (Existing User), and Add Account (New User).
Experimental results
Research questions
- RQ1Can plan recognition from bare-bone UI data effectively infer user intent in exploratory, high-noise financial web sessions?
- RQ2To what extent can filtering mechanisms reduce the number of redundant explanations without sacrificing meaningful intent detection?
- RQ3How does the proposed method compare to existing plan recognition algorithms in terms of explanation set size and runtime on real-world click-stream data?
- RQ4Can the system detect incomplete or malicious sessions by identifying deviations from expected plan trajectories?
- RQ5Does the integration of domain knowledge (plan library) at the lowest recognition level improve inference accuracy and reduce reliance on external activity recognition?
Key findings
- The CRADLE algorithm reduced the average number of explanations per session by 83% compared to raw click-stream data, significantly decreasing analyst workload.
- For the 'Add Account for Existing User' task, both CRADLE and PHATT produced only 1.00 explanation on average, indicating high consistency and low ambiguity in this well-structured task.
- CRADLE achieved an average of 8.74 explanations for the 'Buy' task, compared to 18.32 for PHATT, demonstrating effective pruning while preserving relevant plans.
- The runtime of CRADLE was comparable to PHATT, with 0.06 seconds per session on average, indicating scalability for real-time analysis.
- Even in sessions labeled as relevant by analysts, only a small fraction contained fully completed plans, suggesting that many sessions involve incomplete or interrupted tasks.
- The filtering mechanism successfully reduced explanation bloat, with CRADLE outputting only 1.33 explanations on average for 'Add Account for New User' sessions, compared to 2.00 for PHATT.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.