Companion code and artefacts for the MSc dissertation Evaluating and Mitigating Format Sensitivity in Metadata-Enriched Cross-Encoder Reranking (Dan Foad, University of Bath, 2026).
The study runs in two phases:
L_total = L_rank + lambda*L_inv) reduce that sensitivity without harming ranking quality? Evaluated on three format-sensitive models with a five-fold hold-one-out design over the five formats.docs/h1-results.md.docs/h2-results.md.src/fsr/ # library code: corpus building, scoring, LoRA
h1/ # H1 (characterisation)
h2/ # H2 (mitigation)
scripts/ # runnable pipeline entry points
notebooks/ # analysis notebooks
data/ # refined corpus
adapters/ # trained LoRA adapter weights
docs/ # results write-ups, methodology notes
Requires Python 3.13 and uv.
A CUDA GPU is recommended, results were gathered on RTX 3090 and RTX A5000 GPUs.
This research made use of Hex, the GPU Cloud in the Department of Computer Science at the University of Bath
See docs/reproduction.md for the full H1 and H2 pipelines and instructions.
H1 scores six models:
cross-encoder/ms-marco-MiniLM-L6-v2cross-encoder/ms-marco-MiniLM-L12-v2BAAI/bge-reranker-baseBAAI/bge-reranker-v2-m3mixedbread-ai/mxbai-rerank-base-v1jinaai/jina-reranker-v2-base-multilingualH2 fine-tunes the three format-sensitive models: MiniLM-L6, mxbai, jina.
Multi-licensed (full breakdown in SOURCES.md):
src/, scripts/, notebooks/): MIT.data/): CC BY-SA 3.0, inherited from Natural Questions and Wikipedia.adapters/): each inherits its base model's licence. The jina adapter is CC BY-NC 4.0. The others are Apache-2.0-compatible.See CITATION.cff.
6 commits
Python
100.0%
Companion code and artefacts for the MSc dissertation Evaluating and Mitigating Format Sensitivity in Metadata-Enriched Cross-Encoder Reranking (Dan Foad, University of Bath, 2026).
The study runs in two phases:
L_total = L_rank + lambda*L_inv) reduce that sensitivity without harming ranking quality? Evaluated on three format-sensitive models with a five-fold hold-one-out design over the five formats.docs/h1-results.md.docs/h2-results.md.src/fsr/ # library code: corpus building, scoring, LoRA
h1/ # H1 (characterisation)
h2/ # H2 (mitigation)
scripts/ # runnable pipeline entry points
notebooks/ # analysis notebooks
data/ # refined corpus
adapters/ # trained LoRA adapter weights
docs/ # results write-ups, methodology notes
Requires Python 3.13 and uv.
A CUDA GPU is recommended, results were gathered on RTX 3090 and RTX A5000 GPUs.
This research made use of Hex, the GPU Cloud in the Department of Computer Science at the University of Bath
See docs/reproduction.md for the full H1 and H2 pipelines and instructions.
H1 scores six models:
cross-encoder/ms-marco-MiniLM-L6-v2cross-encoder/ms-marco-MiniLM-L12-v2BAAI/bge-reranker-baseBAAI/bge-reranker-v2-m3mixedbread-ai/mxbai-rerank-base-v1jinaai/jina-reranker-v2-base-multilingualH2 fine-tunes the three format-sensitive models: MiniLM-L6, mxbai, jina.
Multi-licensed (full breakdown in SOURCES.md):
src/, scripts/, notebooks/): MIT.data/): CC BY-SA 3.0, inherited from Natural Questions and Wikipedia.adapters/): each inherits its base model's licence. The jina adapter is CC BY-NC 4.0. The others are Apache-2.0-compatible.See CITATION.cff.
6 commits
Python
100.0%