MODULE 3 ยท LESSON 1
Free โ no login requiredSign in to track progress, save quiz attempts and enrol in the full course.
Sign in to track progress / enrolCase Study: What Happens When You Talk to a Smart Speaker
"Hey speaker, set a timer for ten minutes." It feels like one act of understanding. It is four or five distinct steps, and separating them is the most useful analytical habit in this course.
The pipeline
Notice step 4. The thing the user actually wanted โ a timer โ involves no machine learning at all. It is a line of code that any programmer could have written in 1995. The AI is entirely in the interface.
This is far more general than it looks. In a great many AI products, the machine learning converts messy human input into something structured, and then completely conventional software does the actual work. Recognising this stops you overestimating how much of a system is "the AI" โ and stops vendors overstating it too.
Why the split matters
Different steps fail differently, and need different fixes. If the speaker sets a timer for two minutes instead of ten, which step failed? If speech-to-text heard "two", the fix is an audio problem โ microphone, noise, accent coverage. If it heard "ten" correctly but intent recognition mapped it wrong, that is a language-understanding problem. Same symptom, unrelated fixes. Without the pipeline view, you can only say "the AI is bad".
Errors compound. Suppose each machine learning step is 95% accurate. Two such steps in sequence give roughly 90% end-to-end. Three give about 86%. Individually excellent components can produce a mediocre product, and this is why an impressive demo of one component tells you so little about the whole.
The weakest step sets the ceiling. Improving a step that is already at 99% while another sits at 80% is wasted effort. In practice a great deal of engineering time goes into finding out which step is actually the constraint.
Take something unglamorous: a company receives supplier invoices by email and pays them.
Someone proposes "AI to automate invoice processing". Broken into steps:
- Receive the email and detect that it contains an invoice. Partly classification, largely rules โ many suppliers send from consistent addresses in a consistent format.
- Extract the document from the attachment. Ordinary software. PDFs, scans, occasionally a photo.
- Read the fields โ supplier, invoice number, amount, date, line items. This is genuine machine learning, and the hardest step, because every supplier's layout differs.
- Match to a purchase order. Mostly database lookup. Rules, not AI, though fuzzy matching helps when references are entered inconsistently.
- Check the amount against the PO within tolerance. Pure business logic.
- Route exceptions to a human. Ordinary software, driven by a confidence threshold.
- Approve and schedule payment. Existing finance system.
Of seven steps, one is meaningfully an AI problem. Two are partly. Four are conventional software or existing systems.
That changes the project completely. It is mostly an integration project with a machine learning component, which means the team should be weighted accordingly, most of the risk sits in step 3, and steps 4 to 7 can be built and tested before the model exists.
It also reveals where the value actually is. If most invoices already arrive from fifty regular suppliers in stable formats, a templated approach handles the bulk cheaply, and the model is only needed for the long tail. That is a completely different, much smaller, much more likely-to-succeed project than "AI for invoices".
The habit to take away: whenever someone proposes an AI solution, write down the steps between the raw input and the outcome, and mark which are genuinely AI. It routinely turns an intimidating project into a manageable one, and it exposes proposals where the hard step was never identified at all.
A pipeline has three machine learning steps, each 95% accurate. Roughly what end-to-end accuracy should you expect, and what does that imply?
Pipeline thinking
Click to flipBreaking a product into the sequence of steps between raw input and outcome, and marking which are machine learning and which are conventional software. The most transferable analytical habit in applied AI.
Click to flip backFamiliar AI products are pipelines, and most steps in them are not AI. Separating the steps tells you which component failed when something goes wrong, shows why chained accuracies compound into a weaker whole, and identifies the one step that actually limits performance. Applied to your own processes, it usually shrinks an intimidating "AI project" into a mostly conventional one with a small, well-defined machine learning core.