Sub topic 4
Signals That a Problem Fits AI
What this chapter assumes
You should know how product features are built and what machine learning and large language models (LLMs) do at a high level. You should also be comfortable reading short Python snippets. The chapter builds on two earlier ideas:
- You have defined the user problem and its success outcome.
- You know that deterministic logic gives the same output for the same input, while AI behavior is probabilistic.
Here you learn to recognize the properties of a problem that make AI a reasonable candidate. These signals are not a verdict. They tell you whether a prototype is worth the cost. Error cost, data, risk, and evaluation are weighed in later chapters.
What a fit signal is
A fit signal is an observable property of the task, not of the technology. "We want a smart feature" is not a signal. "Users describe the same request in thousands of different phrasings" is one.
Signals matter because AI adds costs that rules do not: variable output, evaluation work, and ongoing monitoring. Those costs are worth paying only when the task has properties that rules handle badly. The more of these properties a task has, and the more strongly it has them, the better the case.
The core signals
1. Rules struggle to express the task
This is the gating signal. Write the rules out. If you can list them in an afternoon and they cover nearly all cases, you have a rules problem. If every new batch of inputs exposes cases the rules miss, and each fix breaks another rule, that is a signal.
Spam filtering, recognizing a product in a photo, and summarizing a meeting are tasks where nobody can write the full rule set. Calculating sales tax, validating an email format, and enforcing a refund window are tasks where someone can.
2. Inputs are unstructured or highly variable
Free text, audio, images, and messy documents have no fixed schema. A rule needs something stable to match on. When the same intent shows up as "refund please", "I want my money back", and "charge was a mistake", a keyword list will lose coverage with every new phrasing.
Structured inputs with a few fields and enumerated values rarely show this signal.
3. Approximate answers still have value
Probabilistic systems are right most of the time, not always. The signal is present when a mostly-right answer is useful to the user. Examples are a draft reply the user edits, a ranked list where the top few results matter, or a suggested tag the user can change in one click.
The signal is absent when the value comes from exactness, such as ledger totals or dosage calculations.
4. Examples are easier to produce than specifications
Ask your domain experts to explain how they decide. If they say "I know it when I see it" but can readily label a hundred cases, the knowledge is in examples, not in rules. That is the situation machine learning (and prompting with examples) is built for.
If experts can state the decision procedure clearly, write it as code.
5. The task is easier to check than to do
Some tasks are hard to produce but cheap to verify. A user can glance at a generated summary or a suggested search filter and accept or reject it in seconds. This asymmetry makes AI safer to ship, because a person or a program can catch bad outputs cheaply.
Tasks where verification is as expensive as doing the work, such as a long legal analysis that someone must redo to trust, weaken this signal.
6. Volume makes manual or rule-based handling impractical
Value usually comes from repetition. Routing 20 tickets a week is a manual job. Routing 200,000 is a candidate for automation. Volume also generates the labeled data and feedback that later chapters treat as a separate requirement.
7. The pattern drifts over time
Language, fraud tactics, and user tastes change. Rules decay and need constant hand maintenance. A model retrained on recent examples can track the change, at the cost of monitoring. Drift counts as a signal only if you will actually retrain or update. Otherwise it becomes a liability.
Summary of signals
| Signal | Present when | Absent when |
|---|---|---|
| Rules struggle | New cases keep breaking the rule set | Rules fit on one page |
| Variable inputs | Free text, images, audio, messy documents | Fixed fields and enumerated values |
| Approximate is useful | Drafts, suggestions, ranked lists | Exact totals, legal or safety thresholds |
| Examples over specs | Experts can label but not explain | Experts can state the procedure |
| Easy to check | Users or code verify output quickly | Verification costs as much as the task |
| Volume | Thousands or more of repeated decisions | A handful of decisions per week |
| Drift | Patterns change and you will update | Stable domain, or no update plan |
Anti-signals
Some properties actively argue against AI. Treat them as a counterweight to the signals above.
- A non-AI option already meets the success outcome. The cheaper path wins.
- The output must be reproducible and explainable line by line, for example for an audit.
- Every error is costly and no human reviews the output. The next chapter covers error cost in detail.
- You cannot describe what a good output looks like, so you could never tell whether the feature works.
A screening flow
The diagram shows the order in which to ask the questions. The cheap, decisive checks come first.
Encoding the screen in code
A small function makes the logic explicit and reviewable. It treats the rules question as a gate and counts the other signals.
SUPPORTING_SIGNALS = [
"variable_inputs",
"examples_over_specs",
"volume",
"drift",
]
def screen(answers: dict) -> str:
if not answers["rules_struggle"]:
return "stop: try rules, search, or a UI change first"
if not (answers["approximate_ok"] and answers["easy_to_check"]):
return "stop: output is hard to use or verify"
present = [name for name in SUPPORTING_SIGNALS if answers[name]]
if len(present) >= 2:
return f"candidate for AI ({len(present)} supporting signals: {', '.join(present)})"
return "weak fit: prefer a simpler approach"
ticket_routing = {
"rules_struggle": True,
"approximate_ok": True,
"easy_to_check": True,
"variable_inputs": True,
"examples_over_specs": True,
"volume": True,
"drift": False,
}
print(screen(ticket_routing))Running it prints:
candidate for AI (3 supporting signals: variable_inputs, examples_over_specs, volume)The threshold of two is an arbitrary choice for illustration. Your team should set its own and write down why. The point is that the answer comes from named, inspectable inputs rather than from enthusiasm.
Worked example: two features in one product
Consider a help-desk product with two proposed AI features.
Feature A: route incoming tickets to a team. Tickets are free text with many phrasings. Support leads can label tickets quickly but struggle to write the full routing rules. A wrong route costs a short delay, and an agent notices it on opening the ticket. There are 50,000 tickets a month. Most signals are present, so this goes forward to the next checks.
Feature B: calculate the refund amount for a ticket. The refund policy is a formula with a fixed window and caps. Inputs are structured: order total, date, plan. The answer must be exact and auditable. The rules are short, so the gate fails and the screen stops. Using a model here adds error without adding capability.
A tempting middle path is to use an LLM to read the ticket and extract the order ID, then compute the refund with code. That splits the task along the signals. The extraction part has variable inputs and the calculation part has none. Many good designs are hybrids of this kind.
Common errors
- Confusing novelty with fit. "Competitors have it" is market pressure, not a property of the task. It may justify exploring, but it does not satisfy any signal.
- Counting signals without weighing them. The gating signal and the "approximate answers are useful" signal can each veto the others.
- Treating variable inputs as proof. Messy input is sometimes best fixed upstream, for example by replacing a free-text box with a dropdown. That is a UI change and a non-AI baseline.
- Assuming volume implies data. High traffic does not mean you have labeled examples. Data availability is its own check, covered in the next chapter.
- Claiming drift without an update plan. If no one will retrain, re-prompt, or review, drift hurts the AI option more than it hurts rules, because a model's failures are quieter.
- Judging the whole feature instead of its parts. As the example above shows, one feature often contains a part that fits AI and a part that does not.
Exercise
A team wants an LLM to validate that customers' postal codes match their country's format before checkout. Using the signals in this chapter, should the feature use AI? Give two reasons.
Show answer
No. First, the gating signal fails: postal code formats are short, well-specified patterns that a rule or an existing validation library expresses completely, so rules do not struggle. Second, the input is a structured field and the answer must be exact, so approximate answers are not useful. A probabilistic model would add cost and occasional errors to a task that deterministic code solves correctly.
Exercise
Support agents say they can tell which incoming emails are urgent but cannot list the rules they use. About 30,000 emails arrive per month, and agents can see at a glance whether a flagged email is truly urgent. Which signals are present, and what should you check before building?
Show answer
Present signals are rules that struggle, examples being easier than specifications (agents can label but not explain), easy checking (agents verify a flag at a glance), volume (30,000 per month), and likely variable inputs (free-text email). Before building, confirm that a simple baseline such as keywords or sender rules does not already meet the goal, estimate what a wrong flag costs, and check whether labeled examples exist or can be collected.