正文 · AI 翻译
Decisions made in the car and model changes made afterward can be traced back through the same record.
Autonomous driving faces two unavoidable constraints. During training, driving experiences that truly expose the limits of the system's capabilities are scarce, and finding, labeling, and reviewing each one costs time and resources. On the road, every decision has a deadline, and the model must choose an action with limited computing power. Both constraints point to the same question: How can the system learn reusable judgments from a critical experience, and then apply them at sufficiently low cost the next time they are needed?
In its DriveFoundry technical report, Xiaomi Auto divides the loss from a driving decision into two parts: the model fails to propose a sufficiently good course of action, or a good course of action is among the candidates but the system chooses another. This distinction affects two engineering decisions at once: Should the car spend its next increment of computing power gathering more evidence about the scene, replanning, or checking the consequences of existing trajectories? After this data is brought back for training, should the team add supervision for a missing behavior or correct an erroneous score?
Along these lines, six questions can be considered together. During training, why do five tasks share the same large model weights, and how does causal supervision affect actions? On the road, how can the system distinguish problems in candidate generation from problems in selection, what information can world prediction add to scoring, and when is another computation worthwhile? Back in training, what kind of data should a failure become?
1. How the model learns
NVIDIA's Alpamayo-R1, for example, uses a vision-language backbone and a dedicated action expert to generate trajectories. Xiaomi's Xiaomi-Drive-o1 jointly trains five tasks—perception, causal analysis, action planning, world prediction, and value evaluation—on the same large model backbone parameters. Each task handles different inputs and outputs through its own queries, adapters, and output heads. The practical question behind this architectural choice is that, during training, tasks such as causal analysis update the same weights used by fast planning. So after the explicit analysis step is omitted in the car, how much of the benefit can planning retain?
The five tasks share backbone parameters while retaining their own task interfaces.
θ represents the shared weights. When the auxiliary task gradient points in the same direction as the fast path loss gradient, a small update can locally reduce the fast path loss.
The report answers this question with an experiment that holds the inference path fixed. On a 0.8B model, with the fast path and token use kept the same, joint training reduced the minimum average displacement error among six candidate trajectories over a 5-second prediction from 1.93 meters to 0.89 meters, a drop of about 54%. The close-contact rate in the same group's closed-loop simulation also fell from 43.6% to 30.8%. Shared weights thus have a testable engineering significance: more thorough training can leave its benefits in the car's existing fast path.
Earlier VLA work has linked scene evidence to reasons for driving decisions. DriveFoundry chooses a more direct way to test this: make two scenes look as similar as possible, change only a key fact sufficient to affect the decision, and see whether the car changes its course of action accordingly. The same construction barrier calls for different decisions about changing lanes early depending on whether it sits beside the road or intrudes into the car's lane; the same stationary vehicle calls for different decisions about waiting and going around depending on whether it is in a queue or has broken down and is blocking the road. After recognizing an object correctly, the model still needs to judge what that object means for the current action.
Similar positive and negative examples involving construction and temporary parking show the correspondence among key facts, causal chains, and actions.
After changing scene factors, separately test how much the feasibility of an action and the relative value of two candidates change.
In two targeted test sets of 200 segments each, adding causal chains raised decision F1 from 68.5% to 89.0% in construction scenes and from 57.0% to 82.5% in scenes with stationary vehicles. The full-segment success rate for the latter group also rose from 45.5% to 73.5%. This result grounds “understanding the reason” in concrete behavior: whether the model waits when it should and starts going around early enough when it should.
2. How the car chooses on the road
Generating and scoring candidate trajectories are established lines of research in the industry. Hydra-MDP, for example, uses signals from human driving and rule-based teachers to evaluate multiple courses of action. What makes DriveFoundry worth examining is that it carries this distinction through both onboard inference and subsequent correction. Equation (10) in the report divides the value loss of a decision into two terms: the gap between the best feasible action and the best action in the candidate set, and the gap between the best action in the candidate set and the action ultimately selected.
Compare yielding and proceeding in the same scene, and feed the candidates and their consequences into the data and model learning process.
The first term is the difference in value between the best feasible action and the best candidate; the second is the difference between the best candidate and the action actually selected.
This directly determines what the system should do next. If the candidates lack a trajectory for going around early, continuing to score the existing trajectories cannot recover it; the system needs to gather more scene evidence and replan. If a reasonable trajectory for going around already exists but ranks behind a dangerous one, it is more useful to review consequence prediction and scoring. The same distinction holds after the data returns for training: the first kind of failure calls for additional behavior supervision, while the second calls for checking the basis for evaluating candidates. Understanding a failure begins with preserving which other courses of action were available at the time.
After world prediction was added, the average displacement error of the selected trajectory over 5 seconds edged up from 1.46 meters to 1.47 meters, yet the collision rate on the same test set fell from 13.17% to 11.40%. Why can the collision metric improve when the average distance between the trajectory and the human record barely changes? Xiaomi's earlier technical report, Discrete-WAM, offers a clue. Researchers held the current observation fixed, applied lateral perturbations to the ego vehicle's future action, and then measured differences in the distributions of future visual predictions under different actions, calling this “surprise.” In these experiments, when a perturbation led to a collision or driving off the road and the planning score fell to zero, surprise rose markedly, while ordinary pixel error changed more gradually. This observation suggests that the distribution learned through visual generation contains information related to driving consequences. Surprise serves here as a clue to risk; interpreting it as a probability of an accident would require additional calibration.
After applying a lateral perturbation to the action, compare the planning score PDMS, the surprise of the future prediction, and the pixel difference.
S is the KL divergence between the distributions of future visual predictions corresponding to the recorded action and the perturbed action under the same visual observation; the value itself is not a collision probability.
DriveFoundry gives this kind of information a defined role. The action module proposes candidate trajectories, the world model predicts the near future that would result from driving along a given trajectory, and the future visual representation is then passed to the value module to help evaluate that same trajectory. The average distance between a trajectory and the recorded one and whether it leaves a safety margin at a critical moment measure different things. These results are consistent with the interpretation that information about the future helps assess the consequences of candidates.
Fast and slow inference already has representative work such as AdaThinkDrive. DriveFoundry further refines the choice according to the value of computation for a specific task. When it is unclear whether a lane is occupied, additional perception and causal analysis can help generate new candidates; when two feasible trajectories already exist but their risks are hard to distinguish, the computing budget can be used to predict their consequences. The scheduler must estimate which additional step is most likely to improve the final choice relative to choosing an action now, and whether that benefit can cover the added cost.
The scheduler selects the next computation based on expected benefit and remaining resources.
The scheduling objective equals the estimated return after additional computation minus the estimated return from stopping immediately, less the additional execution cost.
The answers to the first and fifth questions come from two sets of comparisons using the same 0.8B model. Placing them side by side distinguishes the benefits of training from those of additional online computation.
Joint training determines what the fast path can already do; computation scheduling determines what additional work is worthwhile for the choice at hand.
3. How the system improves from failures
To understand DriveFoundry's data loop, start with what a training sample looks like. Figure 5 lays out a roughly 20-second video of a left turn at an intersection. The ego vehicle first changes into the left-turn lane, slows as it approaches the intersection, and completes the turn after conditions permit. The paper divides this continuous process into two parallel decision timelines: laterally, when the vehicle changes lanes, maintains its lane, and begins turning left; longitudinally, when it adjusts speed, yields, and transitions to following another vehicle. Vehicles, traffic lights, and road information in the keyframes are numbered, so their influence on individual decisions can be traced along the timeline.
Causal annotations for a left-turn sample. Read by column, they trace keyframes to factor numbers, lateral and longitudinal decisions, and driving reasons; read along the time axis, they show how the vehicles being yielded to and the grounds for decisions change. The time intervals and factor states in the figure are illustrative.
The point in this figure most worth pausing over is seconds 8–9. At this point, the traffic light permits a left turn, while two oncoming vehicles going straight have already entered the intersection. The annotations label the green light F6 and the two vehicles in the ego vehicle's path F3 and F4. In this second, the ego vehicle's lateral decision is to maintain its lane, and its longitudinal decision is to yield. By seconds 10–14, the lateral decision has moved into the left-turn phase, and another vehicle ahead that is turning right becomes a new reason to yield. The intention to turn left persists for several seconds, but the grounds for deciding when to go and whom to yield to change. Each time bar in the figure records a set of “factor–decision” relationships and the period during which they apply; the natural-language causal chain at the bottom turns these relationships back into readable driving reasons.
Equation (22) places these annotations within a complete “scene–candidate” record. Figure 5 expands the factor–decision relationships within it; the record also links each candidate action in the same scene to a corresponding future visual target, value evaluation, and feasibility label. Validity markers indicate which supervision is available, and source fields retain the provenance of the evidence. The action actually executed can be supervised using subsequently observed images; the consequences of candidates that were not executed require support from rules, simulation, or human review.
i corresponds to the scene and decision time, and n to a candidate in that record, so the actions, consequences, and evaluations of different courses of action each have their own place.
The same reviewed experience can teach the model several different abilities. In Figure 5, vehicle positions can train perception, whether an approaching vehicle enters the ego vehicle's path can train causal judgment, when to yield can train decision-making, and the trajectory actually driven afterward can provide action supervision. This connects to the shared weights in the first question: on the model side, multiple tasks jointly update one set of backbone parameters; on the data side, the supervision used by those tasks can also be traced to evidence from the same scene and moment.
A sample like this gives a review concrete points to check. Suppose the model starts too early while the light is green and an oncoming vehicle has yet to pass. The team can return to the second when the error occurred and check, item by item: Was the oncoming vehicle marked in the keyframe? Was it correctly labeled as “in the ego vehicle's path”? Was that relationship tied to the longitudinal decision to yield, and did it expire too early? The findings determine whether the next round should correct object annotations, the link between factors and decisions, or the duration of that link. The knowledge most worth reusing from a video is which facts changed which driving decisions at which moments. Figure 18 and Equation (8) further explain how these corrections enter the annotation system and the next round of driving model training.
Reviewed annotations enter quality checks and retraining, driving updates to the annotation model and training data.
Select cases from the current round's failures, revise their annotations, and merge them into the dataset, then update the model using them together with replayed older data.
If a key factor was missed, correct the evidence and its relationship to the action; if a feasible option was not proposed, add supervision for an alternative behavior; if candidates were ranked incorrectly, review the consequence labels and the basis for scoring. Confirmed revisions can train the next version of the driving model and update the annotation model, affecting how data is produced for the next batch of similar scenes. The report presents this process and experiments on its components.
How does the complete system perform in closed-loop testing? Across 1,607 AlpaSim simulation scenarios, Xiaomi-Drive-o1-9B had a near-contact rate of 19.1% and a road-departure rate of 9.8%; in the same table, the corresponding results for the 34B Alpamayo 2 Super were 21.9% and 10.3%, though it led in route progress and overall score. The team also ran the inference pipeline at 10 Hz in an on-vehicle test setup equipped with an NVIDIA RTX 4090.
One thing Xiaomi’s report seeks to clarify is whether decisions made in the car and model improvements made off the car can be traced back through the same record: what the system saw at the time, which courses of action it considered, and why it ultimately chose one. Comparative experiments have already measured the benefits that shared training brings to the fast path and the tokens saved by on-demand inference. The next step in evaluating this data feedback loop is to see how many fewer errors of the same kind the next model version makes after several rounds of correction, given the same labeling and training budgets.
This article was provided by Xiaomi and is republished by QbitAI with permission. The views are those of the original author.