﻿# NFCorpus: inspect vocabulary mismatch in specialized search

Use NFCorpus to study vocabulary mismatch between nontechnical queries and research text while retaining link-derived relevance levels and the chosen corpus adaptation.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/data-guide-nfcorpus-query-document-vocabulary/
Language: en

## Identify the vocabulary mismatch being tested

The [Heidelberg owner page](https://www.cl.uni-heidelberg.de/statnlpgroup/nfcorpus/) describes nontechnical English queries harvested from NutritionFacts.org and terminology-heavy research documents, mostly associated with PubMed. This creates a useful test of query–document vocabulary mismatch. It does not establish that the selected website's questions represent every information need in the domain. Keep the query representation explicit: the original resource provides several query flavors, so changing from a short query to expanded article text changes the experiment.

## Interpret relevance as a link-derived relationship

Judgments are automatically extracted through direct citations, indirect links through another site article and shared topic/tag connections. These relationships define different levels of relevance. They are not independent expert assessments of whether every document supports a particular intervention or conclusion. Retain the levels rather than binarizing them without explanation. A document connected through a topic tag can be broadly related while addressing a different detail from the user's question.

## Keep the original split unit visible

The owner describes training, development and test subsets split at query level. That arrangement does not imply separate document universes for every phase. Using collection statistics for indexing is also distinct from fitting a supervised model on test judgments; the owner FAQ explicitly discusses computing lexical statistics from the full collection. A proposed method comparison should preserve that distinction and identify any relevance labels used for tuning. [Split guidance](/journal/document-level-data-split-leakage/) helps describe the actual independence claim.

## Name the BEIR adaptation instead of merging inventories

The original page describes 9964 documents, while the [BEIR-maintained card](https://huggingface.co/datasets/BeIR/nfcorpus/blob/main/README.md) lists 3633 corpus records for its packaged adaptation. Those inventories should not be combined as if they described one unchanged artifact. The adapter uses document identifiers, titles and text separately from query records and relevance mappings. Its generic task tags include unrelated retrieval categories; use the owner description to establish NFCorpus's actual task, rather than copying every inherited tag into a profile.

## Audit the loaded query set and retrieval errors

The [BEIR loader](https://raw.githubusercontent.com/beir-cellar/beir/main/beir/datasets/data_loader.py) reads corpus and query records separately, then restricts loaded queries to those represented in the selected qrels. Thus, a raw query-file count need not equal the evaluated query count. Keep the selected split and relevance file with the result. A proposed error review would separate vocabulary misses, broad topical matches and documents absent from the adapted corpus. [Qrels interpretation](/journal/beir-qrels-unjudged-retrieval-evaluation/) prevents a retrieval diagnostic from overstating what an unjudged result proves about relevance or scientific validity.
