Wild · Adversarial Geometry & Semantic Drift · 295.7 MB WASM q8 · Apache-2.0

6-Probe Embedding Stress Lab & 2D Semantic Drift

Discover where multilingual bi-encoders shine and where cosine similarity misleads: 1) run 6 empirical probes (cross-lingual paraphrases vs negation traps, role swaps, and dosage flips), and 2) trace live edits across a frozen 6-anchor 2D PCA constellation.

1. On-device model

Initialise paraphrase-multilingual-mpnet-base-v2 above to run the stress probes & drift compass.

2. 6 Empirical Paraphrase vs Antonym Geometry Probes

Bi-encoders score shared topic geometry — which makes cross-lingual paraphrases close, but can keep negated or entity-swapped sentences dangerously high in cosine similarity (why Stage 2 NLI verification matters in Multi-model!).

Probes completed–
High paraphrase cos–
Blind-spot trap cos–
Latency–
NaN count–
Six cross-lingual embedding geometry stress probes
Probe Sentence A Sentence B Cosine Geometry finding
Click Run All 6 Probes above.

3. Live 768-d → 2D Semantic Drift Compass

The 6 domain anchors fix a stable 2D PCA coordinate frame. Step through a multilingual perturbation trajectory or edit the live text below to watch your 768-d vector move across languages, negations, and topics.

Frozen 6-Anchor 2D PCA Constellation

Nearest Domain Anchors (latest step)

Trace the drift trajectory to measure anchor cosines.

4. Inspect drift canvas & PCA projection code

Show the code · mpnet-multi.js — drawDriftCanvas()
Show the code · mpnet-multi-core.mjs — fitPca2D()