Not Every Pro­blem 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­to­mers alre­ady used an AI plat­form with a chat assistant and asked us for a new fea­ture: matching PDF docu­ments against an Excel list and fin­ding the dis­crepan­cies, with AI. When we loo­ked at the data, the PDFs tur­ned out to be gene­ra­ted digi­tally by an upstream sys­tem, with a fixed struc­ture and machine-rea­da­ble text, and the Excel list had fixed columns. That makes the matching a clas­sic data pro­blem: extract values, join them on a key, compare. The result fol­lows from the input by fixed rules, so code can com­pute it.

We added the matching as a fea­ture of the exis­ting plat­form, but we were open with the cus­to­mer that this fea­ture is not AI in the actual sense. The only AI part is that the assistant reco­gni­zes when a user wants to match docu­ments and then starts a clas­sic work­flow. The work­flow extra­cts, joins and com­pa­res, and the assistant returns the result. For users, it feels like part of the assistant, but a deter­mi­ni­stic pro­cess does the actual work, so the result is the same every time, can be veri­fied and costs prac­ti­cally not­hing per run.

We see this pat­tern regu­larly. Many requests pit­ched as an AI use case turn out to be data matching, opti­miza­tion or con­trol pro­blems, and for these, bet­ter tools have exis­ted for decades.


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

In ever­y­day lan­guage the terms blur, but for the decis­ion it helps to keep them apart. AI is the umbrella term. Machine lear­ning is the part of AI that learns from data, and large lan­guage models are a kind of machine lear­ning trai­ned on text. Rules and algo­rithms are not AI, and they belong in the com­pa­ri­son because they are the alternative:

ToolHow it worksGood forExam­ple
Rules and algorithmspeo­ple define the logic explicitlypro­ces­ses where the result fol­lows from the input by fixed rulesmatching, vali­da­tion, route plan­ning with a sol­ver, PID controllers
Machine lear­ning (ML)learns pat­terns from his­to­ri­cal datapre­dic­tions when the rule can­not be defi­ned up front but can be lear­ned from datasales fore­cas­ting, fraud detection
Large lan­guage model (LLM)pre­dicts the next words based on pat­terns lear­ned from large amounts of textunder­stan­ding and wri­ting unstruc­tu­red languagecate­go­ri­zing emails, sum­ma­ri­zing documents

Table 1: Rules, machine lear­ning 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 gene­rate out­puts [2], and the Act expli­citly excludes sys­tems based on «rules defi­ned solely by natu­ral per­sons» (Reci­tal 12) [2]. The Euro­pean Commission’s gui­de­lines count data­ba­ses that fil­ter data «based on spe­ci­fic cri­te­ria» as mere data pro­ces­sing [3], which is exactly what our matching does.


The quick test: is it an AI use case?

In most cases, five ques­ti­ons 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­ba­ses and digi­tally gene­ra­ted PDFs directly, as long as the lay­out inside the files stays sta­ble. If it chan­ges now and then, code can still handle it, but the rules grow. If it chan­ges con­stantly, AI-based extra­c­tion may be the bet­ter choice.
  3. Is the result fully deter­mi­ned by the input? If the same input must always lead to the same cor­rect result, the pro­blem is a func­tion: out­put = f(input). Then a method that com­pu­tes this func­tion beats one that is right most of the time.
  4. Must the result be repro­du­ci­ble? LLMs do not relia­bly return the same ans­wer, even at tem­pe­ra­ture 0. For 1,000 iden­ti­cal requests, Thin­king Machi­nes Lab recei­ved 80 dif­fe­rent ans­wers [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, opti­miza­tion or con­trol pro­blem? Rou­tes, sche­du­les and con­trol loops have for­mu­las, sol­vers and controllers.

If you ans­wer three or more with yes, you are very likely not loo­king at an AI use case. The same ques­ti­ons also work as a path. Figure 1 shows how which tool fits, depen­ding 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.

Figure 1: From rule to tool. Only when no rule can be writ­ten down and the pro­blem is neither a cal­cu­la­tion nor an opti­miza­tion does it become a case for machine lear­ning or an LLM.

Ope­nAI recom­mends agents mainly for com­plex judgment calls, rule sets that have become hard to main­tain and heavy use of unstruc­tu­red data. Other­wise, «a deter­mi­ni­stic solu­tion may suf­fice» [4]. Google’s first rule of machine lear­ning goes in the same direc­tion: «Don’t be afraid to launch a pro­duct wit­hout machine lear­ning» [1].


The hid­den cost of a false AI use case

For the matching in our exam­ple, an LLM would not only be unneces­sary but worse. If it matches 99% of 10,000 items cor­rectly, that lea­ves 100 errors, and nobody knows which ones, so someone has to check ever­y­thing again. Two runs on the same data can also pro­duce dif­fe­rent results [5]. And every page turns into tokens that you pay for. Anthro­pic 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­se­conds and costs prac­ti­cally not­hing. The deter­mi­ni­stic pro­cess also traces every dis­crepancy back to a spe­ci­fic row.

Over the life­time of a solu­tion, the dif­fe­ren­ces add up:

Cost itemRules and algo­rithmsLLM solu­tion
Cost per runprac­ti­cally zerotokens per docu­ment and request
Run­timemil­li­se­condsseconds to minu­tes per call, depen­ding on input size and reasoning
Review effortspot checks are enoughfull review, because errors have no fixed location
Repro­du­ci­bi­litygua­ran­teednot gua­ran­teed [5]
Ope­ra­ti­onsruns until the rule changespro­vi­der reti­res the model after 12 to 18 months [9], plus outa­ges, rate limits and API changes

Table 2: Cost com­pa­ri­son of rules and algo­rithms vs. an LLM solution

The last row is easy to over­look. Micro­soft Foundry reti­res model ver­si­ons by default 18 months after release, and after that the API responds with 410 Gone [9]. Every model-based solu­tion the­r­e­fore needs regu­lar migra­tion and reva­li­da­tion. On top of that come outa­ges and rate limits at the pro­vi­der, API ver­si­ons that change and pri­ces that change with every new model. A SQL join has none of these dependencies.

Gart­ner pre­dic­ted that com­pa­nies would aban­don at least 30% of GenAI pro­jects after the proof of con­cept, partly due to «escala­ting costs or unclear busi­ness value» [8]. Some of these pro­jects would not have star­ted if someone had first asked whe­ther the pro­blem is an AI use case at all.


Opti­miza­tion and con­trol: two more false AI use cases

Route plan­ning is a typi­cal exam­ple. The tra­ve­ling sales­man pro­blem (TSP) looks for the shor­test round trip through a set of loca­ti­ons, and the Con­corde sol­ver has sol­ved ins­tances with up to 85,900 cities to pro­ven opti­ma­lity [7]. When Google Deep­Mind tes­ted LLMs as opti­mi­zers for the TSP, GPT‑4 was on average 11.0% above the opti­mal distance for 50 loca­ti­ons, while a simple heu­ristic rea­ched 9.8% [6]. Today’s models do bet­ter, but an LLM still deli­vers a plau­si­ble tour, whe­reas a sol­ver deli­vers the opti­mal one with a gua­ran­tee and at a frac­tion of the cost. Rou­tes, shift sche­du­les and pro­duc­tion sequen­ces are ope­ra­ti­ons rese­arch problems.

Con­trol engi­nee­ring is ano­ther. A col­le­ague of mine who stu­died it once asked: «Why use AI, when my con­trol­ler alre­ady gives me a per­fect sys­tem?» A con­trol­ler keeps tem­pe­ra­ture, pres­sure or speed at a set­point and adjusts many times per second. In a Honey­well sur­vey of more than 11,000 indus­trial con­trol­lers, 97% used a PID algo­rithm [10]. Engi­neers design these con­trol­lers from known phy­sics, prove their sta­bi­lity before com­mis­sio­ning and run them on any PLC in mil­li­se­conds. An LLM in this loop would be a safety risk, because it responds in seconds and not repro­du­ci­bly [5]. Data ana­ly­sis does help at the edges, though: the same study found that many con­trol­lers «ope­rate very poorly» [10], and fin­ding those is a good job for ana­ly­tics while the con­trol­ler its­elf stays a PID.


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

AI can still have a place in such solu­ti­ons, usually at the edges of a fixed pro­cess. It can turn scan­ned docu­ments, chan­ging lay­outs or free text into struc­tu­red data before rules take over. It can serve as a natu­ral 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 matching fea­ture from our exam­ple. And it can explain results in plain sen­ten­ces after the deter­mi­ni­stic 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.

Figure 2: The matching fea­ture from ques­tion to ans­wer. The assistant reco­gni­zes the request and returns the result, the work­flow in bet­ween 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 Mana­ged 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 result fol­lows from the input, it is not an AI use case. AI pays off when the task requi­res judgment, the rules can no lon­ger be main­tai­ned or the inputs lack struc­ture. In many pro­jects, the best solu­tion com­bi­nes both: a fixed core with rules, and AI where lan­guage comes into play.

We go through the five ques­ti­ons 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 minu­tes and can save a proof of concept.


Sources

  1. Zin­ke­vich, M.: Rules of Machine Lear­ning: Best Prac­ti­ces for ML Engi­nee­ring. Google for Deve­lo­pers, updated Aug 25, 2025. https://developers.google.com/machine-learning/guides/rules-of-ml
  2. Regu­la­tion (EU) 2024/1689 (AI Act), Art. 3(1) and Reci­tal 12. https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng
  3. Euro­pean Com­mis­sion: Com­mis­sion Gui­de­lines on the defi­ni­tion of an arti­fi­cial intel­li­gence sys­tem estab­lished by Regu­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. Ope­nAI: A prac­ti­cal guide to buil­ding agents. 2025. https://cdn.openai.com/business-guides-and-resources/a‑practical-guide-to-building-agents.pdf
  5. He, H. (Thin­king Machi­nes Lab): Defea­ting Non­de­ter­mi­nism in LLM Infe­rence. Sep 10, 2025. https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
  6. Yang, C. et al. (Google Deep­Mind): Large Lan­guage Models as Opti­mi­zers. ICLR 2024. https://arxiv.org/abs/2309.03409
  7. Apple­gate, D.; Bixby, R.; Chvá­tal, V.; Cook, W.: Con­corde TSP Sol­ver. Uni­ver­sity of Water­loo. https://www.math.uwaterloo.ca/tsp/concorde.html
  8. Gart­ner: Gart­ner Pre­dicts 30% of Gene­ra­tive AI Pro­jects Will Be Aban­do­ned After Proof of Con­cept 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. Micro­soft Learn: Foundry Models life­cy­cle and sup­port policy. Updated Jul 24, 2026. https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirements
  10. Des­bo­rough, L.; Mil­ler, R. (Honey­well): Incre­asing Cus­to­mer Value of Indus­trial Con­trol Per­for­mance Moni­to­ring – Honeywell’s Expe­ri­ence. Che­mi­cal Pro­cess Con­trol VI (CPC VI), 2002. https://skoge.folk.ntnu.no/prost/proceedings/cpc6-jan2002/desborough.pdf
  11. Anthro­pic: PDF sup­port. Claude docu­men­ta­tion. https://docs.claude.com/en/docs/build-with-claude/pdf-support