PEAL shortcut analysis

Upload an ONNX image classifier and a zip with one folder per class. DiDAE distils the classifier into a sparse concept space, renders counterfactuals with a pretrained representation autoencoder, and asks you which edits are spurious. (Handing back a corrected classifier is switched off in this demo for now.)

queue loading…

1. Files

Drop the ONNX classifier here or click to choose
single input [batch, 3, H, W]; up to MB
Drop the dataset zip here or click to choose
<class_a>/*.jpg, <class_b>/*.jpg, …; up to MB

2. What the model expects (all fields required)

every atom is swept in latent space; only the top N directions are rendered as images (each with all its flips). More = longer job.
cap on the latent flips rendered per direction (the deepest ones first); 0 = all, which can be thousands of renders and take hours.
pairs found the background shortcut on Waterbirds more often; single concepts are easier to read.
DFR becomes available once the model's final linear layer is found in the uploaded graph.