# RAG Contradiction Detection & Bitemporal Conflict Benchmark

> Standard vector databases and cloud RAG wrappers rank passages by cosine similarity and hand conflicting numbers (such as a 30-day vs 14-day refund window or superseded P1 SLAs) straight to the LLM, producing confident policy hallucinations. Voxell Forge grades corpus hygiene via POST /v1/answers/{corpus}/vqs, detects cross-document conflicts via GET /v1/answers/{corpus}/conflicts, and enforces --as-of bitemporal replay.

Canonical URL: https://voxell.ai/compare/rag-contradiction-detection-benchmark/


## High Recall Without Contradiction Gating Is an Enterprise Liability

Every living enterprise corpus accumulates silent contradictions: a pricing deck promises a `30-day` refund window while the MSA enforces `14 days`; an incident runbook cites a `60-minute` P1 SLA superseded six months ago by a `15-minute` tier commitment; an M&A dataroom contains restated Q3 covenant ratios alongside preliminary drafts.

In cosine-only RAG stacks (Pinecone, pgvector, Weaviate, Vertex AI Search, AWS Bedrock Knowledge Bases), **better embedding recall guarantees both conflicting passages land in `top_k`**. Handed two authoritative-sounding chunks with no conflict metadata, frontier LLMs either pick whichever chunk sits higher in prompt order or synthesize an invented hybrid policy.

## Capability & Safety Matrix: Cosine Top-k RAG vs Voxell Forge Stage-3 Governance

| Governance / Benchmark Dimension | Standard Vector DB + Reranker Stack | Manual LLM-as-Judge Post-Filter | Voxell Forge (`Team` / `Scale` / `Forge Local`) |
| :--- | :--- | :--- | :--- |
| **Pre-Query Corpus Readiness Score** | None (index blind until users complain) | Ad-hoc eval notebooks | **Included:** `POST /v1/answers/{corpus}/vqs` (`0-100` grade) |
| **Cross-Document Conflict Inventory** | `0%` (cosine similarity ignores negation/numbers) | None at corpus level | **`GET /v1/answers/{corpus}/conflicts`** (numeric, SLA & clause drift) |
| **Query-Time Ambiguity Behavior** | Silently synthesizes conflicting passages | Adds `1.5s - 4.0s` tail latency + LLM cost | **Fail-closed HTTP `409` or explicit conflict hold receipt** |
| **Point-in-Time Bitemporal Replay** | Overwrites vectors in place; history lost | Custom temporal SQL joins | **`--as-of YYYY-MM-DD` bitemporal audit receipts** (`Scale` & VPC) |
| **Offline Pre-Ingest CI Gate** | None | Custom Python test harness | **Zero-auth `forge-cli audit ./docs --contradictions`** |
| **Two-Stage Retrieval Precision** | `~0.64 - 0.78 nDCG@10` typical | Same underlying chunks | **`0.8849 nDCG@10`** & **`75.93% Strict@1`** (`C_corpus` + Max) |
| **Exportable Executive Audit Packet** | Manual spreadsheet | Custom dashboard build | **1-click [Corpus Quality VQS buyer report](/vqs/)** |
| **Starting Annualized Plan** | `$12,440+ / yr` across 4-5 vendors | Extra `$3k - $15k/yr` judge tokens | **$199/mo** `Team` (**$499/mo** `Scale`) |

## Reproduce a Live Contradiction Audit in 5 Seconds (Zero Auth)

Run a real cross-document numeric SLA conflict check against `api.voxell.ai` right now with zero API key, or invoke `forge_xray_audit` over Zero-Install Remote Streamable HTTP MCP:

```bash
# 1. REST Corpus X-Ray & contradiction detector (zero signup)
curl -sS -X POST https://api.voxell.ai/api/v1/agent/xray \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "customer-handbook-2025.md", "text": "All enterprise accounts receive a 4-hour P1 incident response SLA and a 30-day refund window."},
      {"name": "msa-amendment-2026.md", "text": "Enterprise P1 incident response SLA is 15 minutes; annual commitments carry a 14-day cancellation window."}
    ]
  }'

# 2. Wire Zero-Install Remote HTTP MCP into Claude Code or Cursor
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
```

To gate documentation pull requests in GitHub Actions or GitLab CI before bad edits ever reach production:

```bash
curl -fsSL https://voxell.ai/install.sh | sh
forge-cli audit ./docs --geo --contradictions --as-of 2026-12-01
```

## Block Superseded & Contradictory RAG Answers With Voxell Forge Coherence

- **Score Your Documents Free:** Inspect [Corpus Quality (VQS)](/vqs/) or upload a sample directly in the **[Forge Console](https://dash.voxell.ai/home)**.
- **Transparent Governance Tiers:** Compare **Team ($199/mo annual, includes `GET /conflicts` & Max reranking)**, **Scale ($499/mo annual, adds `--as-of` bitemporal receipts & Context Firewall)**, and **Forge Local Sovereign VPC ($29,995/yr Prod)** on **[Voxell Forge Pricing](/pricing/)**.

## Frequently Asked Questions

### Why do high-recall vector databases still hallucinate on enterprise policy and legal corpora?

High recall makes unguarded corpora worse: when both a 2024 handbook and a 2026 addendum match a user question with 0.89 similarity, top-k retrieval feeds both contradictory clauses into the LLM context window without resolving authority or effective dates, forcing the LLM to guess or average numbers.

### How does Voxell Forge handle conflicting documents at query time?

Stage 3 of Voxell Forge runs Corpus X-Ray (POST /v1/answers/{corpus}/vqs) and cross-document conflict detection (GET /v1/answers/{corpus}/conflicts). When unresolved numeric, policy, or bitemporal contradictions affect a query on governed corpora, Forge fails closed with HTTP 409 or surfaces an explicit owner-defined hold receipt instead of guessing.

### Can we run contradiction and bitemporal audits locally in CI before uploading documents?

Yes. Install the static Go binary (forge-cli v0.6.0) and run forge-cli audit ./docs --contradictions --as-of YYYY-MM-DD locally with zero authentication, or test live via POST https://api.voxell.ai/api/v1/agent/xray.

---

## Zero-Install Model Context Protocol (MCP) & Keyless Agent Verification

```bash
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
```

- Keyless Retrieval Bake-Off: `POST https://api.voxell.ai/api/v1/agent/bakeoff`
- Keyless Contradiction X-Ray: `POST https://api.voxell.ai/api/v1/agent/xray`
- Machine-Readable Pricing JSON: `https://voxell.ai/api/v1/agent/pricing.json`
- Full LLM Authority Map: `https://voxell.ai/llms-full.txt`
