Why You Should Classify by the Title, Not the Catalog’s Shelf Label

Date:

A vendor filed a physics course under “Artificial Intelligence.” Trust that label and your classifier inherits their filing decision instead of reading the actual subject.

The short answer: When you classify catalog items by keyword, the item’s own category is a shelf label (where the vendor chose to file it), not a statement of what it is. Foundational and off-topic items routinely sit under a trendy umbrella category, so trusting the category mis-sorts them. Classify title-first: the title is the truest subject signal, the category a weak fallback, and broad “umbrella” categories should be stripped from that fallback so they can’t drag an item off-subject. The mechanical traps that bite any keyword matcher (whole-word needles, specific-before-generic rule order, and validating against the real catalog) are a separate problem; this piece is about the field you match on, and why the category is the wrong one.

This is one spoke of a larger design, a lean, well-shaped category tree, where the same distinction recurs: a subject is what an item is, not where it was filed. Keyword classification means sorting items into buckets by matching words in their metadata. It’s cheap, transparent, and good enough at scale — if you match the right field. The failure mode isn’t the technique; it’s trusting a field that records a vendor’s filing habit rather than the item’s meaning.

The catalog’s category is a shelf label, not the subject

Every catalog carries its own category tree, and it’s tempting to classify from it: the vendor already sorted everything, why re-derive it? Because that tree records where each item was shelved, which is not the same as what it’s about. A provider building a fashionable “Artificial Intelligence” track will file its foundational prerequisites (a physics primer, an electronics intro, a hardware course) under that track, because that’s the curriculum they belong to. Their category is honest about the curriculum and misleading about the subject. Classify from it and your physics primer becomes an AI item, inheriting a filing decision you never meant to adopt.

A catalog category tells you where the vendor shelved an item, not what the item is.

Title-first: trust the item’s own words

The most reliable signal for what an item is about is its title: the words chosen to describe that item, not the shelf it sits on. So make the classifier read the title first and treat the category as a weak fallback, consulted only when the title yields no signal. “Introduction to Circuits” says circuits no matter what track it’s filed under; let the title win and the shelf-label trap mostly disappears. The category still helps for genuinely uninformative titles (“Capstone Project” tells you nothing; its category might), but it’s the backstop, not the primary.

Strip the umbrella categories that mislabel

Title-first isn’t quite enough on its own, because when the title is uninformative you fall back to the category, and that’s exactly where the misleading umbrella lives. So before using the category as a fallback, strip the broad umbrella terms that describe a curriculum rather than a subject (the trendy-school names). Keep the specific parts of the category, drop the umbrella, and the fallback stops dragging vague-titled items into the wrong bucket. Concretely: an item titled only “Capstone” with category “Data Science / Practicum” can keep “Data Science” as a hint; an item under “Computer Science / Artificial Intelligence” whose title is off-topic should not have “Artificial Intelligence” pull it in.

The mechanical traps are real, but they’re a solved, separate problem

Once you’re matching on the right field, keyword matching still has its own well-known bugs: short substrings matching inside longer words ("api" inside “capital”), rule order letting a generic pattern beat a specific one (a "mechanics" rule catching “statistical mechanics”), and shipping a classifier you’ve only reasoned about instead of dry-running it against the real catalog. Those are worth getting right, but they’re the mechanics of matching, not the subject of this piece. The point here is upstream of all of them: even a flawless matcher gives you garbage if you point it at the category field, because that field records a filing decision, not a subject. Fix the field first; then fix the matching.

Classify by the title, not the shelfFix which field you match on before you fix how you match.
The trap: category = shelf label

Where the vendor FILED it (often under a trendy umbrella), not what it IS. Classify from it and you inherit their filing decision – physics under 'AI'.

Title-first: the item's own words

The title describes THAT item, not the shelf it sits on. Read it as the primary signal; 'Introduction to Circuits' says circuits, any shelf.

Fallback: strip the umbrella first

Only for an uninformative title, fall back to the category – but strip the broad umbrella terms (the curriculum names). Keep only the specific parts.

Then the mechanics (-> companion)

Whole-word needles, specific-before- generic order, dry-run the catalog. The matching traps – covered in 'classifying by title'.

A perfect matcher pointed at the wrong field still mis-sorts. Fix the field first.

A shared title is one more label that lies: on its own it cannot tell you whether two listings are the same course re-hosted or a coincidence. Telling the same course across stores from a coincidence takes more evidence than the title.

The short version

A catalog’s category is where a vendor shelved an item, not what it’s about, so classifying from it inherits their filing decisions: foundational and off-topic items get dragged under trendy umbrella categories. Classify title-first (the title is the truest subject signal), use the category only as a fallback, and strip the broad umbrella terms from that fallback so they can’t mislabel vague-titled items. That fixes the field you match on; the mechanics of matching well — whole-word needles, specific-before-generic order, and a dry-run against the real catalog — are a separate problem. The catalog’s labels are data, not truth.

Frequently Asked Questions

When should I trust the category at all?

Only as a backstop for a genuinely uninformative title: a “Capstone Project” tells you nothing, so its category might be the best signal available. Even then, strip the umbrella terms first, and let any real signal in the title override it. The category is the fallback, never the primary.

How do I tell which categories are umbrellas?

Read what is filed under them. Sample the items in a broad category and check their titles: if many are about other subjects (physics and electronics under “Artificial Intelligence”), the category is shelving a curriculum, not naming a subject. Make that call once per category, write it down as a list, and strip from the list rather than re-deciding every run.

Share post:

Subscribe

Popular

More like this
Related

WooCommerce Search by SKU or ISBN Finds Nothing? It Never Looks There

A shopper types the SKU from your catalog, or the ISBN printed on the back of a book, and gets "No products were found". The product is right there, and the number is on its page. Search simply never reads that part of the product.

Computer Slow but CPU and Memory Look Normal? Check the Handle Count

Chrome takes a minute to open, or doesn't open at all. Every click waits. You open Task Manager expecting to find the culprit, and it tells you everything is fine. Here is the number that isn't, and the fix that takes two minutes.

Kernel-Power 41 Tells You Your PC Restarted, Not Why

Your PC restarts with no blue screen, and the only clue is a critical event saying it didn't shut down cleanly. Here is how to get from that event to a short list of suspects.

Set Up WordPress SMTP Without a Plugin, Even on a Multisite Network

WordPress mail goes out as wordpress@ your domain, from the web server, and lands in spam. An SMTP plugin fixes that. So do about twenty lines of code, and on a network of sites the code can give every site its own mailbox and its own password.