LIVE · Thursday 3 December

Learning Exception Rules From Historical Dispatch Tickets: Which of Five Approaches Fits Your Team

Decision mining, ticket classifiers, prompted LLMs and fine-tuned decision models can all learn from past dispatcher decisions. The right one depends on your data, your free text and how readable the result must be.

By Thomas8 min read

For most dispatch teams, the best way to replace an Excel exception table is to mine decision rules from historical tickets first. A learned model should then be added only for the exception types that rules handle badly. Decision mining produces a readable table that operations can sign off. A ticket classifier or a fine-tuned decision model handles free text and grey areas, but only with thousands of labelled tickets and outcome fields. The model bill is small at dispatch volumes, so data quality and review time decide the choice.

No one has published accuracy, coverage or latency figures for these approaches side by side on the same dispatch-exception data. The comparison below therefore rests on how each approach works and on the published evidence for each.

Five approaches differ in what they produce and how readable the result is

The following table compares the options by output and fit.

Approach What it produces Learns from past tickets Best fit
Excel rule table Fixed rules written by managers No Stable volumes and rare exceptions
Mined decision tree or DMN table Readable rules that can be compared row by row Yes Structured fields and a need for sign-off
Ticket-history classifier A predicted action with a confidence score Yes Many tickets per type, mostly structured
LLM prompted with the rules An action chosen by reading the rules and the ticket No Free text and few labelled tickets
Fine-tuned decision model A ranked action with calibrated confidence Yes Free text and thousands of labelled tickets

A rules-prompted language model sits in an odd place. It can read free-text notes, but it learns nothing from how your dispatchers actually decided. An ACL 2026 industry paper by Borovkov and colleagues at T-Tech measured the gap in a support workflow. The best prompted model reached 47.78% tool accuracy, against 79.15% for a 7-billion-parameter model fine-tuned on logged operator actions.

Teams that need a signed-off table should start with decision mining

Decision mining learns decision rules from event logs. Massimiliano de Leoni and Felix Mannhardt's chapter on decision discovery describes the method. Each decision point becomes a classification problem, a decision tree is trained to predict the action from case attributes, and the tree is turned into rules. The chapter says that most methods use trees because they give human-readable rules and show which attributes drive each decision.

The scikit-learn library's export_text function prints a trained tree as nested IF conditions. The output can also be written as a DMN table, the Object Management Group's standard decision format. The IODDA algorithm from Goossens, De Smedt and Vanthienen, posted in January 2024, produces DMN models where a decision involves several objects, such as an order, a truck and a driver.

The useful result is the difference between the mined rules and your Excel table. Operations staff review each row where the two disagree. They adopt rows that capture good practice and reject rows that reflect drift away from policy. The accepted rows become an updated table that they can sign off.

A hypothetical example shows the format. Suppose that the Excel table says to rebook a shipment when a carrier delay exceeds 4 hours. The mined rule might show that dispatchers rebook after 2 hours for tier A customers. Operations would then either add that rule as a new row or reject it as a departure from policy. A second row might show that missed pickups are rescheduled for the next day without the escalation that the table requires. That row would go to review as a possible policy breach.

Trees have two weaknesses that this review should account for. The scikit-learn documentation says that trees overfit without limits on depth or leaf size, and that small changes in data can produce "a completely different tree". It suggests a minimum of five samples per leaf as a starting point. Mining two separate months of tickets shows which rules hold steady.

Teams with lots of free text and history should consider a fine-tuned decision model

When the deciding detail is in a carrier note or a customer email, a learned model does better than rules. The ACL 2026 paper is the strongest public example. The team fine-tuned a model on logged operator actions and trained a second model, a critic, on whether operators accepted its suggestions. In a seven-day A/B test with about 15,500 customers per group, operator active time fell 39%, and resolution correctness showed no statistically significant change.

This route needs data. In the same paper, accuracy on action arguments rose from 55.92% with 4,000 training examples to 71.19% with 64,000. Per-exception-type learning curves for dispatch tickets have not been measured, so a team should count its labelled tickets per type before choosing this route. The paper also comes from one company's proprietary support data, which the authors say limits reproducibility.

A ticket-history classifier is the middle option. It predicts an action from past tickets and gives a confidence score, which can then be checked for calibration. It is less readable than a mined tree and less able to use free text than a fine-tuned language model.

Parsec, a small language model lab, sells a decision model called TOD that ranks the next action from a list of allowed actions and passes low-confidence cases to a larger model. Parsec says that it also tunes decision models on a customer's own decisions, but it publishes no price for that service. Its open-source openjev-sdk package for training decision models is on GitHub, without a dispatch dataset or published dispatch results.

Every approach needs outcome fields and decision-time fields in the tickets

The data requirement that matters most is the same for every option. Tickets must record what happened after the decision, such as an on-time delivery, a complaint or rework.

Without outcomes, every approach copies dispatcher habits, good and bad. The de Leoni chapter says that, outside cases where information is missing, overlapping rules are "just the results of wrong decisions". It also says that decisions may depend on context "not available in event logs", such as a call with a driver. A model cannot learn a reason that the ticket lacks.

Tickets must also separate fields that existed at decision time from fields added later. The chapter treats rules as driven by attributes that earlier process steps generate. A field such as the final delivery time makes a model look accurate in testing and fail in use.

Calibrated thresholds and hard rules decide which exceptions are automated

A learned model should act only where its confidence is reliable. The scikit-learn documentation describes a reliability diagram, which plots predicted confidence against observed accuracy. In a well-calibrated model, predictions made at 0.8 confidence are right about 80% of the time. The documentation says that isotonic calibration needs more than about 1,000 samples to beat the simpler sigmoid method.

The threshold sets the balance between coverage and risk. The ACL team required the share of approved actions that operators would accept to exceed a target, "for example 0.9", and it automated only low-risk actions. A conservative threshold sends more exceptions to people. An aggressive one automates more and accepts more errors.

Safety, contract and regulatory exceptions should stay as hard rules at any threshold. The route-planning vendor Upper says that its system excludes critical conflicts, "including double-booking or an impossible travel gap", from automatic acceptance.

The model bill for 20,000 exceptions a month is small next to the review work

The cost of running a model is easy to estimate from list prices. The following example assumes 20,000 exceptions a month. Each call sends a 3,000-token rule table that is read from the prompt cache, plus a 1,000-token ticket, and returns 100 tokens. Cache writes are left out.

Option Basis from the provider's price list Per 1,000 decisions Per month
Claude Haiku 5.5 with the rules $0.10 input, $0.01 cached, $0.50 output per million tokens, for prompts up to 100,000 tokens $0.18 $3.60
Parsec TOD, before deferrals $0.30 per 1,000 decisions, flat $0.30 $6
Claude Haiku 4.5 with the rules $1 input, $0.10 cached, $5 output per million tokens $1.80 $36
Claude Sonnet 4.6 with the rules $3 input, $0.30 cached, $15 output per million tokens $5.40 $108

Two adjustments change these figures. Anthropic's pricing page says that Claude 4.7 and later models use a tokenizer that produces about 30% more tokens for the same text. That tokenizer applies to Haiku 5.5, so its cost rises to about $0.23 per 1,000 decisions. TOD fees are also separate from the larger model that handles deferred cases. If 40% of cases were deferred to Haiku 4.5, the TOD route would cost about $20 a month.

Without the cache, Haiku 4.5 rises to $4.50 per 1,000 decisions, or $90 a month. A mined decision tree adds no per-decision fee, because it runs as a table lookup.

At these volumes, the model bill is a small line item. The larger costs are adding outcome fields, reviewing the rule diff and logging overrides. Those costs have not been measured for any dispatch deployment.

A staged rollout with drift tests protects whichever option you choose

The dispatch vendor Locus recommends three phases: shadow mode, AI-assisted recommendations, and AI-driven allocation in which people handle the exceptions. In shadow mode, the model runs "alongside your existing rules without acting on its output". The ACL team logged sessions for about a week, or one business cycle, before suggesting anything.

In assisted mode, log every override with its outcome, because overrides show exactly where the model was wrong.

Drift then needs a monthly test. Locus describes a logistics case in which agreement with dispatchers fell from 84% at launch to 71% by month nine, after two new carriers and three new customer accounts. The page does not say whether the case was measured or illustrative. Scheibel and Rinderle-Ma's 2023 method for online decision mining flags drift when rule accuracy falls, branch frequencies change or data values leave their usual range, and then mines the rules again. The ACL team retrained on a rolling window and switched any slice that broke its guardrails back to copilot mode.

Sources

More in Research

All Research →