Level 5 · research · ~40 h
Build an LLM evaluation suite with contamination checks
Construct a reproducible evaluation suite for instruction-tuned models that combines capability benchmarks, contamination detection and uncertainty reporting, and use it to compare three open models.
Prerequisites
Problem statement
- 01Construct a reproducible evaluation suite for instruction-tuned models that combines capability benchmarks, contamination detection and uncertainty reporting, and use it to compare three open models.
Real-world motivation
- 01Benchmark scores without contamination audits and confidence intervals are not scientifically meaningful.
Learning objectives
- 01Build a multi-benchmark harness
- 02Implement n-gram and embedding contamination detection
- 03Report paired comparisons with confidence intervals
Technical architecture
- 01unified prompt and generation interface
- 02shingled corpus index with minhash
- 03paired bootstrap statistical layer
Mathematical foundations
- 01Wilson interval for accuracy
- 02paired bootstrap difference $\hat\Delta$ with resampled questions
- 03Jaccard similarity of 13-gram shingle sets
Dataset and sources
- 01MMLU
- 02GSM8K
- 03TruthfulQA
- 04OpenWebText subset for contamination search
Step-by-step tasks
- 01Implement deterministic prompting and answer extraction
- 02Run all three models on the benchmark suite
- 03Build a shingle index of the training corpus and detect overlaps
- 04Compute paired bootstrap intervals for model differences
- 05Re-run the evaluation on a decontaminated subset
- 06Document how conclusions change
Implementation requirements
- 01Cache raw generations for audit
- 02Use strict parsers with a logged fallback
- 03Implement minhash with 128 permutations
Testing requirements
- 01Plant known duplicates and confirm detection
- 02Verify parser accuracy on a labeled sample
- 03Check bootstrap coverage on a toy problem
Evaluation metrics
- 01accuracy with Wilson intervals
- 02contamination flag rate
- 03paired difference with confidence interval
Expected outputs
- 01evaluation harness
- 02contamination report
- 03model comparison report
- 04raw generation archive
Common failure modes
- 01common templates cause false contamination flags
- 02paraphrased contamination evades n-grams
- 03parse failures silently bias scores
Stretch goals
- 01add semantic near-duplicate detection
- 02include a long-context and a safety benchmark
Research extensions
- 01study how contamination changes relative model rankings
- 02derive thresholds with controlled false-positive rates
GitHub submission requirements
- 01Harness code and tests
- 02Full result tables with intervals
- 03Contamination audit
- 04Report on ranking stability
Completion rubric
- 01harness reproducible
- 02contamination detector validated
- 03uncertainty reported
- 04decontaminated re-evaluation performed
- 05conclusions supported by data
Submit when every rubric item is satisfied and your repository contains runnable code plus a reproduction command.