Downloads · 30 days
0
ludwigw/trm-cifar10-pgd
trm-cifar10-pgd is a machine learning model from ludwigw. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
TRM trained with PGD-7 adversarial training on CIFAR-10 at ε=8/255.
Downloads · 30 days
0
Access
Public
Updated Jun 18, 2026
Repo size
1.9 MB
Likes
0
Public
Click a slice to open those files.
.pt1.9 MB · 100%
From the Hugging Face model README
TRM trained with PGD-7 adversarial training on CIFAR-10 at ε=8/255.
| ε (L∞) | Verified | vs IBP |
|---|---|---|
| 0.001 | 94% | +16% |
| 0.002 | 90% | +39% |
| 0.004 | 80% | +70% |
| 0.006 | 67% | +66% |
| 0.008 | 58% | +58% |
Winner on CIFAR-10: PGD dominates complex datasets with 94% at ε=0.001. IBP completely fails.
Dataset complexity determines training method effectiveness:
import torch
from veriphi.models import TinyRecursiveMLP
model = TinyRecursiveMLP(x_dim=3072, y_dim=512, z_dim=512, hidden=1024,
num_classes=10, H_cycles=2, L_cycles=2)
model.load_state_dict(torch.load("trm-cifar10-pgd.pt"))
model.eval()
# CIFAR-10 input: flatten 32x32x3 to 3072
x = torch.randn(1, 3072)
logits = model(x)
@article{deshmukh2026veriphi,
title={Veriphi: Attack-Guided Neural Network Verification with Dataset-Dependent Training Methods},
author={Deshmukh, Pratik and Savin, Vasili and Arya, Kartik},
journal={arXiv preprint arXiv:2606.18454},
year={2026}
}
Paper: arXiv:2606.18454 | Code: GitHub