Why AI Fails


Suppose you asked AI to design an engine that pulls static electricity from the atmosphere so the engine can run without any other fuel, whatsoever.

It would certainly give you a result and that result would sound very convincing. In fact, it might read like a mash-up of your high school physics text and the plots from various science fiction stories - because that’s exactly what it would be.

Designing such an engine would literally involve creating a new branch of physics and AI can’t create something from scratch if the “raw materials” necessary to create it don’t already exist.

This is because the large language models (LLMs) that power AI are correlation-based learners. Given an input prompt, an LLM does a fantastic job of producing an output that is highly correlated with what the user wants, based on patterns in its training data.

What it’s not designed to do is originate genuinely new ideas or mechanisms that go above and beyond what’s represented in that data.

LLMs are strongest when a task looks like a remix or recombination of things they’ve seen before and get weaker the further the task moves beyond the scope of their training data.

This is just one of the many ways in which AI can fail. And at a time where everyone is seemingly trying to make sense of AI, understanding and being able to explain exactly why AI fails has become one of the most valuable things data scientists can offer their stakeholders.

In the latest episode of Value Driven Data Science, Lauren Pearl joins me for a special reverse interview episode where we explore why LLMs work the way they do and what that means for anyone using AI in their work.

You’ll discover:

  1. What your training data tells you about what AI can and cannot do [05:05]
  2. Why high context problems are particularly hard for LLMs [06:28]
  3. How AI gives you the right answer for the wrong reason [08:08]
  4. Why some problems will always be beyond what LLMs can solve [14:22]

Understanding why AI fails is just as valuable as knowing how to use it.

Listen now on Apple Podcasts or Spotify, or click the link below:

​Episode 126: Why AI Excels at Some Things and Sucks at Others​

Talk again soon,

Dr Genevieve Hayes

Data Science Impact Algorithm

Twice weekly, I share proven strategies to help data scientists get noticed, promoted, and valued. No theory — just practical steps to transform your technical expertise into business impact and the freedom to call your own shots.

Read more from Data Science Impact Algorithm

Machine learning models are designed to predict outcomes. Given the characteristics of a customer, a machine learning model can, for example, predict whether they'll buy a product, click on a link, cancel a service, or claim on their insurance. But what an ML model can't tell you is what causes the customer to do any of these things - and what would happen if an organisation intervened to change their behaviour. This is because ML models are correlation-based. And as most data scientists...

Recently, I've been systemising my workflows. It's partly about efficiency, but also a way of experimenting with AI. Whenever I encounter a process I've performed dozens of times, I look for a way to automate, templatise or standardise it by feeding my existing knowledge and artefacts into Claude. It's system leverage 101, turbo-charged by AI. But even though AI makes this easier than ever before, none of this would be possible if I hadn't already mastered these tasks. I'm not asking AI to...

If you want to build a physical structure, be it a mine, a bridge, or a factory, the first thing you invariably need to do is create a blueprint. You can’t just show up at the construction site and start building, or you risk wasting a lot of time and money on a project that returns nothing more than a structurally unsound pile of raw materials. The same is true when building a digital twin. But here’s where data scientists have one major advantage over their counterparts in the physical...