Jev AI Entity Matching: Deduplication and Record Linkage

Learn how Jev AI entity matching compares records, routes same or different decisions, exposes field conflicts, and keeps uncertain pairs for review.

What Is Jev AI Entity Matching?

Jev AI entity matching uses Jev to decide whether two records describe the same real-world entity. Typical inputs include product catalogs, company records, supplier feeds, knowledge-graph nodes, or customer data from two systems.

The goal is not to make two strings look similar. A useful matcher must consider identity fields, aliases, identifiers, variants, provenance, and conflicts. The safest output is often a three-way decision:

  • Same: link or merge only when the identity evidence is strong.
  • Review: keep both records and send the pair to a curator.
  • Different: leave the records unlinked.

The official TypeSafe entity-alignment cookbook uses this shape with a Score question and additional Noul questions for field-level evidence. The Open-Jev entity-alignment control shows how to keep the policy, synthetic data, deterministic preprocessing, and audit checks visible.

Matching stageResponsibility
NormalizeCode standardizes casing, units, punctuation, and known aliases
Candidate generationSearch or blocking finds plausible pairs
Entity comparisonJev evaluates the candidate pair under an identity policy
Conflict explanationNoul questions expose which fields disagree
RoutingCode links, reviews, or leaves the pair separate
AuditStore input, criteria, answer, model version, and final decision

Entity Matching Is Not Just Deduplication

Deduplication finds repeated records inside one dataset. Record linkage connects records across sources. Entity resolution is the wider process that includes normalization, candidate generation, comparison, clustering, conflict handling, and maintaining the final links.

Jev can supply the comparison decision, but it does not automatically build the entire entity-resolution system.

TaskExampleJev's likely role
DeduplicationTwo rows may describe the same productSame, review, or different
Record linkageA supplier item matches a catalog itemCompare candidate pair
Knowledge-graph alignmentTwo nodes may represent one entityAssert sameAs, review, or leave unlinked
Alias matchingBrand name differs by abbreviationJudge compatibility under a written policy
Variant handlingSame base product but different capacityDistinguish same product from a variant

This distinction prevents an expensive implementation mistake: using a model decision as if it were permission to merge a database. Jev can recommend a relationship; application code and a review policy should control the write.

The Three-Way Jev Decision

The official cookbook's central pattern defines an ordered Score scale with three outcomes:

Score levelDecisionSuggested action
0DifferentLeave records unlinked
1Related but uncertainSend to curator review
2Same entityCreate a link or allow a merge review

The middle state is important. A binary yes-or-no answer hides the difference between “clearly different” and “probably the same but missing evidence.” In data systems, those errors have different costs.

The matching policy should define what each level means. For example:

  • Different: identity evidence conflicts or the entities are distinct variants.
  • Review: some fields agree, but an important field is missing, ambiguous, or contradictory.
  • Same: identity evidence agrees across the fields required for this entity type.

Do not use a generic instruction such as “Are these records similar?” Similarity is not identity. The question should state what counts as the same entity and which conflicts are disqualifying.

Field-Level Conflict Questions

The official cookbook adds Noul questions alongside the three-way Score. These questions expose why the pair received its decision.

Field questionWhat it can reveal
Do the names refer to the same item?Alias, abbreviation, spelling, or naming conflict
Do the manufacturers or owners match?Cross-source identity conflict
Do the styles or product types agree?Category mismatch
Do identifiers agree?Strong evidence or direct contradiction
Do measurements agree?Same base item or different variant

These field signals are not automatically independent proof. A model can judge several questions against the same state, while code stores them as an explanation packet for a curator.

The explanation is valuable because a “review” result should tell a person what to investigate. A generic confidence score does less than a record that says:

EvidenceResult
NameCompatible
ManufacturerMissing on record B
IdentifierConflict
CapacitySame after unit conversion
OverallReview

Keep exact transformations in code. If a capacity is converted from liters to milliliters, the conversion should be deterministic and independently auditable. Jev can judge whether the resulting evidence establishes agreement, but it should not be the arithmetic engine.

Candidate Generation Comes Before Jev

Large catalogs should not compare every record with every other record. First use deterministic or search-based blocking to create plausible candidate pairs.

Candidate-generation methodExample
Exact identifierSame manufacturer SKU
Normalized nameSame name after punctuation and case normalization
Alias tableKnown company or brand alias
Search indexTop candidates by text retrieval
Shared attributesSame manufacturer and product family
Vector or lexical retrievalSimilar descriptions for a review queue

The official cookbook example starts after a cheaper first pass has narrowed the candidate set. This division is sensible: retrieval reduces the number of pairs, and Jev handles the semantic comparison that remains.

The application should retain the reason a pair entered the candidate set. A pair found through an exact identifier deserves a different audit trail from a pair found only through loose text similarity.

A Jev AI Entity Matching Workflow

Use the following sequence for a first implementation:

  1. Define the entity type and what “same” means.
  2. Normalize fields with deterministic code.
  3. Generate candidate pairs with blocking or search.
  4. Place both records in one state as entity_a and entity_b.
  5. Ask one Score question for different, review, and same.
  6. Ask focused Noul questions for important fields.
  7. Preserve probabilities and field-level results.
  8. Route same, review, and different outcomes separately.
  9. Require human confirmation for high-cost merges.
  10. Audit decisions against labelled pairs.
Workflow objectExample fields
Record AID, source, name, manufacturer, variant, provenance
Record BID, source, name, manufacturer, variant, provenance
PolicyEntity type, required identity fields, disqualifying conflicts
Candidate reasonExact ID, alias, search result, shared attributes
Jev resultScore, probabilities, field Noul answers, model version
Final routeLink, review, leave separate
Review recordCurator, reason, final decision, timestamp

This structure keeps the model decision separate from the database mutation. It also makes it possible to re-run decisions when the model version or policy changes.

Handling Variants and Conflicting Identifiers

The hardest entity-matching cases are not obvious duplicates. They are records that share a name but differ in a meaningful identity field.

CaseLikely interpretation
Same name, same manufacturer, different capacityProduct variant or conflict; review policy required
Different name, same stable identifierPotential alias; inspect provenance and identifier quality
Same name, different manufacturerOften different entities; do not merge by name alone
Same company, different legal entity suffixCould be same organization or related entity
Missing identifier, compatible descriptive fieldsReview unless policy allows a soft match
Conflicting source timestampsPrefer provenance rules over model intuition

The model should receive the relevant policy in the state or question criteria. “Same product” may mean the same commercial SKU, the same base product family, or the same real-world object. Those are not interchangeable.

Open-Jev's control documentation is a useful companion here because it keeps units, aliases, visible criteria, and independent audit logic explicit. Deterministic preprocessing should produce evidence such as normalized values and converted quantities before Jev makes the semantic judgement.

Error Costs and Human Review

Entity matching errors are asymmetric. A false merge can contaminate every downstream fact attached to either record. A missed link may leave duplicate records that can be fixed later.

ErrorExampleTypical response
False mergeTwo similar products become one entityHigh-severity review or block
Missed matchSame product remains separateQueue for later linking
Wrong variant mergeSame name but different capacityRequire variant-specific policy
Wrong alias linkSimilar company names are mergedPreserve provenance and review
Unexplained decisionCurator cannot see why it was matchedRetain field-level evidence

This is why the review outcome deserves first-class status. It is not a model failure. It is a normal part of a system that chooses caution when evidence is incomplete.

Measuring Entity Matching Quality

Evaluate Jev on labelled candidate pairs, not only on a few examples that look convincing.

MetricWhat it measures
Match precisionHow many accepted links are correct
Match recallHow many true links are found
Review rateHow many pairs avoid automatic routing
False-merge rateHow often distinct entities are incorrectly joined
Field agreementWhether conflict questions explain the final route
CalibrationWhether returned probabilities match observed correctness
Review efficiencyHow many uncertain pairs a curator can resolve

Keep separate test sets for easy, ambiguous, and out-of-distribution pairs. Include aliases, typos, missing fields, misleading common names, unit differences, and deliberate conflicts.

Do not optimize only for match accuracy. A system with slightly lower recall but a much lower false-merge rate may be better for a knowledge graph or catalog where incorrect merges are expensive.

FAQ

Can Jev AI deduplicate a database automatically?

Jev can evaluate candidate pairs and return a same, review, or different style decision. It should not directly merge records without a policy, deterministic checks, provenance, audit logging, and review for costly or ambiguous cases.

What is the best Jev question for entity matching?

Start with a three-way Score question for different, review, and same. Add Noul questions for important fields such as name compatibility, manufacturer agreement, identifier conflict, or variant consistency.

Should similar names be merged?

No. Similar names are only one signal. Entity matching should consider identifiers, manufacturer or owner, product type, variants, provenance, and disqualifying conflicts.

Is entity matching the same as record linkage?

They overlap but are not identical. Entity matching compares a candidate pair, while record linkage connects records across sources and entity resolution includes the larger normalization, candidate-generation, comparison, clustering, and maintenance process.