doxa-wording-encoder / EVALUATION_AMENDMENT_1.md
Giuliocc's picture
Release CPU-trained contextual wording encoder with heldout and runtime audits
b6e07f2 verified
|
Raw History Blame Contribute Delete
1.63 kB

Contextual pipeline promotion gate

Amended before held-out evaluation on 28 November 2026 UTC. The first run had reached frozen-encoder embedding preparation and was interrupted before candidate fitting or test predictions. The original registration is retained.

The product question is whether a contextual classifier improves on the deployed wording screen and lexical controls. A learned logistic head over a frozen contextual encoder is itself a trained contextual classifier. Requiring full encoder fine-tuning to outperform that classifier would answer an additional research question and could prevent a useful model upgrade from qualifying.

Select the best contextual pipeline using validation macro-F1 after the registered searches. The choices are the frozen MiniLM mean-pooling plus trained logistic head and the fully fine-tuned compact BERT classifier. The promotion gate compares that selected pipeline with the strongest noncontextual control, including all registered TF-IDF controls and the current DOXA framing control. The minimum gain remains 0.02 macro-F1 with a positive paired 95% article-group bootstrap interval. Quantized parity, agreement and file-size gates are unchanged.

Report both contextual pipelines on the frozen test after selection. Report fine-tuning's gain over the frozen encoder separately and state which pipeline was selected. A frozen-encoder result carries an explicit description of its trained head. It supplies no claim that full encoder fine-tuning improved the result. Calibration and abstention remain fixed by validation, and all failures remain in the evaluation record.