A team picks a detector architecture, trains it on a few hundred thousand driving frames, reports a mean average precision score that beats the previous model, and calls the perception stack done. That is where the trouble usually starts. The number says the model is good at finding objects in the test set. It says nothing about how the vehicle behaves when the model is wrong — and in a car, being wrong is not an academic outcome. Machine learning for autonomous vehicles is routinely framed as a modelling problem: choose an architecture, train on driving data, chase a benchmark. That framing is not incorrect so much as incomplete, and the missing part is the part that decides whether the system is safe. An ML perception function does not live on a leaderboard. It lives inside a control loop where its output steers, brakes, or accelerates a mass moving at speed. What the model must demonstrate is set less by the dataset and more by how a failure of that model propagates into vehicle behaviour. What Does Machine Learning for Autonomous Vehicles Actually Do? Strip away the marketing and the perception layer of an autonomous or driver-assisted vehicle is doing something narrow and specific: converting raw sensor streams — camera frames, radar returns, lidar point clouds — into a structured description of the world the planner can act on. Objects with classes and positions. Lanes and drivable space. Predicted trajectories of other road users. That structured world model is the interface between perception and control. Deep neural networks dominate this layer because the mapping from pixels to objects is not something you can write down by hand. A convolutional or transformer-based detector — the same family of architectures behind YOLO, DETR, and their derivatives — learns the mapping from labelled examples. On the training and validation splits it can hit detection scores that look production-ready. We cover the mechanics of how that pipeline is assembled in how the autonomous driving perception pipeline actually works; the concern here is what happens after the model is trained and someone asks whether it is fit for the job. The honest answer is: it depends entirely on what job. And “the job” in automotive is not defined by the dataset. It is defined by the consequences of getting it wrong. Where an ML Perception Model Sits in the Sensing-to-Control Loop Consider the path a single detection travels. A camera captures a frame. The image passes through a preprocessing stage, then the detector, which emits bounding boxes with class labels and confidence scores. A tracker associates those detections across frames into persistent objects with velocity estimates. Fusion combines the camera track with radar and lidar. The planner consumes the fused world model and decides on a manoeuvre. Actuators execute it. The ML model is one stage in that chain. But its errors do not stay contained. A missed pedestrian detection does not produce a logged warning and stop there — it produces a world model in which the pedestrian does not exist, which the planner treats as free space, which the actuators treat as a reason to keep moving. The severity of an ML failure is determined by where it lands in the loop and how much of the loop trusts it without a second opinion. This is why the same detector can be entirely adequate for one function and wholly insufficient for another. A rear cross-traffic alert that flashes a warning icon has a human in the loop and a benign failure mode: a missed detection means a missing chime, and the driver is still watching. An automatic emergency braking function that commands full braking on the model’s say-so has no such buffer. A false positive there is a phantom brake event on a motorway — itself a hazard. The model architecture might be identical. The evidence each function needs is not remotely the same. Why a High Benchmark Score Is Not Sufficient Safety Evidence Here is the core reframe. A benchmark accuracy score answers one question: how often is the model right on data that looks like the test set? A safety argument has to answer a different one: what happens when the model is wrong, and can the system tolerate it? Those questions do not reduce to each other, and no amount of mAP improvement closes the gap between them. The functional safety standard for road vehicles, ISO 26262, assigns each function an Automotive Safety Integrity Level — ASIL A through D — based on the severity, exposure, and controllability of its potential failures. A related standard, ISO 21448 (SOTIF, “safety of the intended functionality”), specifically addresses hazards that arise not from a component breaking but from the system’s functional insufficiency — precisely the regime where an ML perception model that works correctly on its training distribution still fails on the road because reality served it something outside that distribution. Neither standard cares about your leaderboard rank. Both ask how the function behaves under failure and near-failure conditions. We consistently see teams surprised by this at review time. The pattern (observed across our automotive perception engagements, not a benchmarked figure) is that a model is delivered with strong nominal accuracy and no story for what happens under sensor dropout, distribution shift, or a class the training set barely contained. The reviewer’s questions are not about accuracy. They are about fault detection, degradation behaviour, and defined fallback — and the accuracy number was never designed to answer them. The result is a clarification round, then rework, then a schedule slip. The article on the perception failure modes that survive benchmarks walks through the specific failure classes that a benchmark by construction cannot surface. How Integrity Demand Changes What the Model Must Show The organising concept is integrity demand: the level of assurance a function requires, set by how its failure propagates to vehicle behaviour. Integrity demand is not a property of the model. It is a property of the function the model serves. And it dictates what evidence the model must carry beyond a nominal accuracy figure. The table below maps the demand to the evidence, using illustrative function tiers. The specific ASIL assignment for any real function depends on the full hazard analysis; the point is the direction of the requirement, not a lookup you can apply blind. Evidence Demanded by Perception Function Integrity Tier Function example Failure consequence Integrity demand Evidence beyond accuracy the model must show Rear cross-traffic alert (advisory) Missed chime; driver still in loop Low Nominal accuracy; basic false-positive rate Lane-keep assist (driver monitored) Drift correction the driver can override Medium Accuracy under lighting/weather variation; graceful disengage on low confidence Automatic emergency braking Phantom brake, or failure to brake for real hazard High Fault detection, calibrated confidence, defined fallback, distribution-shift monitoring Autonomous manoeuvring, no driver fallback Direct hazardous vehicle action on model output Highest All of the above plus degradation behaviour, sensor-dropout handling, and runtime integrity checks Reading down that last column is the reframe made concrete. As integrity demand rises, the model owes progressively more that a benchmark never measures: whether it knows when it does not know (calibrated uncertainty rather than an overconfident softmax), whether the system can detect that the model’s input has drifted outside its validated operating domain, and whether there is a defined, safe thing to do when either of those triggers. A detailed treatment of what the highest tier demands lives in what an ML model owes an ASIL D evidence pack. What Failure Modes Does a Validation Reviewer Expect Addressed? Three failure classes come up in almost every serious review, and none of them is captured by a held-out test split drawn from the same distribution as training. Distribution shift. The model was validated on data collected in certain conditions — geographies, seasons, sensor configurations, times of day. The road serves it something else: a novel road marking convention, an unusual vehicle silhouette, glare the training set never contained. A reviewer wants to see that the operating domain is defined, that shift outside it is detectable at runtime, and that detection triggers something safe. The model’s accuracy on in-distribution data is not evidence about any of this. Sensor dropout and degradation. Cameras get occluded by mud or sun. Lidar returns collapse in heavy rain. A perception function that silently produces confident output from degraded input is more dangerous than one that produces none. The reviewer expects evidence that the function detects degraded sensing and degrades its own behaviour predictably — not that it maintains full mAP under conditions it will not actually see. Edge cases and long-tail classes. The rare pedestrian pose, the debris on the carriageway, the emergency vehicle in an unusual configuration. These barely move a benchmark average — they are, by definition, rare — yet they are exactly where severe failures concentrate. Evidence here looks like targeted scenario coverage and failure-mode analysis, not an aggregate score that a thousand easy frames can inflate. This is a general reliability discipline before it is an automotive one. The practice of validating an ML component against how it behaves when conditions fall outside its training envelope is the cross-domain foundation that automotive integrity demands then specialise and formalise — the same discipline underpins any production ML system that has to keep working under failure conditions. What Machine Learning Does Not Assert About Real-World Safety It is worth being blunt about the boundary. A trained model asserts a statistical relationship: given inputs that resemble its training distribution, it will produce outputs with a certain error profile. That is the entire content of the accuracy claim. The model does not assert that its training distribution covers the vehicle’s operational design domain. It does not assert that it will detect when it is operating outside that domain. It does not assert anything about what the system should do when it fails. Every one of those — domain coverage, out-of-distribution detection, fallback behaviour — has to be established by engineering that sits around the model, not inside its weights. This is the point where a team that has treated perception as a pure modelling exercise discovers the gap. The safety argument was always going to come from somewhere other than the loss curve, and if nobody built it, it does not exist. Our work on computer vision systems starts from this position: the model is a component whose obligations are set by the function it serves, not by the dataset it was trained on. How to Structure Data and Validation Around Integrity, Not Leaderboards The practical consequence is a reordering of effort. Instead of asking “how do we raise the benchmark,” a team scoped to integrity demand asks “what does this function’s failure propagation require the model to demonstrate, and does our evidence discharge it?” That question routes data collection toward the operating domain and its edges rather than toward whatever raises the average, and it routes validation toward failure behaviour rather than nominal performance. A Quick Diagnostic Before You Trust a Perception Model Is the function’s integrity demand written down, derived from how its failure reaches vehicle behaviour — not assumed? Is the operating design domain defined, and is departure from it detectable at runtime? Does the model produce calibrated confidence, or an overconfident score that looks like confidence but is not? Is there a defined, safe fallback when confidence is low or the input is out of domain? Does validation include distribution shift, sensor dropout, and long-tail scenarios — or only a held-out split from the training distribution? Can you produce the failure-mode evidence a reviewer will ask for before they ask, or will it become a clarification round? If the honest answers skew toward “no,” the accuracy number is not the problem to solve first. Scoping this correctly up front is what turns a reviewer interaction from a series of clarification rounds into a first-pass clearance — and what keeps a component from turning out, late, to need fault-handling and fallback it was never designed to show. FAQ What does working with machine learning and autonomous vehicles involve in practice? Machine learning in an autonomous vehicle converts raw sensor streams — camera, radar, lidar — into a structured world model of objects, lanes, and trajectories that the planner acts on. In practice a deep neural network learns the pixels-to-objects mapping from labelled data. What matters is not just that it learns this well on a test set, but how the function that consumes its output behaves when the model is wrong. Where does an ML perception model sit in an autonomous vehicle’s sensing-to-control loop, and how does a failure propagate to vehicle behaviour? The model is one stage: sensors feed the detector, whose output flows through tracking and fusion into a world model the planner uses to command manoeuvres. A failure does not stay contained — a missed detection produces a world model in which the object does not exist, which the planner treats as free space, which actuators treat as a reason to keep moving. Failure severity depends on where in the loop it lands and how much of the loop trusts it unchecked. Why is a high benchmark accuracy score not sufficient evidence that an ML perception function is fit for a safety-critical automotive function? A benchmark answers how often the model is right on data resembling its test set; a safety argument must answer what happens when it is wrong and whether the system can tolerate it. Those are different questions, and improving mAP does not close the gap. Standards like ISO 26262 and ISO 21448 (SOTIF) ask about failure and near-failure behaviour, not leaderboard rank. How does a perception function’s integrity demand change what an ML model must demonstrate beyond nominal accuracy — such as fault detection, degradation, and fallback? Integrity demand is set by how a function’s failure propagates to vehicle behaviour, and it is a property of the function, not the model. As demand rises — from an advisory alert up to unmonitored autonomous manoeuvring — the model owes progressively more: calibrated confidence, fault detection, defined fallback, sensor-dropout handling, and degradation behaviour. The same detector can be adequate for a low-integrity feature and wholly insufficient for a high-integrity one. What kinds of ML failure modes does an autonomous vehicle validation reviewer expect to see addressed? Three classes recur: distribution shift (inputs outside the validated operating domain), sensor dropout and degradation (occlusion, weather collapsing lidar returns), and edge cases or long-tail classes (rare poses, debris, unusual emergency-vehicle configurations). None is captured by a held-out split drawn from the training distribution. Reviewers want a defined operating domain, runtime detection of departures from it, and predictable degraded behaviour. What does machine learning not assert about an autonomous vehicle’s real-world safety, and where does the integrity argument have to come from elsewhere? A trained model asserts only a statistical error profile on inputs resembling its training distribution. It does not assert that the distribution covers the operational design domain, that it will detect operating outside that domain, or what to do on failure. Domain coverage, out-of-distribution detection, and fallback behaviour must be engineered around the model — the safety argument comes from there, not from the loss curve. How should a team structure its data and validation effort so ML perception work maps to the integrity demand of each function rather than to benchmark leaderboards? Start from each function’s integrity demand, derived from how its failure reaches vehicle behaviour, and ask what evidence discharges it. Route data collection toward the operating domain and its edges rather than toward whatever raises the average, and route validation toward failure behaviour — shift, dropout, long-tail — rather than nominal performance. Scoping this up front converts reviewer clarification rounds into first-pass clearance and avoids late rework. The failure class here is quiet: a perception component that scores well and ships without the fault-detection, degradation, and fallback evidence its function’s integrity demand requires. A validation harness that surfaces those obligations early — see our production AI monitoring and validation work — is what keeps the gap from being discovered by a reviewer instead of by the team.