# MILER: Semantic Mid-Level Representation for Sim-to-Real Reinforcement Learning in Unstructured Autonomous Driving

Robotics.world

> Training autonomous-driving policies with reinforcement learning in the real world is unsafe, so training happens in simulation — but simulated sensors and vehicle dynamics rarely match reality, and…

**arXiv**: 2609.20747 · Preprint · not peer-reviewed

**Published**: 2026-09-17

**Authors**: Thomas Steinecker, Denis Trescher, Alexander Bienemann, Thorsten Luettel, Mirko Maehlisch

## In plain words

Training autonomous-driving policies with reinforcement learning in the real world is unsafe, so training happens in simulation — but simulated sensors and vehicle dynamics rarely match reality, and this gap is especially large in unstructured terrain such as gravel, grass, and obstacle-strewn tracks.

## AI summary

## Overview

- **Research area:** Robotics — reinforcement learning for autonomous driving, specifically sim-to-real transfer for off-road / unstructured environments.
- **Technical level:** Advanced. The paper assumes familiarity with reinforcement learning (PPO, reward shaping, curriculum learning), bird's-eye-view perception, and vehicle dynamics, though the core ideas can be followed without that background.
- **Scope (one sentence):** The paper presents MILER, an end-to-end reinforcement-learning driving policy trained entirely inside a lightweight semantic "mid-level representation" simulator and deployed zero-shot on two real vehicles, using BEVFusion perception and a trajectory-alignment controller to bridge the simulation-to-reality gap.

## What This Paper Is About

Training autonomous-driving policies with reinforcement learning in the real world is unsafe, so training happens in simulation — but simulated sensors and vehicle dynamics rarely match reality, and this gap is especially large in unstructured terrain such as gravel, grass, and obstacle-strewn tracks. MILER sidesteps high-fidelity rendering entirely: the policy learns from simplified semantic bird's-eye-view maps plus a simple bicycle model, and at deployment the real vehicle's camera/LiDAR are converted into the *same* kind of semantic BEV while a virtual vehicle absorbs the policy's actions. The goal is a single policy that drives real vehicles through previously unseen unstructured tracks without any human intervention or real-world fine-tuning.

## Key Contributions

1. **A semantic mid-level representation (MLR) simulator for unstructured environments** that removes the need to model textures, lighting, or sensor physics, substantially reducing the modelling effort required to build training environments.
2. **MILER, a zero-shot sim-to-real framework** that trains the policy in a highly abstract simulation (bicycle model plus MLR) and deploys it on two different real vehicles with little to no vehicle-specific adaptation — the only training-time vehicle-specific parameter is the wheelbase.
3. **An extension of trajectory-alignment sim-to-real transfer to spatial mid-level perception inputs**, showing how BEV-style representations can be aligned between the real and virtual vehicle frames by direct translation and rotation rather than re-rendering sensors.
4. **An extensive real-world evaluation** on a 3.0 km test track with obstacles, hairpin curves, off-road sections and speeds up to 33.6 km/h, totalling 17.3 km driven without human intervention across two vehicles, with the whole stack running on a Jetson AGX Orin. The authors state this is, to their knowledge, the first demonstration of a velocity above 30 km/h for a vehicle-sized, reinforcement-learning-based autonomous-driving application in an unstructured environment.

## Main Findings

- **Zero-shot deployment succeeded:** Both vehicles (MuCAR-4 as vehicle A, MuCAR-3 as vehicle B) drove the 3.0 km track three times each without human intervention, for a total of 17.3 km.
- **Top speed of 33.6 km/h:** Vehicle A reached its maximum speed on the straight without notable oscillations and reduced speed for curves. The paper frames this as the first RL-based, vehicle-sized demonstration above 30 km/h in unstructured terrain.
- **Aggregate metrics (Table III):** Vehicle A: mean velocity 4.36 m/s, max 9.33 m/s, mean cross-track deviation 0.96 m, max 5.16 m, 33.4 min driving time, max centripetal acceleration 2.19 m/s². Vehicle B: mean velocity 4.19 m/s, max 9.02 m/s, mean cross-track deviation 1.06 m, max 6.16 m, 31.8 min, max centripetal acceleration 2.19 m/s².
- **One failure, attributed to perception conditions:** Vehicle B stopped during its third round because of overly conservative obstacle prediction — it could no longer fit through a narrow gap that it had passed in the second round; the authors attribute this to rainfall and darker evening conditions changing BEV appearance.
- **Perception differences matter more than hardware differences:** In an ablation on a simpler 1.8 km paved track with no obstacles, feeding both vehicles identical BEVs derived from an OpenDRIVE HD map gave a mean Euclidean trajectory distance of 0.078 m and a mean velocity difference of 0.150 m/s, versus 0.124 m and 0.317 m/s using the original deployed BEVFusion BEVs.
- **The trajectory-alignment mechanism is necessary:** Removing it and applying control outputs directly (deriving acceleration and steering rate from jerk and steering-rate change) produced strong oscillations and delayed maneuvers, and vehicle B failed to navigate the first curve of the track.
- **Physics-consistent action space helps smoothness:** Using jerk and change in steering rate as actions makes the RL problem harder but bridges inertia and delay effects of the real vehicle and yields smoother policies.
- **Behaviour learned from the reward:** The agent slows down in tall grass as intended by the terrain-based velocity limit, keeps left of the path when near obstacles, and waits for a gap rather than leaving the road through poles and bushes.
- **Training cost:** 10⁹ samples (more than 2×10⁶ episodes) took approximately 68 hours on a single NVIDIA A100. Deployment inference runs at a mean of 1.9 ms after ONNX export and TensorRT compilation on the Jetson AGX Orin.
- **Learning limit:** Even after one billion samples, the agent does not discover human-like maneuvers such as swinging out before a hairpin or slowing for a second barrier at the same reduced speed used for the first.

## Methodology in Plain English

**Training in a deliberately simple world.** Instead of building photorealistic 3D scenes and rendering cameras and LiDAR, the authors jump straight to the final product: a top-down semantic map. Each map cell is one of four classes — Drivable (paved roads and gravel), Semi-drivable (grass and tall grass), Non-drivable (obstacles and stationary vehicles), and None (unknown, kept for deployment). Maps are generated with a Minecraft-inspired technique that overlays Perlin-noise layers at different grid sizes; 3,800 maps of 500 m × 500 m at 0.4 m resolution were produced. On each map, a graph of connected nodes is built, two nodes are picked at random, and a route between them becomes the target waypoints, smoothed with a Curvature Corrected Moving Average. The agent is spawned with Gaussian noise on position, heading, velocity, acceleration, steering angle, and steering rate so it cannot overfit to perfect starting conditions.

**What the policy sees and does.** The observation is a single 60 m × 60 m bird's-eye-view grid at 25 cm × 25 cm resolution, one-hot encoded by class, with the route rasterized into an extra channel so obstacles and the intended path share one spatial frame. Alongside it the network receives the vehicle state (velocity, acceleration, steering angle, steering rate), the previous action, a target velocity, the next 80 waypoints spaced 1 m apart, and the remaining path length. Actions are the jerk and the change in steering rate, which are integrated twice before affecting the pose — a coarse but smooth parameterization. A CNN (five stride-2 convolutions, one 5×5 followed by four 3×3, with 32/64/128/128/256 channels) encodes the BEV; a small MLP encodes the 168 remaining state values; the two are fused and decoded by separate actor and critic heads.

**Reward and training.** The reward is built around progress along the target waypoints, clipped by the target velocity and gated by a Gaussian on lateral deviation, with additive terms for matching the target velocity and heading, and penalties for non-smooth acceleration and steering rate. A "safe velocity" penalty takes the minimum of three limits: a centripetal-acceleration cap, a clearance limit that ramps up between 0.25 m and 4 m from obstacles, and a terrain limit that interpolates between 1.5 m/s and the maximum velocity based on the fraction of Drivable cells under the vehicle. Collisions and leaving the bounds terminate the episode with a penalty; stopping short of the goal earns nothing; stopping at the goal earns a Gaussian reward in both remaining distance and final heading error. Training uses PPO with curriculum learning (penalty coefficients ramped over the first 2% of training), a factorized 5×5 discrete action head, an undiscounted objective (γ = 1), and state normalization computed from 50,000 random-policy samples and baked into the network.

**Bridging to the real vehicle.** At deployment, BEVFusion turns camera and LiDAR data into a semantic BEV matching the simulator's format. Rather than sending the policy's actions to the real car — which the authors show causes oscillation and failure — they maintain a *virtual* vehicle that starts at the real vehicle's pose and receives the policy's actions through the same bicycle model. The real BEV and waypoints are transformed into the virtual vehicle's frame (with a circular crop of radius ½·W_BEV − d_max to remove rotational and translational artifacts near the boundary), and longitudinal and lateral controllers including a Stanley controller steer the real car to track the virtual one. Kinematic limits (max 12.0 m/s, ±2.0 m/s² acceleration, ±2.0 m/s³ jerk, ±0.44 rad steering, ±0.2 rad/s steering rate, ±0.2 rad/s² steering-rate change) are set conservatively so the simulated vehicle is never more capable than the real ones.

## Why This Matters

**Impact on research.** The paper shows that high-fidelity rendering is not a prerequisite for sim-to-real transfer in unstructured driving: a semantic mid-level representation can serve as a shared language between simulation and deployment, and trajectory alignment can be extended from control to spatial perception inputs. It also sets a concrete speed benchmark (33.6 km/h) against prior RL off-road work such as TADPO (mean real-world speed of 3.41 m/s, approximately 12.3 km/h, rather than an explicit maximum) and provides a diagnostic ablation isolating BEV-semantics differences from hardware differences between vehicles.

**Real-world applications:**

- Off-road and field robotics: agricultural vehicles, forestry and survey machines operating on gravel, grass, and tall grass where lane markings do not exist.
- Military and emergency logistics: convoying or resupply on unpaved, obstacle-strewn terrain, consistent with the paper's dtec.bw / Bundeswehr funding context.
- Mining, construction, and site inspection: driving between containers, barriers, poles and vegetation where a coarse semantic map is often already available.
- Rapid policy transfer across heterogeneous fleets: the demonstration that one policy trained with a single wheelbase transfers to vehicles of 1.8 t and 2.5 t suggests lower integration cost when retrofitting existing platforms.

**Industry relevance.** Training in a lightweight abstract simulator (68 hours on one A100) is far cheaper than authoring photorealistic environments, and the entire deployed stack fits on a Jetson AGX Orin with 1.9 ms inference — both are practical constraints for production autonomous systems. The finding that BEV semantic consistency, not vehicle dynamics, dominates cross-vehicle residual error also points industry teams toward where to invest calibration and perception effort.

## Future Directions

- **Better exploration or human data:** The authors explicitly plan to investigate improved exploration techniques or incorporate recorded human-driving data so the agent can learn sophisticated maneuvers such as swinging out before a hairpin curve.
- **Longer perception range:** The observed velocity ceiling — even when target velocities above 40 km/h were requested — is attributed to the limited 60 m BEV range relative to braking distances (21.4 m at 30 km/h and 28.4 m at 35 km/h given the −2.0 m/s³ jerk and −2.0 m/s² acceleration limits).
- **Dynamic agents:** Incorporating other moving traffic participants, which the current formulation does not model.
- **Robustness of the perception half of the transfer:** The vehicle B stop under rain and darkness, caused by overly conservative obstacle prediction, points to weather- and lighting-robustness of the BEVFusion-to-BEV pipeline as an open problem.
- **Waypoint authority trade-off:** How much freedom the planner should have to deviate from the target waypoints, given that areas initially perceived as drivable may later be reclassified as semi-drivable or non-drivable.

## Target Audience

Robotics and autonomous-driving researchers working on sim-to-real transfer, reinforcement learning for control, or off-road navigation; engineers building end-to-end driving stacks who want a concrete example of aligning perception representations between simulation and a real vehicle; and graduate students looking for a well-instrumented case study that includes negative ablations (direct control application, identical-BEV comparison) alongside positive results. Readers without an RL background can still follow the system architecture and the real-world evaluation, but the reward design and training details assume familiarity with PPO.

## Authors’ abstract

Reinforcement learning constitutes a promising approach owing to its potential for superhuman performance and self-learned policies. However, its application to real-world autonomous driving remains scarce, particularly in unstructured environments, because of the challenges associated with sim-to-real transfer for unstructured environments. In this work, we present MILER, an end-to-end policy framework with zero-shot sim-to-real transfer. During offline training, we employ…

[The full abstract on arXiv](https://arxiv.org/abs/2609.20747)

[Read the original paper](https://arxiv.org/abs/2609.20747)

## Related papers

- [A Multi-Vehicle Dataset with Camera, LiDAR, and Radar Sensors and Scanned 3D Models for Custom Auto-Annotation using RTK-GNSS](https://robotics.world/paper/a-multi-vehicle-dataset-with-camera-lidar-and-radar-sensors-and-scanned-2609.12871) 2026-09-11 · cs.RO · Also by Mirko Maehlisch
- [Safety-Oriented Trajectory Ranking from BEV Perception Outputs](https://robotics.world/paper/safety-oriented-trajectory-ranking-from-bev-perception-outputs-2610.14066) 2026-10-07 · cs.RO · Also by Mirko Maehlisch
- [RoadWeaver: Large-Scale Lane-Level HD Map Generation from Scratch for Autonomous Driving Simulation](https://robotics.world/paper/roadweaver-large-scale-lane-level-hd-map-generation-from-scratch-for-2608.11580) 2026-08-12 · cs.RO · Key terms of the title in common
- [IntNet: A Communication-Driven Multi-Agent Reinforcement Learning Framework for Cooperative Autonomous Driving](https://robotics.world/paper/intnet-a-communication-driven-multi-agent-reinforcement-learning-2610.34466) 2026-10-25 · cs.RO · Key terms of the title in common
- [Ego2Flow: Benchmarking the Traffic-System Impact of Autonomous Driving on Maps Distilled from Real-World Roads](https://robotics.world/paper/ego2flow-benchmarking-the-traffic-system-impact-of-autonomous-driving-2611.17720) 2026-11-13 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/miler-semantic-mid-level-representation-for-sim-to-real-reinforcement-2609.20747
