NEATdocs

Benchmarks

Every published NEAT result, including the ones where it loses.

Early, mixed results

Read these as evidence, not as a claim that NEAT beats other optimizers. The short Keras studies used fixed baseline recipes and an exploratory NEAT configuration; they are not equal-budget tuning studies.

Short Keras CNN: MNIST and Fashion-MNIST

Three seeds (7, 11, 19), two epochs, CPU. Adaptive NEAT reported the highest mean test accuracy on both datasets in this exploratory run.

DatasetAdaptive NEATAdamSGD + momentum
MNIST0.9861 ± 0.00130.9856 ± 0.00110.9764 ± 0.0051
Fashion-MNIST0.8786 ± 0.00070.8725 ± 0.00160.8391 ± 0.0071

Adam still achieved lower mean test loss on MNIST and ran slightly faster. The tuning asymmetry rules out a general comparison claim.

Keras MLP: sklearn digits

Two-layer MLP, 20 epochs, three seeds. NEAT trails the baselines here:

OptimizerTest accuracyNotes
SGD + momentum97.04%lr=0.01, momentum=0.9
Adam96.85%default hyperparameters
AdamW96.85%weight_decay=1e-4
NEAT94.72%alpha=0.25, beta=0.9, gradient_ema opponent

The diagnostics explain why. On this well-aligned task the mean correction ratio is only 0.00385 and gradient/update alignment is 0.99991, so the correction barely changes the underlying update.

Multi-task study

The first multi-task study (Multi-MNIST and Multi-Fashion-MNIST, compared against PCGrad and MGDA) is a completed negative result: base NEAT's accuracy collapsed. Base NEAT only saw the mean task gradient, so it never observed the task-to-task conflict that PCGrad and MGDA use. The correction-off control collapsed too, which points to momentum transport and learning-rate mismatch rather than the correction itself.

The result stays in the repository as negative evidence. An exploratory task-aware revision is documented separately in task-aware NEAT v2.

What counts as evidence

Future comparative claims must follow the validation-locked protocol:

  • every optimizer gets the same tuning budget on a held-out validation split
  • settings are frozen before any test evaluation
  • results need a complete matrix of five test seeds, with paired statistics and confidence intervals
  • tuning trials are never reported as test evidence

The CIFAR-10 / ResNet-18 locked study is built and pre-registered but has not finished at full scale. Running it on a GPU is an open starter issue: #5.

PyTorch benchmark suite

Runnable comparisons cover image classification (ResNet-18/34 on CIFAR-10/100 and ImageFolder), vision transformers (ViT-S/16, DeiT-S/16), LLM fine-tuning (TinyLlama-1.1B, Phi-2, Gemma-2B on GLUE SST-2 and Alpaca), MuJoCo control (SAC), MNIST diffusion (UNet-2D DDPM), and large-batch stability. Each run records convergence, loss variance, wall time, environment metadata, and optimizer diagnostics.

# dataset-free gate: five seeds across NEAT, AdamW, SGD momentum, Lion, PCGrad and CAGrad
python -m benchmarks.torch_suite.compare_all --quick

# validation-locked CIFAR-10 study
python -m benchmarks.torch_suite.locked_study \
    --study cifar10-resnet18 \
    --output-dir benchmark-runs/cifar10-locked \
    --parallelism 1

No GPU-scale ImageNet, full foundation-model, or production RL claim is made.

Reproduce the Keras results

python benchmarks/run.py                                 # digits MLP table
python benchmarks/vision_adaptive_neat_vs_baselines.py   # MNIST / Fashion-MNIST CNN
python benchmarks/cifar10_adaptive_neat_vs_baselines.py  # CIFAR-10 harness
python benchmarks/glue_sst2_adaptive_neat_vs_baselines.py # GLUE SST-2 harness

Full methodology: docs/research/benchmarks.md and the PyTorch suite guide.

On this page