D3DWA: Adaptive Weight and Prediction-Horizon for Dynamic Window Approach via Dueling Double Deep Q-Network

The University of Osaka / Kobe University

Zahra Jooyandeh*, Masato Kobayashi*, Yuki Uranishi
* Co-first authors equally contributed to this work.
Overview

Abstract:
The Dynamic Window Approach (DWA) is widely used for local navigation, but its performance depends strongly on parameters that are typically fixed before navigation. In particular, the appropriate prediction horizon can vary with local free space: longer horizons support efficient motion in open areas, whereas shorter horizons help preserve feasible motions in narrow or cluttered regions. This paper proposes D3DWA, an adaptive DWA framework based on a Dueling Double Deep Q-Network (D3QN), which jointly selects the DWA evaluation weights and prediction horizon from a continuous navigation state at every control step while retaining DWA’s trajectory generation and collision checking. In eight simulated environments, including unseen layouts, D3DWA reached every goal. Real-robot experiments further showed that D3DWA completed all three tested configurations, including a constrained case in which the weights-only variant timed out. These results demonstrate the benefit of jointly adapting the evaluation weights and prediction horizon.

Concept of D3DWA
Concept of D3DWA

Conventional DWA fixes its evaluation weights and prediction horizon before navigation, but the right values change with the free space along a route: long horizons suit open areas, while short horizons keep motions feasible in narrow or cluttered regions. D3DWA lets a Dueling Double Deep Q-Network (D3QN) choose both at every control step, while DWA itself still generates the trajectories, checks collisions and issues the velocity command.

System Overview of D3DWA
System Overview

At every control step (10 Hz), a body-frame observation is built from the lidar scan and wheel odometry — goal distance and bearing, the robot’s velocities, and the nearest obstacle range in 8 angular sectors. The D3QN agent maps this state to one of 100 discrete actions, each decoding to three evaluation weights (progress, clearance, speed) and a prediction horizon of 2–5 s. The DWA planner then scores its candidate trajectories with those parameters and executes the best velocity command.

Why the Horizon Matters

A short horizon (2–3 s) stays reactive and keeps motions feasible in narrow, cluttered areas, while a long horizon (5 s) commits to direct, efficient paths in open space. A single route can contain both, so a horizon fixed before navigation can be a compromise.

Simulation

Evaluation Environments
Evaluation Environments — TS1–TS4 trained, US1 and H1–H3 unseen

TABLE I. Simulation results. TL and PD denote trajectory length and movement posture displacement. T denotes timeout. Best values in each environment and metric are shown in bold.

MethodTS1TS2TS3TS4US1H1H2H3
TimeTLPDTimeTLPDTimeTLPDTimeTLPDTimeTLPDTimeTLPDTimeTLPDTimeTLPD
DWA I (1,1,2)18.533.580.93TTTT22.117.305.25TT
DWA II (1,2,1)40.426.9014.7629.657.093.6129.204.516.41TT51.198.045.2324.326.844.07T
DWA III (2,1,1)17.083.580.90T29.484.405.58T47.635.297.2224.456.011.7922.035.131.7351.1511.8313.42
DQDWA16.593.580.96T49.439.5417.23T46.095.386.9558.419.8613.5321.565.141.81T
D3DWA (w/o horizon)18.053.590.92T28.564.425.90T37.395.817.3536.4510.0410.2625.266.674.7037.829.956.26
D3DWA (proposed)17.013.590.8829.227.023.6224.114.014.4644.129.737.7235.734.939.4619.276.262.8125.855.647.5332.8410.045.95

Trajectories

Executed trajectories in all eight environments, coloured by elapsed time. The robot starts at the origin and the goal is marked in red.

Executed trajectories of DWA I
DWA I (1,1,2) — fixed parameters
Executed trajectories of DWA II
DWA II (1,2,1) — fixed parameters
Executed trajectories of DWA III
DWA III (2,1,1) — fixed parameters
Executed trajectories of DQDWA
DQDWA — tabular baseline
Executed trajectories of D3DWA without horizon adaptation
D3DWA (w/o horizon) — weights-only ablation
Executed trajectories of D3DWA
D3DWA (proposed) — top: elapsed time, bottom: selected prediction horizon

The agent picks long horizons in open stretches and short ones in tight spots — TS2 switches from 5 s to 2 s at the turn into the narrow goal region, exactly where the weights-only variant, fixed at 4 s, times out.

Real World Experiments

Real-robot experimental setup
Real-Robot Setup (Kachaka) — policies transferred from simulation without fine-tuning

TABLE II. Real-robot results. One trial per condition. T denotes timeout. Best values for each case and metric are shown in bold.

MethodCase R1Case R2Case R3
TimeTLPDTimeTLPDTimeTLPD
DWA I (1,1,2)12.453.141.35T19.385.894.07
DWA II (1,2,1)TT24.764.455.07
DWA III (2,1,1)19.103.432.93T22.624.335.19
DQDWA13.993.081.4120.223.365.1024.276.026.18
D3DWA (w/o horizon)14.913.221.72T38.705.5111.64
D3DWA (proposed)13.703.041.2015.702.982.7717.524.615.52

In R2, only DQDWA and D3DWA reached the goal — the weights-only ablation timed out. In R3, D3DWA had the shortest navigation time — 27.8 % shorter than DQDWA and 54.7 % shorter than the ablation.

Case R1 Trajectories
Case R1
Case R2 Trajectories
Case R2
Case R3 Trajectories
Case R3
D3DWA trajectories coloured by prediction horizon
Prediction Horizon Selected by the Agent

Summary

  • D3DWA jointly adapts the DWA weights and prediction horizon with a Dueling Double DQN, leaving DWA’s trajectory generation and collision checking intact.
  • It reached every goal in all 8 simulated environments and was fastest in 6.
  • On a real robot it completed all 3 cases, including the narrow R2 where the weights-only ablation failed — horizon adaptation is what the weights alone cannot provide.

Citation

coming soon

Contact

Masato Kobayashi (Assistant Professor, The University of Osaka, Kobe University, Japan)

* Corresponding author: Masato Kobayashi