[Paper Review] Topological Data Analysis of Time Series Data for B2B Customer Relationship Management
This paper proposes Time Series RFM and Topological RFM—two novel customer segmentation methods that enhance traditional RFM by modeling recency, frequency, and monetary values as time series and applying topological data analysis (TDA) to capture temporal patterns. The approach improves predictive accuracy in B2B CRM, with Topological RFM reducing RMSE by 92% on a cloud computing dataset compared to baseline RFM.
Topological Data Analysis (TDA) is a recent approach to analyze data sets from the perspective of their topological structure. Its use for time series data has been limited to the field of financial time series primarily and as a method for feature generation in machine learning applications. In this work, TDA is presented as a technique to gain additional understanding of the customers' loyalty for business-to-business customer relationship management. Increasing loyalty and strengthening relationships with key accounts remain an active topic of discussion both for researchers and managers. Using two public and two proprietary data sets of commercial data, this research shows that the technique enables analysts to better understand their customer base and identify prospective opportunities. In addition, the approach can be used as a clustering method to increase the accuracy of a predictive model for loyalty scoring. This work thus seeks to introduce TDA as a viable tool for data analysis to the quantitate marketing practitioner.
Motivation & Objective
- To address the limitations of traditional RFM in capturing dynamic customer behavior in B2B settings with sparse, non-representative time series data.
- To develop accessible, interpretable machine learning methods for non-technical marketing practitioners to improve customer loyalty prediction.
- To evaluate whether time series clustering and topological data analysis can outperform standard RFM in forecasting customer demand.
- To provide a reproducible, open-source pipeline for CRM data analysis using TDA, enabling practitioners to generate customer personas and improve model accuracy.
Proposed method
- Transform recency, frequency, and monetary values into time series data for each customer, representing their transaction history over time.
- Apply time series clustering using K-means on the time series data, with cluster count selected via the Elbow method for each RFM dimension.
- Use Rips filtration on point cloud embeddings derived from time series to compute persistence diagrams, focusing on 1-dimensional homologies (loops) to capture topological features.
- Extract features from barcode diagrams (persistence diagrams) of 0- and 1-dimensional homologies to represent topological structure for clustering.
- Perform K-means clustering on topological features to generate enriched customer segments, which are then used as categorical features in a gradient tree boosting model (CatBoost).
- Use CatBoost for prediction due to its native support for categorical features, and evaluate performance using RMSE on a 70-30 train-test split.
Experimental results
Research questions
- RQ1Is the traditional RFM framework sufficient to capture key aspects of customer behavior in B2B settings with limited and non-representative historical data?
- RQ2Can modeling RFM as time series and applying topological data analysis improve the accuracy of customer loyalty and demand prediction models?
- RQ3How do Time Series RFM and Topological RFM compare to standard RFM and baseline models in terms of predictive performance?
- RQ4In what scenarios is Topological RFM more advantageous than Time Series RFM, and what heuristics can guide practitioners in model selection?
Key findings
- Topological RFM reduced RMSE by 92% on the cloud computing dataset compared to the baseline no-RFM model, achieving an RMSE of 0.03 versus 0.38.
- Time Series RFM achieved the lowest RMSE across all datasets, with a 92% improvement over baseline on the cloud dataset (RMSE 0.05 vs. 0.38).
- Standard RFM showed only marginal improvement over no-RFM baseline, with RMSE decreasing from 3.56 to 3.98 on the cloud dataset, indicating limited predictive value.
- On the hospitality dataset, Topological RFM outperformed standard RFM (RMSE 275 vs. 240), though both were worse than on the cloud dataset, suggesting sensitivity to data quality.
- The use of topological features enabled the creation of interpretable customer personas via cluster centroids, which are themselves time series and useful for communication with decision-makers.
- The study demonstrates that TDA-based methods can be effectively integrated into CRM pipelines, offering both improved accuracy and enhanced interpretability for business analysts.
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.