Delivery truck waiting outside a closed receiving dock
Artificial Intelligence

Delivery Exception Prediction: Flag Problems Before They Hit

By, Shaun S
  • 29 Nov, 2026
  • 3 Views
  • 0 Comment

Delivery exception prediction means scoring every in-flight shipment for the risk that it will miss its promise, then warning your team while there is still time to act. The model matters less than the system around it: clean event data, a risk score tied to a named owner, and an action for each kind of risk. That is also where most projects stall, and where a tailored build beats a generic tracking widget. We build these systems for logistics operators, and the rest of this guide explains what a working one needs.

Digitalfractal
digitalfractal.com
Spot Delivery Risks Earlier
Digital Fractal’s AI Readiness Audit identifies automation opportunities for logistics firms seeking better operational insights and more efficient workflows.

Visit

TL;DR

  • A delivery exception is any interruption to the planned delivery. Prediction scores the risk before the interruption shows up in a carrier’s status.
  • The inputs are mostly data you already hold: tracking events, timestamps, location, carrier, service level and order details. Their quality sets the ceiling on accuracy.
  • Real-time signals matter most for rare, recurring delays such as storms and road construction, according to DoorDash’s engineering team.
  • A prediction only pays off when planners act on it. In a Michelin study, acting on predicted failures raised service level by 10 percentage points.
  • Measure the model in shadow mode first, then in a controlled experiment, before it changes any customer message.

Table of Contents

What a delivery exception is, and what prediction adds

A delivery exception is any event that interrupts the planned path of a shipment: a closed receiving dock, an address problem, a routing error, missing proof of delivery, a weather hold. It does not mean the parcel is lost. Often it is a temporary delay that a quick call or reroute fixes.

Most teams find out about exceptions in one of two ways. The carrier posts an exception status, or the customer writes in. Both arrive after the problem exists. Prediction moves the signal earlier: a model reads the shipment’s current state and its history and estimates how likely it is to miss its expected delivery time or its promise date.

That last distinction is worth building into your design from day one. There are at least three different things you can predict:

  1. A carrier estimate miss. The carrier’s own estimated delivery date is likely to slip.
  2. A customer promise miss. The date you committed to the buyer, which may be static and set at checkout, is at risk.
  3. A service-level breach. The carrier is likely to exceed the transit time you contracted for.

The first and third belong to the carrier relationship. The second belongs to customer service. They carry different owners, evidence and deadlines, so one blended “late risk” score tends to be ignored by everyone. If you have already worked on arrival-time models, our guide to predictive ETA models covers the accuracy and speed trade-offs that sit underneath this.

The data that tells you an exception is coming

You rarely need new data sources to start. You need the ones you have, kept in a form a model can use. The signals that usually carry the most weight:

  • Time since the last scan, and what that last scan said.
  • Distance and time remaining to the destination against the delivery expectation.
  • Carrier and service level, because lanes and products behave differently.
  • Time of day and day of week of key events, such as a Friday-evening hub arrival.
  • Order attributes such as weight, destination type and delivery instructions.
  • Live operating conditions such as weather, road works and local volume spikes.

How you store tracking data matters as much as which fields you keep. 17TRACK’s November 2026 guidance on tracking data recommends keeping the raw carrier event text next to your normalized status, along with event timestamps, time zone, location and the time of the last successful tracking refresh. Normalized statuses lose detail, and that detail is often the early warning.

Two data-hygiene rules prevent a lot of false alarms:

  • Tie events to the right parcel. One order is not always one parcel. With split shipments, a delivered box can hide an unresolved one if events attach to the order instead of the tracking number.
  • Separate three clocks. What physically happened, how fresh your tracking data is, and the customer’s promise are different timelines. If data is stale, label the shipment uncertain. Silence from a carrier is not proof that the parcel stopped moving.

Before any model work, it is worth checking whether your data is in shape. Our page on enterprise data readiness explains what that assessment covers.

How the models estimate risk

The core idea is simple. The model compares a shipment in flight with the pattern of shipments that arrived on time from similar starting conditions. The further a shipment drifts from that pattern, the higher its risk score. Output is usually a probability or a risk band, not a yes or no.

The hard part is the unusual event. Average delays are easy to model. Rare, recurring disruptions are not, and they are exactly the ones that generate exceptions. DoorDash’s engineers wrote about this problem for delivery time estimates. They cite limited ground-truth data and a shortage of leading indicators as the reasons these events are hard to predict.

Their fix has three parts that transfer well to any logistics operation:

  • Rolling real-time features. They added recent delivery-duration averages, for example over the previous 20 minutes at store and sub-region level. A rainstorm or road closure then shows up in the data without anyone encoding that specific event.
  • Features built for the tail. Inputs designed to capture the rare, long delays, not just the typical ones.
  • An asymmetric loss function. Being late costs more than being early, so the training objective penalizes the two errors differently.

The lesson for a Canadian operator is concrete. A winter lane out of Edmonton, a ferry-dependent route to Vancouver Island or a spring road-restriction season all produce delays that a static model trained on last year’s averages will miss. Fresh operational signals are what let the model react.

From a score to an action

A risk score that lands in a dashboard nobody opens prevents nothing. The value comes from what happens next. In a four-phase study with Michelin, planners used model predictions to adjust the tires they expected to fail, and the final experiment improved service level by 10 percentage points. The same paper reports that the system included an interface explaining each alert and helping users find fixes. An explained alert gets acted on. A bare number gets argued with.

A workable response design looks like this:

Predicted risk Typical owner Typical action
Carrier estimate likely to slip Transportation or carrier manager Query the carrier, request reroute or escalate
Customer promise likely missed Customer service Notify the buyer early, offer a new window
Contracted transit time likely breached Carrier manager Log evidence for a service-level claim
Address or access problem likely Dispatch Confirm contact and receiving hours before the attempt
Stale tracking data Data or integration owner Refresh and relabel as uncertain

Three habits keep the loop honest:

  1. Keep categories separate. A carrier-reported exception, a risk your model inferred and a breach of the customer commitment are three different things. An inferred risk is not proof that the parcel is delayed or lost, and your messages to customers should reflect that.
  2. Set thresholds by cost. Decide how many false alarms a team can absorb. A dispatcher who gets twenty needless alerts a day will mute the channel.
  3. Close the loop. Record whether the predicted exception happened and what action was taken. That is the ground truth that improves the next version of the model.

If your exceptions involve scheduling and rebooking, an AI scheduling agent for logistics companies can take over the follow-up work once a risk is flagged. For last-mile specifics, see our final mile delivery applications project.

How to evaluate a prediction model before you trust it

Vendor accuracy claims and academic results are useful for orientation, but your own lanes, carriers and seasons decide whether a model works for you. A staged rollout limits the risk:

  1. Backtest on history. Split by time, not at random, so the model never sees the future. Check performance by lane, carrier and season, not just overall.
  2. Run in shadow mode. DoorDash ran its revised model in production for two weeks without affecting customers, then ran a randomized experiment. The result was a 10% improvement in long-tail accuracy with average quotes held constant.
  3. Test with a control group. Let planners act on predictions for some shipments and not others, and compare outcomes.
  4. Track operational metrics, not only model metrics. Precision and recall matter, but so do on-time rate, service level, claims recovered and hours of planner time per exception.
  5. Watch for drift. A 2018-style demand spike or a new carrier contract changes the pattern. A published first-attempt write-up of a late-delivery risk model found that its own model struggled with a period when late orders spiked well above the norm, a reminder that unusual stretches break assumptions.

Precision tells you how many alerts were right. Recall tells you how many real exceptions you caught. Which one to favor depends on the cost of each miss in your business: a cold-chain load can justify more false alarms than a standard parcel. If temperature-sensitive freight is your case, see our cold chain monitoring AI pilot and audit controls.

Why predictions go wrong

Most failures are not model failures. They come from the setup around the model:

  • Sparse labels. Exceptions are rare, so there are few examples to learn from. Pool similar exception types carefully and keep the reason codes clean.
  • Missing leading indicators. If your only signal is the carrier’s last scan, the warning comes too late to matter. Add weather, traffic and local load data.
  • Stale or mismatched data. Wrong parcel linkage and old tracking refreshes create phantom risks and hide real ones.
  • One score for everyone. Mixing carrier risk with customer-promise risk muddles ownership, as covered above.
  • No owner, no action. The most accurate model fails if no one is responsible for the alert.

Our workflow automation in logistics guide covers what to fix first when processes, not models, are the bottleneck. Logistics automation opportunities lays out where to start.

Connecting predictions to your systems and apps

A prediction is most useful where people already work. A typical integration has four parts:

  • Ingestion: tracking events, order data and external signals flow into one store through APIs or webhooks.
  • Scoring: the model refreshes risk as each new event arrives, and each score carries its type (carrier estimate, promise date) and status (created, updated, resolved).
  • Delivery of the alert: into the transportation system, a dispatcher dashboard, a driver or customer mobile app, or a chat channel.
  • Feedback: outcomes and actions flow back to retrain and audit the model.

If drivers or customers will see the output in a mobile app, the design questions change: what the screen says when risk is uncertain, how quickly the alert has to arrive, and how the app behaves with poor coverage on rural routes. Our guide to developing a logistics mobile app walks through those steps, and developers shipping AI features into production can start with AI application production readiness.

Where we come in

Where we come in

We provide tailored, industry-specific AI solutions for logistics firms, built around your workflows, systems and goals instead of a generic off-the-shelf package. Our focus is tangible business transformation within a 90-day timeline.

The usual starting point is our AI Readiness Audit, a one-off engagement priced at $2,500–$10,000. It identifies where automation fits in your operation, which for exception prediction means looking at the data and the response process together. From there we can move into AI implementation and build-out or workflow automation to connect predictions to the people and systems that act on them.

Digitalfractal

If you want to talk through your own lanes and data, start with the AI Readiness Audit page.

Our view on exception prediction

Teams ask us which model to use. We usually answer with a different question: who will do something when the score goes up?

A prediction is a decision aid, not a product. The Michelin result is the pattern we point to: planners used predictions to change what they did, and service level went up. The model was one piece. The interface that explained each alert and the people who acted on it were the others.

That is why we start with the operation. We look at which exceptions cost you the most, which data you already capture, and who owns each response. Then we build around your workflows and systems, not around a template. A carrier-estimate risk, a customer-promise risk and a stale-data flag each get their own path, because each has a different owner.

Our aim is a working result in 90 days: a narrow, measurable first use, running in shadow mode against your real shipments, that your team can see paying off before you widen it. Exception prediction rewards that discipline. Start with one lane or one exception type, prove it, then extend.

Souhail

FAQ

What does a delivery exception mean?

A delivery exception means something interrupted the planned delivery: a delay, an address problem, a routing issue, missing proof of delivery or a closed receiver. It does not necessarily mean the parcel is lost. Many exceptions clear within a day once the cause is fixed.

How far ahead can a model predict an exception?

It depends on the data and the lane. Models that score shipments as each tracking event arrives can raise a risk while the parcel is still in transit, giving planners hours or days to act. Lead time grows when you add live signals such as weather and local volumes, and you can measure it for your own shipments during shadow mode.

Do I need machine learning, or are rules enough?

Rules work for known patterns, such as a parcel with no scan for a set number of hours. Machine learning earns its place when risk depends on many factors at once, such as carrier, lane, time of day and conditions. Many teams start with rules and add a model where rules miss exceptions.

What data should we start collecting?

Keep raw carrier event text, normalized status, event and receipt timestamps, time zone, location, the time of the last successful tracking refresh, and a link from each event to the correct tracking number. Also record every exception reason and the action taken, because those outcomes become your training labels.

How do we know the predictions are working?

Backtest on past shipments, run the model in shadow mode, then compare outcomes with a control group. Judge it on operational results such as on-time rate, service level and planner hours per exception, as well as precision and recall.

Sources

Tags: