Wild · Adversarial Hard-Negative & Long-Context Stress Lab

Cross-Encoder Stress Lab: Negation, Stuffing & Deep Needles

Test where a 38M distilled ALiBi cross-encoder shines—and where it still gets fooled. Sweep 6 adversarial pairs live (negation trap, BM25 keyword stuffing, antonym swap, zero-overlap synonym, 1,200-token tail needle, and noisy typos) or mutate any probe below.

1. Adversarial hard-negative stress suite

Live adversarial probe margins and pass/fail verdicts
Probe Category Verdict True Logit Trap Logit Margin Tokens Latency
Run the stress suite above to measure live pass/fail margins.

Show the code

Show the code: exact attention-mask token counting per pair
Show the code: fractional needle-at-depth document builder