Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

Plain Models First: Simple Machine Learning on the Critical Path

Plain Models First: Simple Machine Learning on the Critical Path
Artificial Intelligence

Machine learning has two personalities. One is the flashy newcomer that writes paragraphs, paints pictures and occasionally invents things. The other is the unglamorous workhorse: a decision tree, a linear model, a lookup table, a few lines of rules written by someone who understood the business. This explainer is about the second one, and about a habit that experienced teams share. For the part of a system that must not fail, they choose the boring option. They save the clever idea for somewhere it can safely misbehave.

The reasoning is evidence-led rather than sentimental, so let us build it up step by step, in plain language, using one concrete example that most readers will recognise.

One example: sorting incoming customer messages

Imagine a company that receives a steady stream of customer messages. Some are simple questions about opening hours. Some are complaints. A few are urgent, such as a report that a payment went through twice. The team wants software to sort the stream so that urgent items reach a person quickly.

There are two broad ways to build the sorter. The first is a small, conventional classifier trained on a few thousand labelled examples, or even a handful of keyword rules combined with a simple scoring formula. The second is a large general-purpose language model that reads each message and decides what it is about. The second option is more impressive in a demonstration. It handles odd phrasing and mixed languages gracefully. It is also harder to predict.

The real question is not which of the two wins in the abstract, but which one should sit on the path where a wrong answer is expensive.

What makes a model boring, and why that is a compliment

A boring model has a few properties worth naming. It is cheap to run, so it never becomes a bottleneck. It gives the same answer to the same input, so a result can be reproduced during a review. Its mistakes have a recognisable shape, because the features it looks at are few and can be listed. And a new colleague can understand it in an afternoon.

None of those properties are about accuracy on a leaderboard. They are about operating a system over months and years. Predictability pays off the first time a night-shift engineer has to explain, quickly, why a particular message was routed the way it was.

With a small classifier, the explanation is a short list of the features that pushed the score up. With a very large model, the honest explanation is often that it read the text and judged it urgent. That may be correct, but it is hard to test, hard to tune and hard to defend when a customer asks.

The critical path and the side path

The useful mental picture is a system with two kinds of work. On the critical path sits anything whose failure causes harm that is difficult to undo: money moved, an alert suppressed, an urgent case left unread. On the side path sits anything that improves the experience but whose failure is merely a missed opportunity: a suggested reply, a draft summary, a hint for the agent.

In the customer message example, the urgent flag belongs on the critical path. A conventional model or a short list of rules makes that decision. A newer model can live on the side path, offering a suggested reply that a person reads and edits before anything is sent. If the suggestion is poor, nobody is harmed. If it is excellent, the agent saves a minute.

The design principle is simple enough to remember: boring on the path that must not fail, adventurous on the path that can.

Evidence from how real teams work

Teams that run machine learning in production tend to report the same pattern. The first version of a classifier often performs well enough on its own, and the cost of the extra sophistication is paid in monitoring, retraining and explanation. A modest model that is understood and watched usually beats an impressive model that nobody dares to touch.

That matches an everyday observation about business decisions generally. A piece elsewhere on this blog, on AI and everyday business choices, hints at the same thing, namely that the technology helps most when its role is narrow and its output is easy to question. A narrow role is exactly what a boring model gives you.

The same logic applies to perception tasks. A walkthrough of how image classification reads a picture shows how much can be done with a modest, well-studied approach before anything exotic is needed. Many practical vision systems rely on exactly such techniques, precisely because they have a long track record.

How to apply the idea to your own project

Following this principle takes no new framework, only an early talk before any code is written. List every decision the system will make, and for each one ask what happens if the answer is wrong. Then sort the decisions into the two paths.

  1. Write the decisions as plain sentences, such as route a message, flag a payment problem, suggest a reply.
  2. For each sentence, describe the worst realistic outcome of a wrong answer and whether it can be reversed.
  3. Assign decisions with serious or irreversible outcomes to the simplest approach that clears the accuracy bar.
  4. Assign low-stakes decisions to whatever approach you most want to learn about.
  5. Review the sorting after a few months, and promote a newer technique to the critical path only when it has a long clean history on the side path.

The last step is how boring options come into being. Every mature technique was once experimental. Making it prove itself in a low-risk setting is simply the way a technique earns a place on the path that matters.

A note on local context

Teams building tools for a specific city often look at how local information gets published online, simply to understand the kind of text their systems will meet. As one passing example, HyderabadOrbit is a Telangana community page centred on Hyderabad, with an events section among others. Pages like it show how varied everyday local writing is, which is a reminder that messy real-world text deserves a sturdy baseline model.

Common objections, answered plainly

One objection is that simple models leave accuracy on the table. Sometimes that is true, and when the gap is large and the stakes justify it, a more capable model deserves to move onto the critical path. The point is not that boring wins every time. The point is that the burden of proof sits with the newer idea, and that the proof should be gathered where failure is cheap.

Another objection is that rules are brittle. They can be, which is why a conventional trained model usually beats a pile of hand-written conditions. Brittleness is also visible: when a rule fails you can read it, find the reason and fix it. When a very large model fails, finding the reason is a research project.

A third objection is that sticking with familiar techniques is unambitious. In practice it frees up ambition. A team whose critical path is calm has time and nerve to explore new things on the side path, whereas a team constantly fighting fires on a fragile core has none.

What to remember

The next time a new model is announced and someone suggests dropping it into the middle of a working system, ask where it will sit. If the answer is the path where a wrong output hurts, favour the well-understood tool and its boring virtues: speed, predictability, a short explanation and a long record. If the answer is a side path with a human checking the result, experiment freely. Good systems are built from both, and the skill lies in knowing which belongs where.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x