Manuscript Offprint
arXiv:2610.21984GRID-Planner: Graph-Structured Relational Reward Shaping for Diffusion Planning
Zhao Yang
Xi'an Jiaotong University
Xi'an, China
Zezhong Qian
Xi'an Jiaotong University
Xi'an, China
Yinan Shi
Cytoderm Intelligent Technology
Beijing, China
Longjun Liu
Xi'an Jiaotong University
Xi'an, China
Abstract
Autonomous driving planning requires selecting trajectories that remain safe, rule-compliant, and comfortable under complex multi-agent interactions, yet robust closed-loop decision making in planning-critical scenes remains challenging. Existing diffusion- and RL-based planners often rely on generic rewards and use relational structure mainly for representation, limiting how planning-critical rollouts shape policy improvement. We present GRID-Planner, a graph-reward integrated diffusion planning framework that aligns generative planning with structured relational signals. Specifically, GRID-Planner combines graph-aware importance weighting, a time-indexed relational reward surrogate, and an advantage-weighted diffusion objective with on-policy self-distillation, forming a rollout-return-advantage-update loop without explicit likelihoods. Experiments on nuPlan and interPlan show that, compared with the diffusion-only baseline, GRID-Planner reduces collision rate, lane deviation, and jerk by 35.8%, 60.8%, and 27.4%, respectively, and improves the planning score by 3.4%. Project website: https://github.com/yangzhaojason/GRID-Planner.
CCS Concepts
• Computing methodologies → Robotic planning; Reinforcement learning; Machine learning algorithms.
ACM Reference Format:
Zhao Yang, Zezhong Qian, Yinan Shi, Longjun Liu, and Yawei Jueluo. 2026. GRID-Planner: Graph-Structured Relational Reward Shaping for Diffusion Planning. In Proceedings of the 34th ACM International Conference on Multimedia (MM '26), November 10–14, 2026, Rio de Janeiro, Brazil. ACM, New York, NY, USA, 9 pages. https://doi.org/10.1145/3767308.3835263
Yawei Jueluo
Cytoderm Intelligent Technology
Beijing, China
Traditional Diffusion Planning (No Reward Shaping)

Our Method: GRID-Planner
Figure 1: Overview of GRID-Planner. Traditional diffusion planning may miss planning-critical relational semantics, whereas GRID-Planner combines Graph-Aware Importance Weighting and RRS to prioritize high-risk trajectories and evaluate safety, lane/route consistency, and comfort.
1 Introduction
Autonomous driving planning requires selecting ego trajectories that are safe, rule-compliant, and comfortable under complex multi-agent interactions [2, 6, 8, 11, 13]. Despite rapid progress in learning-based planning, robust closed-loop decision making in dense urban scenes remains challenging [2, 6, 13]. A core challenge is that planning performance depends not only on average-case trajectory realism but on learning from a small set of planning-critical trajectories—those arising in highly interactive, safety-sensitive, and rule-constrained scenarios such as merging, yielding, and intersection conflicts [2, 6, 13]. In practice, however, most training trajectories are semantically flat, weakly constrained, and low-conflict, contributing limited signals to the decision boundaries that matter most for planning [6]. This long-tail structure makes pure imitation learning insufficient, since abundant easy trajectories dominate supervision, while naive reinforcement learning is also inadequate because generic rewards are difficult to design stably for complex multi-agent interactions. These challenges motivate graph-structured relational modeling to prioritize planning-critical trajectories and support planning-oriented policy improvement.
Existing methods improve planning from different angles, but the core issue remains unresolved. Strong imitation-based planners, such as UrbanDriver [21], PlanTF [5], and PLUTO [4], optimize

This work is licensed under a Creative Commons Attribution 4.0 International License. MM '26, Rio de Janeiro, Brazil
© 2026 Copyright held by the owner/author(s).
ACM ISBN 979-8-4007-2213-4/2026/11
https://doi.org/10.1145/3767308.3835263
Zhao Yang, Zezhong Qian, Yinan Shi, Longjun Liu, and Yawei Jueluo
similarity to expert behavior, allowing abundant easy trajectories to dominate training and under-emphasizing safety-critical and rule-sensitive cases. Interaction-centric methods, such as GameFormer [10], improve multi-agent relation modeling, but mainly at the representation level, without explicitly using relational structure to determine trajectory value or optimization priority. Diffusion-based planners, such as Diffusion Planner [31], provide flexible multi-modal trajectory generation, while reward-guided variants such as Diffusion-ES [28] demonstrate the promise of reward-driven optimization. However, existing approaches still rely either on behavior cloning objectives, which suffer from compounding errors and exposure bias in closed-loop inference, or on generic reward-driven optimization, which does not explicitly encode planning-oriented relational semantics. This leaves open how relational semantics should shape both the training distribution and the optimization objective, rather than serving only as scene representations or sampling-time guidance.
To address this gap, we propose GRID-Planner, a Graph-Reward Integrated Diffusion planner that uses graph-structured scene semantics to directly shape the optimization signal of generative planning. Rather than treating graph structure as just an input representation, we use it to define both trajectory importance and planning-oriented return. Our framework answers three questions left open by prior planners: which trajectories should matter more during training, how their quality should be evaluated for planning, and how relational signals should reshape diffusion-based policy learning. Specifically, our framework contains three tightly coupled components: ① Graph-Aware Importance Weighting, which upweights trajectories from complex, high-risk scenes using scene-interaction centrality and collision-risk cues; ② Relational Reward Surrogate (RRS), which evaluates candidate rollouts through time-indexed ego-centric scene graphs, producing a dense trajectory-level signal with smooth bounded penalties over safety, lane/route consistency, and comfort; and ③ Graph-Reward Integrated Diffusion Objective, which incorporates structured returns into a low-variance advantage-weighted diffusion objective, coupled with an advantage-gated on-policy self-distillation (OPSD) mechanism. The resulting advantage reweights diffusion denoising and gates OPSD teacher selection and updates, forming a rollout-return-advantage-update loop in which graph-reward signals directly drive policy improvement.
The main contributions of this work are:
• We propose GRID-Planner, a unified graph-reward integrated diffusion framework that redefines how scene graphs are used in autonomous driving planning: rather than serving only as input representations, they directly shape optimization priority and trajectory value for closed-loop decision making.
• We introduce a planning-oriented relational learning mechanism, instantiated by Graph-Aware Importance Weighting and a Relational Reward Surrogate, which together focus training on planning-critical trajectories and score candidate rollouts using safety, lane/route consistency, and comfort criteria.
• We develop a unified on-policy diffusion objective that combines advantage-weighted diffusion with advantage-gated self-distillation to support stable on-policy refinement and consolidate high-return behaviors, yielding consistent gains over strong baselines on nuPlan and interPlan.
2 Related Work
Imitation-Based and Interaction-Centric Planning. A major line of work learns autonomous driving policies from expert demonstrations [2, 6, 8, 11, 12, 20, 27]. UrbanDriver [21], PlanTF [5], and PLUTO [4] achieve strong closed-loop performance through carefully designed imitation objectives, while UniAD [8], VAD [14], VADv2 [3], SparseDrive [23], DTPP [9], GameFormer [10], InterFuser [22], and Causal-Planner [29] improve scene representation and interaction modeling. However, these approaches mainly optimize expert imitation or relational representations, without explicitly using scene relations to determine trajectory importance or planner-oriented value. GRID-Planner instead uses graph structure to prioritize planning-critical trajectories and construct relational returns over safety, lane/route consistency, and comfort.
Generative Planning with Diffusion. Generative planners model future trajectories as samples from expressive distributions, supporting multi-modal driving behaviors [15, 25]. GenAD [30], Diffusion Planner [31], and Diffusion-ES [28] explore latent generation, diffusion-based closed-loop planning, and reward-guided sampling, respectively. Flow Planner [24], DiffusionDrive [16], and BridgeDrive [17] further improve interactive modeling and diffusion-policy design. These methods primarily focus on trajectory generation or sampling-time guidance, whereas GRID-Planner incorporates structured relational signals into training through trajectory prioritization, relational evaluation, and diffusion-policy refinement.
RL-Based Policy Improvement for Generative Planning. Reinforcement learning has been combined with diffusion policies for reward-driven optimization. DDPO [1], advantage-weighted regression methods [18, 19], and diffusion policies [26] adapt policy-improvement principles to expressive generative models. However, they generally rely on generic scalar rewards rather than planning-oriented relational semantics. GRID-Planner couples graph-weighted relational returns with advantage-weighted denoising and advantage-gated on-policy self-distillation, allowing relational signals to directly shape policy updates.
3 Methodology
3.1 Preliminaries
Notation. We denote an ego candidate trajectory by over horizon steps , where is the ego kinematic state (position or , velocity, and heading), and is the control action in an ego-centric frame. Neighboring trajectories are with neighbor index . We use to denote the current step (the last observed frame), with positions and . We define clip .
Diffusion trajectory model and energy shaping. We model the trajectory distribution using a score-based diffusion process. Given a data trajectory , the forward noising process at diffusion step is:
A. MOTIVATION & PROBLEM
Traditional Training (imitation-based)

Semantically Flat Trajectories (Low Signal)
Distribution
Mismatch
The Planning-Critical Mismatch
B. CORE COMPONENTS
Input→ GA-IW & RRS → Integrated Objective
1 Graph-Aware Importance Weighting (GA-IW)

High-Risk/
Complex Scene
(Upweighted)
Prioritize Complex
Scenes
w(τ)=exp(α₁CentFeat(τ)+α₂CollProb(τ))
→Prioritize Complex Scenes

Rare Planning-Critical Scenarios
(High Risk/Constraint)
C. UNIFIED OBJECTIVE&RESULTS
2 Relational Reward Surrogate (RRS)

Dense Time-Indexed
Relational Scoring
3 Graph-Reward Integrated Diffusion Objective

On-Policy Actor-Critic with Self-Distillation
Trajectory Score

Our Method: Internalizing Relational Semantics into Denoising Energy Surface
Figure 2: Overall framework of GRID-Planner. We address the mismatch between semantically flat imitation signals and rare planning-critical scenarios through two components, graph-aware importance weighting (GA-IW) and relational reward surrogate (RRS), which are unified in the final graph-reward integrated diffusion objective.
where the model predicts the score with , trained by
Sampling proceeds by running the reverse denoising dynamics from , yielding . Under maximum-entropy RL, the optimal trajectory distribution can be expressed as , motivating us to shape using trajectory energies derived from surrogate return functions.
3.2 Problem Statement
At each planning step, we represent the driving scene as a relational graph , where nodes V include the ego vehicle, surrounding agents, lane polylines, and traffic signals, and edges E encode geometric relations and traffic-rule priorities. We consider trajectory planning over a candidate trajectory and define the trajectory-level relational score
which evaluates safety, rule compliance, and ride comfort (each term is specified in the next subsection).
To align this trajectory-level evaluator with entropy-regularized distribution shaping, we use a trajectory return surrogate:
where is an importance weight used to differentiate candidate rollouts. Our goal is to learn a graph-conditioned trajectory distribution that concentrates probability mass on trajectories with higher , while maintaining diversity and efficient inference. To achieve this, we employ a unified graph-reward integrated diffusion objective (Sec. 3.5), which combines advantage-weighted diffusion updates with a state-value baseline and on-policy self-distillation, aligning training with planner-induced rollouts and consolidating high-reward behaviors, as illustrated in Fig. 2.
3.3 Graph-Aware Weighting for Semantic Alignment
Real-world driving scenarios are highly imbalanced, with most trajectories being semantically flat and only a small fraction being planning-critical: most trajectories are “flat” (neither risky nor strongly constrained), while only a small fraction is safety-critical. To prevent gradients from being dominated by abundant "flat" samples, we introduce a graph-aware importance weight that emphasizes structurally complex and high-risk trajectories. The “graph” here is a lightweight scene-interaction proxy used only for weighting (distinct from the model conditioning graph), as illustrated in Fig. 3.
Weight definition. For each candidate ego trajectory , we define
which yields the trajectory-level return . Here are scalar weights. CentFeat( ) measures local interaction and map complexity at the current step ( ) to prioritize complex scenes, while CollProb( is a bounded collision-risk score that combines future proximity along the rollout and current time-to-collision (TTC) computed at . Although written as CentFeat( ) for notational simplicity, it depends only on
Zhao Yang, Zezhong Qian, Yinan Shi, Longjun Liu, and Yawei Jueluo

Figure 3: Illustration of the graph-aware weighting mechanism. CentFeat is computed from a snapshot interaction graph at t = 0 and map-element counts, while CollProb is estimated from future proximity and TTC. They are combined to form the importance weight in Eq. (5).
the current snapshot scene at . Notably, serves as a training-time factor rather than a reward bonus for risk-taking. Past-snapshot interaction graph and centrality. We construct a snapshot interaction graph at from the last observed frame, denoted by . Its nodes are , with ego-frame positions and . We connect ego-agent pairs within a radius and assign an RBF edge weight
where is the kernel bandwidth and is the indicator. The ego interaction strength (weighted degree) is . To reflect local map complexity, we count nearby map elements around the ego at (with fixed radii): the number of lane polylines , static objects , and red-light signal points . The final centrality feature is
where are scalar coefficients.
Collision-risk proxy. We estimate CollProb( ) from (i) future proximity over the horizon and (ii) current TTC at , where TTC is computed from relative position and velocity. To avoid numerical instability and singularities, we convert the current TTC into a bounded inverse-TTC (iTTC) risk metric. For future proximity, over neighbors and horizon steps , we compute
where is the ego position from , while uses log-replay futures offline and constant-velocity extrapolation on-policy; the same sources are used by RRS safety, and no neighbor futures are queried at inference. is a collision-distance threshold, and clip( , 0, 1) bounds the score to [0, 1].

Illustrative per-step reward values
Figure 4: Illustration of the relational reward surrogate (RRS). Along the candidate trajectory , a time-indexed scene graph is queried at each step to evaluate safety, rule-compliance, and comfort terms. Selected steps are shown for illustration, and the per-step scores are aggregated over the horizon to form the dense trajectory-level reward .
For the current TTC risk at , let denote the line-of-sight relative speed of neighbor . We compute the risk proxy via
(9)
where controls the decay scale and is an upper bound. In practice, we stabilize training by clipping to and normalizing it by the batch mean.
3.4 Relational Reward Surrogate
We introduce a Relational Reward Surrogate (RRS) that assigns each ego candidate rollout a dense trajectory-level score by querying a time-indexed ego-centric scene graph, as illustrated in Fig. 4. It decomposes into safety, rule-compliance, and comfort terms, and provides the trajectory-level supervision used in our unified objective.
Time-expanded surrogate. Given a candidate trajectory , where denotes the ego state (including pose and velocity) and the control action at step , we construct at each step a lightweight ego-centric scene graph that encodes nearby agents, map elements, and traffic signals in a unified relational form. The graph serves as a common interface for querying heterogeneous interactions among agents, lanes, signals, and ego motion. RRS evaluates all three components at every step and aggregates them into a trajectory-level score:
(10)
In practice, each reward component is defined as the negative of a nonnegative penalty, such that ; hence, a larger value (closer to zero) indicates fewer violations and better planning quality.
Safety term. Let be the set of neighboring agent indices in . We extract the ego position from , and denote the -th neighbor position by . We define the closest distance
If , we set . To capture imminent collision risk while avoiding singularities, we further define an inverse time-to-collision (iTTC) metric from relative position and velocity in the ego frame. Let denote the most critical line-of-sight relative speed. Then
where avoids division by zero; when , we set . We also include a binary collision indicator . Using smooth barrier penalties and , we define
where and are thresholds, and are scalar weights.
Rule compliance and comfort. From map-related nodes and edges in , we query the lateral deviation , an optional red-light indicator , and the local speed limit . Let denote ego speed. We define
(14)
where is a small constant for numerical stability. For comfort, we penalize acceleration , jerk , and yaw rate :
with . Here is computed by finite differences of acceleration, with standard boundary handling at the horizon end.
3.5 Graph-Reward Integrated Diffusion Objective
At each planning step, conditioned on the current scene graph G, the diffusion planner samples a rollout and evaluates it using the graph-weighted relational return
where is the graph-aware importance weight defined in Sec. 3.3, and is the relational reward surrogate defined in Sec. 3.4. Our objective is to bias the diffusion policy toward higher-return closed-loop rollouts while preserving the stable denoising structure of the base planner.
Value baseline and advantage estimation. We introduce a value baseline that predicts the expected return under the current rollout policy. It is trained by on-policy regression:
The corresponding trajectory-level advantage is
Here is used only as a stop-gradient improvement signal for reweighting and gating, rather than as a direct policy-gradient estimator.
Advantage-weighted diffusion surrogate. Since diffusion planners do not provide a tractable , we use the per-sample denoising loss as a surrogate optimization signal. For diffusion step k, we perturb the trajectory as
and define the per-sample diffusion loss
To emphasize improved rollouts, we modulate this loss using an advantage-derived weight
where is a temperature and bound the dynamic range. The resulting advantage-weighted diffusion objective is
This preserves the standard diffusion training form while assigning a larger learning weight to trajectories whose graph-conditioned return exceeds the current value baseline.
On-policy self-distillation. To further consolidate improved behaviors, we introduce an on-policy self-distillation (OPSD) term. For each scene graph G, we sample multiple candidate trajectories using the same diffusion model with a more expensive multi-step denoising process and select the highest-return candidate as the teacher , which is distilled into a cheaper student prediction . The teacher is treated as a stop-gradient target. We use the advantage only as an improvement gate:
where caps extreme outliers. The OPSD loss is
where is a trajectory distance, e.g., the averaged distance over future planning states such as positions or headings.
Unified training objective. Finally, we combine the advantage-weighted diffusion loss and the self-distillation term:
where balances distribution shaping and policy consolidation, while is updated via Eq. (17). This unified objective preserves the generative stability of diffusion learning, while graph-weighted relational returns bias training toward trajectories that are safer, more rule-consistent, and more comfortable under closed-loop rollouts.
Zhao Yang, Zezhong Qian, Yinan Shi, Longjun Liu, and Yawei Jueluo
4 Experiment
4.1 Datasets and Metrics.
nuPlan and interPlan Datasets. We evaluate GRID-Planner in closed-loop simulation on two established autonomous driving benchmarks. Following the standard protocol [5, 31], we report nuPlan [2] results on Val14, Test14-random, and Test14-hard, covering general performance and long-tail robustness. We further evaluate on interPlan [7], which emphasizes interaction-intensive scenarios such as nudging around parked vehicles, unprotected overtaking, and jaywalker encounters.
Evaluation Metrics. For nuPlan, we report the official Closed-Loop Score (CLS) under Non-Reactive (NR) and Reactive (R) simulation [2]. CLS aggregates route progress, comfort, and rule compliance while penalizing safety failures such as at-fault collisions. For interPlan, we report the Overall Score and representative scores on Nudge Around, High Traffic Density, and Jaywalk.
Diagnostic Metrics. Beyond the official scores, we report Collision Rate, corresponding to ; Lane Deviation, a lane/route-consistency proxy corresponding to ; Jerk, a smoothness indicator corresponding to ; and Latency, the average planner-side inference time. These metrics are diagnostic only. Red-light violations are not evaluated separately due to limited traffic-signal state extraction.
4.2 Implementation Details
GRID-Planner uses 2 seconds of history to predict an 8-second trajectory at 10 Hz, with 21 historical timestamps including the current frame and 80 future steps. Each waypoint is represented as in the ego-centric frame. The scene encoder retains up to 32 neighboring agents, 70 lane polylines, 25 route-lane polylines, and 5 static control elements. Training has three stages: (1) base diffusion training for 400 epochs with AdamW (batch size 2048, learning rate , weight decay 0.01, and EMA decay 0.999), CFG, and 0.3 neighbor dropout; (2) graph-aware reward fine-tuning with GAIW and RRS for 10 epochs at ; and (3) online self-distillation for 2 epochs, sampling four candidates per scene and ranking their graph-weighted returns to select the teacher and supervise the student. At inference, the distilled planner uses four update steps with a CFG scale of 1.8. Latency is the mean planner-side compute_trajectory runtime at batch size 1 on the same hardware, excluding simulator overhead, and is reported only as a relative runtime diagnostic.
4.3 Main Results
nuPlan benchmark. Table 1 reports closed-loop planning results on nuPlan under both non-reactive (NR) and reactive (R) protocols. Among learning-based planners, GRID-Planner achieves the best performance on five of the six splits. Compared with the strong Flow Planner baseline (reproduced locally using its official open-source implementation), our method improves Val14-R from 79.90 to 82.59 and, more importantly, raises the highly challenging Test14-hard-R score from 66.88 to 71.15, an absolute gain of +4.27. The gains are consistently larger on reactive and hard splits, indicating that GRID-Planner is particularly effective in planning-critical settings,
Table 1: Closed-loop planning results of learning-based planners on the nuPlan benchmark under non-reactive (NR) and reactive (R) evaluation protocols. Flow Planner [24] is reproduced locally using its official repository. The best learning-based result in each column is highlighted in bold. * denotes methods that directly leverage the road centerline extracted from the map.
| Planner | Val14 | Test14-hard | Test14 | |||
|---|---|---|---|---|---|---|
| NR | R | NR | R | NR | R | |
| PDM-Open* [6] | 53.53 | 54.24 | 33.51 | 35.83 | 52.81 | 57.23 |
| UrbanDriver [21] | 68.57 | 64.11 | 50.40 | 49.95 | 51.83 | 67.15 |
| GameFormer w/o refine. [10] | 13.32 | 8.69 | 7.08 | 6.69 | 11.36 | 9.31 |
| PlanTF [5] | 84.27 | 76.95 | 69.70 | 61.61 | 85.62 | 79.58 |
| PLUTO w/o refine.* [4] | 88.89 | 78.11 | 70.03 | 59.74 | 89.90 | 78.62 |
| Flow Planner [24] | 88.21 | 79.90 | 72.17 | 66.88 | 88.29 | 83.07 |
| GRID-Planner (Ours) | 89.92 | 82.59 | 73.86 | 71.15 | 89.45 | 85.18 |
Table 2: Closed-loop planning results on the interPlan benchmark [7]. We report the overall score together with representative scenario-specific scores. The best scores in each column are highlighted in bold.
| Planner | Overall Score | Nudge Around | High Traffic Density | Jaywalk |
|---|---|---|---|---|
| PlanTF [5] | 47.70 | 49.40 | 58.85 | 33.94 |
| Diffusion Planner [31] | 52.90 | 60.48 | 49.71 | 26.20 |
| Flow Planner [24] | 54.83 | 58.02 | 56.41 | 41.64 |
| GRID-Planner (Ours) | 57.25 | 58.77 | 65.37 | 43.20 |
where success depends on resolving dense interactions rather than merely generating plausible nominal trajectories. Similar trends also hold on the non-reactive splits, suggesting that the proposed training strategy improves not only interaction robustness but also overall closed-loop planning quality.
interPlan benchmark. Table 2 further evaluates interactive decision making on interPlan, which emphasizes long-tail interactive scenarios beyond standard lane following. GRID-Planner achieves the best overall score of 57.25, outperforming both Diffusion Planner and Flow Planner (52.90 and 54.83, respectively). The improvement is especially evident in spatially constrained and highly uncertain scenarios, including High Traffic Density (65.37 vs. 56.41 against Flow Planner) and Jaywalk (43.20 vs. 41.64 against Flow Planner, and 26.20 against Diffusion Planner). Since success in these categories depends on resolving ambiguous right-of-way conflicts rather than nominal path tracking, these results support the role of the proposed relational learning mechanism in shaping safer and more interaction-aware behavior. The gains are not uniform across all categories: in Nudge Around, GRID-Planner slightly exceeds Flow Planner (58.77 vs. 58.02) but remains below Diffusion Planner (60.48), suggesting that our method is most advantageous in scenarios where relational reasoning and safety-progress trade-offs under dynamic uncertainty dominate the planning difficulty. Qualitative rollouts in Fig. 5 further support this observation: in several challenging intersection scenarios, the baseline collides while GRID-Planner remains safe on the same scenes, showing improved closed-loop handling of interactive conflicts.
4.4 Ablation Studies
Main ablation. Table 3 shows that the major components of GRID-Planner provide complementary gains. Starting from the pure diffusion baseline, progressively introducing graph-aware weighting,
https://github.com/DiffusionAD/Flow-Planner

Figure 5: Baseline collides while ours remains safe. We visualize closed-loop rollouts in several challenging intersection scenarios. The baseline (top) results in collisions, while our method (bottom) navigates the same scenes. The ego vehicle is highlighted in yellow and collisions are shown in red.
Table 3: Main ablation on the full benchmark suite. Score ( ; nuPlan Val14 Benchmark), safety violations ( ), comfort (jerk, ), and planning latency ( ). All variants use the same training budget and evaluation protocol.
| Variant | Score ↑ | Coll. ↓ | Lane dev. ↓ | Jerk ↓ | Latency ↓ |
|---|---|---|---|---|---|
| Diffusion only () | 79.90 | 0.0783 | 0.0268 | 0.1606 | 353.98 |
| + GAIW (w(τ)) | 80.92 | 0.0699 | 0.0201 | 0.1302 | 347.56 |
| + () | 81.31 | 0.0604 | 0.0154 | 0.1153 | 343.72 |
| + On-policy actor-critic | 81.92 | 0.0503 | 0.0147 | 0.1266 | 345.28 |
| + On-policy self-distillation | 82.10 | 0.0501 | 0.0123 | 0.1191 | 341.59 |
| Full model | 82.59 | 0.0503 | 0.0105 | 0.1166 | 340.53 |
relational return shaping, and on-policy optimization steadily improves the official score from 79.90 to 82.59. Specifically, adding GAIW raises the score to 80.92 while reducing collision rate, lane deviation, and jerk, indicating that prioritizing planning-critical scenes already strengthens the effective training signal. Adding the graph-weighted trajectory return further improves the score to 81.31 and yields the strongest comfort and lane-keeping performance at this stage, suggesting better alignment with planning-oriented safety and rule constraints. Building on this, on-policy actor-critic optimization increases the score to 81.92 and substantially reduces collisions, although jerk slightly increases, indicating a temporary comfort-safety trade-off during rollout-based policy improvement. Adding OPSD partially recovers comfort and efficiency while preserving the score gain. The full model achieves the best overall score together with the lowest lane deviation and latency, while maintaining near-best safety and comfort metrics. Overall, these results support the intended role of each component: GAIW emphasizes planning-critical trajectories, injects dense relational planning signals, and the on-policy objective with OPSD consolidates these signals into a stronger closed-loop planner.
Table 4: GAIW ablation. Effects of centrality, collision-risk, and stabilization in . We report Val14 score (), collision rate (), lane deviation (), jerk (), and latency (). All variants share the same backbone and training budget; only the weighting strategy differs.
| Variant | Score ↑ | Coll. ↓ | Lane ↓ | Jerk ↓ | Latency ↓ |
|---|---|---|---|---|---|
| No weighting (w=1) | 81.61 | 0.0568 | 0.0163 | 0.1440 | 332.14 |
| Centrality only (w=exp(CentFeat)) | 81.74 | 0.0559 | 0.0161 | 0.1368 | 332.41 |
| Risk only (w=exp(CollProb)) | 81.82 | 0.0546 | 0.0159 | 0.1384 | 332.53 |
| Full w/o w-clipping | 81.71 | 0.0551 | 0.0159 | 0.1349 | 332.22 |
| Full w/o mean-norm | 81.65 | 0.0547 | 0.0158 | 0.1315 | 332.07 |
| Full + stabilization | 82.07 | 0.0519 | 0.0154 | 0.1252 | 332.41 |
GAIW training dynamics

Figure 6: Training dynamics of GAIW. The full GAIW design with clipping and mean-normalization achieves higher closed-loop score (left) and lower collision rate (right) than variants without clipping or mean-normalization, indicating improved training stability in planning-critical scenarios.
Ablating the graph-aware weighting mechanism. Table 4 and Fig. 6 validate both the effectiveness of GAIW and the necessity of its stabilization design. Compared with no weighting , using either graph centrality or collision-risk weighting alone already improves the score (81.74/81.82 vs. 81.61) while reducing collision rate, lane deviation, and jerk, showing that both structural complexity and explicit risk cues help prioritize planning-critical trajectories. Among the single-factor variants, risk-only weighting yields slightly better score and safety metrics than centrality-only, whereas centrality-only achieves slightly lower jerk, suggesting that the two cues capture complementary aspects of planning difficulty. When both cues are combined, stabilization becomes crucial: removing either w-clipping or mean-normalization degrades performance, while Full + stabilization achieves the best overall result, with the highest score (82.07) and the lowest collision rate (0.0519), lane deviation (0.0154), and jerk (0.1252). This trend is consistent with Fig. 6, where the stabilized variant maintains higher reactive closed-loop score and lower collision rate throughout training than variants without clipping or normalization, indicating improved optimization stability. Latency remains nearly unchanged across all variants, showing that the gain comes from better training signals rather than additional inference cost. Overall, these results support our design intuition: centrality emphasizes structurally complex scenes, collision-risk weighting highlights immediate safety-critical interactions, and clipping plus mean-normalization prevents overly heavy-tailed importance weights from destabilizing optimization. Ablating the relational reward surrogate (RRS). Table 5 shows that the three components of RRS play distinct yet complementary roles, and that the full surrogate yields the best overall planning behavior. Using the complete reward under the full training pipeline, the planner achieves the highest score (82.59) together with the best
Zhao Yang, Zezhong Qian, Yinan Shi, Longjun Liu, and Yawei Jueluo
Table 5: RRS ablation. Removing individual components of reveals their targeted impact on safety, rule consistency, and comfort. Score (; nuPlan Val14 Benchmark), safety violations (), comfort (jerk, ), and planning latency () are reported. All variants use the full training pipeline and differ only in the reward surrogate.
| Variant | Score | Coll. | Lane dev. | Jerk | Latency |
|---|---|---|---|---|---|
| Full RRS () | 82.59 | 0.0503 | 0.0105 | 0.1166 | 340.53 |
| w/o rule term () | 80.12 | 0.0568 | 0.0150 | 0.1325 | 344.87 |
| w/o comfort term () | 81.05 | 0.0527 | 0.0116 | 0.1538 | 345.92 |
| w/o safety term () | 74.85 | 0.0708 | 0.0287 | 0.1786 | 348.21 |
| Safety only () | 79.62 | 0.0555 | 0.0248 | 0.1451 | 342.96 |
| Rule only () | 78.91 | 0.0613 | 0.0158 | 0.1546 | 340.82 |
| Comfort only () | 72.95 | 0.0739 | 0.0538 | 0.1288 | 333.41 |
Table 6: Unified on-policy objective ablation. Each row removes one ingredient from Eq. 25 while keeping the graph-aware return , rollout budget, and evaluation protocol fixed. We report Score (; nuPlan Val14 Benchmark), together with collision rate (), lane deviation (), comfort measured by jerk (), and latency (). The last two rows ablate OPSD-specific choices (advantage gating and teacher selection).
| Variant | Score | Coll. | Lane dev. | Jerk | Latency |
|---|---|---|---|---|---|
| Offline diffusion only () | 79.90 | 0.0783 | 0.0268 | 0.1606 | 353.98 |
| Unified objective (Eq. 25) | 82.59 | 0.0503 | 0.0105 | 0.1166 | 340.53 |
| w/o critic baseline () | 80.03 | 0.0754 | 0.0264 | 0.1558 | 345.26 |
| w/o advantage reweighting | 80.76 | 0.0564 | 0.0220 | 0.1315 | 344.41 |
| w/o OPSD term | 80.29 | 0.0699 | 0.0235 | 0.1321 | 344.46 |
| w/o advantage gate () | 80.89 | 0.0559 | 0.0176 | 0.1272 | 340.53 |
| w/ random teacher | 79.57 | 0.0894 | 0.0397 | 0.1753 | 372.02 |
collision rate (0.0503), lane deviation (0.0105), and jerk (0.1166), confirming that jointly modeling safety, rule consistency, and comfort is necessary for balanced closed-loop performance. Removing the rule term substantially degrades lane deviation (from 0.0105 to 0.0150) and lowers the overall score, showing that explicit rule-aware shaping is important for route-consistent behavior. Removing the comfort term leaves safety-related metrics relatively stable but worsens jerk (0.1538 vs. 0.1166) and increases latency, indicating that the comfort term is important for motion smoothness. The largest degradation occurs when removing the safety term: the score drops markedly to 74.85, while collision rate and lane deviation worsen to 0.0708 and 0.0287, respectively, demonstrating that safety remains the dominant constraint in closed-loop planning. The single-term variants further support this decomposition: safety only preserves relatively better collision performance, rule only better preserves lane consistency, and comfort only achieves the smoothest trajectories with the lowest jerk but performs poorly on overall planning quality and safety. Overall, these results match the intended design of RRS: the safety term anchors collision avoidance, the rule term enforces scene-consistent behavioral constraints, and the comfort term regularizes motion smoothness; only their combination provides a dense and well-balanced planning signal aligned with the full closed-loop objective.
Ablating the graph-reward integrated objective. Table 6 and Fig. 7 show that the full on-policy objective is essential for achieving the best overall closed-loop performance. Compared with offline diffusion only, the unified objective improves the score from 79.90 to 82.59, while substantially reducing collision rate (0.0783 → 0.0503),
Unified objective: convergence and sample efficiency

Figure 7: Training dynamics of the unified on-policy objective. The full graph-reward integrated objective shows faster convergence and lower collision rate than offline diffusion and partial ablations, demonstrating better sample efficiency and more stable closed-loop adaptation.
lane deviation (0.0268 → 0.0105), and jerk (0.1606 → 0.1166), suggesting that graph-reward shaping is most effective when coupled with on-policy optimization rather than used as a purely offline surrogate. Removing the critic baseline yields only marginal gain over the offline baseline (80.03 vs. 79.90), indicating that value estimation is important for producing a usable low-variance improvement signal. Removing advantage reweighting or the OPSD term also degrades performance, with score dropping to 80.76 and 80.29, respectively, together with worse safety and tracking metrics, showing that reweighting helps focus learning on better rollouts while OPSD helps consolidate these improvements into the policy. The OPSD-specific ablations further clarify this effect: removing the advantage gate preserves relatively competitive collision, lane, jerk, and latency metrics, but still lowers the score to 80.89, suggesting that ungated distillation weakens overall policy improvement; using a random teacher causes the largest degradation (79.57 score, 0.0894 collision rate, 0.1753 jerk), demonstrating that teacher quality is crucial for successful consolidation. This trend is also reflected in Fig. 7, where the full objective exhibits faster convergence and consistently lower collision rate during training. Overall, the results support the intended role of each component: the critic baseline stabilizes advantage estimation, advantage reweighting emphasizes better trajectories, and OPSD transfers these gains into a stronger closed-loop planner.
5 Conclusion
We presented GRID-Planner, a graph-reward integrated diffusion planner that aligns generative planning with structured relational signals for autonomous driving. By combining Graph-Aware Importance Weighting (GAIW), a Relational Reward Surrogate (RRS), and a unified on-policy diffusion objective with actor-critic and self-distillation, our framework improves trajectory prioritization, rollout evaluation, and policy refinement in a coherent manner. Limitations and Future Work. Experiments on nuPlan and interPlan show that GRID-Planner consistently improves closed-loop performance, especially in reactive and interaction-intensive scenarios, while our current design still relies on hand-crafted graph weighting and a limited set of relational reward signals; future work will explore richer relational cues, more adaptive graph-based weighting, and more efficient on-policy optimization for large-scale real-world autonomous driving deployment.
Acknowledgment
This work was supported by the Fundamental and Interdisciplinary Disciplines Breakthrough Plan of the Ministry of Education of China under Grant No. JYB2025XDXM504; the National Natural Science Foundation of China under Grant Nos. 62573343 and 62088102; the National Basic Strengthen Research Program of ReRAM under Grant No. 2022-00-03; the Fundamental Research Funds for the Central Universities under Grant No. xzy012024066; and the Open-End Fund of Beijing Institute of Control Engineering under Grant No. OBCandETL-2024-04.
References
[1] Kevin Black, Michael Janner, Yilun Du, Ilya Kostrikov, and Sergey Levine. 2024. Training Diffusion Models with Reinforcement Learning. arXiv:2305.13301 [cs.LG] https://arxiv.org/abs/2305.13301
[2] Holger Caesar, Juraj Kabzan, Kok Seang Tan, Whye Kit Fong, Eric Wolff, Alex Lang, Luke Fletcher, Oscar Beijbom, and Sammy Omari. 2021. nuPlan: A Closed-Loop ML-Based Planning Benchmark for Autonomous Vehicles. arXiv preprint arXiv:2106.11810 (2021).
[3] Shaoyu Chen, Bo Jiang, Hao Gao, Bencheng Liao, Qing Xu, Qian Zhang, Chang Huang, Wenyu Liu, and Xinggang Wang. 2024. VADv2: End-to-End Vectorized Autonomous Driving via Probabilistic Planning. arXiv preprint arXiv:2402.13243 (2024).
[4] Jie Cheng, Yingbing Chen, and Qifeng Chen. 2024. PLUTO: Pushing the Limit of Imitation Learning-based Planning for Autonomous Driving. arXiv preprint arXiv:2404.14327 (2024).
[5] Jie Cheng, Yingbing Chen, Xiaodong Mei, Bowen Yang, Bo Li, and Ming Liu. 2023. Rethinking Imitation-based Planner for Autonomous Driving. arXiv preprint arXiv:2309.10443 (2023).
[6] Daniel Dauner, Marcel Hallgarten, Andreas Geiger, and Kashyap Chitta. 2023. Parting with Misconceptions about Learning-based Vehicle Motion Planning. In Conference on Robot Learning (CoRL).
[7] M. Hallgarten, J. Zapata, M. Stoll, K. Renz, and A. Zell. 2024. Can Vehicle Motion Planning Generalize to Realistic Long-Tail Scenarios?. In 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 5388–5395.
[8] Yihan Hu, Jingnan Yang, Li Chen, et al. 2023. Planning-Oriented Autonomous Driving. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[9] Zhiyu Huang, Peter Karkus, Boris Ivanovic, Yuxiao Chen, Marco Pavone, and Chen Lv. 2023. DTPP: Differentiable Joint Conditional Prediction and Cost Evaluation for Tree Policy Planning in Autonomous Driving. arXiv preprint arXiv:2310.05885 (2023).
[10] Zhiyu Huang, Haochen Liu, and Chen Lv. 2023. GameFormer: Game-theoretic Modeling and Learning of Transformer-based Interactive Prediction and Planning for Autonomous Driving. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV).
[11] Xiaosong Jia, Yulu Gao, Li Chen, Junchi Yan, Patrick Langechuan Liu, and Hongyang Li. 2023. DriveAdapter: Breaking the Coupling Barrier of Perception and Planning in End-to-End Autonomous Driving. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV).
[12] Xiaosong Jia, Penghao Wu, Li Chen, Jiangwei Xie, Conghui He, Junchi Yan, and Hongyang Li. 2023. Think Twice Before Driving: Towards Scalable Decoders for End-to-End Autonomous Driving. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[13] Xiaosong Jia, Zhenjie Yang, Qifeng Li, Zhiyuan Zhang, and Junchi Yan. 2024. Bench2Drive: Towards Multi-Ability Benchmarking of Closed-Loop End-To-End Autonomous Driving. In Advances in Neural Information Processing Systems.
[14] Bo Jiang, Shaoyu Chen, Qing Xu, Bencheng Liao, Jiajie Chen, Helong Zhou, Qian Zhang, Wenyu Liu, Chang Huang, and Xinggang Wang. 2023. VAD: Vectorized Scene Representation for Efficient Autonomous Driving. In Proceedings of the
IEEE/CVF International Conference on Computer Vision (ICCV).
[15] Chiyu Max Jiang, Andre Cornman, Cheolho Park, Benjamin Sapp, Yin Zhou, and Dragomir Anguelov. 2023. MotionDiffuser: Controllable Multi-Agent Motion Prediction Using Diffusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 9644–9653.
[16] Bencheng Liao, Shaoyu Chen, Haoran Yin, Bo Jiang, Cheng Wang, Sixu Yan, Xinbang Zhang, Xiangyu Li, Ying Zhang, Qian Zhang, and Xinggang Wang. 2025. DiffusionDrive: Truncated Diffusion Model for End-to-End Autonomous Driving. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[17] Shu Liu, Wenlin Chen, Weihao Li, Zheng Wang, Lijin Yang, Jianing Huang, Yipin Zhang, Zhongzhan Huang, Ze Cheng, and Hao Yang. 2026. BridgeDrive: Diffusion Bridge Policy for Closed-Loop Trajectory Planning in Autonomous Driving. In International Conference on Learning Representations (ICLR).
[18] Ashvin Nair, Abhishek Gupta, Murtaza Dalal, and Sergey Levine. 2021. AWAC: Accelerating Online Reinforcement Learning with Offline Datasets. arXiv:2006.09359 [cs.LG] https://arxiv.org/abs/2006.09359
[19] Xue Bin Peng, Aviral Kumar, Grace Zhang, and Sergey Levine. 2019. Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning. arXiv:1910.00177 [cs.LG] https://arxiv.org/abs/1910.00177
[20] Aditya Prakash, Kashyap Chitta, and Andreas Geiger. 2021. Multi-Modal Fusion Transformer for End-to-End Autonomous Driving. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[21] Oliver Scheel, Luca Bergamini, Maciej Wolczyk, Blažej Osiński, and Peter Ondruska. 2022. Urban Driver: Learning to Drive from Real-world Demonstrations Using Policy Gradients. In Conference on Robot Learning (CoRL) (Proceedings of Machine Learning Research, Vol. 164). 718–728.
[22] Hao Shao, Letian Wang, Ruobing Chen, Hongsheng Li, and Yu Liu. 2023. Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer. In Proceedings of The 6th Conference on Robot Learning (Proceedings of Machine Learning Research, Vol. 205). 726–737.
[23] Wenchao Sun, Xuewu Lin, Yining Shi, Chuang Zhang, Haoran Wu, and Sifa Zheng. 2024. SparseDrive: End-to-End Autonomous Driving via Sparse Scene Representation. arXiv preprint arXiv:2405.19620 (2024).
[24] Tianyi Tan, Yinan Zheng, Ruiming Liang, Zexu Wang, Kexin Zheng, Jinliang Zheng, Jianxiong Li, Xianyuan Zhan, and Jingjing Liu. 2025. Flow Matching-Based Autonomous Driving Planning with Advanced Interactive Behavior Modeling. In Advances in Neural Information Processing Systems (NeurIPS).
[25] Yuqi Wang, Jiawei He, Lue Fan, Hongxin Li, Yuntao Chen, and Zhaoxiang Zhang. 2024. Driving into the Future: Multiview Visual Forecasting and Planning with World Model for Autonomous Driving. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[26] Zhendong Wang, Jonathan J Hunt, and Mingyuan Zhou. 2023. Diffusion Policies as an Expressive Policy Class for Offline Reinforcement Learning. arXiv:2208.06193 [cs.LG] https://arxiv.org/abs/2208.06193
[27] Penghao Wu, Xiaosong Jia, Li Chen, Junchi Yan, Hongyang Li, and Yu Qiao. 2022. Trajectory-guided Control Prediction for End-to-end Autonomous Driving: A Simple yet Strong Baseline. In Advances in Neural Information Processing Systems (NeurIPS).
[28] Brian Yang, Huangyuan Su, Nikolaos Gkanatsios, Tsung-Wei Ke, Ayush Jain, Jeff Schneider, and Katerina Fragkiadaki. 2024. Diffusion-ES: Gradient-free Planning with Diffusion for Autonomous Driving and Zero-Shot Instruction Following. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[29] Yibo Yuan, Jianwu Fang, Yang Zhou, Zhao Yang, Chen Lv, and Jianru Xue. 2025. Causal-Planner: Causal Interaction Disentangling with Episodic Memory Gating for Autonomous Planning. In 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 335–341. doi:10.1109/IROS60139.2025.11245887
[30] Wenzhao Zheng, Ruiqi Song, Xianda Guo, Chenming Zhang, and Long Chen. 2024. GenAD: Generative End-to-End Autonomous Driving. arXiv preprint arXiv:2402.11502 (2024).
[31] Yinan Zheng, Ruiming Liang, Kexin Zheng, Jinliang Zheng, Liyuan Mao, Jianxiong Li, Weihao Gu, Rui Ai, Shengbo Eben Li, Xianyuan Zhan, and Jingjing Liu. 2025. Diffusion-Based Planning for Autonomous Driving with Flexible Guidance. In International Conference on Learning Representations (ICLR).