Latest
The Money Appeared the Week After the DisasterHow a Stranger Decides You Are Credible in Nine SecondsWhat You Have to Decide Before Anybody WritesWriting It Before You Need ItCross Training Covered Everything Except the Role That Mattered MostBehind the Book: The Woke VirusBehind the Book: Galactic InvasionBehind the Book: You Don’t Own Anything AnymoreWhat’s New at The Writing King: Week of November 8, 2026Alexander Zhidkov: Decision MakingJessi Szurek: Expand Your RangeYou Don’t Own Anything AnymoreThe Budget Decided How My Department Was ShapedWhy Your Competitor’s Book Is Working and Yours Would NotWhy Are These Guys Smiling? A Business Book That Became a Wrestling MemoirPangram Wants to Decide Who Gets PublishedWhat You Have Enough Material For Right NowWhen a Book Is the Wrong ToolThe Woke VirusGalactic InvasionChatGPT Turns Four: From a Free Research Preview to GPT-6What’s New at The Writing King: Week of November 1, 2026Diwali: The Festival of Lights and the Story Behind the LampsHow Much Water and Power Does Heavy AI Use Take? I Ran My Own NumbersBad Boys: Ride or Die (2024)Vesuvius Day: The Teenager Who Wrote Down Pompeii’s Last DayAnti-Communism Week: Remembering the Writers Communism SilencedVoyager 1 One Light-Day: Fifty Years to Travel One Day of LightVellum Added an Optional AI Feature. A Pile-On Killed It in a Day.Are AI Subscriptions Losing Money? The Gym Membership Math Says NoAI Terms Every Writer Should Know, and Why Each One MattersWorking While Sick: What 24/7 On Call Cost MeHe Banned AI From His Writing Group. His Own Cover Got Called AI Slop.Who Writes the Fake Fan Mail Authors Get? Inside the Scam CompoundsSMS Appointment RemindersFree BooksDarrell Stern: Stop Being Invisible, Become UnmissableJoe Rockey: Ghostwriting His BookHow to Turn Your Expertise Into a Book People Want to Read | The Expert MethodWhat’s New at The Writing King: Week of October 25, 2026Challenger Remembrance Day: The Engineer Who Wouldn’t SignJoel Salomon: The Truth About MoneyReddit Is Putting Up a Login Wall. Wikipedia Won’t Be Far Behind.Victoria Chemko: The Body Is the First TechnologySir Patrick Stewart: A TributeA Year in the Bank: ADHD, Face Blindness and the Freedom to Walk Out | The Impossible Puzzles Show, Episode 326A Yale Economist Says We Won’t Be Missed. He Forgot the Bread Line.Walter Koenig: A TributeI Don’t Post Bad ARC Reviews. I Send the Author a Note.AI Has Paid Off Outside Tech. Apollo Is Reading the Wrong Scoreboard.

The Edge Case Is Where Your AI Project Dies

TL;DR: An edge case is any situation outside the pattern an AI was trained on. Machine learning systems are structurally incapable of handling them, because the system has never seen them before and has no judgment about what to do when it doesn’t know. Edge cases cost a wrong answer at small scale, a lawsuit at medium scale, and a death at large scale.

The only fix is a human in the loop wherever the cost of a single failure exceeds the convenience of automation. More on how I keep a human in the loop. Map your edge cases before you deploy, before a customer or a regulator finds them for you.

An edge case is the part of the job your AI doesn’t know how to do.

Not the part it does badly. The part it’s never seen before, has no example of in its training data, and has no way to recognize that it’s in trouble. The part where the system gives an answer with full confidence and no idea that the answer is wrong.

Edge cases are a structural feature of every machine learning system that’s ever shipped. They’re also the reason most AI deployments fail outright or slowly hurt the business that paid for them.

AI rollouts that treat edge cases as a rounding error are negligent. The vendors want you staring at the 95 percent the system handles. I care about the one customer it’s going to fail, because that customer is a real person with a real problem, and the company that deployed the bot leaves them alone with it and books the savings.

What is an edge case in AI?

Machine learning works by finding patterns in examples.

You show the system a million pictures of cats labeled “cat” and a million pictures of dogs labeled “dog,” and it learns to tell them apart with high accuracy. The system is matching patterns. When a new picture comes in, the system asks: does this look more like the cat pattern or the dog pattern? For more, see mit research shows ChatGPT weakens your brain and AI and writing.

An edge case is the part of the job your AI doesn’t know how to do.
Share on X

That’s the entire mechanism. It works beautifully when the new picture is, in fact, a cat or a dog.

The edge case is the picture that’s a fox, a ferret, a stuffed animal, a cat-shaped cloud, or a dog in a cat costume. The system has never been shown those examples. It still has to give an answer. So it picks one, with full confidence, and gets it wrong.

Now scale that mechanism up to the actual jobs companies are deploying AI for. A customer service bot trained on thousands of routine billing questions meets an angry customer whose card was charged twice for a canceled flight.

The bot has no example of what to do. A legal AI trained on standard contracts hits a clause it’s never seen. A medical AI trained on common presentations hits a rare condition that mimics a common one. Each system gives an answer, with full confidence, and gets it wrong.

I’d pull that customer service bot the first time it told a double-charged traveler something confident and wrong. The customer doesn’t care that the model scored well on the easy questions. They care that they’re out the money and the machine won’t admit it’s lost.

Where AI systems meet edge cases
System Trained on Edge case it meets
Image classifier Labeled pictures of cats and dogs A fox, a stuffed animal, a dog in a cat costume
Customer service bot Routine billing questions A customer charged twice for a canceled flight
Legal AI Standard contracts A clause it has never seen
Medical AI Common presentations A rare condition that mimics a common one
Self-driving car Routine driving scenarios A pedestrian silhouette or wobbling bicycle it has never seen

Watch: How To Train Your Self-Driving Car? Use Edge Cases | The Extra Mile, With dRISK, The Wall Street Journal

Why doesn’t training fix AI edge cases?

The obvious response is: just train the system on more examples. If the AI is failing on angry customers, train it on more angry customers. If it’s failing on rare medical conditions, train it on more rare conditions. This works, partially, on the cases you can predict. The problem is that the edge cases you can predict aren’t really the edge. The actual edge is the case nobody on the team thought to put in the training set, because nobody could imagine it.

And the world produces those constantly. New edges arrive constantly. Every new product. Every new customer demographic. Every new regulation. Every new fraud pattern. Every new emotional state a real human walks in with on a Tuesday morning. You can’t train your way out of this problem. You can only build the system to recognize when it’s outside what it knows and hand the job to a human.

It’s the only fix. Anybody who tells you more training data will close the gap is selling you something, and it’s the executives who believed them who end up explaining the failure to a board or a judge.

The cost at three scales

What an unhandled AI edge case costs at three scalesThe cost of an unhandled edge case does not stay constant. It scales with what the AI is put in charge of. At small scale the cost is a wrong answer: a chatbot gives a customer the wrong shipping date, a search assistant invents a citation, a spreadsheet AI mislabels a column. It is annoying, recoverable, and measured in time. At medium scale the cost is a lawsuit: Air Canada deployed a customer service chatbot that invented a refund policy, a customer relied on the promise, the company refused to honour it, and the court ruled the company responsible for what its chatbot said. At large scale the cost is a death, wherever the system is placed in charge of physical safety. The only fix is a human in the loop wherever the cost of a single failure exceeds the convenience of automation.What an edge case costs, by scaleThe cost does not stay constant. It scales with what you put the AI in charge of.1Small scale: a wrong answerWrong shipping date. Invented citation.A mislabelled column.Annoying, recoverable, costs time.2Medium scale: a lawsuitAir Canada’s chatbot invented a refund policyThe customer relied on it. The court heldthe company responsible.3Large scale: a deathWherever the system is in charge ofphysical safety and meets a situationit was never trained onThe fix is a human in the loop wherever one failure costs more than the automation saves.
What an unhandled AI edge case costs at three scalesThe cost of an unhandled edge case does not stay constant. It scales with what the AI is put in charge of. At small scale the cost is a wrong answer: a chatbot gives a customer the wrong shipping date, a search assistant invents a citation, a spreadsheet AI mislabels a column. It is annoying, recoverable, and measured in time. At medium scale the cost is a lawsuit: Air Canada deployed a customer service chatbot that invented a refund policy, a customer relied on the promise, the company refused to honour it, and the court ruled the company responsible for what its chatbot said. At large scale the cost is a death, wherever the system is placed in charge of physical safety. The only fix is a human in the loop wherever the cost of a single failure exceeds the convenience of automation.What an edge case costs, byscaleThe cost does not stay constant. It scales with whatyou put the AI in charge of.1Small scale: a wrong answerWrong shipping date. Invented citation.A mislabelled column.Annoying, recoverable, costs time.2Medium scale: a lawsuitAir Canada’s chatbot invented a refund policyThe customer relied on it. The court heldthe company responsible.3Large scale: a deathWherever the system is in charge ofphysical safety and meets a situationit was never trained onThe fix is a human in the loop wherever one failurecosts more than the automation saves.

The reason this matters is that the cost of an unhandled edge case doesn’t stay constant. It scales with what you put the AI in charge of.

Small scale: a wrong answer

At the bottom of the stack, an edge case is a wrong answer. A chatbot tells a customer the wrong shipping date. A search assistant invents a citation that doesn’t exist. A spreadsheet AI mislabels a column. The customer gets frustrated, the analyst catches the mistake, life goes on. Annoying, recoverable, and you measure the cost in time. This is the level most people think AI failures live at. They don’t.

Medium scale: a lawsuit

The next level up, an edge case is a legal exposure. Air Canada deployed a customer service chatbot that invented a refund policy that didn’t exist. A customer relied on the chatbot’s promise.

The company refused to honor it. The customer took them to British Columbia’s Civil Resolution Tribunal, and the tribunal ruled the company responsible for what its chatbot said. The “the chatbot was wrong” defense didn’t work.

The medium-scale edge case looks like this. A hallucinated answer your AI gave to a customer, with full confidence, that becomes a binding promise you have to either honor or fight in court. Multiply that across the volume of interactions a customer service AI handles, and the numbers get ugly fast.

The defense is the ugliest part of the Air Canada case. A company put a bot in front of its customers, the bot made a promise, and the company’s first move was to argue it wasn’t responsible for what its own bot said. If you won’t stand behind what your chatbot tells people, you had no business letting it talk to them.

I get into the failure mode of confident invention in AI Hallucination: A Survival Guide for People Who Publish Under Their Own Name. The mechanism is the same whether the output is a customer service answer or a chapter of your book.

Large scale: a death

At the top of the stack, an edge case is a person’s life.

Self-driving cars are the most public version of this.

The system handles every routine driving scenario it trained on. The edge case is the pedestrian whose silhouette the model has never seen. The bicycle wobbling in a way nobody’s ever shown it. The traffic backup caused by something it can’t categorize. The cost of the unhandled edge case at this scale is a human being.

Medical AI sits in the same category. So does any system that decides who gets a loan, who gets a job interview, who gets parole, who gets removed from a no-fly list. The person on the wrong end of those decisions doesn’t get to cross-examine the model, and I find that indefensible. When the system is confidently wrong about somebody who doesn’t fit its training data, that person can lose a job, a home, years of freedom, or a life.

What do edge cases mean for an AI rollout?

From the podcast

Ben “The Automator” Christensen has a name for the mechanism that catches the case nobody planned for, on Leaders and Their Stories: If you could have your system raise its hand when it’s not sure about the outcome, or it experiences some type of weird error, that’s what bringing human in the loop is. The system doesn’t have to solve the edge case. It only has to know that it’s met one.

Before you deploy any AI system into a real workflow, you have to answer one question. What does the cost of a single failure look like, and who pays it? If the answer is “the user has to retry the search,” fine. Ship the system, let it fail occasionally, and move on. The cost is small, the cost lands on the user, and the user has another search engine they can use.

The person on the wrong end of those decisions doesn’t get to cross-examine the model, and I find that indefensible.

When the answer is “the company has to honor an invented refund policy,” you have a problem the law has already decided. Build a human in the loop for any answer that creates an obligation. The cost of that human’s time is less than the cost of the lawsuit you’ll eventually lose.

Where the answer is “a person gets hurt,” you can’t deploy this system without a human in the loop, full stop. The cost of getting this wrong is something money can’t get back, and no amount of training data ever solves the next edge case the world will produce.

Klarna-style rollouts all make the same mistake: they answer the cost question with the 95 percent the AI handles and never price the other 5 percent. That 5 percent is where your angriest customers, your legal exposure and your worst headlines live, and a company that won’t staff for it has decided those people don’t count.

My take

Price the failure before you ship. If a wrong answer means somebody retries a search, let the AI run. If it creates an obligation like a refund, put a human in the loop. If a person can get hurt, don’t deploy without one, full stop. More training data won’t save you, because the world keeps producing cases the model has never seen. The 5 percent it can’t handle is where your worst headlines live.

What is the rule for AI edge cases?

Keep a human in the loop wherever the cost of one unhandled edge case exceeds the convenience of automating the routine ones. And that’s the whole rule. The work of adopting AI well is the work of mapping where that line falls for every system you deploy. Most rollouts fail because nobody did the mapping. They benchmarked the AI against the easy cases, took the savings, and waited for the hard ones to arrive.

The hard ones always arrive, and I think any leader who deploys AI without deciding in advance who catches them is being reckless with other people’s money, time and safety. Do the mapping before launch, put a person wherever one failure costs more than the automation saves, and stop treating the edge cases as somebody else’s problem.

From the author
The Death of Thinking by Richard Lowe

The Death of Thinking
Edge cases are where human judgment pays for itself. The Death of Thinking covers what happens when people hand that judgment to a machine and stop standing outside the structure.

Frequently Asked Questions

What is an edge case in AI?
An edge case is any situation outside the pattern an AI was trained on. It’s a case the system has never seen before. Because machine learning works by matching new inputs to known patterns, the system still gives an answer when it encounters an edge case. It just has no way to know that the answer is wrong.
Why can’t you just train the AI on more examples?
You can train on more of the edge cases you can predict, but the actual edge is the case nobody thought to include because nobody could imagine it. The world produces those constantly, through new products, new customers, new regulations, new fraud patterns, new emotional states people show up with. You can’t train your way out of the problem. You can only build the system to recognize when it’s outside what it knows and hand the case to a human.
What happens when an AI system hits an unhandled edge case?
It depends on what you put the AI in charge of. At small scale you get a wrong answer the user can recover from. At medium scale you get a legal exposure, like Air Canada’s chatbot inventing a refund policy a tribunal forced the company to honor. At scale the cost changes. In self-driving cars, medical diagnosis, or any system deciding something about a person’s life, one unhandled edge case can hurt or kill someone.
How do I know if my AI system has an edge case problem?
Every AI system has an edge case problem. The question is whether you’ve mapped where the failures will land and what they’ll cost. Run through your workflow and ask: what does the system do when it doesn’t know? If the answer is “it gives an answer anyway with full confidence,” you have an unmapped edge case waiting to find you. The fix is to build the system to recognize when it’s outside its training and route the case to a human, before the case finds the customer or the regulator instead.
When is it safe to deploy AI without a human in the loop?
When the cost of a single failure is small and lands on someone who can recover from it. A search engine giving an occasionally wrong result is fine. A chatbot answering FAQs about store hours is fine. The user retries, the cost is measured in seconds, and nobody gets hurt. The minute the cost rises to a binding promise, a regulated decision, or a person’s safety, you need a human in the loop. The convenience of automation is never worth the cost of one edge case you didn’t see coming.
When should a human stay in the loop on AI decisions?
Keep a human in the loop wherever the cost of one unhandled edge case exceeds the convenience of automating the routine ones. That’s the whole rule. The work of adopting AI well is the work of mapping where that line falls for every system you deploy. Most rollouts fail because nobody did the mapping. They benchmarked the AI against the easy cases, took the savings, and waited for the hard ones to arrive. The hard ones always arrive.

About the Author
Richard Lowe, professional ghostwriter

Richard Lowe is a professional ghostwriter and author with 113+ books authored and 54+ ghostwritten. Before writing full time he spent 33 years in enterprise technology, including 20 years as Director of Computer Operations and Technical Services at Trader Joe's. He writes nonfiction, fiction and memoir, and works with executives and experts on books that build authority.

More about Richard Lowe →

Disclaimer

The views and opinions expressed in this blog post are solely those of Richard Lowe and are based on personal experience and research. This content is for informational purposes only and should not be construed as professional legal, financial, accounting, or business advice. Always consult with qualified professionals before making important business or legal decisions. Richard Lowe is not a lawyer, accountant, or licensed professional advisor, and this content does not establish any professional relationship.

0 comments

No comments yet. Yours can be the first.

Was this useful?

Leave a comment