Wild · Bi-Encoder Failure Modes, Negation Traps & 128-Token Cutoff Cliff

Adversarial Stress Suite: Where Bi-Encoders Shine & Break

Symmetric bi-encoders like paraphrase-MiniLM-L6-v2 excel at word reordering and register shifts, but pool bag-of-word embeddings independently—making them vulnerable to negation reversals, subject–object swaps, and tail clipping past 128 tokens. Run all 6 live probes or test your own (A, B, C) triplet below.

1. Load Model & Run 6-Probe Stress Suite

idle

Empirical Margin Chart: cos(A, B) − cos(A, C)

Probe Findings Table

Live probe cosine(A,B), cosine(A,C), margin, and token counts
Probe cos(A,B) cos(A,C) Margin Tokens
Run the 6-probe suite to measure live strengths and blindspots.

2. Interactive Custom Triplet Lab (A vs B vs C)

Show the Code

Show the code: Cosine similarity & symmetric matrix calculation (paraphrase-core.mjs)
Show the code: HiDPI adversarial margin chart renderer (paraphrase.js)