Manuscript Offprint

arXiv:2610.30175

FormBench: A Benchmark for Fine-Grained Retrieval in Formulation Patents

Vineeth Venugopal, Elsa Olivetti, Jonathan Welch

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

Abstract

We introduce FORMBENCH, a platform for testing the ability of models to retrieve precise chemical information from technical documents. FORMBENCH contains 55,352 queries and two retrieval corpus variants each with ~1M passages: FORMBENCH-Random (C0), with randomly sampled distractors, and FORMBENCH-Structured (C1), with structurally proximate distractors. Each query is paired with an anchor passage, a hard negative, and a soft negative — derived from a materials ontology through entity overlap scoring, providing a deeper graded signal on a model's discriminatory power. We evaluate 10 model configurations spanning commercial API encoders (OpenAI, Voyage), open-source encoders (Nomic, GTE-large, Qwen3-Embed), and their task-adaptive fine-tuned (TAPT) variants. We find: (1) commercial APIs score very poorly across all configurations (OpenAI-3-large: 0.009 on C1, 0.213 on C0); (2) TAPT on FORMBENCH triplets lifts Qwen3-Embed to 0.4085 on C1, 0.4835 on C0; (3) BM25 remains competitive (0.375 on C1, 0.467 on C0), exceeded only by TAPT-Qwen3; (4) corpus size has a significant impact on retrieval behavior, as demonstrated through a corpus-size ablation; (5) the API failure traces to within-domain geometric collapse; (6) APIs outperform even the TAPT variants on classification and clustering tasks. FORMBENCH is released in BEIR-compatible format at vinven7/FormBench under CC-BY-4.0.

1 Introduction

Domain-specific scientific information retrieval from unstructured text is harder than general retrieval. Relevant passages may share the same tokens representing domain-specific entities — surfactants, polymers, solvents, reaction conditions, performance descriptors, etc — yet differ in the functional roles those entities play and the application context for which a system was designed. The discriminative signal is ontological, not topical: the same surfactant may act as emulsifier, dispersant, or wetting agent depending on context, and it often takes technical training to discern the difference. Language models trained on generic web data are not designed for this, and consequently existing text retrieval benchmarks do not expose this failure mode.

We introduce FORMBENCH (Formulation Benchmark), a large-scale retrieval benchmark of 55,352 queries built from US formulation patents. Distractors are functional near-misses — passages sharing high chemical entity density with the anchor but differing in role, context, and function — not topic distractors. Two corpus variants isolate distractor difficulty: FormBench-Random (C0) (~997K random-distractor passages) tests coarse domain retrieval; FormBench-Structured (C1) (~994K ontologically adjacent near-miss passages) requires functional-level discrimination. Both share identical queries and relevance judgments and are released in BEIR format.

We evaluate 10 model configurations spanning commercial API encoders (OpenAI, Voyage), open-source encoders (Nomic, GTE-large, Qwen3-Embed), and their task-adaptive fine-tuned (TAPT) variants, along with a BM25 lexical baseline. Three findings emerge. First, commercial APIs score below the BM25 lexical floor (nDCG@10 ≤ 0.009 vs. 0.375). Second, TAPT on taxonomy-derived triplets performs significantly better than the API baselines and exceeds the lexical ceiling (Qwen3-

Preprint.

Embed + MNRL: 0.4085 on C1, 0.4835 on C0). Third, the embedding modification produced by TAPT is task-specific: models that excel at retrieval gain nothing on classification or clustering, yet they retain their advantage under corpus-size ablation. Together these findings point to a single mechanism: general embeddings struggle with ultra-fine-grained discrimination between structurally similar technical passages unless trained explicitly for that retrieval geometry.

References (62)