Live data from Hacker News

The multi-armed bandit problem (2012)

stevehanov.ca

61–70 of 82 posts

Re: The multi-armed bandit problem (2012)

#61
post #9

The purpose of an A/B test isn't to always show the best performing result, it's to perform a _controlled scientific experiment_ with a control group, from which you can learn things. Also, I work in this field and I will just say that people _do_ behave differently based on traffic source: i.e. users coming from Facebook behave alike, but different than traffic from Reddit who act similarly to each other. If you wer…

> The purpose of an A/B test isn't to always show the best performing result, it's to perform a _controlled scientific experiment_ with a control group, from which you can learn things.

Occasionally there is pure scientific interest.

But far more frequently, the purpose of the A/B is to optimize the outcome.

This is why Google Analytics has exclusively chosen multi-armed bandit for its its A/B test framework.

Re: The multi-armed bandit problem (2012)

#62
post #50
post #22

Earlier quoted context omitted.

That could be post-hoc reasoning, though. It would be interesting to pre-register your hypotheses, or see whether you could tell bandit outcomes from random ones.

Sure it’s post-hoc reasoning, but it doesn’t matter because I’m not trying to invalidate a hypothesis. I’m looking for variants that win. When I find one that wins I look at it and try to add more of the same flavor to the product. This process works.

This is literally the logical fallacy. You could get lucky. Maybe you have obvious gains to chase. But bad logical arguments are bad because they never work forever. They are corrupted heuristics that can get you in trouble without critical thinking.

Edit: added in forever. Phone dropped some wording I originally had. I think.

Re: The multi-armed bandit problem (2012)

#64
post #8

It seems close to simulated annealing in the travelling salesman problem. The basics of it is that you start with a random tour and adjust path segments incrementally. Most of the time, you choose a new path segment that decreases the global route cost, but randomly, you choose a new path segment that increases the global route cost. This random factor is decreased over time, so the route anneals and settles on a clo…

Basically you are comparing one strategy to prevent local optima in one optimization algorithm to another strategy in a different optimization algorithm. There are such strategies for basically every optimization problem. Other examples: momentum in deep learning, tabu search, random search, etc. The benefit of doing a pure binary A/B test is that the experiment is so simple that as long as you don't break the cardin…

The GP is comparing the algorithms. MAB is exactly simulated annealing with an exponential temperature.

Re: The multi-armed bandit problem (2012)

#65
post #9

The purpose of an A/B test isn't to always show the best performing result, it's to perform a _controlled scientific experiment_ with a control group, from which you can learn things. Also, I work in this field and I will just say that people _do_ behave differently based on traffic source: i.e. users coming from Facebook behave alike, but different than traffic from Reddit who act similarly to each other. If you wer…

Wouldn't a simple solution be to create a handler that runs a MAB for each traffic source?

If you're worried about the site changing for people between visits from different traffic sources, you can cookie their MAB/test-assignment on the first visit.

Re: The multi-armed bandit problem (2012)

#66
post #9

The purpose of an A/B test isn't to always show the best performing result, it's to perform a _controlled scientific experiment_ with a control group, from which you can learn things. Also, I work in this field and I will just say that people _do_ behave differently based on traffic source: i.e. users coming from Facebook behave alike, but different than traffic from Reddit who act similarly to each other. If you wer…

> The purpose of an A/B test isn't to always show the best performing result, it's to perform a _controlled scientific experiment_ with a control group, from which you can learn things. Occasionally there is pure scientific interest. But far more frequently, the purpose of the A/B is to optimize the outcome. This is why Google Analytics has exclusively chosen multi-armed bandit for its its A/B test framework.

It doesn't have to be a pure science interest.

If you want to use the results from one test to inform what to test next, then A/B tests are better optimizing for truth.

Most website changes dont make a significant difference in conversion. If you use MAB, then you dont know if the winner is really better or the result of random variation.

Re: The multi-armed bandit problem (2012)

#67

Does anyone have a reference for solving multi-armed bandit problems with a finite time horizon? I would like something that derives rules or heuristics for how your explore/exploit tradeoff changes as the horizon approaches. This seems like an obvious extension, and something that someone should have worked on given how long this problem has been around, but I've been unable to find anything on it. Any pointers?

What do you mean? Most analyses of multi-armed bandit algorithms assume a finite time horizon. And if not, they use the doubling trick for infinite time horizons.

Re: The multi-armed bandit problem (2012)

#68
post #59
post #53

Earlier quoted context omitted.

Different demographics, different intent, and different mental context all play a factor.

Not a statistician by any means, but could traffic source be a factor that's evaluated alongside conversion by a bandit algorithm when calculating the chance to show a particular option? Or other factors as well (detected device capabilities, users location, etc?) These could just be weighting factors so instead of a single % chance per option, every time there's a successful interaction the victory is spread across…

Yes, of course. You can use a contextual MAB and include the traffic source in the context. Contextual MABs are much more complicated and expensive to implement though.

Re: The multi-armed bandit problem (2012)

#69
"hundreds of the brightest minds of modern civilization have been hard at work not curing cancer. Instead, they have been refining techniques for getting you and me to click on banner ads."

Just out of curiosity... Have you ever purposefully clicked on an ad on the internet? I honestly dont think I ever have.

ps. I mean an outright overt straight up ad, not, for example, some article linked on HN that is a thinly veiled promo piece for something.

Re: The multi-armed bandit problem (2012)

#70
post #62
post #50

Earlier quoted context omitted.

Sure it’s post-hoc reasoning, but it doesn’t matter because I’m not trying to invalidate a hypothesis. I’m looking for variants that win. When I find one that wins I look at it and try to add more of the same flavor to the product. This process works.

This is literally the logical fallacy. You could get lucky. Maybe you have obvious gains to chase. But bad logical arguments are bad because they never work forever. They are corrupted heuristics that can get you in trouble without critical thinking. Edit: added in forever. Phone dropped some wording I originally had. I think.

Call it a genetic algorithm if you like. I’m looking for incremental wins in a world of infinite possibilities, not truth.
Post reply on HN