Overholt PM Services

NotesMatching

Why fuzzy matching alone fails on item data

Fuzzy matching is the first tool most people reach for when two item lists have to be lined up. It is useful, and it reliably leaves a pile of items it cannot settle. The reasons are worth knowing, because they show what to do about the pile.

What fuzzy matching measures

Fuzzy matching scores how alike two pieces of text are. Depending on the method, it counts the edits needed to turn one string into the other, or how many words or character sequences the two share. It was designed for typos and small variations: a transposed letter, a missing space, “Jon Smith” against “John Smith”. It knows nothing about what the text means.

Item descriptions break that in both directions.

1. The same product, with little text in common

Two companies describing one product rarely choose the same words. Each has its own abbreviations and its own word order. One puts the brand in the description and the other keeps it in a field. One writes the pack into the text and the other has a column for it.

Invented examples. The same product, written two ways.
One listThe other list
GLS CLNR RTU 1QT 6/CSGlass Cleaner, Ready-to-Use, 32 fl oz Trigger Bottle, 6 per Case
TWL ROLL HW WHT 800FT 6/CSHardwound Roll Towel, White, 800 ft, 6 Rolls per Case

A person sees one product in each row. A text score sees two strings with very little in common.

2. Different products, with nearly identical text

Invented examples. Different products, almost the same text.
One recordAnother recordWhat differs
NITRILE GLOVE PF BLUE LG 100/BXNITRILE GLOVE PF BLUE XL 100/BXGlove size
BATH TISSUE 2PLY 96/CSBATH TISSUE 1PLY 96/CSPly
CAN LINER 33X39 1.5MIL BLK 100/CSCAN LINER 33X39 1.5MIL BLK 150/CSCase size

The characters that differ are the ones that matter. Size, count, ply, color and thickness take up one or two characters in a line of thirty or forty. A similarity score weighs them like any other characters, so pairs like these can score higher than true matches do.

The last row is the usual trap: the same product in a different case size. Merge those two records and one item has two different quantities per case.

3. Numbers and units are only characters

To a text comparison, 12 and 2 are one character apart, and 1 qt and 32 fl oz have nothing in common. Nothing in the method knows that the first is a sixfold difference and the second is no difference at all.

4. A blank counts for nothing

Text scoring has no way to say “unknown”. If one record has no brand and no pack, the score is worked out on what is there, and it can still be high. Missing information that ought to hold a match back goes unnoticed.

5. No threshold separates right from wrong

A score has to become a decision, so someone sets a threshold: above it a match, below it not. Because true matches can score low and false ones can score high, no single line separates them. Raise it and real matches are missed. Lower it and wrong pairs get through.

The usual answer is two thresholds, with everything between them sent to manual review. The hard items land in that band, and they are the ones a person then works through line by line. It also helps to remember what the number is: a score of 90 is a measure of shared characters, not a 90 percent chance that the match is right.

This is the routine I used on ERP integrations: separate fuzzy passes on UPC, item name, description and item number, the results combined, and whatever was left reviewed by hand, line by line.

What fuzzy matching is good for

  • Finding candidates. Narrowing thousands of possible partners for a record down to a handful worth comparing properly.
  • Small spelling differences. Manufacturer and vendor names typed slightly differently.
  • Ordering a review queue. Putting the likeliest candidate first for the person who has to choose.

What to add to it

  1. Identifiers first. Match exactly on a UPC that passes its check digit, or on manufacturer and part number together, before any text comparison.
  2. Fuzzy matching for candidates only. Let it suggest. Do not let it decide.
  3. Pull the facts out of the text. Brand, size, pack, unit of measure and the key specifications, as fields, in common units.
  4. Compare field by field. A conflict on pack or size blocks the match, however alike the descriptions are. A blank is unknown, not agreement.
  5. Keep the answers apart. The same item, the same product in a different case size, and an equivalent from another brand are three different results.
  6. Send what is still unsure to a person, with the evidence laid out, so the review is a decision and not a search.

The companion note, Matching products that have no shared UPC, goes through the field tests in more detail. This is also the approach behind Crosswalk, the item master matching software we are building. It is in development, with early access opening in Q1 2027, and there is a worked example of how it treats two lists.