Portfolio retrieval training experiment on a frozen scientific benchmark. Rankings indicate benchmark relevance, not claim truth or clinical advice. Training, teacher supervision, held-out quality and live serving evidence are reported separately. Results apply to the declared data, artifacts, compute budget and environment. A candidate may fail promotion.
A controlled study of selective retrieval-encoder fine-tuning, mined weak negatives and teacher distillation, with an inspectable ONNX serving path.
Open the workbench | Completion evidence | Specification | Operations
Public learned search has verified browser, separate-client and independent database receipts. The baseline remains the default; public sessions cannot promote or roll back a model. See live deployment evidence. The first frozen held-out attempt is completed. Missing export rows remain missing. Its original rankings and independent regrading are in evaluation evidence. Training, evaluation, public runtime checks and exploratory comparisons remain separate evidence.
frozen_preparation | verified inventory | 5183 documents | denominator 1 | corpus | data_inventory | 2026-11-05T21:09:38.304237+00:00 to 2026-11-05T21:19:09.579199+00:00 | source evidence/preparation/prepare.json (1af8773e8f86c7217c86d94d484f9b264eacb7b35578b07241ce60f6e39c3ecf)
frozen_preparation | verified inventory | 638 queries | denominator 1 | fit | data_inventory | 2026-11-05T21:09:38.304237+00:00 to 2026-11-05T21:19:09.579199+00:00 | source evidence/preparation/prepare.json (1af8773e8f86c7217c86d94d484f9b264eacb7b35578b07241ce60f6e39c3ecf)
frozen_preparation | verified inventory | 146 queries | denominator 1 | validation | data_inventory | 2026-11-05T21:09:38.304237+00:00 to 2026-11-05T21:19:09.579199+00:00 | source evidence/preparation/prepare.json (1af8773e8f86c7217c86d94d484f9b264eacb7b35578b07241ce60f6e39c3ecf)
frozen_preparation | verified inventory | 25 queries | denominator 1 | leakage_audit | data_inventory | 2026-11-05T21:09:38.304237+00:00 to 2026-11-05T21:19:09.579199+00:00 | source evidence/preparation/prepare.json (1af8773e8f86c7217c86d94d484f9b264eacb7b35578b07241ce60f6e39c3ecf)
base_encoder | mean nDCG@10 | 0.68090309 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T21:09:38.304237+00:00 to 2026-11-05T21:19:09.579199+00:00 | source evidence/preparation/prepare.json (1af8773e8f86c7217c86d94d484f9b264eacb7b35578b07241ce60f6e39c3ecf)
bm25 | mean nDCG@10 | 0.61139123 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T21:09:38.304237+00:00 to 2026-11-05T21:19:09.579199+00:00 | source evidence/preparation/prepare.json (1af8773e8f86c7217c86d94d484f9b264eacb7b35578b07241ce60f6e39c3ecf)
cross_encoder | executed pair count | 3625 pairs | denominator 1 | fit | teacher_supervision | 2026-11-05T21:16:37.446777+00:00 to 2026-11-05T21:19:09.443826+00:00 | source evidence/preparation/teacher-receipt.json (15174e3fd45f4d36ef901e00a128e0308402582a3ef76d8408d150346b522187)
Read OPERATIONS.md before executing a stage. Frozen inputs are retained under input-assets-42109854166; verify requests/retain.json hashes before use. The test vault is excluded from training. Selected model assets and independent rankings are linked only after their runs complete.
This is a portfolio project, not employment experience or a medical product. The teacher is weak supervision. Published qrels can be incomplete, pretrained exposure is unknown and a single seed does not establish training stability. A completed negative result is valid.
Source code is MIT licensed. Dataset and model rights remain separate; see THIRD_PARTY_NOTICES.md.
The Compare view runs bounded, serial baseline/candidate pairs with alias snapshots, persisted receipt verification and explicit failure states. It shows shared documents, rank changes and a browser-only reciprocal-rank fusion preview. Downloadable reports omit raw query text and credentials. These unlabeled diagnostics do not alter the frozen study, select a checkpoint or establish quality. See the comparison guide.
bm25 | mean per-query ndcg10 | 0.63225475 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
bm25 | mean per-query recall100 | 0.86188889 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
base_encoder | mean per-query ndcg10 | 0.64508165 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
base_encoder | mean per-query recall100 | 0.925 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
uniform_contrastive | mean per-query ndcg10 | 0.65849697 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
uniform_contrastive | mean per-query recall100 | 0.93166667 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
hard_contrastive | mean per-query ndcg10 | 0.66021724 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
hard_contrastive | mean per-query recall100 | 0.93666667 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
hard_distilled | mean per-query ndcg10 | 0.66071785 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
hard_distilled | mean per-query recall100 | 0.93666667 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
candidate_float32 | mean per-query ndcg10 | 0.66021724 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
candidate_float32 | mean per-query recall100 | 0.93666667 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
candidate_int8 | mean per-query ndcg10 | 0.6607783 ndcg10 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
candidate_int8 | mean per-query recall100 | 0.935 recall100 | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
The grouped uncertainty interval, all prespecified secondary contrasts, slices, failed exports and error examples remain in the source report. Observed differences do not establish causal explanations or training-seed stability.
hard_contrastive | candidate minus baseline mean nDCG@10 | 0.015135584 absolute nDCG@10 change | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
hard_contrastive | grouped 95 percent interval lower bound | 0.0058122288 absolute nDCG@10 change | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
hard_contrastive | grouped 95 percent interval upper bound | 0.025411053 absolute nDCG@10 change | denominator 300 | held-out test | retrieval_quality | 2026-11-14T02:23:51.016206+00:00 to 2026-11-14T02:48:17.685598+00:00 | source evidence/evaluation/report.json (9f5e4a99b3f5e916b245ce73b415c9a8d753d15eb56141e4a8a28f0483b67ae0)
None of the prespecified secondary contrasts clears the 0.05 BH-adjusted threshold. This study does not establish an advantage from hard-negative mining over uniform training or from distillation over hard-negative training. The validation-selected candidate remains fixed even when another arm has a higher test mean.
INT8 executed on this evaluation worker. Its earlier failures on other CPU workers remain in compatibility evidence; this successful run neither erases those failures nor changes the pretest float32 serving selection.
The selected candidate is hard_contrastive. Its checkpoint identity and validation-only selection are retained in the selection manifest. The comparison below uses development validation; it is not held-out quality.
hard_contrastive | completed optimizer budget | 120 updates | denominator 1 | fit | actual_training | 2026-11-05T21:32:40.192018+00:00 to 2026-11-05T21:57:21.810318+00:00 | source evidence/training/hard_contrastive/run.json (dbbe8252d0482d1c956233700f269832148a59d896026d614ced82c8c40a6258)
hard_contrastive | completed training examples | 960 query examples | denominator 1 | fit | actual_training | 2026-11-05T21:32:40.192018+00:00 to 2026-11-05T21:57:21.810318+00:00 | source evidence/training/hard_contrastive/run.json (dbbe8252d0482d1c956233700f269832148a59d896026d614ced82c8c40a6258)
hard_contrastive | mean selected-checkpoint nDCG@10 | 0.69854383 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T21:32:40.192018+00:00 to 2026-11-05T21:57:21.810318+00:00 | source evidence/training/hard_contrastive/run.json (dbbe8252d0482d1c956233700f269832148a59d896026d614ced82c8c40a6258)
hard_distilled | completed optimizer budget | 120 updates | denominator 1 | fit | actual_training | 2026-11-05T21:57:21.840066+00:00 to 2026-11-05T22:20:48.427520+00:00 | source evidence/training/hard_distilled/run.json (5453d226e14d12f1b1113297fe97e690e76ad14d461af9bae8beac79d5148778)
hard_distilled | completed training examples | 960 query examples | denominator 1 | fit | actual_training | 2026-11-05T21:57:21.840066+00:00 to 2026-11-05T22:20:48.427520+00:00 | source evidence/training/hard_distilled/run.json (5453d226e14d12f1b1113297fe97e690e76ad14d461af9bae8beac79d5148778)
hard_distilled | mean selected-checkpoint nDCG@10 | 0.69799398 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T21:57:21.840066+00:00 to 2026-11-05T22:20:48.427520+00:00 | source evidence/training/hard_distilled/run.json (5453d226e14d12f1b1113297fe97e690e76ad14d461af9bae8beac79d5148778)
uniform_contrastive | completed optimizer budget | 120 updates | denominator 1 | fit | actual_training | 2026-11-05T22:20:48.450220+00:00 to 2026-11-05T22:44:44.261488+00:00 | source evidence/training/uniform_contrastive/run.json (9a00621f3f205864e34cf9e5ad2a992441b2c5da107c9a90796094035ce82dad)
uniform_contrastive | completed training examples | 960 query examples | denominator 1 | fit | actual_training | 2026-11-05T22:20:48.450220+00:00 to 2026-11-05T22:44:44.261488+00:00 | source evidence/training/uniform_contrastive/run.json (9a00621f3f205864e34cf9e5ad2a992441b2c5da107c9a90796094035ce82dad)
uniform_contrastive | mean selected-checkpoint nDCG@10 | 0.6894497 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T22:20:48.450220+00:00 to 2026-11-05T22:44:44.261488+00:00 | source evidence/training/uniform_contrastive/run.json (9a00621f3f205864e34cf9e5ad2a992441b2c5da107c9a90796094035ce82dad)
The serving variant is candidate_float32. Selection is frozen before test access. Float32 parity and measured INT8 drift are separate records in parity.json; quantization is not an exact-equivalence claim.
base_float32 | mean symmetric-export nDCG@10 | 0.68090309 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T22:44:46.538795+00:00 to 2026-11-05T22:54:38.417064+00:00 | source evidence/export/selection.json (d80c018f2e4c50d010258acd8069e94385118a5eeedc827cd20edd5268b7128f)
candidate_float32 | mean symmetric-export nDCG@10 | 0.69854383 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T22:44:46.538795+00:00 to 2026-11-05T22:54:38.417064+00:00 | source evidence/export/selection.json (d80c018f2e4c50d010258acd8069e94385118a5eeedc827cd20edd5268b7128f)
candidate_int8 | mean symmetric-export nDCG@10 | 0.69949976 nDCG@10 | denominator 146 | validation | retrieval_quality | 2026-11-05T22:44:46.538795+00:00 to 2026-11-05T22:54:38.417064+00:00 | source evidence/export/selection.json (d80c018f2e4c50d010258acd8069e94385118a5eeedc827cd20edd5268b7128f)