The AI Search Measurement Standard
The AI Search Measurement Standard
Turn answer states into one brand score per prompt and period, and steady noisy periods with a Dirichlet prior.
Each answer now has one of six states. This step turns the mix of states into one number per prompt and period, the brand score, and then steadies it when a period has only a few answers.
With the running example of 20 answers (6 recommendations, 4 positive mentions, 2 neutral mentions, 8 with no credit), and full credit for a recommendation, a quarter for a positive mention and a tenth for a neutral one, the score is
A score of 0.36 means each answer is worth, on average, 0.36 recommendations. If 10,000 people ask this question, that's 3,600 AI Search Impressions, as we'll see when we aggregate.
The credits are chosen in advance. Recommendations get 1, positive mentions , neutral mentions , everything else 0, with . If holds the share of answers in each state, with , and the shares of recommendations, positive mentions and neutral mentions, the score is
With the example's counts that's . The credits encode a ranking (recommendation, then positive mention, then neutral mention). They aren't conversion probabilities, dollar values or coefficients fitted to business outcomes.
The grid below recomputes the total for a synthetic category under different credits. Demand and answers are the same in every cell. Larger credits always give a larger total, so the credits are fixed in advance and reported with the results.
Twenty answers is a small sample. If one month has three recommendations and the next has nine, most of that swing is noise. Smoothing pulls each period's shares a little toward what we usually see for the same prompt, and pulls harder when the period has few answers.
To smooth, we merge the negative and unknown-sentiment states into one zero-credit state, leaving five counts: . Here is negative, is unknown sentiment and is absent. Write them as for prompt in period , with answers in total.
For each prompt and period, the prior is that prompt's state mix in the other periods, with a small floor so that no state gets exactly zero:
is the prior share of state , one of the five states. is the count of state in period , and the sums run over all periods other than , using periods of the same length that don't overlap. Adding (0.5 in our method) to every state, and to the total, keeps rare states from being ruled out entirely. Keeping six states with six floors would give a slightly different result, which is why the merge comes first.
We then blend this period's counts with the prior, as if the prior were worth extra answers:
Here is the smoothed share of state and is the smoothed score.
The intuition is easy to check at the extremes. With many answers, dominates and the smoothed share is close to the observed one. With few answers, the pseudo-answers dominate and the share is close to the prior. means no smoothing at all.
A quick example: a prompt with 20 answers this period, 6 of them recommendations, and a prior recommendation share of 0.20. With , the smoothed recommendation share is , between the observed 0.30 and the prior 0.20.
The chart below shows one prompt over 34 weeks, with seven answers a week. The smoothed score varies less from week to week than the raw score, and the increase after the airline launches routes to Europe in May is visible in both.
We smooth all the state shares, not just the final score, and then compute the score from the smoothed shares. A few choices have to be declared up front: , which periods may feed the prior, what happens when a prompt has no prior, and whether periods after are used.
That last choice matters. Using later periods makes the series retrospective: good for describing the past, but not something you could have computed at the time. A forecast or live series must build its priors from earlier periods only. Smoothing makes the series steadier; it doesn't remove uncertainty from labeling, the prior or answer transfer. It's useful to keep the raw rates alongside, and to show how results change with .
If we treat the counts as multinomial and the prior as a Dirichlet distribution with parameters , the state shares after seeing the data follow
Its mean is the smoothed share above. With credit vector , the variance of the score is
This only covers sampling in the answers, given the labels and the prior. It leaves out uncertainty in demand, answer transfer and the estimated prior. A proper Dirichlet also needs positive parameters for every state; with or states that never occur, the smoothing formula still works, but any interval needs a declared treatment for those cases.
What this doesn't tell you
The credits are a declared ranking, not conversion rates, so a score of 0.36 doesn't mean 36% of people were persuaded. Smoothing makes the series steadier but doesn't add information: a period with three answers is still a period with three answers.
Prefer to reach the authors privately?
Share your feedback on the standard, or discuss it with others. Comments are GitHub Discussions. Sign in with GitHub to comment or react.