Models and measurement
I write the query and read the result myself
Not as a hobby, and not by asking an analyst for a pull. The models below are ones I designed, trained, evaluated and put into production, and the measurement design behind them is mine too.
0.776
AUC on the strongest model, held out
88x
Best-to-worst decile gap, retrospective
<250ms
Ping to bid, end to end
10
Services in production on Google Cloud
A quarter of a second, start to finish
This is the decision the whole system exists to make. A person asks for an insurance quote. Somewhere a buyer has to decide, before anyone has been paid, whether that person is worth buying and what to pay for them.
Everything in the path beside this has to happen inside that window: resolve who the person probably is, score them, check the score against every live campaign and its remaining budget, settle on a price, and answer. Scoring itself takes a few milliseconds. The rest of the budget goes on the parts nobody puts in the pitch deck.
The second outcome is the one that matters commercially and the one nobody demos. Saying no costs nothing and saves the spend. We also return the reason, which was my call and is the harder thing to build, because it tells a publisher exactly how we are judging their traffic.
Someone has just asked for an insurance quote. A buyer now has about a quarter of a second to decide whether that person is worth paying for, and how much. Too slow and the moment is gone. Too careless and you have bought a lead that was never going to convert. This is the path I built for that decision.
- 01AuthenticateCheck the publisher is who they say, and the lead is real
- 02Score1–3msA phone number and a ZIP, nothing personal, into a model
- 03FilterFifteen campaign criteria, checked against every live buyer
- 04PriceWhat this particular lead is worth, six modifiers deep
Bid
A price, and where to send them
No bid
And the reason why, every time
Most marketplaces return a silent no. Returning the reason was my call, and it is the harder one: it tells a publisher exactly how we are judging their traffic.
What a score is actually for
A score is not a report card on a vendor. It is a decision about where to stop buying, and the whole industry makes that decision on one blended number per source. Here is the same decision with the source pulled apart. Drag the cutoff and watch what it costs you in both directions.
Six hundred leads from one source, lined up worst to best. Assume you pay $65 a lead and a policy is worth $800. Drag either number, or the cutoff below.
- Leads bought
- 600
- Policies won
- 46
- Cost per policy
- $848
- Profit
- -$2,200
You bought all 600, and 554 of them were never going to convert. One blended price paid the same for every one. This is what most of the industry does.
- Bought, converted
- Bought, never converted
- Skipped, would have converted
- Skipped, correctly
A synthetic population, not partner data, and not how the production models score. Only the shape is real: quality varies inside a source, so one blended price pays the same for both halves. Note what the overcorrection does. Buying only the best barely improves the cost per policy and gives up most of the profit, which is the trap, because cost per acquisition is the number everyone reports and it looks fine the whole way down.
The models, and what each number is worth
Three figures, with the strength of the evidence behind each one stated rather than left for you to assume. The difference between a held-out evaluation and a retrospective study is the difference between a claim and a hope, and most people quoting numbers like these will not tell you which they mean.
88x
Conversion gap between the best and worst tenth of leads, on a model that scores from a phone number and a ZIP before anyone has paid for the lead.
Partner retrospective
0.776
AUC on the strongest model in the post-acquisition suite, evaluated on held-out data.
ProLync SNP
10
Services I built and run in production on Google Cloud, serving live traffic rather than sitting in a notebook.
in production
I write the query
SQL and BigQuery are daily tools, not something I delegate and wait on. At eFinancial I led the move off Microsoft OLAP cubes onto a cloud warehouse and rebuilt the reporting on it, which is roughly where that habit started. When a number looks wrong in a meeting, I can go find out why before the meeting ends.
I design the measurement
Deciding what counts is the harder half. I once opened a retrospective and found the same file carrying two different definitions of a conversion, one nearly double the other, same leads and same season. I would like to tell you I caught that on day one. Write the definition down first: what counts as a sale, what window, who gets credit on a transfer.
I know what the numbers cannot say
Four of the scoring products I built are heuristic or untrained and carry no claimed lift at all, and each one says so on its own entry in the portfolio. A leader who cannot tell you which of their metrics is load-bearing is a risk, not an asset.
Worth saying plainly: the 88x comes from a retrospective study on a partner's historical campaigns, not a live holdout. It is validation against past data. The AUC figure is a held-out evaluation, which is a stronger claim, and I keep the two labeled separately on purpose.
How a model gets built here
Five steps, and only one of them is the modelling. The reason to put this on a page about an executive is that the first and the last are judgement calls, and those are the ones that get made badly when nobody in the room has done the work.
- 01
Decide what counts
The hardest part comes first and has nothing to do with modelling. Which event is a conversion? Measured when? A label that is convenient and slightly wrong becomes the ceiling on everything built above it, and no amount of tuning gets you back through that ceiling.
- 02
Find out what is actually knowable
At the moment of the decision you may have a phone number and a ZIP code and nothing else. The feature set is constrained by what exists at inference time, not by what exists in the warehouse, and the two are rarely the same thing.
- 03
Train, then try hard to break it
Evaluate on held-out data, look at lift by decile rather than a single headline figure, and check calibration, because a score people will bid real money against has to mean what it says and not merely rank correctly.
- 04
Ship it inside the latency budget
A model that takes a second to answer ends up being used as a report, which is a fine thing to be and not what anyone is paying for. Getting inference into single-digit milliseconds is an engineering problem, and it is usually where a promising prototype quietly dies.
- 05
Say what it is worth
Held-out evaluation, retrospective study and untrained heuristic are three very different claims. I label which one a number is every time it appears, including on the two scoring products that have no trained lift at all.