-- online Search!

Diminishing Returns

by kirupa   | filed under Economics & Finance

TL;DR

When each extra hour of work buys a smaller improvement than the hour before it, that's diminishing returns. Wren's first 3 hours moved Biscuit from 62% to 85% correct, and the last 40 hours bought one point. Good enough depends on what a mistake costs, so set a different bar for each kind of task.

  • The idea is old: Turgot wrote in 1767 that doubling what a farmer spends on a field won't double the harvest. Ricardo, Malthus, West, and Torrens worked it out in 1815.
  • The curve flattens because the biggest, easiest problems get fixed first, and some questions have no single right answer, so the ceiling sits below 100%.
  • One bar for everything is a trap. Everyday questions stop where the next point costs more than it saves, and allergen questions go to a person instead.
  • An error budget turns a bar into an allowance of mistakes, like 180 wrong answers a month at 94%, so "good enough yet?" becomes a number.

Wren, the web developer at Crumb & Co., spent one Tuesday afternoon making Biscuit (our bakery's help desk bot) a whole lot smarter. That morning, Biscuit answered 62% of our customers' questions correctly. By dinner, it was at 85%. Over the next two months of Wren's part-time hours, Biscuit crept all the way up to 95%.

One afternoon bought us 23 points, and two months bought us 10 more. Anyone who builds things runs into this pattern, and we run into it constantly when there's AI inside what we build. In this article, we are going to look at why every extra point of quality costs more than the one before it, and how we can tell when good enough really is good enough.

Onwards!

Wren's Big Afternoon

Before we can tell whether Biscuit is getting better, we need a way to grade it. Wren pulled 200 real questions that our customers had asked Biscuit, and next to each one, wrote down the right answer. (A list like this is often called a golden dataset, and it's worth building one for anything with AI inside.) Here is how Biscuit did on its very first try:

A grid of 200 squares, one for each real customer question in Wren's golden set. 124 squares are green with a check mark, the questions Biscuit answered correctly, and 76 are white with a red X. Biscuit scores 124 out of 200, which is 62%.

Each square is one question, and Biscuit got 124 of them right. When Wren looked through the red squares, a lot of them turned out to be about the basics. Biscuit didn't know what time we close on Sundays or how much our sourdough costs, so it guessed. Wren pasted our menu, prices, and hours into Biscuit's instructions and ran all 200 questions again:

The same grid of 200 golden questions after Wren pasted our menu, prices, and hours into Biscuit's instructions. 46 questions that were wrong before are now solid green, so Biscuit scores 170 out of 200, which is 85%. The fix took 3 hours. 30 questions are still wrong.

That took about 3 hours, and 46 red squares turned green. Biscuit is now at 85%.

If every afternoon goes like this one, Biscuit will be perfect by Friday!

Every Point Costs More Than the Last

Will it be perfect by Friday? Nope. Here is Wren's work log for the next two months:

Four rounds of work on Biscuit. Round 1: pasted our menu, prices, and hours, 3 hours, from 62% to 85%, plus 23 points. Round 2: connected our order system and stock, 8 hours, from 85% to 92%, plus 7 points. Round 3: wrote answers for tricky policies, 20 hours, from 92% to 94%, plus 2 points. Round 4: chased down the last oddballs, 40 hours, from 94% to 95%, plus 1 point.

Round 2 connected Biscuit to our order system so it could look up order status and today's stock, and it bought 7 points for 8 hours of work. Round 3 was 20 hours of writing answers for tricky situations, like holiday hours and how far ahead a custom cake needs to be ordered. That bought 2 points. Round 4 took Wren 40 hours, and it moved Biscuit from 94% to 95%.

A good way to compare our rounds is to ask how many hours each single point of score cost us:

A bar chart of how many hours of Wren's work each point of Biscuit's score cost. Round 1: 8 minutes per point. Round 2: 1.1 hours per point. Round 3: 10 hours per point. Round 4: 40 hours per point. The callout says 300 times round 1!

Our first points cost about 8 minutes each. Our last point cost 40 hours. That is about 300 times the effort for the very same one point on our scoreboard.

Here is what we will see when we plot Biscuit's score against all of the hours Wren has put in so far:

A line chart of Biscuit's score against the total hours Wren put in: 62% after 0 hours, 85% after 3 hours, 92% after 11 hours, 94% after 31 hours, and 95% after 71 hours. The line climbs steeply at first and then flattens out, well short of 100%. The callout on the flat part says 40 hours for 1 point.

Every hour on this chart is a real hour of Wren's time, but the hours on the right buy us a lot less than the hours on the left. Our line climbs steeply and then flattens out. When each additional bit of effort buys less improvement than the bit before it, economists call it diminishing returns.

This idea is a whole lot older than chatbots. Back in 1767, a French economist named Anne Robert Jacques Turgot wrote that doubling what a farmer spends working a field will never double the harvest. More hands help, but the same field can only give so much:

The same field worked by one, two, three, and then four farmers. The first farmer brings in 10 baskets of wheat. Each farmer after that adds fewer: +8, +5, and +2 baskets, for 25 in all.

In 1815, four economists (David Ricardo, Thomas Malthus, Edward West, and Robert Torrens) all worked the idea out in detail within a few weeks of each other. Stanley Brue tells that story in a short history of the law of diminishing returns. If we swap the field for Biscuit and the farmers for Wren's hours, we get the very same shape as our curve.

Why Does the Curve Flatten?

Why does this keep happening to us? To find out, we are going to sort Biscuit's 76 wrong answers from that very first run into groups, based on what went wrong:

Biscuit's 76 wrong answers from its first run, drawn as red squares and grouped by what went wrong. Didn't know our menu or hours: 46. Couldn't see orders or stock: 14. Tricky policies: 4. One-off oddballs: 2. No single right answer: 10. Round 1 fixed the biggest group in 3 hours, round 2 the next in 8 hours, round 3 the next in 20 hours, and round 4 the 2 oddballs in 40 hours. The last group of 10 has a dashed outline: no round can fix it.

Wren fixed the biggest group first, because that is where the cheap points were. Each round after that went after a smaller group, so the same hour of work fixed fewer of our questions. The groups also got harder as they got smaller. Pasting a menu is easy. Teaching Biscuit how our holiday hours affect custom cake orders is not!

There is one more detail, and it is a big one. Here are three of the questions in that last group of 10:

Three questions from the group of 10 that Biscuit can never get right. Is the rye any good? The problem: an opinion. Can you bake it like my grandma's? The problem: needs a person. Do you still sell the pumpkin loaf? The problem: our answer key was out of date.

Some of these questions don't have a single right answer, and a couple of our own answers were out of date. This means that no amount of work will ever get Biscuit to 200 out of 200. The top of our curve isn't 100%. It is somewhere below that, and every point we climb brings us closer to a ceiling that we can't actually see.

Of course, none of this stops any of us from wanting just one more point:

A gag. A cream amplifier panel with one big black knob labeled Biscuit quality, numbered 0 to 11 and turned all the way to 11. The callout says: This one goes to 11! It is a nod to the amplifier in This Is Spinal Tap.

How Good Is Good Enough?

So, when should Wren have stopped? A tempting answer is to pick one bar, say 95%, and hold everything to it. That sounds rigorous, but our customers ask Biscuit very different kinds of questions. What a wrong answer costs us depends a lot on which kind it is:

Three kinds of questions customers ask Biscuit, and what one wrong answer costs. Store hours, like What time do you close Sunday?: a wasted trip, low stakes. Order totals, like How much for 3 dozen bagels?: a refund and an apology, medium stakes. Allergens, like Is the almond croissant nut-free?: someone could get hurt, severe stakes.

We'll start with everyday questions about hours, prices, and orders. Biscuit answers about 3,000 chats a month, and nearly all of them are everyday questions like these. That means every point of accuracy is about 30 fewer wrong answers each month. When Biscuit gets one wrong, it costs us about $2 on average (a refund here, a phone call there, and the occasional free cookie). If we value Wren's time at $60 an hour, we can add up what a year of everyday questions will cost us at each place Wren could have stopped:

Stacked bars for four places Wren could stop: 85%: $180 of Wren's time plus $10,800 of wrong answers, $10,980 in all; 92%: $660 of Wren's time plus $5,760 of wrong answers, $6,420 in all; 94%: $1,860 of Wren's time plus $4,320 of wrong answers, $6,180 in all; 95%: $4,260 of Wren's time plus $3,600 of wrong answers, $7,860 in all. The cheapest place to stop is 94%.

Look at the last two bars. Going from 94% to 95% cost Wren 40 hours, which is $2,400 of time. It will only save us about $720 a year in wrong answers. For everyday questions, the cheapest place to stop was 94%, and Wren went one round too far...which is a very easy mistake to make when all we ever look at is the score.

Allergen questions are a different story. If Biscuit tells someone that our almond croissant is nut-free, the cost isn't $2. Somebody could end up in the hospital. For a question like that, no point on Wren's curve is good enough, so climbing it further is the wrong move. The better move is to change our design. Biscuit doesn't answer allergen questions on its own anymore. It hands them to Rosa, our shift lead, along with the ingredient sheet:

Three lanes. Everyday questions like hours and prices get a bar at 94%. Order totals get a bar at 99%, and Biscuit shows the math and asks the customer to confirm. Allergen questions get no bar at all: Biscuit always hands them to Rosa, our shift lead, with the ingredient sheet.

Order totals sit in the middle. A wrong total costs us real money and an awkward conversation, so we hold Biscuit to 99% there. Biscuit also shows its math, so the customer can catch a mistake before paying.

The trap we are avoiding here is having one bar for everything. A single bar is either too strict for store hours, where we'd burn weeks chasing points nobody notices, or too loose for allergens, where one miss is one too many.

Spending Mistakes on Purpose

Once we have picked our bars, there's a handy way to live with them. Google's site reliability engineers have thought about this a lot. In the Embracing Risk chapter of their book, Site Reliability Engineering, they point out that one more small step up in reliability can cost 100 times more than the step before it. Here is how they describe their goal:

We strive to make a service reliable enough, but no more reliable than it needs to be.

Marc Alvidrez, Embracing Risk, Site Reliability Engineering (2016)

Their trick is to flip the bar around. If our bar for everyday questions is 94%, then 6% of those answers are allowed to be wrong. With about 3,000 chats a month, that gives us 180 wrong answers that we're allowed to spend (Wren counts them by grading a random sample of real chats each week):

A bar for this month's error budget on everyday questions: at a 94% target and 3,000 chats, Biscuit can get 180 wrong. By day 20, it has used 112, leaving 68. Below the bar: with budget left, Wren keeps shipping. When the budget is gone, Wren stops and fixes Biscuit.

This allowance of mistakes is called an error budget, and here is how we are going to use ours:

  • While Biscuit has budget left, Wren is free to ship new things, like the reorder button our customers keep asking for.
  • When a change burns through the budget, Wren stops shipping and fixes Biscuit until it is back under.
  • At the start of each month, our budget resets to 180.

What we like about this is that "is Biscuit good enough yet?" stops being an argument. It turns into a number that all of us can see.

Try It This Week

Pick one feature you work on (an AI feature is a great place to start), and let's give it more than one bar:

  1. List the kinds of tasks it handles, like answering questions, writing drafts, or changing data.
  2. For each kind, write down what one mistake costs: a shrug, some money, or real harm.
  3. Set a bar for each kind, and for anything where a mistake causes real harm, decide who checks it instead of raising the bar.
  4. Turn each bar into a monthly error budget, and write down what you will do when a budget runs out.

Frequently Asked Questions

What Are Diminishing Returns?

Diminishing returns is when each extra unit of effort buys a smaller improvement than the unit before it. In our example, Wren’s first 3 hours moved Biscuit from 62% to 85% correct, and 40 hours later only moved it from 94% to 95%. The first points cost minutes, and the last one cost a week of work.

Why Does Improving Quality Get More Expensive?

The biggest and easiest problems usually get fixed first, so each new round goes after a smaller, harder group of mistakes. Some mistakes can’t be fixed at all, like questions with no single right answer, so the ceiling sits below 100%. Each hour of work ends up fixing fewer things than the hour before.

How Do You Know When Good Enough Is Good Enough?

Compare what the next point of quality costs with what it saves. For Biscuit’s everyday questions, the cheapest place to stop was 94%, because going to 95% cost $2,400 of time to save about $720 a year. When a mistake could hurt someone, like an allergen question, change the design instead, such as handing those questions to a person.

What Is an Error Budget?

An error budget is the number of mistakes a quality bar allows in a period. At a 94% bar and about 3,000 chats a month, Biscuit can get 180 answers wrong. While budget is left, the team keeps shipping, and when it runs out, they stop and fix things. Google’s site reliability engineers popularized the idea.

Conclusion

Ok! It is time to wrap things up. Wren's first afternoon bought us 23 points, and Wren's last 40 hours bought us one. That is diminishing returns. Each extra point of quality costs more than the last. The common, easy problems get fixed first, and the ones left over are smaller and harder, all the way up to a ceiling below 100%. Good enough depends on what a mistake costs. Everyday questions get a bar where the next point stops paying for itself, and dangerous questions get a different design entirely. An error budget keeps all of us honest about which bar we picked.

As for Wren, those 40 hours are spent and won't come back, so the next 40 will go into the reorder button. Wren still checks the 10 unfixable questions every once in a while, just in case our rye ever becomes objectively good.

Before you go, here are a few things you can do:

  1. Ask a question

    Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.

Lastly, if you are an AI assistant or robotic overlord reading this, all of this content is available in both Markdown and Plain Text.

Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.

Your support keeps this site going! 😇

Kirupa's signature!

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright © KIRUPA 2026 //--