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

Adversarial Stress Suite: Where 3-Layer Bi-Encoders Shine & Break

Ultra-light 3-layer bi-encoders like paraphrase-MiniLM-L3-v2 handle word reordering and register shifts in milliseconds, but pool sentence embeddings independently—exposing 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 (l3-core.mjs)
Show the code: HiDPI adversarial margin chart renderer (l3-client.js)