Inferensys

Glossary

Propensity Scoring

A statistical technique that calculates the probability of a user performing a specific future action, such as making a purchase or churning, based on their observed characteristics and behaviors.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
PREDICTIVE ANALYTICS

What is Propensity Scoring?

Propensity scoring is a statistical technique that calculates the probability of a user performing a specific future action based on their observed characteristics and behaviors.

Propensity scoring is a statistical technique that calculates the probability of a user performing a specific future action—such as making a purchase, churning, or clicking an offer—based on their observed characteristics and historical behaviors. The output is a numerical score between 0 and 1, representing the likelihood of conversion, which is generated by training a supervised machine learning model on labeled historical data.

These models ingest features from a feature store, including recency-frequency-monetary (RFM) metrics, clickstream patterns, and demographic attributes, to output a real-time score. In production, the score is consumed by a next-best-action engine or a real-time decisioning engine to trigger a personalized intervention, such as a discount offer, within milliseconds of a user's session.

CORE COMPONENTS

Key Features of Propensity Models

Propensity models transform raw behavioral data into actionable probability scores. These are the fundamental building blocks that enable real-time decisioning engines to predict and influence future customer actions.

01

Binary Classification at the Core

At its heart, a propensity model is a binary classifier that outputs a probability between 0 and 1. It answers a specific yes/no question: Will this user purchase within 7 days? Will they churn this quarter? Common algorithms include logistic regression for interpretability and gradient-boosted trees (XGBoost, LightGBM) for raw predictive power on tabular data. The output is not a segment label but a continuous score, allowing for precise rank-ordering of a customer base.

02

Feature Engineering from Behavioral Streams

Model accuracy depends on transforming raw clickstreams into predictive features. Key feature categories include:

  • Recency features: Time since last purchase, last email open, last support ticket.
  • Frequency features: Purchase count in the last 30 days, page views per session.
  • Velocity features: Rate of change in engagement, such as a sudden drop in login frequency.
  • Derived ratios: Cart abandonment rate, wishlist-to-purchase ratio. These features are computed in real-time using windowed aggregation over event streams.
03

Real-Time Scoring vs. Batch Inference

Propensity models can be deployed in two modes:

  • Batch scoring: A nightly job scores the entire customer base, writing results to a CRM or CDP for next-day campaign orchestration.
  • Real-time scoring: The model is served behind a low-latency REST or gRPC endpoint. When a user triggers an event (e.g., adds an item to cart), the system synchronously requests a new propensity score to power an immediate next-best-action decision. Real-time scoring requires a feature store to serve pre-computed aggregates with sub-10ms latency.
04

Calibration and Output Interpretation

A raw model output of 0.8 does not inherently mean an 80% chance of conversion; it is a relative ranking. Probability calibration techniques like Platt scaling or isotonic regression map these raw scores to true, well-calibrated probabilities. A perfectly calibrated model means that among all users assigned a 70% propensity score, exactly 70% will perform the target action. This is critical when scores drive financial decisions like discount allocation or risk assessment.

05

Training Data: Positive and Negative Sampling

Propensity models learn from historical examples of the action they are trying to predict.

  • Positive class: Users who performed the action (e.g., completed a purchase).
  • Negative class: Users who had the opportunity but did not perform the action. Defining the negative class correctly is crucial. For a purchase propensity model, negatives are users who were active and saw the product but did not buy, not users who were inactive. Observation windows must be carefully chosen: a 7-day prediction window requires labeling based on actions within the subsequent 7 days.
06

Evaluation Metrics Beyond Accuracy

Accuracy is misleading for imbalanced datasets where the target action is rare (e.g., 2% purchase rate). Propensity models are evaluated using:

  • AUC-ROC: Measures the model's ability to rank a random positive instance higher than a random negative one.
  • Precision@K: Among the top K users scored, what percentage actually converted? This directly maps to campaign budget efficiency.
  • Lift charts: Show how much better the model is at identifying converters compared to random targeting.
  • Expected calibration error (ECE): Quantifies the gap between predicted probabilities and observed frequencies.
PROPENSITY SCORING

Frequently Asked Questions

Clear, technically precise answers to the most common questions about propensity scoring—how it works, how it's built, and how it drives real-time personalization.

Propensity scoring is a statistical technique that calculates the probability of a specific user performing a defined future action—such as making a purchase, churning, or clicking an offer—based on their observed characteristics and historical behaviors. The core mechanism involves training a supervised machine learning model (often logistic regression, gradient boosted trees, or deep neural networks) on labeled historical data where the outcome is known. The model learns the weighted relationship between input features (e.g., recency of last visit, pages viewed, past transaction value) and the binary target variable. At inference time, the model outputs a continuous score between 0 and 1 representing the likelihood of conversion. This score is then used by downstream decisioning engines to trigger personalized interventions—such as offering a discount to a user with a high churn propensity but low purchase propensity—in real-time.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.