MARCmin · Experiment 1 · Preliminary · November 2026

Does readable MARC help small models find books?

A first test on 3,781 real Library of Congress records and 120 questions. In this run, rewriting records as plain labeled text took small search models from missing half or more of the books to finding nearly all of them.

Preliminary. The questions were drafted by an AI assistant while reading the records, and no cataloger has reviewed them yet. They are probably too easy. The two larger models and the Library of Congress benchmark have not run yet. Treat the direction as a signal and the size as unknown.

The result

Share of questions where the right book came back in the top 10 results.

15% → 99%MiniLM, 22M parameters: raw MARC to pre-encoded
51% → 100%BGE-small, 33M parameters
72% → 84%Keyword search, for comparison
Raw MARCPre-encoded
0%25%50%75%100%Keyword search (BM25): raw MARC 72%, pre-encoded 84%Keyword search (BM25)72%84%MiniLM, 22M parameters: raw MARC 15%, pre-encoded 99%MiniLM, 22M parameters15%99%BGE-small, 33M parameters: raw MARC 51%, pre-encoded 100%BGE-small, 33M parameters51%100%
All runs (top 10, ranked first, mean reciprocal rank)
MethodRecord formatTop 10FirstMRR@10
Keyword search (BM25)Raw MARC72%56%0.61
Keyword search (BM25)Pre-encoded84%69%0.75
MiniLM, 22M parametersRaw MARC15%7%0.09
MiniLM, 22M parametersPre-encoded99%86%0.91
MiniLM, 22M parametersCompact100%85%0.91
MiniLM, 22M parametersLoC-style fields99%82%0.89
BGE-small, 33M parametersRaw MARC51%22%0.31
BGE-small, 33M parametersPre-encoded100%92%0.95
BGE-small, 33M parametersCompact99%92%0.95
BGE-small, 33M parametersLoC-style fieldspending
BGE-base, 110M parametersRaw MARCpending
BGE-base, 110M parametersPre-encodedpending
BGE-base, 110M parametersCompactpending
BGE-base, 110M parametersLoC-style fieldspending
BGE-large, 335M parametersRaw MARCpending
BGE-large, 335M parametersPre-encodedpending
BGE-large, 335M parametersCompactpending
BGE-large, 335M parametersLoC-style fieldspending
Library of Congress (Titan V2)its own embeddingspending

Why raw records fail

Length is the likely culprit. A raw Library of Congress record averages about 654 tokens, the word pieces models read. Pre-encoded, the same record is about 127; the compact template is about 56. These small models read only the first 256 or 512 tokens and drop the rest.

Raw records open with administrative fields, such as acquisition notes and batch-update logs. The subject headings, the most useful part for search, come near the end and are often cut off.

Raw MARC, first 20 of 43 lines

=LDR  03327cam a22005178i 4500
=001  24148803
=005  20250607133513.1
=008  250410s2025\\\\ctu\\\\\\b\\\\001\0\eng\\
=035  \\$a24148803
=906  \\$a7$bcbc$corignew$d1$eecip$f20$gy-gencatlg
=925  0\$aacquire$b1 shelf copy$xpolicy default
=955  \\$brq10 2025-04-10$irq10 2025-04-10 (telework)$wtj16 2025-04-17
=955  \\$aLCAP batch update 2025-06-02-04:00: LCAPM-893
=010  \\$a  2025007007
=020  \\$a9781493075867$q(paperback ;$qacid-free paper)
=020  \\$z9781493075874$q(epub)
=040  \\$aDLC$beng$erda$cDLC
=042  \\$apcc
=043  \\$an-us-nv
=050  00$aGV199.42.N3$bG78 2025
=082  00$a796.5109793$223/eng/20250417
=084  \\$aSPO018000$aTRV025120$2bisacsh
=100  1\$aGrubbs, Bruce$q(Bruce O.),$eauthor.
=245  10$aHiking Nevada :$ba guide to the state's greatest hiking adventures /$cBruce Grubbs.
… 23 more lines, including all the subject headings

Pre-encoded, complete

Title: Hiking Nevada: a guide to the state's greatest hiking adventures
By: Grubbs, Bruce (Bruce O.) (author)
Edition: Fourth edition
Published: Essex, Connecticut, FalconGuides, [2025]
Description: pages cm
Subjects: Hiking — Nevada — Guidebooks; Day hiking — Nevada — Guidebooks; Walking — Nevada — Guidebooks; Backpacking — Nevada — Guidebooks; Trails — Nevada — Guidebooks; SPORTS & RECREATION / Hiking; TRAVEL / United States / West / Mountain (AZ, CO, ID, MT, NM, NV, UT, WY); Nevada — Guidebooks
Genre: Guidebooks
Summary: "This comprehensive guide details hikes of varying difficulty levels and lengths in Nevada …"
Notes: Third edition published in 2018 Includes bibliographical references and index
Format: Book, Nonfiction
Language: English
Year: 2025

What was tested

Records. 3,781 English-language books with subject headings, drawn at random from five Library of Congress classes: science (953), medicine (1000), agriculture (860), geography and recreation (449) and fine arts (519). They come from the Library's embedded-catalog files, with full records fetched from its public search service.

Questions. 120 short, patron-style questions, 24 per class. Each is tied to the one record that should answer it. Examples:

Record formats. Raw MARC as catalogers see it; fully pre-encoded, with labels and codes spelled out; the compact template from Chapter 2; and an approximation of the Library of Congress's descriptive-fields input, whose exact format is not published.

Methods. Keyword search (BM25) and two small open embedding models, MiniLM (22M parameters) and BGE-small (33M), run on an ordinary CPU.

Measure. Where the expected record ranks among all 3,781. Other relevant records were not judged, so some "misses" may be reasonable answers.

What this does not show yet

How big the gap really is. Pre-encoded formats hit the ceiling: 99 to 100% in the top 10. That says the questions are too easy, and a ceiling hides real differences.

Which format is best. Full, compact and descriptive-fields-only score within a few points of each other. A harder question set is needed to separate them.

Whether bigger models close the gap. The model that reads 512 tokens did better on raw MARC than the one that reads 256. Larger models may narrow the gap further; they have not run yet.

What happens next

Needs catalogers

Review the questions

Check each question against its expected record, mark better answers, and rewrite questions that are too easy. A spreadsheet is ready, with a catalog link for every record.

Download the 120 questions (CSV)

Needs Amazon Bedrock access

Score the Library of Congress benchmark

The Library of Congress embedded its catalog with Amazon's Titan model, so the questions must go through the same model. The kit includes the script. It costs under a cent.

About the benchmark

Running elsewhere

Larger models

BGE-base (110M) and BGE-large (335M) need more memory than the first machine had. The full kit runs on any computer with Python and a few gigabytes free.

Download the test kit (17 MB)

Help finish this experiment

Catalogers, librarians and anyone with Amazon Bedrock access can move it forward.