Published research · Case study
Detecting subtle changes in records
Use cross-attention to compare two versions of an entity record and reveal changes that a single similarity score can miss.
- Cross-attention on the full synthetic benchmark
- 0.9665 PR-AUC
- Pooled baseline on the same benchmark
- 0.9531 PR-AUC
The problem
Record-level similarity can miss a meaningful change to a single field when the rest of the record stays similar.
My approach
I used bidirectional cross-attention with shared projections to compare the records at token level before pooling.
Impact
On the full synthetic benchmark, token-level cross-attention raised precision-recall AUC from 0.9531 to 0.9665. The model also surfaced the tokens that differentiated the records, supporting review of subtle changes.
Technologies
Cross-attention, shared projections, token-level comparison, PR-AUC.
How the work was designed
When two entity records are mostly identical, a pooled embedding may emphasize the shared content and hide a small but important change. The method compares token representations across both records using bidirectional cross-attention with tied projections before aggregating the result.
The published evaluation uses synthetic changes to make the comparison repeatable. It reports improved precision-recall AUC against a pooled baseline and uses attention analysis to show which tokens helped differentiate record versions. Results are specific to the study’s benchmark.
Compare tokens before pooling
The model looks across both record versions while token-level distinctions remain available. That ordering matters when most fields are identical and only a small attribute changed.