Not Every Prob­lem Is an AI Use Case



How to quickly tell that a task needs rules, not AI

Not every request for AI is an AI use case. One of our cus­tom­ers already used an AI plat­form with a chat assist­ant and asked us for a new fea­ture: match­ing PDF doc­u­ments against an Excel list and find­ing the dis­crep­an­cies, with AI. When we looked at the data, the PDFs turned out to be gen­er­ated digit­ally by an upstream sys­tem, with a fixed struc­ture and machine-read­able text, and the Excel list had fixed columns. That makes the match­ing a clas­sic data prob­lem: extract val­ues, join them on a key, com­pare. The res­ult fol­lows from the input by fixed rules, so code can com­pute it.

We added the match­ing as a fea­ture of the exist­ing plat­form, but we were open with the cus­tomer that this fea­ture is not AI in the actual sense. The only AI part is that the assist­ant recog­nizes when a user wants to match doc­u­ments and then starts a clas­sic work­flow. The work­flow extracts, joins and com­pares, and the assist­ant returns the res­ult. For users, it feels like part of the assist­ant, but a determ­in­istic pro­cess does the actual work, so the res­ult is the same every time, can be veri­fied and costs prac­tic­ally noth­ing per run.

We see this pat­tern reg­u­larly. Many requests pitched as an AI use case turn out to be data match­ing, optim­iz­a­tion or con­trol prob­lems, and for these, bet­ter tools have exis­ted for decades.


AI, ML, LLM: which tool fits which use case?

In every­day lan­guage the terms blur, but for the decision it helps to keep them apart. AI is the umbrella term. Machine learn­ing is the part of AI that learns from data, and large lan­guage mod­els are a kind of machine learn­ing trained on text. Rules and algorithms are not AI, and they belong in the com­par­ison because they are the alternative:

ToolHow it worksGood forExample
Rules and algorithmspeople define the logic explicitlypro­cesses where the res­ult fol­lows from the input by fixed rulesmatch­ing, val­id­a­tion, route plan­ning with a solver, PID controllers
Machine learn­ing (ML)learns pat­terns from his­tor­ical datapre­dic­tions when the rule can­not be defined up front but can be learned from datasales fore­cast­ing, fraud detection
Large lan­guage model (LLM)pre­dicts the next words based on pat­terns learned from large amounts of textunder­stand­ing and writ­ing unstruc­tured languagecat­egor­iz­ing emails, sum­mar­iz­ing documents

Table 1: Rules, machine learn­ing and LLMs – how they work and what they are good for

The EU AI Act draws the same line. An AI sys­tem infers from its inputs how to gen­er­ate out­puts [2], and the Act expli­citly excludes sys­tems based on “rules defined solely by nat­ural per­sons” (Recital 12) [2]. The European Com­mis­sion’s guidelines count data­bases that fil­ter data “based on spe­cific cri­teria” as mere data pro­cessing [3], which is exactly what our match­ing does.


The quick test: is it an AI use case?

In most cases, five ques­tions settle this within a few minutes:

  1. Can you write down the rule? If a busi­ness unit can describe the logic as “if A, then B”, it belongs in code, even if today it only exists in the heads of a few experts. The rules may also form an entire rule set. As long as the busi­ness unit can main­tain it, it is still a job for code.
  2. Do the inputs have a fixed struc­ture? Code can read tables, data­bases and digit­ally gen­er­ated PDFs dir­ectly, as long as the lay­out inside the files stays stable. If it changes now and then, code can still handle it, but the rules grow. If it changes con­stantly, AI-based extrac­tion may be the bet­ter choice.
  3. Is the res­ult fully determ­ined by the input? If the same input must always lead to the same cor­rect res­ult, the prob­lem is a func­tion: out­put = f(input). Then a method that com­putes this func­tion beats one that is right most of the time.
  4. Must the res­ult be repro­du­cible? LLMs do not reli­ably return the same answer, even at tem­per­at­ure 0. For 1,000 identical requests, Think­ing Machines Lab received 80 dif­fer­ent answers [5]. Tests can catch this, as we describe in Test­ing AI Agents, but they can­not remove it.
  5. Is it a cal­cu­la­tion, optim­iz­a­tion or con­trol prob­lem? Routes, sched­ules and con­trol loops have for­mu­las, solv­ers and controllers.

If you answer three or more with yes, you are very likely not look­ing at an AI use case. The same ques­tions also work as a path. Fig­ure 1 shows how which tool fits, depend­ing on the answers.

Decision tree: if you can write down the rule and the inputs have a stable structure, use rules and algorithms; with unstable inputs, use AI for extraction and rules for the decision. If no rule can be written down, calculation, optimization and control problems go to a solver or controller, problems learnable from historical data go to machine learning, and free text goes to an LLM.

Fig­ure 1: From rule to tool. Only when no rule can be writ­ten down and the prob­lem is neither a cal­cu­la­tion nor an optim­iz­a­tion does it become a case for machine learn­ing or an LLM.

OpenAI recom­mends agents mainly for com­plex judg­ment calls, rule sets that have become hard to main­tain and heavy use of unstruc­tured data. Oth­er­wise, “a determ­in­istic solu­tion may suf­fice” [4]. Google’s first rule of machine learn­ing goes in the same dir­ec­tion: “Don’t be afraid to launch a product without machine learn­ing” [1].


The hid­den cost of a false AI use case

For the match­ing in our example, an LLM would not only be unne­ces­sary but worse. If it matches 99% of 10,000 items cor­rectly, that leaves 100 errors, and nobody knows which ones, so someone has to check everything again. Two runs on the same data can also pro­duce dif­fer­ent res­ults [5]. And every page turns into tokens that you pay for. Anthropic puts a PDF page at 1,500 to 3,000 tokens [11], so 1,000 pages mean 1.5 to 3 mil­lion tokens per run, and every rerun costs the same again. A data­base join on the same data takes mil­li­seconds and costs prac­tic­ally noth­ing. The determ­in­istic pro­cess also traces every dis­crep­ancy back to a spe­cific row.

Over the life­time of a solu­tion, the dif­fer­ences add up:

Cost itemRules and algorithmsLLM solu­tion
Cost per runprac­tic­ally zerotokens per doc­u­ment and request
Runtimemil­li­secondsseconds to minutes per call, depend­ing on input size and reasoning
Review effortspot checks are enoughfull review, because errors have no fixed location
Repro­du­cib­il­ityguar­an­teednot guar­an­teed [5]
Oper­a­tionsruns until the rule changespro­vider retires the model after 12 to 18 months [9], plus out­ages, rate lim­its and API changes

Table 2: Cost com­par­ison of rules and algorithms vs. an LLM solution

The last row is easy to over­look. Microsoft Foundry retires model ver­sions by default 18 months after release, and after that the API responds with 410 Gone [9]. Every model-based solu­tion there­fore needs reg­u­lar migra­tion and reval­id­a­tion. On top of that come out­ages and rate lim­its at the pro­vider, API ver­sions that change and prices that change with every new model. A SQL join has none of these dependencies.

Gart­ner pre­dicted that com­pan­ies would aban­don at least 30% of GenAI pro­jects after the proof of concept, partly due to “escal­at­ing costs or unclear busi­ness value” [8]. Some of these pro­jects would not have star­ted if someone had first asked whether the prob­lem is an AI use case at all.


Optim­iz­a­tion and con­trol: two more false AI use cases

Route plan­ning is a typ­ical example. The trav­el­ing sales­man prob­lem (TSP) looks for the shortest round trip through a set of loc­a­tions, and the Con­corde solver has solved instances with up to 85,900 cit­ies to proven optim­al­ity [7]. When Google Deep­Mind tested LLMs as optim­izers for the TSP, GPT‑4 was on aver­age 11.0% above the optimal dis­tance for 50 loc­a­tions, while a simple heur­istic reached 9.8% [6]. Today’s mod­els do bet­ter, but an LLM still deliv­ers a plaus­ible tour, whereas a solver deliv­ers the optimal one with a guar­an­tee and at a frac­tion of the cost. Routes, shift sched­ules and pro­duc­tion sequences are oper­a­tions research problems.

Con­trol engin­eer­ing is another. A col­league of mine who stud­ied it once asked: “Why use AI, when my con­trol­ler already gives me a per­fect sys­tem?” A con­trol­ler keeps tem­per­at­ure, pres­sure or speed at a set­point and adjusts many times per second. In a Hon­ey­well sur­vey of more than 11,000 indus­trial con­trol­lers, 97% used a PID algorithm [10]. Engin­eers design these con­trol­lers from known phys­ics, prove their sta­bil­ity before com­mis­sion­ing and run them on any PLC in mil­li­seconds. An LLM in this loop would be a safety risk, because it responds in seconds and not repro­du­cibly [5]. Data ana­lysis does help at the edges, though: the same study found that many con­trol­lers “oper­ate very poorly” [10], and find­ing those is a good job for ana­lyt­ics while the con­trol­ler itself stays a PID.


Where AI does help: at the edges, not at the core

AI can still have a place in such solu­tions, usu­ally at the edges of a fixed pro­cess. It can turn scanned doc­u­ments, chan­ging lay­outs or free text into struc­tured data before rules take over. It can serve as a nat­ural lan­guage inter­face that under­stands what users want and starts the right work­flow, which is exactly the role AI plays in the match­ing fea­ture from our example. And it can explain res­ults in plain sen­tences after the determ­in­istic pro­cess has found the discrepancies.

Matching feature end to end: the AI recognizes the user's request to match PDFs against a list, a rules-only workflow extracts the text, puts the values into a table, joins them with the Excel list on a key and lists the discrepancies, and the AI returns the discrepancy table in the chat.

Fig­ure 2: The match­ing fea­ture from ques­tion to answer. The assist­ant recog­nizes the request and returns the res­ult, the work­flow in between runs on rules only.

Once AI is the right tool, the next ques­tion is how to build it. We cover this in our post Man­aged Agent or Cus­tom Orchestration?


Con­clu­sion: how to spot a real AI use case

If you can write down the rule, the data has a fixed struc­ture and the res­ult fol­lows from the input, it is not an AI use case. AI pays off when the task requires judg­ment, the rules can no longer be main­tained or the inputs lack struc­ture. In many pro­jects, the best solu­tion com­bines both: a fixed core with rules, and AI where lan­guage comes into play.

We go through the five ques­tions of the quick test with the busi­ness unit at the start of every AI pro­ject, as part of the solu­tion design. It takes a few minutes and can save a proof of concept.


Sources

  1. Zinkevich, M.: Rules of Machine Learn­ing: Best Prac­tices for ML Engin­eer­ing. Google for Developers, updated Aug 25, 2025. https://developers.google.com/machine-learning/guides/rules-of-ml
  2. Reg­u­la­tion (EU) 2024/1689 (AI Act), Art. 3(1) and Recital 12. https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng
  3. European Com­mis­sion: Com­mis­sion Guidelines on the defin­i­tion of an arti­fi­cial intel­li­gence sys­tem estab­lished by Reg­u­la­tion (EU) 2024/1689 (AI Act). C(2025) 5053 final, Jul 29, 2025, paras. 42, 46, 48, 50. https://digital-strategy.ec.europa.eu/en/library/commission-publishes-guidelines-ai-system-definition-facilitate-first-ai-acts-rules-application
  4. OpenAI: A prac­tical guide to build­ing agents. 2025. https://cdn.openai.com/business-guides-and-resources/a‑practical-guide-to-building-agents.pdf
  5. He, H. (Think­ing Machines Lab): Defeat­ing Non­determin­ism in LLM Infer­ence. Sep 10, 2025. https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
  6. Yang, C. et al. (Google Deep­Mind): Large Lan­guage Mod­els as Optim­izers. ICLR 2024. https://arxiv.org/abs/2309.03409
  7. Appleg­ate, D.; Bixby, R.; Chvátal, V.; Cook, W.: Con­corde TSP Solver. Uni­ver­sity of Water­loo. https://www.math.uwaterloo.ca/tsp/concorde.html
  8. Gart­ner: Gart­ner Pre­dicts 30% of Gen­er­at­ive AI Pro­jects Will Be Aban­doned After Proof of Concept By End of 2025. Press release, Jul 29, 2024. https://www.gartner.com/en/newsroom/press-releases/2024–07-29-gartner-predicts-30-percent-of-generative-ai-projects-will-be-abandoned-after-proof-of-concept-by-end-of-2025
  9. Microsoft Learn: Foundry Mod­els life­cycle and sup­port policy. Updated Jul 24, 2026. https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirements
  10. Des­bor­ough, L.; Miller, R. (Hon­ey­well): Increas­ing Cus­tomer Value of Indus­trial Con­trol Per­form­ance Mon­it­or­ing – Hon­ey­well’s Exper­i­ence. Chem­ical Pro­cess Con­trol VI (CPC VI), 2002. https://skoge.folk.ntnu.no/prost/proceedings/cpc6-jan2002/desborough.pdf
  11. Anthropic: PDF sup­port. Claude doc­u­ment­a­tion. https://docs.claude.com/en/docs/build-with-claude/pdf-support