Introduction
While autonomous navigation on structured roads has matured, off-road construction tasks like "grading"—flattening uneven terrain studded with sand piles—remain a stubborn challenge. Grading requires a vehicle to constantly modify its environment, where soil behavior is often non-linear and irreversible. Traditional methods rely on rigid heuristics that fail to generalize to complex pile configurations. AGPNet addresses these limitations by providing a robust, learning-based path-planning algorithm capable of efficient multi-pile grading.
Methodology
AGPNet frames the grading task as a Markov Decision Process (MDP) utilizing a hierarchical action space. A high-level learned agent performs way-point planning by selecting destination and starting pixels from a terrain height-map. A low-level heuristic trajectory generator then executes the necessary motor commands to move the dozer between these points.
The training process employs a hybrid learning strategy:
- Behavior Cloning (BC): Bootstraps the policy using 150 episodes of data from a rule-based expert heuristic ("SnP").
- Reinforcement Learning (RL): Refines the policy via Proximal Policy Optimization (PPO), maximizing a multi-modal reward function that accounts for time, volume removed, and target height accuracy.
- Contrastive Learning (CL): Enhances feature detection in terrain embeddings through an unsupervised contrastive loss.
To further optimize training, a Gaussian masking layer is applied to the policy network (based on a YOLO-lite architecture). This acts as a spatial prior, focusing the agent's attention on immediate surroundings and significantly reducing the effective action space.
Experimental Results
The models were evaluated across three simulated scenarios: Initialization (starting from scratch), Continuous (grading new piles on existing areas), and Edge (clearing peripheral sand).
The hybrid RL+BC+CL model consistently outperformed all baselines. In the "Continuous" scenario, it achieved a total reward of 4101, nearly doubling the performance of the heuristic (2585) and pure BC (1584). Furthermore, the hybrid agent demonstrated superior precision, leaving a mean height error of $7.12 \times 10^{-5}$ in the "Init" scenario, compared to $1.15 \times 10^{-4}$ for the heuristic. Ablation studies confirmed that the YOLO-lite architecture with state-space down-sampling provided the optimal balance of memory efficiency and performance.
Conclusion
AGPNet demonstrates that combining imitation learning with reinforcement learning and spatial priors can solve complex earth-moving tasks that baffle pure RL or rigid heuristics. Our lightweight, Gaussian-based simulator effectively bridges the sim-to-real gap, as evidenced by physical prototype testing with a 1:9 scale dozer. Future work will focus on scaling this pipeline to full-sized industrial machinery and exploring more diverse soil compositions.
Summary updated