Basics · Interactive Signal Attribution · Leave-One-Out Softmax Shift

Field-Signal Ablation Playground

HTML form inputs broadcast semantic clues through multiple independent attributes: visible <label> text, name, id, placeholder, type, and autocomplete. Toggle each signal on or off below to watch rolf-mozilla/tinybert-address-autofill shift its 66-class softmax probabilities and raw logits in real time.

1. Toggle Form Attributes Live

Choose a high-contrast ablation preset (notice how toggling name, <label>, and id on Cardholder Name flips predictions across name, cc-name, cc-number, and other):

Toggle which signals are included in the normalized string sent to TinyBERT:

Active Ablated Input String –
All-Signals Baseline–
Current Subset Winner–
Target Prob Shift (Δp)–
Target Logit Shift (Δz)–
Class Flip Status–
Latency · NaN Check–

All-Signals Baseline Top-5

All 6 attributes enabled

Initialise the model to compare baseline vs ablated predictions.

Current Toggle Subset Top-5

Live ablated subset

Toggle any attribute above to measure real-time softmax shift.

2. Leave-One-Out & Single-Signal Attribution Matrix

Compares every leave-one-out subset (removing one signal at a time) and every single-signal isolation (keeping only one attribute) against the all-signals baseline in a single off-main-thread pass.

Leave-one-out and single-signal ablation comparison table
Ablation Variant Normalized Input Predicted Class Target Δp Target Δz Verdict
Run the ablation matrix to measure per-attribute attribution.

3. Inspect Normalization & Ablation Delta Code

Show the code · autofill-core.mjs — buildFieldSignature() toggleable normalizer
Show the code · autofill-core.mjs — computeAblationDelta() probability & logit shift