Manuscript Offprint

arXiv:2609.03047

SHELF: A Synthetic Harness for Multi-Task Bibliographic Benchmarking

Michael J. Bommarito

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Libraries and archives manage large collections with limited staff and computing budgets, yet common benchmarks do not systematically test their bibliographic work. They need to know which methods work for their tasks and what those methods require to run. SHELF, the Synthetic Harness for Evaluating LLM Fitness, addresses this gap. It is a Python system that turns labelled taxonomies, writing specifications, and a generation budget into controlled benchmark data and evaluation tasks. This first release contains 62,899 model-written documents based on Library of Congress vocabularies, with tasks for classification, clustering, retrieval, pair classification, and instruction retrieval. We compare TF, TF-IDF, BM25, popular encoders, and, on subject classification only, zero-shot decoders; each method appears only on tasks that support it. Subject classification reaches 0.8887, while genre-form classification reaches only 0.2605, and several pair and clustering tasks remain near chance. Sparse methods remain competitive on classification, while TF-IDF is the fastest measured arm in the subject timing experiment. SHELF also varies bibliographic facets independently and can generate new, verifiably unseen documents after a model's training cutoff. Comparisons with LCSHBench and Project Gutenberg show that model rankings transfer more reliably than absolute scores, but SHELF scores do not estimate accuracy on production catalogue data. We release all source code and data under permissive licenses on GitHub and Hugging Face.

1 Introduction

Benchmarks should help users choose a model for their tasks, but that choice becomes difficult when no benchmark covers their work or when a leaderboard score does not predict performance under their constraints.

Libraries and archives face both of these issues. They need to know which methods can classify, cluster, retrieve, and pair documents by subject, genre, geography, audience, or register, and what each method requires to run. And they need to do this across large collections, typically with limited staff and computing budgets. Yet common benchmarks do not systematically test bibliographic work, so libraries lack evidence that is both task-relevant and cost-aware.

At the same time, bibliographic tasks are useful measures of general fitness. A model that cannot classify, cluster, retrieve, or pair documents by subject, genre, geography, audience, or register likely has practical limitations that an aggregate score may hide. In particular, a model that cannot distinguish what a document is about from how it is written is likely to make serious mistakes when drafting or summarizing. While success on these

tasks does not establish general fitness, failure can identify limits that matter well beyond bibliographic work.

The Massive Text Embedding Benchmark (MTEB) [18], the best-known benchmark in this area, measures model performance broadly, yet it does not include bibliographic tasks. Across all 1,451 definitions in mteb 2.20.4, there is no Library of Congress, Dewey, MARC, or cataloguing task.²

Here enters SHELF, the Synthetic Harness for Evaluating LLM Fitness. SHELF generates bibliographic benchmark data when real labelled text is scarce, expensive, or contested. The software takes a labelled taxonomy, writing specifications, and a generation budget, then writes labelled documents and builds evaluation tasks.

The current release includes one dataset made with this system. It uses Library of Congress vocabularies and varies subject, genre, audience, register, geography, and length. We ask which sparse methods, encoders, and decoders can support the resulting bibliographic tasks, although not every method supports every task. Every benchmark score in this paper comes from this released dataset. The only exceptions are the external validation

²Checked by searching the name, description, type, and domains of every task definition on 29 August 2026. Two names mislead. LccSentimentClassification uses the Leipzig Corpora Collection, not the Library of Congress classification, and the one task matching "catalogue" retrieves beverage marketing documents.

¹Portions of this work were prepared with assistance from large language models. The author is solely responsible for all content, including any errors or omissions.

experiments in Section 6, which show why we do not apply its scores to other datasets.

Library cataloguing makes this a harder problem, but also a real one. SHELF uses 21 broad Library of Congress Classification classes and 133 genre and form labels. Cataloguers do not always assign the same subject headings to the same work, as the LCSHBench concordance study later quantifies [27].

Two projects have begun to fill that gap with real catalogue records [8, 27]. Those records carry a further problem, though: what a cataloguer assigned is bound up with who catalogued it, when, and in what language. Genre and subject also move together in natural collections, so a corpus of real records cannot tell you whether a model reads the subject or reads the register.

SHELF therefore generates documents instead of collecting existing catalogue records. Each document is written to a specified subject, genre, audience, register, and other bibliographic facets. This control lets us vary facets separately, even when they often occur together in natural collections. SHELF also varies the writing model, prompt style, and sampling settings, so the source of each document is measured rather than hidden.

The released dataset contains 62,899 documents from 25 models and records how each document was generated. Its factorial subset contains 18,345 documents from 15 models and four prompt styles, covering all 60 model-prompt pairings. Temperature ranges from 0.6 to 1.2, and nucleus-sampling probability ranges from 0.85 to 1.0. Researchers can use this subset when an analysis requires tighter control over the writing model and bibliographic facets. Section 3 describes the subset and the split protocol.

All released SHELF documents were generated in or after November 2025, and every embedding checkpoint evaluated here predates them, so the documents are out of sample for the embedding panel. This claim does not cover the later decoder models in Section 4.6. Future models may be trained on this public release, but SHELF can then generate another dataset after those models' training cutoffs while preserving the same labels and task design. The new documents will be verifiably unseen, although generation after a cutoff does not remove source bias.

The current evaluation turns those controlled documents into five kinds of task: classification, clustering, retrieval, pair classification, and instruction retrieval. Together, they cover subject, topic, genre, audience, register, and geography. Table 2 lists every task variant, metric, and evaluated method family, while the 25 configurations span sparse methods, early sentence encoders, and recent small and mid-size embedding models.

The results separate easy labels from hard ones. Subject classification reaches 0.8887, while classification across 133 genre forms reaches 0.2605. Subject retrieval reaches 0.7104, but genre-form retrieval reaches 0.1173. Register and audience pairs remain near chance. Sparse methods compete with dense encoders in classification and trail them in retrieval. The separate tasks show which formulations and label spaces current embeddings can use.

Machine-written data still require an external check, so we compare the subject tasks with Project Gutenberg passages and LCSHBench catalogue records. SHELF produces similar model rankings, but absolute scores do not transfer between the corpora. We use this result to bound the benchmark claim, not to define the benchmark: the released dataset supports model comparison and diagnosis, not estimates of production accuracy.

In sum, this paper makes five contributions:

  1. A system that turns a labelled taxonomy, controlled writing specifications, and a generation budget into bibliographic benchmarking data and evaluation tasks. The released code can write a fresh dataset after a future training cutoff (Section 3).

  2. An evaluation dataset of 62,899 documents from 25 models. Of these, 20,367 are specification-backed, including an 18,345-document generator-balanced factorial component, so the writing model is a reported axis rather than a nuisance (Section 3).

  3. An evaluation spanning five task formulations and six bibliographic facets, with stored results for 25 model configurations (Sections 4 and 4.4).

  4. Measurements of task difficulty, label leakage, model headroom, and failed task designs (Sections 4.5, 5 and 5.2).

  5. A bounded external check of subject scores and model rankings against two natural corpora (Sections 6 and 6.2).

References (41)