Week 40 · August 21, 2026

Drunk-Dagger Dataset Generation with Sigmoid Steering Replacement

August 21, 2026

Overview

The work this week focused on the generation and aggregation of new examples of strong (0.6) and medium (0.3) Drunk-Dagger, aiming to replace abrupt driving (bang-bang) with smooth sigmoid-like driving. This idea is based on articles [1], [2], and [3]: in [1], the use of bounded sigmoid/tanh activations allows successful transformation of complex sensory signals into continuous and stable control commands; in [2], sigmoid functions analytically and efficiently solve smooth lateral trajectory generation; and in [3], the sigmoid function is defined as a constraint barrier, eliminating the need to predefine rigid travel trajectories.

Dataset Composition Changes

The dataset composition was modified from:

--total-images 62000 --drunk-hard 0.00 --drunk-medium 0.00 --drunk-soft 0.25 --forward 0.45 --recup-lane 0.00 --recup-turn-left 0.00 --recup-turn-right 0.00 --recup-turn-right-departure 0.00 --turn-left 0.10 --turn-right 0.20

to:

--total-images 62000 --drunk-hard 0.125 --drunk-medium 0.125 --drunk-soft 0.00 --forward 0.45 --recup-lane 0.00 --recup-turn-left 0.00 --recup-turn-right 0.00 --recup-turn-right-departure 0.00 --turn-left 0.10 --turn-right 0.20

The total compositions are summarised in Table 1 below:

Composition Drunk-Hard (0.6) Drunk-Medium (0.3) Drunk-Soft Forward Turn Left Turn Right
Previous 0.00 0.00 0.25 0.45 0.10 0.20
New 0.125 0.125 0.00 0.45 0.10 0.20

For each combination, 5 different datasets were generated (seeds: 42, 123, 456, 789, and 999). In total, 80 datasets were generated and trained, maintaining the main idea of finding the composition with the best results, which is affected by randomness in dataset construction (hence the 5-seed sweep).

Best 3 Models: Compositions 7, 5, and 10

Below are driving videos for the 3 best-performing models:

Composition 7 – Seed 123
youtu.be/KLLU2jZvEFc
Composition 10 – Seed 42
youtu.be/t1cB-7i47ME
Composition 5 – Seed 456
youtu.be/iSq-x-nkqQY

📊 Results Summary

  • Oscillation-free driving: Models show driving without oscillations (improvement over previous datasets with strong and medium Drunk-Dagger).
  • Lane-keeping: Composition 7 (seed 123) achieved driving without lane departures; Compositions 5 and 10 had very few departures.
  • Correct turns: All models executed proper turning in curves.

⚠️ Remaining Issues

Recovery errors: None of the 3 models successfully achieves satisfactory right-lane recovery. In essence, recovery toward the right lane remains an unresolved challenge.

Note: The autonomous driving scripts include initial metrics such as percentage of driving in the correct lane or number of lane departures during turns. However, no "competitive" models have yet been obtained that can be compared using these metrics.

Robustness Study

Autonomous driving was performed with the 3 models above, but this time varying the initial position and orientation. The recordings of the best-performing runs are presented below:

📌 Key Finding

The results above show that models with the best performance when the vehicle's position and orientation are appropriate are also those that perform best when these variables represent different initial states.

Conclusions

  1. Sigmoid Driving Works: The results support the generation of Dagger datasets and recoveries with smooth sigmoid-like driving. This eliminates (almost entirely) oscillations in the best-performing autonomous driving models. It can be concluded that driving examples with smooth movements eliminate oscillations.
  2. Recovery Still an Issue: Despite the above, the expected lane recovery results have not yet been achieved. Trained models tend to take the left lane after turning or become confused in areas with plazas.

Proposed Work for Next Week

With the goal of achieving lane recovery, we aim to add stronger Dagger images (steering of 0.9 and 1.2) while maintaining the sigmoid-return philosophy.

📌 WEEK 40 SUMMARY – AUGUST 21, 2026

🎯 Objective: Generate and aggregate new examples of strong (0.6) and medium (0.3) Drunk-Dagger to replace abrupt driving with smooth sigmoid-like driving.

🧪 Approach: Modified dataset composition from 25% soft Drunk-Dagger to 12.5% hard + 12.5% medium Drunk-Dagger. Generated 80 datasets (5 seeds × 16 compositions).

📈 Top Models: Compositions 7 (seed 123), 10 (seed 42), and 5 (seed 456) yielded the best results.

Achievements: Oscillation-free driving, correct turns, and improved lane-keeping (Composition 7 achieved zero departures).

Limitations: Lane recovery remains unresolved; models tend to take the left lane after turns or get confused in plazas.

🔜 Next Steps: Incorporate stronger Dagger examples (steering 0.9 and 1.2) while maintaining the sigmoid-return philosophy.

References

  • [1] T. Onishi, T. Motoyoshi, Y. Suga, H. Mori, and T. Ogata, "End-to-end learning method for self-driving cars with trajectory recovery using a path-following function," in 2019 International Joint Conference on Neural Networks (IJCNN), Budapest, Hungary, 2019, pp. 1-8.
  • [2] X. Huang, W. Zhang, and P. Li, "A path planning method for vehicle overtaking maneuver using sigmoid functions," IFAC-PapersOnLine, vol. 52, no. 8, pp. 422-427, 2019.
  • [3] K. Sun, N. Zhang, Z. Li, H. Ding, H. Zhang, and C. Jiang, "Improved MPC for trajectory planning of self-driving cars," PLOS ONE, vol. 20, no. 6, p. e0320359, Jun. 2025.

— Armando Mateus, Robotics Lab URJC