Wild · Needle Depth Locator & 2D PCA Semantic Map

Needle-in-a-Long-Document Locator & 2D PCA Map

Inject a single decisive needle clause at 10%, 35%, 65%, or 90% depth inside a ~1,100-token technical log. Watch Full ALiBi stay responsive across all four depths while a 512-token clip drops flat past halfway — and trace the semantic trajectory in 2D PCA space.

Configure needle depth & run sweep

Active highlight depth:

Depth sensitivity (Full ALiBi vs 512-tok clip)

Solid green: Full ALiBi · Dashed amber: 512-token clip.

2D PCA semantic trajectory

Per-depth live measurements

Live cosine similarity across needle depths for Full ALiBi and 512-token clip
Depth Tokens Full ALiBi cos 512-clip cos ALiBi gain Latency
Run the 10% → 90% sweep above to measure real sensitivity across depth.

Show the code

Show the code: fractional needle placement inside long filler reports
Show the code: deterministic sign-canonicalized 2D PCA power iteration