Label a player "churned" after 30 days of silence, and on a typical casino return curve about one in five comes back unprompted. That sets the problem. A churn model is worth funding only if a retention team can act on it early enough, and cheaply enough, to change what a player does next.
Getting there takes more decisions about definitions, censoring and control groups than about algorithms, and this piece goes through them roughly in the order they bite.
There is no churn event, only an absence that keeps growing
A telecoms operator knows exactly when a customer churned, because a contract was cancelled on a particular date. An online casino has nothing of the kind. A player does not resign. They simply stop appearing, and every day of silence is slightly more informative than the last without ever becoming conclusive.
Someone who has not logged in for 40 days may be gone, may be on holiday, or may be waiting for a sporting event that starts next week.
This is why the modelling work in churn prediction begins long before a model. The target variable does not exist in the data; it has to be manufactured. How you manufacture it shapes the results far more than the choice between logistic regression and gradient boosting.
Two teams at the same operator, using the same features and the same algorithm, will produce models with completely different behaviour if one defines churn as 30 days of inactivity and the other as 60.
Three decisions have to be made explicitly and written down:
- What counts as activity. A login, a session, a wager, or a deposit are four different definitions, and they produce different populations. Wager-based definitions are usually the most stable; login-based ones are polluted by app background refreshes and by players who check a balance without playing.
- How long the silence must run. This is the inactivity threshold, and it should come from the data rather than from a habit inherited from another industry.
- Over what horizon the prediction is made. "Will churn in the next 30 days" and "will churn in the next 90 days" are separate models with separate base rates, separate feature relevance and separate usefulness to the retention team.
The second decision, the threshold, is the one most often inherited instead of measured. The defensible way to set the threshold is to measure how return behaviour decays with silence. Take a historical cohort, group players by the length of their inactivity gap, and compute the share who ever came back and wagered again.
The result is a curve that falls steeply and then flattens, and the elbow is the candidate threshold.
An illustrative version of that curve for a casino-led brand:
After seven days of silence, 63 per cent of players still return and wager within 60 days. By day 14 that has fallen to 42 per cent, a 21-point drop, then to 28 per cent at day 21 (down 14 points) and 19 per cent at day 30 (down 9). The curve keeps flattening: 10 per cent at 45 days, 6 per cent at 60, 3 per cent at 90, and 2 per cent at 120, where each further interval buys only a point or two of separation. The steep early section is where the elbow sits.
Reading this honestly leads to an uncomfortable conclusion about the popular 30-day rule. At 30 days, roughly one in five of the players you have just labelled "churned" will return without any intervention at all. That noise is baked into any 30-day label read as permanent departure, and no amount of feature engineering will remove it.
Pushing the threshold to 60 days cuts label noise to about 6%. But then the model can only be trained on events at least 60 days old, and the retention team learns about a departure two months after the useful moment.
The resolution is usually to separate the labelling threshold from the operational trigger. Label at 60 days for a cleaner target, and let the model predict the probability of reaching that state, so the retention team can act at day 8 on a prediction rather than at day 60 on a fact.
The threshold should also differ by product and by segment. A sportsbook player who bets only on weekend fixtures has a natural rhythm that a casino-calibrated threshold will misread. A high-frequency slots player who disappears for nine days is a stronger signal than a low-frequency one who disappears for a month.
Normalising the gap against each player's own historical inter-session interval is usually more informative than an absolute day count.
Censoring is the reason the naive training table is biased
Assemble a training table on 31 December with a 60-day churn definition, and every player whose last session was in November is unlabelled. They have not been silent for 60 days yet, and they may or may not reach that state. Statisticians call these right-censored observations: the outcome is still unknown on the day the data is pulled. What you do with them decides whether the model's probabilities can be trusted.
Three options, in ascending order of correctness:
Drop them. Simple, and it discards the most recent and most relevant data, which is exactly the period where behaviour resembles what the model will see in production.
Label them as retained. Convenient, and wrong in a specific direction: it treats "we do not know yet" as "did not churn", which depresses the observed churn rate near the end of the window and teaches the model that recent cohorts are loyal.
The bias has the same structure as label lag in fraud models, where recent deposits look clean only because their chargebacks have not arrived yet, and it is just as invisible in offline metrics.
Handle them properly. Either enforce a maturity embargo (end the observation window 60 days before extraction, so every remaining row has a resolved outcome) or move to a survival framework that consumes censored rows as partial information rather than throwing them away.
The embargo is the cheaper option and works well when data is plentiful. Survival methods are worth the extra effort when the population is small, when the horizon of interest is long, or when the question is "how long until" rather than "whether".
Three ways to ask the question: yes or no, week by week, or time until leaving
The framing choice matters more than the estimator, and the three common framings answer visibly different questions.
| Framing | Target | What it gives you | Where it struggles |
|---|---|---|---|
| Binary classification over a fixed horizon | Churned within N days, yes or no | One probability per player, easy to threshold | Loses timing entirely; discards censored rows |
| Discrete-time hazard | Churn in this week, given survival so far | Probability by period, censoring handled naturally | Requires a person-period table, which multiplies row count |
| Cox proportional hazards | Relative risk over continuous time | Interpretable covariate effects, clean handling of censoring | Proportionality assumption rarely holds across a full player base |
| Survival forests / gradient-boosted survival | Full survival curve per player | Timing plus nonlinearity | Heavier to train, harder to explain to stakeholders |
Discrete-time hazard, the week-by-week framing, deserves more attention than it usually gets, because it is unreasonably practical.
Explode each player into one row per week of observation, mark the week they churned, drop rows after that, and fit an ordinary classifier (logistic regression or gradient boosting) to the per-week event. Censored players simply contribute rows up to the cut-off.
The output is a hazard by week, from which a survival curve and any fixed-horizon probability can be derived. You get timing, correct handling of unfinished outcomes and the whole ordinary tooling stack. The price is a much larger training table, plus the reminder that rows from the same player are not independent when you judge accuracy.
The rules baseline is not a joke here. "Contact anyone who has not wagered in 10 days and previously wagered at least weekly" is a strong policy that costs an afternoon to implement.
Any model should be measured against it on the extra players it actually keeps. AUC, a ranking score, says nothing about money, and a surprising number of first-generation churn models fail that comparison.
"Days since last visit" is the answer sneaking into the question
Churn modelling has the most seductive leakage in the industry, because the strongest available feature is a near-copy of the target.
Days since last session, days since last deposit, sessions in the last seven days, whether the account was active yesterday: all of these are enormously predictive of an inactivity-based churn label, and all of them are partially the label itself. A model built on them reports outstanding metrics and tells the retention team something they could have read off a dashboard.
The structural fix is a gap between the feature window and the outcome window. Freeze features as of day zero, leave a deliberate gap, and measure the outcome after it.
If the churn definition is 60 days of silence, features computed at day zero and an outcome measured over days 1 to 90 still allow a model to score "already inactive for 55 days" as an obvious churner.
The fix is to require the player to be active as of day zero: define an eligibility population, such as players who wagered at least once in the previous 14 days. That removes the degenerate cases and forces the model to learn the earlier, softer signals that are actually worth having.
Other leaks in this domain are less obvious and equally common.
Aggregates computed over the player's entire lifetime rather than up to the scoring date. Bonus balance and pending-withdrawal fields that reflect actions taken after the scoring point. Support-ticket flags created during the retention campaign that was triggered by the earlier score, which turns the model's own output into an input. And customer-service notes, which are written after somebody noticed a problem.
Precision in the top decile is the only number retention can spend
ROC-AUC on a churn model looks reassuring and rarely changes a decision. With a base rate around 8%, moving the false-positive rate from 10% to 12% barely moves the curve while adding thousands of players to a campaign list.
The metrics that survive contact with a retention budget are simpler. Precision at the list size you can afford: what share of contacted players were really about to leave. Recall at that size: what share of all leavers you reached. And calibration: whether a predicted 30% really means 30%.
A worked example. A brand has 50,000 players eligible for scoring in a given month and a true 60-day churn rate of 8%, so 4,000 will leave. The retention budget covers 5,000 contacts at an average cost of 9, which is 45,000.
Target only the top 2,000 and precision is 57.5 per cent, but you reach just 1,150 of the 4,000 churners, a recall of 28.8 per cent, and waste 850 contacts.
Open the list to 5,000 and precision falls to 42 per cent while recall climbs to 52.5 per cent: 2,100 churners caught, 2,900 contacts wasted. Push to the top 10,000 and you capture 2,950 churners at 73.8 per cent recall, but precision drops to 29.5 per cent and more than 7,000 contacts are spent on players who were never going to leave.
Random selection of 5,000 is the floor: 8 per cent precision, 400 churners at 10 per cent recall, 4,600 wasted.
Against random selection the model is worth a great deal: 2,100 churners reached instead of 400. Whether the campaign makes money is a separate calculation that the model cannot answer alone.
Suppose the offer prevents departure for 18% of the churners it reaches, and a saved player is worth 130 in the following six months. Then 2,100 × 0.18 × 130 gives 49,140 against a cost of 45,000. The margin is thin, and the thinness is the point: a good churn model with a weak intervention loses money, and nobody sees it in the model metrics.
Calibration deserves its own line. If the model says 0.30 and the observed rate among those players is 0.55, every expected-value calculation built on it is wrong by a factor that no one will notice until the annual review. A simple check that compares predicted and actual rates on a later period the model never saw, repeated at every retrain, is cheap insurance.
Niculescu-Mizil and Caruana showed at ICML 2005 ("Predicting Good Probabilities with Supervised Learning") that boosted trees and several other strong classifiers produce systematically distorted probabilities until they are recalibrated. So the check matters most for exactly the models churn teams like to use.
Knowing who leaves is not knowing who can be kept
The highest-scoring players in a churn model are frequently the least savable. Someone who lost a large amount last week, requested a withdrawal, and has not returned has usually made a decision. The model is right and the intervention is pointless.
So churn probability decides who is eligible for a campaign. It does not decide whom to target. The targeting question, meaning who responds to contact by staying, requires a treated group and an untreated group and an estimate of the difference.
Practically, that means a randomised holdout inside every retention campaign, and a second layer that estimates incremental retention rather than raw risk.
There is a further wrinkle specific to churn. Once retention acts on the score, the score stops being verifiable: the players predicted to churn are precisely the ones you tried to save, so their observed churn rate reflects the campaign rather than the model.
Without a permanent untreated control arm, model quality becomes unmeasurable within a few months of deployment, and the reported "accuracy" drifts into fiction. The arm also protects against a slower error. Short-term results can drift away from long-term effects as players adapt to a new offer, and a retention offer that wins in its first month can train players to wait for the next one. Only a group that never gets the offer shows that shift.
Seasonality is not drift, and a score older than a week is stale
Player activity in iGaming has strong calendar structure. A major football tournament pulls sportsbook players in and pushes some casino players out; the weeks after it end with an activity cliff that looks exactly like mass churn. Payday cycles create a monthly rhythm. Promotional calendars create their own.
A model retrained mechanically each month on the trailing period will absorb these as if they were permanent shifts, and will then predict a wave of churn in the quiet period following any peak.
Two safeguards help: include calendar context as explicit features rather than letting the model infer it from behaviour, and validate against the same period in a previous year where history allows.
Genuine drift looks different and needs a different response. A new game supplier, a change in payment methods, a market launch, or a redesigned onboarding flow all change the meaning of the features.
A weekly check of whether the main features still have the same distribution as before (a population stability index) catches these within days. The observed base rate in the control arm is the other early indicator, since it moves for real reasons and is unaffected by campaign activity.
A reasonable rhythm is a monthly refit with a fixed feature pipeline, an out-of-cycle refit on a drift alert or a major product change, and a quarterly review of the churn definition itself. If the typical playing rhythm of the base has changed, the threshold that defined churn last year is measuring something else this year.
Freshness is the other half of timing. Churn scoring is a batch problem, but the batch has to be frequent enough to be actionable. A score computed on the first of the month and used on the twenty-fourth is describing a player who no longer exists; the whole value of early detection is lost to staleness.
Daily scoring of the eligible population is the usual answer, with the heavy feature aggregation running overnight and the score written to a store the campaign platform can read. What genuinely needs real time is thin: an in-session trigger after a long losing sequence or a failed deposit, which is better handled by a small rule or a lightweight model on live signals than by forcing the main model into a low-latency path.
The engineering constraints worth stating in advance are the same ones that trip most deployments.
Features must be computable at scoring time for every eligible player, including recent registrations with almost no history. That usually means either a separate model for new players or marking missing history as missing instead of filling it with guessed averages. The transformation code must be shared between training and scoring. And every score must be persisted with its date, model version and the features that produced it, or the retrospective question "why was this player contacted" has no answer.
Some players must never reach the model, and some questions it cannot answer
Retention modelling touches regulated ground more directly than most operators expect, and the boundaries belong in code rather than in a policy document.
Players who have self-excluded, are inside a cooling-off period, or have been flagged through a markers-of-harm process must be removed from the eligible population before scoring, not filtered at send time.
This matters technically as well as legally: those players are guaranteed to look like churners, so leaving them in the training data teaches the model that the pattern of a person in difficulty is the pattern worth chasing.
Regulators read it the same way. Customer-interaction rules in many licensed markets expect operators to cut bonus access and pause marketing as signs of harm build up, and to stop it entirely when those signs are strong. An unconstrained churn model recommends the reverse for the same player: more contact and a bigger offer at the worst possible moment.
The deeper hazard is that a churn model with no constraints will identify players whose reduced activity follows a large loss or a deposit-limit change as the highest-value targets for a re-engagement offer. That is the objective functioning as specified, and it is exactly the outcome licence conditions exist to prevent.
Practical countermeasures: a responsible-gambling risk score that acts as a veto and never as a feature, mandatory human review before any bonus is directed at a player with recent heavy losses, and periodic audit of the demographic and behavioural composition of the targeted list.
Human judgement also stays in charge of high-value accounts. An account manager who knows that a VIP is abroad for a month has information no feature captures, and the model's role there is to prompt a conversation with the manager. It should never trigger an automated grant.
A churn score also has limits that no amount of engineering removes. It cannot tell you why. Feature attributions describe which inputs moved the score. They say nothing about what happened in the player's life, and treating an attribution score (a SHAP value) as a diagnosis leads to campaigns that address a correlation.
If the model leans on declining session length, that is a symptom; the cause could be a game the player exhausted, a payment failure, or a competitor's promotion, and only the last two are addressable by CRM.
It cannot fix a product problem. When churn is concentrated among players who experienced a failed withdrawal, the model will faithfully identify them month after month while the queue in the payments team stays the same length. Modelling is the expensive way to keep observing a fixable defect.
It is unreliable on thin history. A player with three sessions has no rhythm to deviate from, and predictions on the first two weeks of a player's life are closer to demographic guesswork than behavioural inference. Early-life risk is better handled as a separate onboarding model with its own features and its own expectations.
And it will not survive a definition change without a rebuild.
Move the inactivity threshold from 60 days to 45 and the target, the base rate, the calibration and the useful threshold all move with it. This is by design. The churn model is a model of a definition, and the definition is a business decision. Revisit it on purpose, on a schedule, so it never changes by accident.
Six questions retention managers ask about the model
Why does the model flag players who are clearly still active? Because it predicts the probability of reaching an inactive state within a horizon, not current status. A player wagering daily but with shrinking stakes, longer gaps and a shift to lower-volatility games can carry high risk while looking healthy on a dashboard. That is the early warning the model exists to provide, and it will occasionally be wrong in exactly this way.
Our churn rate dropped after launching the campaign. Did the model work? Unknown without a control arm. Churn rates move with seasonality, traffic mix and acquisition quality, all of which changed in the same period. The only clean read is the difference between contacted and randomly withheld players inside the same scored population.
Should we score everyone or only recently active players? Only the eligible population, defined by a minimum recency and a minimum history. Scoring long-dormant accounts adds volume with no decision attached, and including them in training makes the target degenerate, since their status is already known.
Can one model serve casino and sportsbook players? Rarely well. The natural rhythms differ by an order of magnitude, so an inactivity threshold that identifies a lapsed slots player is normal behaviour for someone who bets on one league. Either train separately or normalise the gap against each player's own baseline interval and include product mix explicitly.
How far ahead can the model see? Usefully, on the order of a few weeks. Behavioural signals of disengagement appear shortly before the disengagement itself, and horizons stretched to several months mostly recover demographic and value-tier information that was already available. Long horizons are better framed as value forecasting than as churn.
The model was excellent at launch and is mediocre now. What happened? Three likely causes, in order of frequency: the retention programme is acting on the scores, so the outcome you measure is contaminated by the intervention; the player mix changed through acquisition; or a leaked feature was fixed in the pipeline without anyone retraining and the original score was never as good as it looked. A launch result that looks unusually good is usually a mistake, so check the pipeline for leaks before anyone celebrates.
A churn model that cannot beat the 10-day rules baseline on incremental retained value, measured against a permanent holdout, should be switched off, whatever its AUC.