Back to Insights
Algorithms & Research·October 05, 2026·10 min read

Parameterized Graph Discrepancy Search: Moving Beyond Raw Diff Dumps

Authored by Eagle Eye Research Labs · Eagle Eye Research Labs

In enterprise data operations, detecting that two datasets differ is only the first step. The true bottleneck lies in investigation: determining *why* 2,341 records out of 1,000,000 failed to match. Today, this triage process forces senior engineers and settlement analysts to spend days manually running exploratory SQL queries.

The Limitations of Raw Diff Dumps

Traditional tools like UNIX `diff`, SQL `EXCEPT`, or Git-style delta viewers output massive lists of altered rows. If a payment processor introduces an unexpected $2.50 regulatory fee across 10,000 transactions, a raw diff dump simply reports 10,000 modified records. It provides zero insight into the underlying mathematical pattern.

Introducing Parameterized Graph Discrepancy Search (PGDS)

Rift introduces PGDS—an automated divergence investigation engine integrated directly into the reconciliation loop. Rather than terminating at discrepancy identification, PGDS analyzes the structural delta between paired records across multiple stages:

1. **Contrastive Classification:** Groups divergent records by categorical attributes (e.g. gateway code, currency, transaction type) to isolate candidate invariant subsets.

2. **Atom Generation:** Formulates candidate arithmetic transformation rules (e.g. `target.amount = source.amount - 2.50` or `target.status = 'COMPLETED' WHERE source.status = 'SETTLED'`).

3. **Authoritative Witness Verification:** Evaluates candidate rules against ground-truth dataset pairs using an isolated D1 verification pass. Candidates that successfully explain divergent subsets are verified and accepted.

4. **Residual Divergence Isolation:** Unexplained records that fail to match any verified invariant are flagged as true anomalous residuals, requiring prioritized human review.

Operational Impact

In enterprise proof-of-concept tests, PGDS reduces exception investigation time from days to seconds. Operations teams receive a structured explanation packet: 81.2% of differences explained by an identified fee rule, leaving only 439 true network drop anomalies for manual review.

By bridging the gap between exact record comparison and automated triage, PGDS delivers verifiable assurance for modern data-intensive enterprises.

Evaluate Rift on your reconciliation workflows

Contact Eagle Eye to evaluate the CLI and PGDS engine under an enterprise PoC.

Discuss a PoC