Data Science Retention · Predictive models

Customer churn prediction with AI models

Who is leaving, with how much lead time and why

Explanation in every prediction Integrated in your system Continuous monitoring Measured with a control group
Ab retain

The problem

Companies with recurring customers have a risk formula. Four or five signals, a weight for each, a threshold that separates at-risk customers from the rest. Someone built it with good judgment and for a while it worked.

Then the business changed and the formula did not. It treats a three-month customer and a four-year customer the same, does not distinguish between someone who is leaving and someone going through a rough patch, and its weights are still the ones someone chose back then. The risk list ends up full of people who were not going to leave, and those who actually do don't appear. The team executes well on a badly assembled list.

It is an expensive problem at a time when almost no one can afford it.

In Gartner's 2025 survey of revenue leaders, 73% declared they prioritize growth over their existing customer base. Acquisition costs have risen steadily, and conversion on cold audiences does not compensate. The risk list stopped being an internal exercise and became the input for most marketing decisions.

The solution

A model that calculates, for each customer, the probability of canceling within a defined time window, and the signals that carry the most weight in that specific case.

The reason is used as much as the probability. A customer at risk due to price and another due to a drop in activity need different actions, and the reason is what routes each one. The list arrives sorted, so it is trimmed by budget rather than by threshold. If this week there is capacity for three hundred contacts, those are the first three hundred.

What the model does not do is decide who to contact. That depends on each customer's margin, the cost of the action, and the team's capacity. Those are things your team knows and the model does not, and they can be added later as a decision layer on top of the model.

Why a model and not a better formula

Because the problem is not that the formula has too few signals. It is that the signals interact. A drop in frequency does not carry the same weight if it came after a price increase, and that combined effect changes by segment and by point in the cycle. A weighted sum cannot capture that without becoming unmanageable.

And because a fixed formula ages. The model is retrained with the history that keeps accumulating, learns new patterns as they appear, and allows quick adjustments when a new data source becomes available.

More on the blog: Customer retention: what a churn model predicts and what it doesn't →

When a churn model is justified, and what to expect

Churn rate is the percentage of customers who leave in a given period. It measures how much churn happened. A churn model estimates which customers are most at risk of leaving before it happens, so action can focus on that group. Churn rate is also the starting point the model is compared against. Flagging customers at random would be right at that rate.

A churn model is justified when the departures that the retention action avoids are worth more than the action and the upkeep of the model cost. The calculation uses four figures. They are how many customers are contacted, what each contact costs including its offer, what share of them stay because of the action, and what each customer who stays is worth. The share who stay because of the action is best measured against a control group that is not contacted.

In a project of this kind, with a churn rate of between 10 and 15% per period, contacting the 10% of customers at highest risk according to the model reached about 6 in 10 of those who actually left. That coverage depends on the churn rate and on how much behavioral data there is. It also depends on how early the departure has to be detected.

It is also worth comparing the model with the simple rule already in use. In a project with monthly recurring payments, among the customers who had gone longest without paying, out of every 100 flagged, about 86 left under the rule and about 90 under the model, so there the simple rule was already enough. The model added value among customers who were still up to date with their payments, a tier with little churn. Out of every 100, about 6 left when the whole tier was taken and about 21 among those the model picked. That is why the tier where the decision changes is measured, and not only an overall metric.

How it integrates

The result is delivered where the team already works, whether the CRM, the campaign tool, or the data warehouse. Each prediction comes with the signals that explain it, which is what allows choosing the action and, in regulated sectors, justifying why a customer appeared on a list.

The model is kept under watch.

A study by researchers at MIT, Harvard, and the University of Monterrey found that 91% of machine learning models degrade over time. It is not a construction defect: it is what happens when the world the model learned from stops resembling the one in front of it.

That is why both data drift and accuracy are measured continuously, and retraining is triggered before the decline reaches the results.

The same model, other applications

A churn model predicts the end of a recurring relationship from deterioration signals. The data changes, not the structure.

01

Employee turnover.

Which people are most likely to resign in the coming months. Consumed by HR and team managers.

02

Default and delinquency.

The same mechanism applied to a credit relationship, feeding collections policy instead of campaigns.

03

B2B account loss.

Reduction in orders, drop in contacts, change of counterpart. Consumed by the account sales team.

04

Program dropout.

Adherence to a treatment, retention in a training program. Consumed by the follow-up team.

Related cases
Purchase propensity → Customer lifetime value → Customer segmentation → Donor churn for nonprofits → Policy lapse in insurance →