RFM segmentation groups customers by how recently they bought, how often they bought, and how much they spent, using defined scoring rules. In this article, “AI customer segmentation” means one of two model-based operations: finding groups of customers with similar data, or building an audience from a prediction such as predicted customer lifetime value. The difference is in how membership is decided and what the group is meant to represent. RFM and model-based grouping can also be used in the same analysis.
AI segmentation vs RFM, in short. RFM assigns a customer to a group using purchase-history measures and score rules. A clustering model groups customers by similarity across the features supplied to it. A predictive model can select customers by an estimated score for a specified future outcome, such as spend over a stated period. Neither type of model shows, by itself, that a campaign to the resulting group will retain more customers.
What does RFM decide?
RFM starts with three observed measures: recency, frequency, and monetary value. Whoever builds the report chooses how each measure is scored and which score combinations form a group; the resulting segment describes a customer’s purchase history under those rules. For example, Shopify’s RFM report assigns three scores from 1 to 5 using days since last order, total orders, and total spend, then places customers in one of 11 predefined groups. Its scores are relative to that store’s customers, not to an industry-wide benchmark.
These groups are useful when the decision can be stated in purchase-history terms: finding customers who bought recently and often, or those who once bought frequently but have not returned. In Shopify’s report, the rules can be checked: its help page lists the score ranges that define each group. RFM does not, on its own, estimate what a particular customer will do next or whether a message will change that outcome.
What can “AI segmentation” decide instead?
Similarity-based segmentation uses a clustering model. Google’s clustering guide defines clustering as grouping unlabeled examples according to a specified similarity measure. For customers, the chosen features might include RFM measures plus other usable behavior. The model returns groups who are similar under that feature set and similarity measure. A predictive model instead scores a future outcome, such as spend over a year; a chosen cutoff can form an audience.
The Klaviyo Help Center describes forming a segment from predicted customer lifetime value by choosing a value for expected spend over a year. This feature requires at least 500 customers who have ordered, at least 180 days of order history with an order in the last 30 days, and some customers with three or more orders. These are Klaviyo’s requirements for this feature, not a general minimum for predictive segmentation.
| Question | RFM rules | Similarity-based model | Prediction-based model |
|---|---|---|---|
| What puts a customer in the group? | Purchase measures and score boundaries set by the report | Similarity across supplied features | A score for a specified future outcome and a chosen cutoff |
| What does membership mean? | Their past purchase pattern meets the group rule | They resemble other members under the model’s similarity measure | The model estimates a higher or lower score for the named outcome, such as expected spend |
| What must the team inspect? | Score rules and group thresholds | Input data, feature scaling, group sizes, and individual assignments | Outcome definition and prediction window |
| Does membership prove a retention message works? | No | No | No |
Can a model use RFM data?
Yes. In a UK online retail study published in 2023, researchers used the RFM framework to quantify customer value and then compared five clustering algorithms. This is an example of RFM and clustering used in the same analysis. The study did not establish that a retention campaign based on those groups worked better.
This raises a practical question. If an “AI segment” uses only the same recency, frequency, and spend fields already in the RFM report, it may simply draw different boundaries around the same customer information. Ask which additional data or decision the model adds before treating its output as a new view of the customer.
When is a model worth adding?
Start with the retention decision. If the team needs an explainable way to target customers based on purchase history, RFM may be enough. If customers with similar purchase histories need different treatment because other measured behavior matters, a model may be worth testing. If the decision is about expected future spend, a predictive model may fit better than a similarity cluster. Before adopting one, check that its output is usable and that acting on it beats an RFM baseline against an untreated control.
Then test two separate things:
- Is the model’s output usable? For clustering, Google’s workflow calls for preparing and scaling features, defining similarity, and checking the resulting groups. Its evaluation guide recommends inspecting group size and individual assignments because clusters have no ground-truth labels. If a later model uses the clusters, check whether that model performs better when the clustering changes.
- Does acting on it improve retention? Compare a model-led targeting policy with a clear RFM baseline, using an untreated control or another credible counterfactual to estimate incremental effect. Sawant and co-authors distinguish incremental marketing effects from observed outcomes. A high response rate among contacted customers, or well-separated clusters, cannot settle what would have happened without the contact.
The practical choice is the simplest grouping that changes a real decision and passes both tests. Keep RFM as the baseline until a model beats it.
Sources
- Shopify Help Center — Customers reports
- Google for Developers — What is clustering? · 25 Aug 2025
- Klaviyo Help Center — How to segment by customer lifetime value · 6 Aug 2025
- John, Shobayo and Ogunleye — An Exploration of Clustering Algorithms for Customer Segmentation in the UK Retail Market
- Google for Developers — Clustering workflow · 25 Aug 2025
- Google for Developers — Evaluating results · 25 Aug 2025
- Sawant et al. — Contextual Multi-Armed Bandits for Causal Marketing · 2 Oct 2018