Wild · Embedding Geometry, Query Prefix Ablation & Adversarial Trap Lab

2D PCA Semantic Constellation & Stress-Test Lab

Project a 16-node, 4-domain knowledge graph into a live 2D PCA constellation, shoot query compass rays with vs. without Mixedbread's retrieval prefix, and stress-test mxbai-embed-xsmall-v1 against negation, antonyms, surface-word overlap traps, and heavy typos.

1. 2D PCA Constellation & Query Prefix Ablation

Interactive 2D PCA Constellation

Click any node or focus the canvas and use ←/→ or Home/End.

Selected Node & Strongest Rays

Run the lab above to inspect individual nodes.

Top 4 compass alignments

Waiting for compass projection…

Query Prefix Ablation (Raw vs Retrieval Prefix)

Waiting for live query ablation…

2. Adversarial Sensitivity Matrix (Negation, Antonyms, Overlap, Typos)

Each 3-way probe compares anchor A against true paraphrase B versus adversarial trap C (shared keywords, antonym role swap, negation polarity flip, or noise). Toggle the retrieval prefix checkbox above to measure how instruction prompting shifts margins!

Live adversarial 3-way cosine sensitivity matrix
Probe Category cos(A, B) cos(A, C) Margin (AB − AC) Result
Initialise the model to run live adversarial stress probes.

Custom 3-Way Trap Tester (A vs B vs C)

Waiting for run…

Show the code

Show the code: deterministic 2D PCA via covariance power iteration (xsmall-core.mjs)
Show the code: raw vs retrieval-prefix query ablation (xsmall-core.mjs)