Wild · Negation, Dosage, Abbreviation Polysemy & 25-Tok Cutoff Stress Probes

Adversarial Stress Suite: Where Entity Self-Alignment Shines & Breaks

SapBERT was metric-trained on isolated UMLS entity strings (max_length=25) without sentence context or polarity cues. Run all 6 live probes below to expose real negation blindspots, dosage strength blindness, abbreviation ambiguity (MS, PE), and 25-token tail truncation.

1. Load Model & Run 6-Probe Biomedical 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 Biomedical Triplet Lab (A vs B vs C)

Show the Code

Show the code: Bounded cosine similarity for probe margin scoring (sapbert-core.mjs)
Show the code: HiDPI adversarial margin chart renderer (sapbert-client.js)