# Machine Learning for Metadata: Automating the Cataloging Pipeline

> How we trained ML models to assist with subject heading assignment, classification, and metadata enrichment, and why human catalogers remain essential.

- Source: https://ermlib.com/en/updates/machine-learning-for-metadata
- Publisher: Horato & Co Ltd
- Published: 2026-08-05
- Category: Technical Deep Dives
- Tags: machine-learning, metadata, cataloging, automation, NLP

Cataloging is one of the most knowledge-intensive tasks in library operations. Assigning accurate subject headings, classification numbers, and descriptive metadata requires deep familiarity with controlled vocabularies, the subject matter itself, and the conventions of the cataloging community. It is also one of the biggest bottlenecks in getting materials from acquisition to the shelf.

We have been working on machine learning tools that assist catalogers by generating metadata suggestions, and the results are promising enough to share.

## The Problem We Are Solving

A skilled cataloger can process between 15 and 40 items per day, depending on complexity. Backlogs are common, especially for institutions that receive large volumes through legal deposit, donations, or batch acquisitions. Materials waiting to be cataloged are materials that patrons cannot find.

Our goal is not to replace catalogers but to accelerate their work. If an ML model can suggest plausible subject headings and classification numbers that are correct 80 percent of the time, the cataloger's job shifts from creating metadata from scratch to reviewing and refining suggestions. That is a fundamentally faster workflow.

## How the Models Work

We trained separate models for different metadata tasks. Subject heading suggestion uses a transformer-based classifier trained on millions of MARC records with established Library of Congress Subject Headings. The model takes the title, abstract, table of contents, and any available full text as input and produces ranked suggestions.

Classification number prediction uses a similar approach but targets the Library of Congress Classification and Dewey Decimal systems. The model learns the mapping between textual content and classification numbers from the existing corpus of cataloged records.

Language detection and script identification run as preprocessing steps, routing items to language-specific models where available. For widely cataloged languages, model accuracy is significantly higher than for less-represented languages, which is a limitation we are actively working to address.

## Accuracy and Confidence

On our test set of English-language monographs, the subject heading model places the correct primary heading in its top three suggestions 83 percent of the time. For classification numbers, the correct number appears in the top three 78 percent of the time.

These numbers are useful but not sufficient for unsupervised operation. Every suggestion is surfaced to the cataloger as a draft with a confidence score. High-confidence suggestions can be accepted with a single click. Lower-confidence suggestions serve as starting points that the cataloger refines.

## The Human in the Loop

We are deliberate about keeping catalogers in the decision loop. Cataloging is not just about applying labels. It involves interpretive judgment about what a work is about, who its audience is, and how it relates to other works in the collection. These are decisions that require contextual understanding that current ML models do not possess.

The cataloger reviews every suggestion before it becomes part of the record. Over time, their corrections feed back into the model, improving accuracy for future suggestions. This creates a virtuous cycle where the tool gets better precisely because experts are using it critically.

## Availability

The ML-assisted cataloging tools are available as an opt-in feature in ERMLib v3.2 for institutions with English-language collections. Support for additional languages is in development, with Spanish, French, and German models expected in the next release.
