By Samuel Toh
It Took a CTR Lift for Me to Understand Business Metrics
My first task after joining a new company was to improve the CTR of our recommendation service. I spent a lot of time learning how the whole service and its data flow worked, then made improvements on top of the production ranking model:
- Added interaction features between the product currently being viewed and each candidate, strengthening how the model captures relationships between products.
- Adjusted the debiasing logic for display position and visibility features.
- Added users’ recent browsing sequences to model how their interests change.
In August, we ran an online recommendation A/B test with the newly improved model. CTR rose by about 6.75% in relative terms, but spending didn’t increase noticeably. Looking further into CPC and conversion data helped me understand how the same recommendation change can push different metrics in different directions.
Before this experiment, I spent a lot of time on model features, calibration, and the pipeline needed to ship the model. When I did recommendation research, I was used to checking whether accuracy improved, so in this work I mainly looked at offline AUC, which measures how well the model ranks clicked samples above unclicked ones.
The experiment ultimately met the launch criteria we had set: clicks per user in the experiment increased, and spending stayed within an acceptable range. Still, more clicks without more spend made me want to figure out what was happening in between.
Looking at impressions, clicks, and spend together helped explain why clicks went up while total spend stayed flat.
| Metric | Treatment vs. control |
|---|---|
| Impressions | Down |
| Click-through rate (CTR) | About 6.75% relative lift |
| Clicks | Up |
| Average cost per click (CPC) | Down |
| Total ad spend (spending) | Roughly flat |
Once these numbers lined up, the next question was: why did CPC go down?
I looked separately at prices at each stage—when an ad was selected, when it was shown, and when it was finally clicked—and found that the price difference already existed when ads were selected. The main difference was in the mix of ads selected: the new ranking and filtering selected ads with a lower cost per click more often.
This made me look more closely at what the model’s score does further down the pipeline. The pCTR the model outputs goes through calibration and threshold filtering, then combines with ad prices to determine the final ranking. Since this experiment adjusted several of those steps together, what changed in the end also included which ads got recommended, and how much spend those ads generated when clicked.
When I compared models before, I mainly looked at how predictions related to labels. This time I had to trace all the way to the ads that were actually selected before I could understand why the online numbers moved the way they did.
I then looked at conversions after the click. With similar ad spend:
- Directly attributed orders per user increased.
- Direct CVR went up, meaning a larger share of clicks led to an order.
- ROAS hasn’t clearly improved yet, since the increase in orders and the change in purchase value didn’t move together.
So while CPC went down, direct conversion actually improved. The same ad spend brought in more directly attributed orders, which seemed worth a closer look from the advertiser’s perspective.
Besides click costs, I also started looking at the price range of recommended and purchased products. We observed that the old model served ads for higher-priced products, and the attributed purchase data also showed a lower average product price in the treatment group. This made me notice that differences in model behavior affect the kind of products being recommended, and the mix of products in subsequent orders may change along with them.
So even with more orders, the value of each purchase is still shaped by product prices. I had only set out to understand why spending didn’t increase, but ended up tracing differences all the way through ad selection, click costs, conversion, and the products people bought.
This follow-up analysis also gave the next round of optimization a more concrete direction. For example, if the goal is to raise spending, we could study the relative weight of price in ranking—but after adjusting it, we would need to watch whether the gains in clicks and orders hold up.
Looking back, my biggest takeaway was seeing firsthand how important it is for an ML engineer to be clear about which metric to optimize.
In research, comparisons between models mostly revolve around recommendation accuracy. When results improve, you dig into which design choice brought the improvement. Working on ad recommendations in practice, I came to see that optimizing CTR can also change the nature of the ads being served, which in turn affects the ad cost per click, as well as the products bought and the value of attributed purchases.
Put together, these changes mean that differences in model behavior ripple through the entire ad-serving flow, and even into downstream revenue and purchases. CTR is a very important metric in that flow, but when it goes up, you also need to understand what actually happened everywhere else.
So when planning future experiments, I want to think a few things through first:
- What is this experiment mainly optimizing? Clicks, ad spend, purchase conversion, or purchase value?
- Which behaviors might the model change affect? Including which ads get selected, product price ranges, cost per click, and downstream purchases.
- If metrics move in different directions, how do we make the trade-off? What needs to hold steady, which changes are acceptable, and what data we need to decide.
What I found most useful about this analysis was getting a fuller understanding of what I was actually optimizing. The next time I see one of a model’s metrics improve, I’ll want to keep looking at which ad-serving behaviors it changed, and whether those changes ultimately produce the outcomes we really want to improve.