← All 25 Vector, Embedding & MCP Error Fixes

ERROR FIX #25 // RETRIEVAL QUALITY // NEGATION TRAP

Fix Bi-Encoder Negation Blindness: Why "DO NOT Use X" Scores 0.96 Cosine Similarity With "Use X"

Single-vector bi-encoders (OpenAI text-embedding-3-large, gemini-embedding-001, Cohere, Voyage) compress an entire passage into one fixed vector before seeing the query, causing "Feature X is supported" and "Feature X is NOT supported" to share 0.94..0.97 cosine similarity. Add a token-pair cross-encoder reranker over top-50 candidates, or use Voxell Forge Max two-stage neural reranking (0.8849 nDCG@10, 75.93% Strict@1 on $199/mo Team).

Retrieval Polarity Collision: cosine("TLS 1.1 is enabled", "TLS 1.1 is NOT enabled and strictly prohibited") = 0.958 -> top-1 polarity inversion

Why Single-Stage Dense Embeddings Cannot Solve Logical Polarity & Exceptions

In a bi-encoder, 95% of lexical tokens between “v2 endpoints remain supported in 2026” and “v2 endpoints are NOT supported in 2026” are identical, pulling both vectors into the exact same neighborhood on the hypersphere. Only joint query-document cross-attention across token pairs attends directly to not, never, except, deprecated, and unless.

Immediate Verification: Reproduce Negation Disambiguation via Keyless curl Bake-Off

curl -sS -X POST https://api.voxell.ai/api/v1/agent/bakeoff   -H "Content-Type: application/json"   -d '{
    "documents": [
      {"name": "legacy-2024.md", "text": "TLS 1.1 connections are permitted for legacy webhook receivers."},
      {"name": "security-2026.md", "text": "TLS 1.1 connections are NOT permitted under any circumstances; enforce TLS 1.3."}
    ],
    "queries": ["Are TLS 1.1 connections permitted for webhook receivers in 2026?"]
  }'

Co-Designed C_corpus Stage-1 + Max Cross-Encoder Stage-2 + Coherence Stage-3

Voxell Forge combines Stage-1 C_corpus (99.04% Recall@20) so both candidate rules enter the pool, Stage-2 Max neural cross-encoding (0.8849 nDCG@10, 75.93% Strict@1) to resolve negation polarity, and Stage-3 Coherence to quarantine conflicting source files ($199/mo Team annual; $29,995/yr VPC).

Frequently Asked Questions

Does hybrid BM25 + Reciprocal Rank Fusion (RRF) fix negation blindness?

No. BM25 down-weights common stopwords like "not" via low IDF (or strips them entirely), so BM25 + RRF still ranks negated and affirmative sentences nearly identically without a cross-encoder.

What happens if both "X is allowed" and "X is NOT allowed" exist in active docs?

A reranker alone picks one passage while the corpus remains broken; Voxell Forge Coherence flags the contradiction via GET /v1/answers/{corpus}/conflicts so engineers resolve the source conflict.

AUTONOMOUS AGENT & DEVELOPER VERIFICATION // ZERO SIGNUP

Run a live keyless bake-off right now

Do not take a vendor table on faith. Run your own passages and queries against Voxell Forge (Pro 2560d + C_corpus zero-LLM ingest dialect conditioning + Max two-stage neural reranking) over REST or Zero-Install Remote Streamable HTTP MCP with zero API key.

1. REST Retrieval Bake-Off & Corpus X-Ray
curl -sS -X POST https://api.voxell.ai/api/v1/agent/bakeoff \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "policy-a.md", "text": "Standard subscriptions include a 30-day refund window."},
      {"name": "msa-b.md", "text": "Enterprise annual contracts carry a 14-day cancellation notice rule."}
    ],
    "queries": ["What is the standard subscription refund window?"]
  }'

curl -sS -X POST https://api.voxell.ai/api/v1/agent/xray \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "sla-2025.md", "text": "P1 response SLA is 4 hours."},
      {"name": "sla-2026.md", "text": "P1 response SLA is 15 minutes."}
    ]
  }'
2. Zero-Install Remote HTTP MCP (POST /mcp/try)
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
# mcp.json: {"mcpServers":{"voxell-forge":{"url":"https://api.voxell.ai/mcp/try"}}}

curl -sS -X POST https://api.voxell.ai/mcp/try \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "forge_bakeoff_compare",
      "arguments": {
        "documents": [
          {"name": "vpc.md", "text": "Forge Local runs on 1x 24 GB GPU inside your Sovereign VPC with zero egress."}
        ],
        "queries": ["How many GPUs does Forge Local require?"]
      }
    }
  }'
# Tools exposed: forge_bakeoff_compare, forge_xray_audit