Style-Contingent Convex Planning: Hedging Homotopy Choices Against Uncertain Driver Styles

When a self-driving car merges or turns across traffic, it must decide topologically before it decides metrically: does it pass in front of that car or behind it? Each such choice (a "homotopy", one of the discrete ways to route around another agent) carves the non-convex planning problem into a convex one that a quadratic program solves exactly. The right choice, however, depends on who is driving the other car. A conservative driver will yield and open the gap. An aggressive one will close it. Current hybrid planners pick the homotopy as if all surrounding vehicles were identical moving obstacles. Current style-aware game planners either assume they know each driver's style or solve a non-convex game that gets stuck in local equilibria.

We propose to treat the other driver's style as an uncertain, discrete-to-low-dimensional latent, and to plan against it with a contingency program. For each candidate homotopy, the planner solves one convex quadratic program. That program contains a separate trajectory branch for each style hypothesis, forces all branches to share the same first few control steps, and weights them by an online posterior over style. The core claim is that behavioral heterogeneity and non-convexity can be handled by the same move. The difficulty factors into a product of a small discrete topology choice and a small discrete style hypothesis, and inside each cell of that product the problem is convex. The planner therefore commits only to what it must commit to now, and it defers the style-dependent parts of the maneuver until the other driver reveals itself.

Core Claim and Mechanism

Fix a homotopy $h$, meaning a before/after assignment for each relevant neighbor. Fix a small set of style hypotheses $\sigma \in \{1,\dots,S\}$, each describing how neighbor $j$ reacts to the ego vehicle. We model reactions as affine in the ego plan: $s^\sigma_j = a^\sigma_j + B^\sigma_j x$. Here $s^\sigma_j$ is the neighbor's predicted longitudinal progress along the conflict path, $x$ is the ego trajectory, and $(a^\sigma_j, B^\sigma_j)$ are obtained by linearizing a style-parameterized car-following response around the current state. A conservative $B^\sigma_j$ yields when the ego advances. An aggressive one barely responds. With these ingredients the planner solves

$$ \min_{x^1,\dots,x^S} \sum_{\sigma=1}^{S} b_t(\sigma)\, J(x^\sigma) \quad \text{s.t.}\quad G_h\big(x^\sigma - a^\sigma - B^\sigma x^\sigma\big) \le g_h,\;\; x^\sigma_{0:k} = x^{\sigma'}_{0:k}\;\; \forall \sigma,\sigma', $$

In this program, $J$ is a convex quadratic cost for comfort and progress, $b_t(\sigma)$ is the current posterior probability of style $\sigma$, and $G_h, g_h$ are the linear before/after bounds implied by homotopy $h$. The final constraint makes the first $k$ steps identical across branches, so the car executes one plan now and keeps style-specific futures in reserve.

Everything in the program is linear or quadratic, so the solution is globally optimal within $(h, \text{style set})$. The planner solves the program for the top $M$ homotopies proposed by a learned predictor and executes the lowest-value one. The posterior $b_t$ is updated recursively from observed kinematics: a particle filter over an aggressiveness index. When the posterior is sharp, the program collapses to a certainty-equivalent plan. When the posterior is flat, the program penalizes homotopies whose aggressive branch is infeasible or expensive. The planner then prefers maneuvers it can abort cheaply.

Relation to Prior Work

Two papers supply the method. Learning Homotopy Prediction for Optimization-Based Trajectory Planners for Autonomous Driving shows that a transformer predicting per-obstacle bounds (pass before, pass after, ignore) turns intersection planning into a convex QP. It reaches 95.5% success in a SUMO unsignalized intersection. Its obstacles are homogeneous, its QP is open-loop, and it fixes one homotopy. We reuse its predictor to propose candidate homotopies, but we add style-dependent reaction branches and a hedge across them. Adaptive Probabilistic Vehicle Trajectory Prediction Through Physically Feasible Bayesian Recurrent Neural Network supplies recursive online estimation of latent style. We use that estimate as the branch weights rather than as a prediction output.

Three lines of work motivate the gap by modeling heterogeneity with complete information or with local solvers. Human-Like Decision Making for Autonomous Driving: A Noncooperative Game Theoretic Approach fixes three style weightings mined from NGSIM and plans with potential fields plus model predictive control, which can trap. Driving Conflict Resolution of Autonomous Vehicles at Unsignalized Intersections: A Differential Game Approach uses a continuous aggressiveness index but assumes it is communicated over vehicle-to-everything links. ALGAMES: A Fast Solver for Constrained Dynamic Games solves constrained games at over 60 Hz but assumes known objectives and converges to initialization-dependent local equilibria. We avoid the non-convex game entirely: we give up equilibrium reasoning in exchange for global optimality per cell and explicit uncertainty over style.

Reasoning Multi-Agent Behavioral Topology for Interactive Autonomous Driving is the closest competitor. BeTopNet reasons over yield/pass topologies and learns contingent futures by imitation. Its contingencies come from a network decoder, however, and they carry no feasibility guarantee. Ours are solutions of a convex program with hard constraints. When Is Diversity Rewarded in Cooperative Multi-Agent Learning? links heterogeneity to reward curvature only in cooperative settings, so it does not constrain our non-cooperative traffic setting. StyleDrive: Towards Driving-Style Aware Benchmarking of End-To-End Autonomous Driving supplies ground-truth style tokens rather than inferring them, and it evaluates without reactive agents. Both limitations are exactly what our setting targets.

Research Program

We will build four components. The first is a style-parameterized reactive agent model: an intelligent-driver-style car-following law whose headway, acceleration and yield-willingness are driven by an aggressiveness index. Its affine linearization supplies $(a^\sigma, B^\sigma)$. The second is a particle-filter style estimator fed by speed, acceleration variance and headway, the features the Hang et al. work shows separate styles. The third is the contingency QP above, solved for the top $M$ homotopies with $S=3$ style particles. The fourth is a SUMO intersection and merge environment in which background drivers sample aggressiveness from a spread distribution and react to the ego vehicle, which closes the reactivity gap that StyleDrive notes.

The analysis has two parts. We will characterize when the hedge helps, predicting that the advantage over certainty-equivalent planning grows with posterior entropy and with how often the best homotopy flips between style hypotheses. We will also measure how errors in the affine reaction linearization degrade safety.

Baselines

The naive reference is the original homotopy-prediction planner run unchanged in our heterogeneous environment, with no style input and one QP. Its authors report 95.5% success and 88% on high-traffic left turns in their homogeneous SUMO setting. We expect a drop once background drivers vary in aggressiveness, and we will measure that drop ourselves on identical seeds.

The strongest learning-based competitor is BeTopNet from the official OpenDriveLab/BeTop code. It is trained on the same simulated data as our homotopy predictor, with matched GPU hours and tuning budget. For context, its paper reports a +3.8% gain over prior methods on nuPlan Test14-Inter. That is a relative figure, and no absolute score for it appears in the file.

The strongest optimization-based competitor is ALGAMES given the estimated style weights from our particle filter, which is certainty-equivalent game solving. Its paper reports 96% merge success in frozen-robot scenarios where standard MPC failed 85% of the time, and 99.5% convergence. We will rerun it in our environment rather than compare against those figures.

Two ablations isolate the key ingredient. The first gives the homotopy predictor the style posterior as an input feature and solves a single QP. The second keeps our branch structure but uses the maximum-a-posteriori style only, which removes the hedge. Our method counts as beating the field if it improves success rate and lowers collision rate over the best of these at equal or lower planning latency. The gain should be concentrated in high-entropy, style-sensitive episodes.

Why not just…?

Why not just feed the style estimate into the homotopy predictor? This is the real threat, and it is Gap 2 in its obvious form. A style-conditioned predictor picks one homotopy and one QP, so when the posterior is flat it must still bet. Our claim is that the non-anticipative hedge matters precisely there. The first ablation settles the question: if it matches our method in high-entropy episodes, the contingency program adds nothing, and we would report that result.

Why not just plan against the worst-case (aggressive) driver? Treating everyone as non-yielding recreates the frozen robot. The ALGAMES paper documents MPC failing 85% of the time in dense merges when others are treated as non-reactive, and the homotopy paper reports rule-based time-to-collision planning falling to 38% on high-traffic left turns. We include a worst-case variant, $b_t$ fixed on the aggressive style, to show this directly.

Why not just learn end-to-end with style conditioning? DiffusionDrive-Style on StyleDrive raises SM-PDMS from 79.33 to 84.10. That evaluation, however, is non-reactive and uses given style labels. Behavior cloning in the homotopy paper's intersection reaches only 79.0% success with a 21% collision rate. We include a behavior-cloning baseline, trained on the same data, in our reactive environment.

Why not just solve the full game with a better initializer? Multi-start ALGAMES might find better equilibria, but its cost grows with the number of starts. It still needs point estimates of others' objectives. Our comparison against ALGAMES reports latency alongside success, so the trade-off is visible.

Proposed Experiments and Decisive Checks

The primary testbed is the SUMO unsignalized intersection from the homotopy-prediction paper, extended with reactive heterogeneous drivers, plus a three-car ramp merge mirroring the ALGAMES scenario. Metrics are success rate, collision rate, time-to-goal, minimum post-encroachment time, and planning latency, reported over 1,000 seeded episodes per condition.

We will validate the style estimator separately on StyleDrive by hiding the provided style labels and measuring how quickly the posterior identifies them from short histories. We will also transfer the planner to nuPlan Test14-Inter to check that gains survive log-based agents.

Three checks are decisive. First, we bin episodes by style-posterior entropy at the moment of commitment; the method must beat the style-feature ablation specifically in the high-entropy bins. Second, a misspecification sweep, where the true background style distribution departs from the filter's prior, must show graceful degradation rather than collision spikes. Third, the latency of $M \times S$ small QPs must stay within real-time budgets comparable to ALGAMES' reported 66–69 Hz. If the first check fails, the contribution reduces to a style-conditioned homotopy predictor, and we will say so.