When asked in an interview, “If you were to add an AI feature to our product, what would you add?”, my first reaction is usually defensive: don’t rush to think about what to add—first look at where things are currently stuck.
This reaction isn’t very likable. Interviewers often want to hear a specific feature, but what I give back sounds like evasion. In my ten years of doing AI products, I’ve been asked this kind of question myself and have asked it of others. I’ve seen too many projects that “start with a model, then look for a scenario,” only to discover halfway through that the original three lines of rules could have solved it, and eventually fizzle out. No one reviews the time already spent.
So if I could give only one judgment, I’d say: the real test of this question is whether I can resist adding.
First confirm whether this is a probability problem
The difference between rules and models isn’t technical sophistication—it’s whether the output is deterministic.
For the same input, rules always give the same answer; a model gives a distribution. Introducing a model also introduces a new class of failure: it can be wrong, and wrong in no discernible pattern. Saying this in a review meeting is often taken as conservatism, but it’s the premise for all subsequent trade-offs.
So I’m in the habit of first asking: is the input to this step enumerable? Form validation, permission checks, amount calculations, state transitions—written in code, they’re fast and accurate; forcing a model in just yields the same result, slower, more expensive, and less stable.
The easiest counterexample: using a model to validate email format. A regex is a few lines, microsecond-level, 100% accurate, and doesn’t need a network connection. Switch to a model, and you first have to handle call latency, then handle the fact that it occasionally judges an obviously malformed address as valid. The benefit is zero; the risk is new. This kind of solution shows no problems in a demo, because the few test data points you casually type in are all well-formed.
Where a model is worth using is usually where rules can’t be exhausted: variants of violating content, requirements users describe in natural language, information feeds ranked by personal preference. The common thread is fuzzy boundaries and incomplete enumeration of cases. Add a rule today, a homophone variant pops up tomorrow—maintenance cost piles up bit by bit until at some point it’s no longer worth it. Where that “some point” is depends on the business’s tolerance for missed detection; there’s no universal number.
There’s another easily overlooked case: scenarios where the cost of error is extremely high. This isn’t about not being able to use a model, but about not being able to use only a model. The model gives suggestions, a human makes the decision, and there must be an explicit checkpoint in between. Without that checkpoint, no matter how high the accuracy, I wouldn’t dare let it execute automatically. In processes like healthcare, finance, and legal, the cost of one error can eat back the efficiency gains of the previous ten thousand times in one go.
Conversely, if a problem has low error cost, fast feedback, and manual handling is especially expensive, then a model with only around eighty percent accuracy may still be worth using. Because what it replaces isn’t perfect human labor, but the portion that no one handles at all.
Data decides success or failure earlier than model selection
Many discussions jump straight to “which model to use.” That step is too early—so early it’s meaningless.
What really determines whether a feature can be built is data: whether it exists, whether it’s clean, and whether it can be legally used.
Whether it exists means whether historical accumulation includes the inputs and results for this task. To build intelligent customer service, you first need chat logs, and also labels for “whether this was resolved.” With only conversations and no outcomes, the model can’t learn what “correct” is. This is the easiest thing to gloss over in reviews, because “we have millions of conversations on hand” sounds impressive, when in reality maybe only tens of thousands are labeled with outcomes.
Whether it’s clean means whether these records can be used directly. Real logs mix typos, duplicate submissions, test accounts, and internal debugging conversations together; the cleaning effort often exceeds the actual development that follows. I’ve seen teams put their entire schedule on the model, only to spend more than half their time wrestling with strange dirty data in the logs.
Whether it can be legally used means whether users consented, whether sensitive information is involved, and whether it can be de-identified. In ToB scenarios this is often a hard constraint, not a formality that can be patched up later. Data not covered in the contract shouldn’t be used even if technically accessible.
If any one of these three doesn’t hold, talking about model selection is spinning wheels. I’ve encountered situations where the data volume looked large but only a small portion was actually labeled, and the final plan retreated from “fine-tuning” to “prompts plus retrieval”—not because the model was bad, but because there was no fuel.
Data has an even more insidious problem: it reflects the past. A valuation model trained on historical transaction data will fail when the market changes rapidly, because what it learned is the old price relationship. This kind of failure doesn’t show up in offline tests—the test set is also historical. Only after several consecutive online losses do you discover the model has been answering new-world questions with old-world logic. This isn’t model degradation; the environment changed, and the evaluation set didn’t change with it.
The same goes for labeling. Supervised learning requires someone to tell the model what’s correct, so who defines that “correct” and whether the definition is consistent directly determines what the model learns. Swap in a new batch of annotators, and the standard may drift. This kind of problem doesn’t immediately show up in metrics; half a year later it becomes a bottleneck with no clear cause: you can see a slowly declining curve but can’t find the day it started.
For cold start, I lean toward using rules or manual work to hold things together for a while, get the process running, and record the process along the way. Once a few hundred to a thousand real samples have accumulated, then consider switching to a model. This order is slow, but it prevents me from forcing out a demo when there’s no data, and then using the demo to ask for budget.
Selection is admitting you can’t have all three
Latency, accuracy, and cost—in the vast majority of scenarios, you can’t max out all three at once.
Want it fast and accurate? Spend more money—bigger models, better hardware. Want it fast and cheap? Accept lower accuracy—smaller models or quantized versions. Want it accurate and cheap? Usually you have to slow down and move the task to offline batch processing. When selecting, I first determine which one is the hard constraint. In real-time interaction, latency is usually hard—users leave after waiting two seconds—so trading a few points of accuracy for response speed is worth it. In offline generation, accuracy is hard—nobody cares if it runs a few extra hours.
API calls and private deployment follow the same logic. For early validation, use commercial APIs—fast, no team to maintain, at the cost of pay-per-use and data leaving your domain. Once volume picks up or core data is involved, switch to self-hosted—the cost structure shifts from per-call to fixed, but someone has to maintain it. Neither path is superior; it’s just a matter of which cost I fear more at the moment.
The most easily underestimated part of self-hosting is people. Getting the model deployed is only the beginning; after that come version upgrades, GPU memory planning, troubleshooting, and evaluation set maintenance. These tasks don’t disappear because the model is open source—they become more visible because no one is there to catch failures. When deciding whether to self-host, I first ask: if a production issue occurs, who can locate it within an hour? If no one can answer, don’t self-host yet.
When it really comes down to “the model is just slow,” what you can change isn’t only the model. High-frequency requests with little variation can be precomputed, read directly from cache when users arrive; long-running tasks can be made asynchronous, showing a placeholder result first and notifying when done; you can also cascade—use a small model to handle most obvious cases, leaving a small remainder to a large model or humans. The common thread: don’t fight the model head-on; route around it in the process.
I don’t like hearing “we use the best model” in interviews. That sentence carries no information, because it doesn’t say what was given up. A genuinely useful answer comes with “so we accepted a loss on some metric”—that shows the person has thought about where the boundaries are.
Metrics must translate into user behavior
The word “accuracy” is nearly useless in product discussions.
Not that it’s unimportant, but that it doesn’t point to any decision. What the difference between ninety-two and ninety-four means for users, what it means for revenue—that’s what needs answering.
In classification tasks, I first ask which of the two error directions is more costly. Whether to err on the side of over-blocking or under-blocking should be decided by the business, not by the algorithm. For spam content blocking, over-blocking hits legitimate content, and the cost is complaints; under-blocking lets violations through, and the cost can be an incident. Since the two directions have different costs, the thresholds should differ. Talking about “accuracy” at this point is meaningless, because the same number can correspond to two completely opposite systems.
Generation tasks are harder. Without a single correct answer, there’s no way to compare word by word. Here I lean on behavioral metrics: whether the user adopted the suggestion, how much they changed after adopting it, whether the revised version stayed in the workflow, and whether they’ll use it again next time. A low adoption rate may mean the model is inaccurate, or that the entry point is buried too deep; a high edit rate means the direction is right but the details are off; for something used once and never touched again, the problem usually isn’t the model itself, but that the first result gave the user no reason to continue.
Technical metrics still matter, but they’re responsible for explaining phenomena, not for drawing conclusions. If model A scores two points higher than B, but A is twice as slow and causes users to give up midway, those two points are meaningless.
As for bad cases, my bottom line is that they must have somewhere to go. Either degrade to rules, or hand off to a human, or explicitly tell the user that this result is uncertain. Packaging an uncertain output as a definitive conclusion is the one product design I cannot accept—it shifts risk from the system to the user, and the user has no ability to identify it. This kind of design usually has the best-looking data in its first month online, because nobody complains; they just stop using it.
I still don’t have a standard answer to this question. Different products have different available data, different errors they can tolerate, and different costs they can bear. What I can be certain of is only the order: first decide whether to use it at all, then check whether the data is sufficient, then choose the model, and only last the metrics. Reverse that order, and what you build usually looks great but is of little use.
Further reading: Making the interviewee calculate costs—what I want to see isn’t multiplication, “Our data will form a flywheel”—I break this sentence into three questions
Comments