← Latest papers
📊 statistics

Causal Inference on Stopped Random Walks in Online Advertising

This paper proposes a causal inference framework for estimating long-term treatment effects in online advertising by modeling revenue as a stopped random walk under budget constraints, thereby relaxing the i.i.d. assumption and utilizing the Anscombe Theorem and Central Limit Theorem to construct valid confidence intervals.

Original authors: Jia Yuan Yu

Published 2026-02-06
📖 5 min read🧠 Deep dive

Original authors: Jia Yuan Yu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are the manager of a massive, bustling digital town square (like Instagram or TikTok). Every day, thousands of people walk through, and you have a limited number of billboards to show them. You also have a group of shopkeepers (advertisers) who want to put their signs on those billboards, but each shopkeeper has a strict daily spending limit.

The paper you shared is about a tricky problem: How do you figure out if changing the price of your billboards will make you more money in the long run, without accidentally ruining the town's economy while you are testing it?

Here is the breakdown of their solution, using simple analogies.

1. The Problem: The "Traffic Cop" Paradox

In a normal experiment (like testing a new medicine), you give the drug to one group and a placebo to another, and you count the results. The people don't change their behavior just because they are being watched.

But in online advertising, the act of measuring changes the result.

  • If you raise the price of a billboard (the "treatment"), fewer people see ads.
  • Because fewer people see ads, the shopkeepers have leftover money at the end of the day.
  • Because they have leftover money, they might bid more aggressively the next day.
  • Also, if the ads are annoying or too expensive, people might leave the town square earlier, meaning there are fewer "opportunities" to show ads in the first place.

The authors call this a Stopped Random Walk. Imagine a drunk person walking down a street (the user session). They stop walking when they get home or get tired. The "treatment" (the ad price) doesn't just change how much money they spend on the way; it changes how far they walk before stopping. If you just count the money per step, you miss the fact that the person stopped walking sooner.

2. The Solution: The "Permutation Trick" (The Checkout Line)

The math behind this is incredibly complex because there are millions of users and hundreds of advertisers all interacting at once. It's like trying to track every single item on a thousand different checkout conveyor belts at a supermarket simultaneously. The data is too huge to analyze.

The authors introduce a clever trick called Permutation.

  • The Analogy: Imagine a supermarket where customers (users) are interleaved on a single conveyor belt. Customer A puts an item, then Customer B, then Customer A again.
  • The Trick: The authors say, "Let's pretend we rearranged the belt so that Customer A puts all their items down first, then Customer B puts all theirs down."
  • Why it works: They argue that as long as the shopkeepers (advertisers) have huge budgets that last for weeks, it doesn't matter if they pay for items in a jumbled order or a grouped order. The total money spent and the total items sold will be roughly the same. This allows them to simplify the math from a chaotic mess into a manageable, orderly line.

3. The Experiment: The "Budget Split"

To test if a new billboard price works, they can't just wait a year to see the results. That's too slow and costs too much money. Instead, they use a Budget-Splitting Experiment.

  • The Setup: They take the entire population of users and randomly split them into two groups: Group A and Group B.
  • The Twist: They also split the advertisers' budgets. If an advertiser has \100 to spend, they give \50 worth of "budget power" to Group A and $50 to Group B.
  • The Test:
    • Group A sees ads with a High Price.
    • Group B sees ads with a Low Price.
  • The Measurement: They run this for a set time (say, a few days). They count:
    1. How many ads were shown in each group? (Remember, the High Price group might show fewer ads because people leave the site faster).
    2. How much money was made per ad?

4. The Result: The "Confidence Interval"

The paper provides a mathematical formula to calculate the answer. It tells the publisher: "Based on what happened in our short experiment, we are 95% sure that the new price will increase (or decrease) your total annual revenue by this specific amount."

They use advanced statistical tools (like the Central Limit Theorem and Wald's Equation) to account for the fact that:

  • The number of people walking through the town changed.
  • The shopkeepers' budgets ran out at different times.
  • The "stopping time" (when a user session ends) was different for each group.

Summary

The paper solves the problem of predicting long-term revenue in a system where the rules of the game change how the game is played.

Instead of getting confused by the chaos of millions of users and advertisers interacting, they:

  1. Reordered the data (Permutation Trick) to make it mathematically solvable.
  2. Split the budgets (Budget-Splitting) to run a fair, fast experiment.
  3. Used a special formula to translate the short-term experiment results into a reliable prediction for the long-term annual revenue, even though the number of "customers" changed during the test.

It's a way to safely test a new policy in a complex, living ecosystem without breaking the ecosystem while you are watching it.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →