Profiling Television Watching Behaviour Using Bayesian Hierarchical Joint Models for Time-to-Event and Count Data

Rafael de Andrade Moral, Zhi Chen, Shuai Zhang, Sally McClean, Gabriel Rodrigues Palma, Brahim Allan, Ian KegelarXiv 2022 · DOI

Abstract

Customer churn prediction is a valuable task in many industries. In telecommunications it presents great challenges, given the high dimensionality of the data, and how difficult it is to identify underlying frustration signatures, which may represent an important driver regarding future churn behaviour. Here, we propose a novel Bayesian hierarchical joint model that is able to characterise customer profiles based on how many events take place within different television watching journeys, and how long it takes between events. The model drastically reduces the dimensionality of the data from thousands of observations per customer to 11 customer-level parameter estimates and random effects. We test our methodology using data from 40 BT customers (20 active and 20 who eventually cancelled their subscription) whose TV watching behaviours were recorded from October to December 2019, totalling approximately half a million observations. Employing different machine learning techniques using the parameter estimates and random effects from the Bayesian hierarchical model as features yielded up to 92% accuracy predicting churn, associated with 100% true positive rates and false positive rates as low as 14% on a validation set. Our proposed methodology represents an efficient way of reducing the dimensionality of the data, while at the same time maintaining high descriptive and predictive capabilities.

Introduction

Predicting customer churn—when a subscriber cancels their service—is a high-stakes challenge for telecommunications companies. The primary difficulty lies in the sheer volume and complexity of the data: a single customer can generate thousands of time-stamped events (channel changes, menu navigations, etc.) over a few months. Standard machine learning models often struggle with this high dimensionality or fail to capture the subtle "frustration signatures"—behavioral patterns like rapid "zapping" through channels—that often precede a cancellation. This research presents a method to reduce this massive data into a concise, meaningful set of features that can accurately distinguish between satisfied and frustrated customers.

Methodology

The researchers developed a Bayesian hierarchical joint model that simultaneously analyzes two aspects of a "viewing journey" (the period from turning the TV on to turning it off):

  1. Event Counts: The total number of interactions within a journey, modeled using a truncated Poisson distribution.
  2. Time-to-Event: The duration between consecutive interactions, modeled using a Gamma distribution.

The "hierarchical" part of the model is crucial: it accounts for the fact that multiple viewing journeys belong to the same customer. By using random effects, the model extracts 11 customer-specific parameters—such as navigation speed, autocorrelation (how much the current action depends on the previous one), and the influence of different program genres. These 11 parameters serve as a highly compressed "behavioral fingerprint."

Data and Preprocessing

The study utilized an anonymized dataset of client logs from BT TV (using the YouView platform), consisting of approximately 500,000 observations from 40 customers (20 active and 20 who eventually cancelled) between October and December 2019. Raw logs were transformed into event sequences to capture the temporal dynamics of user interaction.

Illustration of how the YouView set-top box data was prepared for analysis, transforming raw logs into event sequences.

Results and Discussion

The model confirmed that customers who eventually churned often displayed "zapping" behavior—short intervals between events combined with a high total number of events. This is interpreted as a sign of frustration, likely driven by a perceived lack of interesting content. Unlike "black-box" dimensionality reduction techniques, the parameters here have physical meaning, allowing for interpretable analysis of user behavior.

Clustering analysis further validated the model's efficacy. When clustering customers based on raw data, the groups were poorly defined. However, clustering based on the 11 model parameters showed a much clearer separation between active and cancelled subscribers.

Dendrograms comparing raw data (left) vs. parameter estimates (right). The model-based approach shows a much clearer two-cluster solution.

Using the model-based features, a Support Vector Machine (SVM) achieved 92% accuracy in predicting churn, with a 100% True Positive Rate and a False Positive Rate as low as 14%. A "naïve" approach using raw sequences only reached 58% accuracy, proving that the Bayesian feature extraction is essential for high performance.

Conclusion

This study introduces an efficient way of reducing the dimensionality of IPTV clickstream data while maintaining high descriptive and predictive capabilities. While the current implementation is limited by sample size and the computational intensity of MCMC estimation, it demonstrates the power of Bayesian hierarchical models in identifying behavioral signatures of churn. Future work will focus on scaling these methods for larger datasets and real-time application.

Summary updated

Abstract

Customer churn prediction is a valuable task in many industries. In telecommunications it presents great challenges, given the high dimensionality of the data, and how difficult it is to identify underlying frustration signatures, which may represent an important driver regarding future churn behaviour. Here, we propose a novel Bayesian hierarchical joint model that is able to characterise customer profiles based on how many events take place within different television watching journeys, and how long it takes between events. The model drastically reduces the dimensionality of the data from thousands of observations per customer to 11 customer-level parameter estimates and random effects. We test our methodology using data from 40 BT customers (20 active and 20 who eventually cancelled their subscription) whose TV watching behaviours were recorded from October to December 2019, totalling approximately half a million observations. Employing different machine learning techniques using the parameter estimates and random effects from the Bayesian hierarchical model as features yielded up to 92\% accuracy predicting churn, associated with 100\% true positive rates and false positive rates as low as 14\% on a validation set. Our proposed methodology represents an efficient way of reducing the dimensionality of the data, while at the same time maintaining high descriptive and predictive capabilities. We provide code to implement the Bayesian model at https://github.com/rafamoral/profiling_tv_watching_behaviour.
BibTeX
@misc{moral2022profiling,
  author = {Rafael de Andrade Moral and Zhi Chen and Shuai Zhang and Sally McClean and Gabriel Rodrigues Palma and Brahim Allan and Ian Kegel},
  title = {{Profiling Television Watching Behaviour Using Bayesian Hierarchical Joint Models for Time-to-Event and Count Data}},
  year = {2022},
  eprint = {2209.02626},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02626},
}
Figure