MARCmin · Experiment 1 · Preliminary · November 2026
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.
Share of questions where the right book came back in the top 10 results.
| Method | Record format | Top 10 | First | MRR@10 |
|---|---|---|---|---|
| Keyword search (BM25) | Raw MARC | 72% | 56% | 0.61 |
| Keyword search (BM25) | Pre-encoded | 84% | 69% | 0.75 |
| MiniLM, 22M parameters | Raw MARC | 15% | 7% | 0.09 |
| MiniLM, 22M parameters | Pre-encoded | 99% | 86% | 0.91 |
| MiniLM, 22M parameters | Compact | 100% | 85% | 0.91 |
| MiniLM, 22M parameters | LoC-style fields | 99% | 82% | 0.89 |
| BGE-small, 33M parameters | Raw MARC | 51% | 22% | 0.31 |
| BGE-small, 33M parameters | Pre-encoded | 100% | 92% | 0.95 |
| BGE-small, 33M parameters | Compact | 99% | 92% | 0.95 |
| BGE-small, 33M parameters | LoC-style fields | pending | ||
| BGE-base, 110M parameters | Raw MARC | pending | ||
| BGE-base, 110M parameters | Pre-encoded | pending | ||
| BGE-base, 110M parameters | Compact | pending | ||
| BGE-base, 110M parameters | LoC-style fields | pending | ||
| BGE-large, 335M parameters | Raw MARC | pending | ||
| BGE-large, 335M parameters | Pre-encoded | pending | ||
| BGE-large, 335M parameters | Compact | pending | ||
| BGE-large, 335M parameters | LoC-style fields | pending | ||
| Library of Congress (Titan V2) | its own embeddings | pending | ||
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.
=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 headingsTitle: 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
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.
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.
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.
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.
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.
Catalogers, librarians and anyone with Amazon Bedrock access can move it forward.