Technical

How LTV.ai optimizes subject lines while the campaign is still sending

LTV.ai treats subject lines as a live bandit problem, learning which line wins while the campaign is still sending, personalized per recipient.

Soft watercolor of a field of tall grass bending as a breeze moves visibly across it in real time.

Quick answer: LTV.ai generates a pool of subject-line variants, then runs a live explore-exploit (bandit) loop during the send. As real opens come in, the system learns which line is winning and shifts later batches toward it, while personalizing to each recipient. The optimization happens mid-send, not after.

Why static A/B testing is not enough

A classic A/B test needs volume and time to reach significance, and by the time it does, the send is over. It also picks one global winner, ignoring that different recipients respond to different lines. LTV.ai treats the subject line as a decision made continuously during the send, not a bet locked in before it.

How the live loop works

The send is split into time-spaced batches. Each subject-line variant is a bandit arm. As each batch goes out, the system observes real opens, updates its estimate of how each arm is performing, and re-scores the arms that have not been sent yet. Early batches explore, because there is no feedback yet; later batches exploit what is winning. Recipients are matched to the variant most likely to resonate with them, using a semantic profile of the subject lines each recipient has engaged with before.

Why per-recipient matters

The global best line is not the best line for everyone. Because the model scores each recipient against each variant, a line that lands with one cohort can be routed to that cohort specifically, rather than being averaged away.

How it stays honest

Already-sent batches are frozen so that attribution stays clean, and open rate is the reward signal the loop optimizes against. Model quality is tracked per campaign so results are auditable.

Frequently asked questions

Does this delay the send? No. Optimization happens across the natural batches of a normal send.

Is it the same line for everyone? No. It personalizes per recipient while still learning the overall winner.


Part of the machine learning behind LTV.ai, a series on how the platform works under the hood.

See it on your store: book a demo.