Mental Models204 cards · 12 fields

Mental Models/Computing & Information

Explore vs Exploit

探索与利用

The more chances you have left, the more it pays to try something new.

In January 2007, Netflix subscribers still watched films on DVDs sent by mail, and that was where most of the company's money came from. That month the website gained "Watch Now": subscribers could skip the envelope and watch some of the films right on their computers, at no extra charge. The list of films you could watch this way was far smaller than the mail-order library. The mail business ran as usual, and the new service sat beside it on the same website. Over the next few years, subscribers moved from envelopes to screens, and streaming became the company's main business.

When you first move into a new neighborhood, you spend the first few months trying the restaurants downstairs one by one, and a bad meal doesn't bother you. After living there a while you have a favorite, and now and then you still try a new one that has opened. Once you know you're moving out next month, you go only to your favorite for the last few meals. You act differently at the start and at the end because the number of meals left is different. With hundreds of meals left, finding a good new place means you can go back many times, so one bad meal is quickly paid back. With only a few meals left, even a good find gets only a few visits, and a bad meal is simply wasted.

Going to your favorite is called exploiting; trying a place you've never eaten at is called exploring. Splitting your chances between the two is explore vs exploit: the more chances you have left, the more it pays to explore.

More meals left, more a new place is worth
Break-even meals left50 meals
Expected gain here6 yuan
Net after cost-4 yuan
0 yuan20 yuan40 yuan050100150200Meals leftExpected gain per tryExpected gainCost of one try
0 yuan20 yuan40 yuan050100150200Meals leftExpected gain per tryExpected gainCost of one try

Sloped line: expected gain from a try. Flat line: a bad meal's cost. They cross at break-even. Drag the chance to move it; drag meals left to see if a point pays.

An option tried only a few times has a record that tells you little

One coin has been tossed 100 times and came up heads 55 times; another has been tossed only twice, and both times it came up tails. Even if the second coin's true heads rate is also 55%, the chance of two tails in a row is 0.45×0.45, about 20%. Someone who goes only by the record tosses only the first coin from then on, and the second coin never gets a chance to prove itself.

The more meals you have left, the more a new restaurant is worth trying

Suppose eating at a restaurant you've never tried gives you, on average, 10 yuan's worth less satisfaction than your favorite for that meal. That is the cost of one try, . But there is a two-in-ten chance you find a better place, worth 1 yuan more at every meal after that. If you find one, you go to the new place for every meal after that, so the more meals you have left, the more times that 1 yuan comes back. Call the chance of a good find , the gain per meal , and the meals left . The expected gain from one try is:

In other words, the expected gain is proportional to the number of meals left. Put in and . With 100 meals left, the expected gain is 20 yuan, more than the 10-yuan cost, so the try is worth it. With 30 meals left the gain is only 6 yuan, and it isn't. The break-even point is meals.

Once the evidence is in, the chances go to the winner

First give more tries to the options that have been tried little and may be underrated. Once the records pull apart, give most of the chances to the winner and keep only a small share for trying new things. If a rival cuts prices or your customers change, the old records no longer count, and you have to start trying again.

This approach works best for things that happen again and again and show results quickly, such as recommendations, ads and pricing. For a choice you make once in a lifetime, like picking a career, there are no later chances to win back the cost of trial and error. Where one wrong try puts you out of the game, you should not try things this way at all. Treating "spend a tenth of your time on new things" as a recipe for everything is a mistake: with only two or three choices left, even a good find gets used only a few times, and that tenth is wasted.

Design
Set the display rules for new products on an online store's home page: each new product first gets a small batch of views; if it does well it gets more space, and if it doesn't pick up it comes down. That way the best-selling old products don't crowd new ones out before they have any data.
Act
When two suppliers quote similar prices and you've only worked with one of them, give a small part of the next order to the other. By the second half of the year you'll have something to compare.
Explore
When a new way of doing things comes out and you haven't tried it yet, set aside a small slice of time in a process that runs smoothly to try it, so you don't stay stuck at the best you already know.
  1. How many times have I picked the option I now think is best, and how many times have I tried each of the others? Go through the records and count.
  2. After each choice, where do I write down the result? Without a record, trying is wasted.
  3. What is the most a failed try could cost me? After losing that, could I still keep choosing?

Technology

Who gets the spots in the front-page news

In 2010, researchers at Yahoo ran an experiment on the news section of its front page. They chose stories with an algorithm called LinUCB, which looks at each user's traits and the clicks so far, and also gives a bonus for exploring to stories that haven't yet been shown enough. Tested on click data collected while stories were shown at random, it got about 12% more clicks than bandit algorithms that ignore user traits.

Personal life

One library book from a stranger

You borrow five books from the library each time, always by the same two or three authors. Then you make a rule: one of the five has to be by an author you've never read, and when you finish it you write one line about it in a notebook. Three months later, two new authors suit you better than your old favorites, and they now get three of the five places each time.

Farming

A test plot in the orange grove

You have an orange grove of 40 mu (about 6.6 acres), and your main variety gives steady yields. Each year you set aside 2 mu to try a new variety, and for three years running you record its yield and selling price. In the third year, one variety brings in more per mu than your main one, so you expand the test plot to 10 mu and check the numbers again next year.

Explore vs ExploitLindy EffectThe longer a book has lasted, the longer it is likely to keep lasting.You've used the same method for making staff schedules for more than ten years, and now someone recommends a new tool. The Lindy effect says that something used this long without being dropped will most likely keep working, so there's no hurry to switch. Explore vs exploit sees the other side: if you never try it, you'll never know whether the new tool is better, and you still have many years of schedules to make. Where the line falls depends on what decides what gets dropped. If the store's customer traffic and the makeup of its staff haven't changed, stick with the old method and try the new tool on one small team. If those rules have changed, say the business has become a different kind of business, then however long the old method has lasted proves nothing, and you should try more.Explore vs ExploitAvoiding RuinHowever much you can win, guard first against the one loss that knocks you out.You want to put half your savings into trying a new venture. Explore vs exploit says you won't know whether it works unless you try; avoiding ruin says that if you lose this one you're out of the game, and no average return, however good, helps you then. First use avoiding ruin to shrink the trial to a size you can afford to lose, then use explore vs exploit to decide how many tries to make within that.Explore vs ExploitBayesian UpdatingStart from a best guess, weigh new evidence, and shift your view bit by bit.A new version of a product page has been tested for three days, and it sold more than the old one. Explore vs exploit asks how many chances to give it next week; Bayesian updating asks how much these three days of evidence are worth. If the old page also has a good three days like this now and then, your judgment should move only a little, and the new page should get only a few more chances.

A short-video team has tried six styles of opening, posting more than twenty videos in each. The "open with a question" style gets a clearly higher watch-through rate than the other five, and in monthly checks the gap has stayed steady. The platform's recommendation rules haven't changed in nearly a year, and the team has no new style it wants to try. Next month they will post 30 videos.

What is the best way to plan these 30 videos?

Two salespeople have found that the same opening pitch closes about one sale in ten, and right now their results are about the same. One is moving to another department next month; the other will stay in this job for five more years. Each of them also has an opening pitch they haven't tried yet.

Who has more reason to spend a few weeks trying the new pitch?

A publisher's editor looked at the books he has signed over the past ten years: books by established authors sold clearly more on average than books by newcomers. But in those ten years he signed almost nothing but established authors, and only three books by newcomers. From this he concludes that newcomers aren't worth signing anymore.

What is the biggest problem with this conclusion?