Deterministic vs probabilistic identity matching
Deterministic matching joins identifiers on exact shared data, like the same login or email. Probabilistic matching infers a link from evidence like device and behavior. They trade precision for reach.
Deterministic matching
Deterministic matching links identifiers when they share exact data, most often a login. If the same account signs in on a laptop and a phone, the two are certainly the same person. It is precise and easy to trust, but it only works once a customer identifies themselves.
The data it matches on is anything that belongs to one person and is entered or issued exactly:
- an account id or user id, at login
- an email address, at signup, checkout or newsletter subscription
- a customer or loyalty number
- an id carried in a link the customer clicked, such as a tagged link in an order email
A match is a rule, not a score. Either the two records carry the same value or they do not.
Probabilistic matching
Probabilistic matching infers that identifiers belong together from patterns: the same device, network, location, and behavior. It can connect activity before a customer logs in, which deterministic matching cannot. The cost is that it is a guess, and guesses are sometimes wrong.
A probabilistic matcher compares the evidence for a pair of identifiers and gives the pair a score. Typical evidence includes the IP address, the browser and operating system, screen and device characteristics, time zone, and when and what the visitor browsed. Pairs that score above a threshold are linked. Raising the threshold makes fewer, safer links. Lowering it makes more links and more mistakes.
An example of each
A customer signs in on their work laptop on Monday and on their phone on Tuesday. Both sessions carry the same account id, so a deterministic match links the laptop and the phone. Nothing about that link is uncertain.
On Wednesday the same customer browses on a home tablet without signing in. No exact identifier is shared, so deterministic matching leaves the tablet unlinked. A probabilistic matcher sees the tablet on the same home network as the phone most evenings, with a similar browsing pattern, and links it with a high score. It is probably right.
On Thursday the customer’s partner uses the same tablet to shop for something unrelated. The network and device still match. The probabilistic link now joins two people, and the profile shows interests that belong to neither of them alone.
Side by side
| Deterministic | Probabilistic | |
|---|---|---|
| Matches on | Exact shared identifiers, such as a login or email | Patterns, such as network, device and behavior |
| Output | A rule: linked or not | A score against a threshold |
| Precision | High, wrong only if the identifier is shared or mistyped | Lower, wrong whenever patterns coincide |
| Reach | Only customers who identify themselves | Includes visitors who never log in |
| Explaining a link | Point to the event that made it | Point to a score and the evidence behind it |
| Consent and privacy | Uses data the customer gave knowingly | Can rely on device signals that privacy rules treat as fingerprinting |
Matching records, not only devices
The same two terms are used in data management for record linkage: deciding whether two customer records are the same person when names, addresses or dates of birth are spelled differently. Deterministic record linkage requires the chosen fields to agree exactly. Probabilistic record linkage weighs how strongly each field agrees and how common the value is, so a match on a rare surname counts for more than a match on a common one. The trade-off is the same: exact rules miss real matches, and scores make some false ones.
Which to use
Most teams use deterministic matching where they can and probabilistic matching to fill the gaps. The right balance depends on how much certainty a decision needs. Charging a customer wants deterministic certainty; adjusting a layout can tolerate a probabilistic guess.
Three questions help decide:
- What does a wrong link cost? Showing one person another’s order history, or a support agent reading the wrong account, is far worse than a less relevant recommendation.
- Can the link be explained? A deterministic link points to the login that made it. A probabilistic one is harder to defend to a customer, an auditor or a regulator.
- Does the question need identity at all? Many decisions in a visit only need to know what this session is doing. An attribute keyed on the session answers them without matching anyone.
Whichever method makes the links, they are stored in an identity graph, and identity stitching joins the history behind them into one profile.
Matching and Signals
Signals computes attributes on whatever key you choose: a user, a session, a device, a basket. Snowplow Identities resolves identifiers deterministically, and an attribute group keyed on the Snowplow ID computes attributes over every event that carries it. Combining two profiles when their IDs merge is still to come. Identity resolution covers how the two fit.
See it on your own traffic
Add the SDK, define one attribute, and see an attribute updating against your own traffic in the first session. The free tier runs on the real engine: no card, no sales call.