Will BoothWill Booth

Adaptive Reward Engine: personalised rewards with a contextual bandit

An AI agent feedback loop: observe, orient, decide, act

Summary

A contextual bandit that personalises discount rewards in real time, lifting daily engagement and cutting churn without spending on users who would have stayed anyway.

Problem

Flat rewards ignore how players drift.

Engagement in iGaming and subscription commerce follows a pattern: new users play often, plateau, then drift. Fixed points and uniform discounts react too late, and by the time a user churns, winning them back costs far more than keeping them would have.

The hard part is knowing when to step in, and by how much, without wasting budget on users who would have stayed anyway.

Approach

Treat every reward as a bandit decision.

Instead of fixed tiers with static rewards, each reward is an action with an uncertain outcome. At every eligible session the system reads the user's context (spend history, session frequency, login recency and weekly active days) and picks a discount between 0 and 30% that maximises the chance they return within 48 hours.

The algorithm is LinUCB. It fits a linear model from user features to the value of each discount, and its upper confidence bound makes it explore uncertain options, especially for new users, while exploiting what already works. Over time it settles on a discount curve for each kind of user, without those profiles being defined up front.

Feedback loop

A loop that keeps learning.

Inference runs on every eligible session. Model weights update continuously as outcomes arrive.

User state space

Four player states.

Each user sits on two axes: engagement (session frequency, daily logins and recency) and spend (lifetime value weighted towards recent activity). Their quadrant gives the bandit a starting point for the discount, which it then refines from their own history.

Quadrant boundaries shift as the model learns. Discount ranges are starting points, not caps.

Simulated results

Less discount, more engagement.

Simulated on 10,000 synthetic users over 90 days, against a flat 10% discount for everyone.

49%

DAU / WAU

Up from 31%

−26%

Churn rate

Against the flat baseline

7.4%

Average discount

Down from 10%

3.2k

Convergence

Interactions to settle

Top-spend users averaged a 2.1% discount and high churn-risk users 18.6%. The engine put the spend where it mattered, keeping more users at a lower average cost.

Next lab

ShinkansenA paper bullet train from Tokyo to Hakata