Skip to content

wild · adversarial stress harness 6 perturbation probes + custom triple honest blindspot telemetry

Paraphrase Robustness Arena

Push paraphrase-albert-small-v2 to its semantic limits: compare word-order reversals, negation flips, keyboard typos, register shifts, entity/currency swaps, and lexical-overlap distractors — revealing both where 768-d ALBERT stays invariant and where bi-encoders honestly fail.

6-Probe Linguistic Perturbation Suite

Download or auto-initialise paraphrase-albert-small-v2 to benchmark all 6 adversarial probes on-device.

Probes Run0 / 6
Invariant Matches–
Flip Blindspots–
Negation Cosine–
Typo Token Growth–
Suite Latency–

Variant vs Distractor Cosine Retention (SVG)

Colored dot = Variant · Grey dot = Distractor

Custom Adversarial Triple Sandbox

Click any probe row below to load & edit

Select a probe or edit the three fields above and click Score Custom Triple.

Adversarial perturbation benchmark results (768-d mean-pooled cosine similarity)
Probe Variant Cos Distractor Cos Margin Token Δ Honest Verdict Anchor → Variant

Why bi-encoders miss negation & role swaps

Bi-encoders map each sentence independently into a single 768-d vector and average over contextual token states. Flipping one polarity word (is covered → is NOT covered) or reversing subject and object leaves nearly all shared topic features intact — which is why high-precision search pairs a fast bi-encoder retriever with a Stage 2 cross-encoder reranker.

Show the code — robustness scoring & meaning-flip blindspot detection
Show the code — SVG createElementNS cosine retention dumbbell chart