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

Adversarial Stress Suite: Where 768-d Bi-Encoders Shine & Break

paraphrase-mpnet-base-v2 handles syntactic reordering, register shifts, and 512-token tails far better than 128-token encoders—yet symmetric mean pooling still blurs negation reversals and subject–object swaps. 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-mpnet-core.mjs)
Show the code: HiDPI adversarial margin chart renderer (paraphrase-mpnet.js)