ResearchMethod
Scoring affinity to any target
One profile per person misses what matters for a single brand or campaign. Here the brand or campaign is part of the question, so Magnet Decision judges each person with it in mind.

The problem
Given a person and a target, predict how the person will behave toward that target. The target can be a brand, a campaign, a product, a category, a merchant or an idea of an audience. The output that matters most is a purchase; adding to a basket and buying again give more signal to learn from.
Why a fixed vector falls short
The usual pattern compresses a person into one vector and trains a small classifier per campaign on top of it. The vector is the same for every target, so the classifier can only use what the vector happened to keep. For a narrow target, the evidence that matters is often the part that was averaged away.
The design
The person’s representation, the target’s description and a dedicated score token are placed in one sequence. The model attends over all three, so the relation between person and target is formed inside the model, with everything it has learned about products, prices, timing and context. A small head reads the final state of the score token and returns three independent values: purchase, basket and repeat purchase.
<USER_REP>
... the person’s compact representation at the cutoff ...
</USER_REP>
<TARGET>
type: campaign
name: Family holiday packages
description: package holidays for families with children
</TARGET>
<SCORE>Labels from what happened next
Each training row is built at a cutoff in time. The input holds only what was known by then; the labels are what the person did afterwards. Nobody writes an affinity number by hand.
| Target | Basket | Purchase | Repeat |
|---|---|---|---|
| A soft drink | 1 | 1 | 0 |
| Açaí | 1 | 1 | 1 |
| Sushi | 1 | 0 | left out |
| Pet food | 0 | 0 | left out |
Negatives are chosen with care. A pair counts as a negative only where the person had a real chance to meet the target and did not act, and never where their own history already shows interest in it or something close to it.
Serving many targets at once
Scoring needs no generated text: one pass through the model, then a read of the score token. When several targets are scored for the same person, the work done on the person’s part of the sequence is kept and reused, and only each target’s short suffix is computed again.
How it is judged
- Ranking quality: hit rate and recall on future purchases, reported apart for targets seen in training and targets that are new.
- Speed: median and 95th percentile latency for one target and for a batch of them.
- Throughput: person and target pairs scored each second.
Author
Magnet research