Procedural Adversarial Learning

Jack Nugent, Jia DengarXiv 2026 · arXiv

TL;DR

Procedural Adversarial Learning (PAL) moves beyond fixed datasets by using code-based generators to "hunt" for a model's worst-case failures. By training against an adversary that searches for difficult scene configurations (like specific lighting or poses) using evolution strategies, the authors' Simple-PAT algorithm reduces worst-case error by over 3x compared to standard training.

What Problem Does This Paper Address?

Most computer vision models are trained to minimize average error on a fixed dataset. While they perform well on typical images, they often fail catastrophically on "simple" scenes that happen to fall into a model's blind spots—think of a self-driving car failing because of a specific combination of sun glare and pedestrian pose.

The challenge is that these failure cases are rare and unlikely to be captured in a static dataset. Traditional adversarial attacks (perturbing pixels) often create "unphysical" images that don't represent real-world risks. This paper addresses the need for worst-case robustness: how to systematically find and fix failures within the infinite space of physically valid scenes.

Methods

The authors propose a minimax framework called Procedural Adversarial Learning (PAL). Instead of a static dataset, they use a procedural generator—a program that takes a vector of parameters (e.g., light angle, object position, body proportions) and renders a 3D scene with perfect ground-truth labels.

The core contribution is the Simple-PAT (Procedural Adversarial Training) algorithm:

  • The Adversary: Uses CMA-ES (Covariance Matrix Adaptation Evolution Strategy), a zeroth-order optimizer, to search the generator's parameter space. It looks for configurations that maximize the model's loss.
  • The Learner: Trains the neural network on a mix of these "adversarial" samples and uniform random samples to ensure both robustness to failures and good performance on typical cases.
  • Computation Reuse: Unlike standard adversarial training which often throws away the "search" samples, Simple-PAT uses the samples generated during the adversary's search to update the model, maintaining high training throughput.

Datasets

The authors introduce PAL-Dojo, a suite of four efficient procedural generators designed for rapid training and evaluation:

  1. Normals: Estimating surface normals on complex, wavy heightfields.
  2. Chair-Simple: Segmenting a single chair in a room (13 control parameters).
  3. Chair-Full: A complex scene with up to 8 objects on a grid (69 control parameters).
  4. Pose: Human pose estimation using a model with adjustable identity and pose archetypes (49 control parameters).
Samples from the PAL-Dojo generators showing the scene and ground truth labels.

Key Insights and Ideas

  • Searchability of Procedural Space: Unlike raw pixel space, the parameters of a procedural generator (like "sun elevation") tend to vary the scene's difficulty smoothly. This makes the space much easier for optimization algorithms to navigate.
  • The "Blind Spot" of Foundation Models: The authors tested state-of-the-art foundation models (like SAM 3 for segmentation and MoGe-2 for normals) on PAL-Dojo. Despite being trained on massive datasets, these models still exhibited severe failures on simple procedural scenes, with worst-case errors often 270x higher than their median errors.
  • Cross-Model Adversaries: The paper finds that a "cross-model" adversary (pooling failure cases found for multiple different models) is much stronger than searching against a single model. This suggests that different training runs often share similar hidden weaknesses.

Key Results

Simple-PAT consistently outperformed standard training and robust baselines like CVaR (Conditional Value at Risk) and Tilted ERM.

  • Worst-Case Reduction: Against a massive 50-million-query adversary, Simple-PAT reduced worst-case error by a geometric mean of 3.15x compared to standard training and 2.63x compared to the strongest baseline.
  • Visual Impact: As shown in the figure below, models trained with Simple-PAT produce much cleaner predictions on scenes that completely baffle "Uniform" models.
Figure 1: We compare Simple-PAT to training methods that uniformly sample data for each mini- batch. Left: Simple-PAT reduces worst-case error more effectively than uniform training and alter- native methods. Right: Simple-PAT models perform much better on cases uniformly trained models found challenging. Uniform refers to the “Uniform (Muon)” setting, which is the stronger of the uniform training methods.
  • Efficiency: Simple-PAT concentrates training samples in the most difficult 0.1% of the parameter space at a rate 176x higher than uniform sampling, effectively "fast-forwarding" the discovery of edge cases.

Limitations and Future Work

  • Dimensionality: In the most complex task (Chair-Full, 69 dimensions), the single-model adversary sometimes failed to find the absolute worst cases, which were only uncovered by the cross-model pool. This suggests that as scene complexity grows, we need even more powerful search algorithms.
  • Generator Realism: While PAL-Dojo is efficient, the scenes are visually simple. A natural next step is applying PAL to hyper-realistic procedural worlds (like Infinigen) to see if these robustness gains translate to high-fidelity environments.
  • Adversary Scaling: The authors suggest that future work could exploit the "shared structure" of model failures to create even more efficient adversaries that don't need to start their search from scratch for every new model.

Summary updated

Abstract

For many computer vision tasks, neural networks can be trained to produce a low average error, yet they still fail on seemingly simple scenes. Reducing these failures requires first finding them, but they may not be in a fixed dataset. We study procedural adversarial learning (PAL), a framework of minimax training and adversarial evaluation which searches the input space of a procedural generator for difficult instances. The procedural generator is an interpretable program mapping a low-dimensional vector of control parameters (e.g. layout, lighting, pose) to a rendered image and its label. We introduce the Simple-PAT algorithm, which uses zeroth-order optimization in the procedural generator's parameter space to propose adversarial training samples that are generated on demand. We also create PAL-Dojo, a collection of efficient procedural generators for surface normal estimation, image segmentation, and human pose estimation. Against a cross-model black-box adversary with 50M aggregate queries, Simple-PAT reduces worst-case error by a geometric mean of 3.15x compared to standard training and 2.63x compared to the strongest robust training baseline. Code is available at https://github.com/princeton-vl/procedural-adversarial-learning.
BibTeX
@misc{nugent2026procedural,
  author = {Jack Nugent and Jia Deng},
  title = {{Procedural Adversarial Learning}},
  year = {2026},
  eprint = {2611.06890},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06890},
}
Figure