[Paper Review] Dichotomic Pattern Mining with Applications to Intent Prediction from Semi-Structured Clickstream Datasets
This paper proposes Dichotomic Pattern Mining, a constraint-based approach to extract interpretable, frequent sequential patterns from semi-structured clickstream data for intent prediction. By splitting sequences into positive and negative outcome groups and mining unique, constraint-filtered patterns, the method generates high-performing, human-readable feature embeddings that boost downstream ML models while preserving interpretability, achieving state-of-the-art F1 scores without manual feature engineering.
We introduce a pattern mining framework that operates on semi-structured datasets and exploits the dichotomy between outcomes. Our approach takes advantage of constraint reasoning to find sequential patterns that occur frequently and exhibit desired properties. This allows the creation of novel pattern embeddings that are useful for knowledge extraction and predictive modeling. Finally, we present an application on customer intent prediction from digital clickstream data. Overall, we show that pattern embeddings play an integrator role between semi-structured data and machine learning models, improve the performance of the downstream task and retain interpretability.
Motivation & Objective
- To address the challenge of extracting meaningful, interpretable patterns from semi-structured clickstream data for downstream predictive tasks.
- To automate feature engineering in intent prediction by replacing hand-crafted features with pattern-based embeddings derived from sequential behavior.
- To improve model performance in customer intent prediction while maintaining interpretability through constraint reasoning and pattern mining.
- To demonstrate that pattern embeddings serve as an effective integrator between sequential data and machine learning models.
Proposed method
- The method performs dichotomic split of the sequence database into positive and negative outcome groups based on binary labels (e.g., purchase vs. no purchase).
- It applies constraint-based sequential pattern mining (CSPM) independently on both positive and negative sets to find frequent patterns under user-defined constraints (e.g., time spent, price range).
- It identifies unique patterns in each group (Pos_unique, Neg_unique) and common patterns (PN_union) to highlight distinguishing behavioral signatures.
- The resulting pattern sets are used as feature embeddings for downstream machine learning models, such as LightGBM, shallow neural networks, and LSTMs.
- The approach uses Seq2Pat for automated pattern generation and leverages SHAP values to interpret feature importance and extract high-level insights.
- Constraints are applied to filter irrelevant or noisy patterns, reducing search space and improving relevance of discovered patterns.
Experimental results
Research questions
- RQ1Can constraint-based sequential pattern mining effectively extract interpretable, high-impact behavioral patterns from semi-structured clickstream data?
- RQ2How do pattern embeddings derived from dichotomic mining compare to hand-crafted features in intent prediction performance?
- RQ3To what extent do pattern-based features improve the performance of diverse machine learning models, including LightGBM, shallow neural networks, and LSTMs?
- RQ4Can the resulting pattern embeddings retain interpretability while enabling automated, scalable feature generation?
- RQ5What high-level behavioral signals can be extracted from the most predictive patterns in the dataset?
Key findings
- The Seq2Pat-generated pattern embeddings achieved F1 scores comparable to those of a reference study using hand-crafted features, demonstrating effective automation of feature engineering.
- The LSTM model fine-tuned with Seq2Pat features (LSTM_Seq2Pat) achieved the highest F1 score and AUC, indicating strong performance gains from pattern-based feature augmentation.
- The top predictive pattern, ⟨3,1,1⟩, corresponds to adding a product to cart, confirming its strong correlation with purchase intent.
- Repeated page views (⟨1,1,1,1,1,1,1⟩) and specific product views (⟨2,1,1,1⟩) were positively correlated with purchase intent, while broad exploration (⟨1,1,2,1,2⟩) was negatively correlated.
- The pattern ⟨4,1,1⟩—removing a product then viewing multiple pages—was a strong positive predictor, suggesting a missed opportunity for targeted promotions.
- Search actions (⟨6⟩) had minimal impact on predictions, raising concerns about search system quality and relevance.
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.