Wild Β· Cross-Domain, Overlap & Negation Lab Β· 538.8 MB WASM int8 Β· MIT

Cross-Domain Transfer, Adversarial Label Overlap & Negation Stress Lab

Probe where a 24-layer English NLI cross-encoder shines and where it bends: double negation and unless exceptions, overlapping multi-intent labels, and English vs polyglot distractors β€” with mid-suite cancellation and clean UI reset on release.

1. On-device model & suite controls

Initialise DeBERTa-v3-Large Zero-Shot v2.0 above to run the stress labs.

2. Negation, Double-Negation & Conditional Probes

Four real NLI logic probes (double negation, conditional if/unless, hypothesis polarity flip, and quantitative SLA boundary) evaluated locally.

Probes passed–
Mean margin–
Total latency–
NaN count–
Negation and conditional probe results with expected label, predicted winner, score, and verdict
Probe Premise & note Expected Predicted winner Score Verdict
Run the 4 negation probes above.

3. Adversarial Label Overlap Probe

Tests near-synonymous and co-occurring labels (billing refund vs duplicate invoice dispute vs SSO security incident vs GDPR data deletion). Single-label softmax forces probability competition; multi-label 2-class P(entailment) surfaces every valid overlap.

Single entropy–
Multi ≥ 50%–
Latency–
NaN count–
Adversarial label overlap table comparing single-label competition against multi-label P(entailment)
Label Single-label softmax Multi-label P(entail) Logit margin Ξ”
Run the label overlap probe above.

4. Cross-Domain Transfer: English vs Polyglot Distractors

MoritzLaurer/deberta-v3-large-zeroshot-v2.0 is trained primarily on English (card recommends bge-m3-zeroshot-v2.0 for multilingual text). Measure how entailment confidence behaves across English, English+German code-switching, French, and Spanish premises with English candidate labels.

Correct top-1–
Mean P(entail)–
Total latency–
NaN count–
Cross-domain transfer results across English, code-switched, French, and Spanish inputs
Language slice Premise & note Expected Predicted winner 2-class P(entail) Verdict
Run the English vs polyglot sweep above.

5. Inspect dynamic binary id2label & entropy helpers

Show the code Β· deberta-v3-large-zs-core.mjs β€” resolveBinaryNliIndices()
Show the code Β· deberta-v3-large-zs-core.mjs β€” shannonEntropy()