File size: 9,093 Bytes
1f5647a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | # DOXA source-span probe
**Held-out source-span evaluation complete. Parameters remain local and are not released.**
This bounded experiment asks whether a frozen Hugging Face MiniLM encoder plus two small trained token heads can recover the exact lexical/informational spans marked by the original BASIL annotators. It uses actual source annotations, retains original sentence/article offsets, and compares against task-matched token controls. A recovered source mark is not proof of political prejudice, evidence sufficiency, the model's faithful reasoning or an author's beliefs.
The underlying BASIL paper reports two annotators reaching discussion consensus. Individual votes are unavailable. No DOXA human review has been invented. Outside a marked span means no released annotation under that task, not certified harmless or unbiased language. The original lexical/informational task is not automatically mapped to DOXA's broader taxonomy.
## Actual measurements
Current table: **test**, 1,313 sentences / 17 event groups / 38,574 covered regex tokens. Validation thresholds were selected on validation only; development results do not qualify as held-out improvement.
| Fixed method | Lexical token F1 | Informational token F1 | Macro token F1 | Strict span F1 | IoU≥.5 span F1 |
|---|---:|---:|---:|---:|---:|
| all_negative | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| all_positive | 0.0102 | 0.1609 | 0.0855 | 0.0494 | 0.0808 |
| token_posterior | 0.1028 | 0.1766 | 0.1397 | 0.0699 | 0.0821 |
| char_ngram | 0.0417 | 0.1683 | 0.1050 | 0.0136 | 0.0175 |
| frozen_minilm_probe | 0.1020 | 0.2305 | 0.1663 | 0.0272 | 0.0438 |
The frozen-base probe's validation macro token F1 is 0.1615, versus 0.1218 for the validation-selected token control. Its strict span F1 is 0.0328, versus 0.0501. These weak boundary results do not justify a new deployed highlight feature. No additional candidate or threshold search follows these outcomes.
The validation probe emits 857 lexical spans for 88 references and 6,469 informational spans for 229 references. Of these, 801 lexical predictions and 5,778 informational predictions have no reference overlap; 160 informational reference spans are fragmented across multiple predictions. These predictions have poor precision and fragmented boundaries. The head is withheld from user-facing highlights. Reference-unmatched predictions count as benchmark errors; the annotation does not establish an author's beliefs or certify unmarked language as harmless. Aggregate per-method geometry is published separately; source text and annotation rows remain local.
Train encoder coverage is 99.999298%; validation coverage is 100.000000%. All positive train/validation tokens are covered. All 317 validation reference spans have boundaries aligned to the declared regex-token units; reconstructing spans from gold token labels yields strict span F1=1.0 for both validation types. Thus the weak development scores are not concealed truncation or an impossible-boundary artifact. Exact duplicate annotation intervals are counted once in span metrics while original record IDs and duplicate counts remain in local receipts. The pre-test `GOLD_TOKEN_RECONSTRUCTION.json` covers training/validation only, including the slight training informational-boundary loss.
Frozen base feature extraction took 89.81s for training and 25.70s for validation on one CPU thread. Head/control fitting plus validation selection took 15.84s. These measurements exclude downloads, model loading and article restoration. Five source-integrity unit checks cover Unicode source offsets, overlapping types, contiguous-span boundaries, one-to-one matching, duplicate references and the test-access lock.
Actual validation source linkage passes 52,641 automated checks across 66 original article hashes, all 1,647 sentences, all 317 human source marks, every method/head prediction record and 34,141 predicted local-to-article span conversions. The aggregate receipt is `VALIDATION_ANCHOR_INTEGRITY.json`; this checks coordinates and source versions, not prediction meaning.
## Registered gate and current disposition
The protocol was independently observed before fitting. Event/source-family roles come directly from the accepted frozen-v2 BASIL source lock. The probe uses only focal sentence text and the original pinned frozen MiniLM base; event/outlet/date, source IDs, speaker, target, quotation/polarity labels and annotation notes are never features. The main contextual model selection is separate. No test file can be opened by this tool until the original contextual selection and this probe selection have been explicitly locked and independently observed. Source holdout is relative to this experiment; base-encoder pretraining exposure is unknown.
The preregistered technical gate requires a macro token F1 gain of at least five percentage points over every fixed control, a positive paired event-bootstrap lower confidence bound against the validation-selected control, no material per-head regression, strict/relaxed span noninferiority and near-complete input coverage. All method outcomes, false-positive/miss counts and uncertainty are retained when test scoring is authorized. A failing gate is reported, not tuned away.
Even a technical pass does not approve rights. BASIL article text and released annotations have unresolved reuse/redistribution permissions in the checked source package. This public bundle contains original DOXA code, protocol, hashes and aggregate diagnostics only. It contains **no publisher prose, original annotation rows/spans, token vocabulary, embeddings, fitted weights, learned thresholds or per-row predictions**. Source text, labels and all trained parameters remain in a separate local-only directory. Lead approval of artifact rights is mandatory before any parameter release. Public weights eligibility remains false.
## Exact source and method
Original source: BASIL, revision `4fdbc4f68d5ddae648990063cb6dd11424d96222`; Fan et al. (2019), [In Plain Sight: Media Bias Through the Lens of Factual Reporting](https://aclanthology.org/D19-1664/). Body reference offsets are end-exclusive Unicode code points relative to the exact sentence. Article offsets add the original sentence start; paragraph starts are not substituted. Title spans are excluded.
Encoder: `sentence-transformers/all-MiniLM-L6-v2`, revision `1110a243fdf4706b3f48f1d95db1a4f5529b4d41`, frozen throughout. Fast-tokenizer offsets map original regex tokens to mean pooled last-layer WordPiece vectors. Special/padding tokens are excluded. Overlapping 256-token windows preserve complete tokens; missing coverage is counted. Independent logistic heads are fitted on training only. Token-character and frequency controls also use training-only data. Thresholds are selected on validation once, then all parameters and receipts are locked.
Strict span F1 uses exact original start/end matches. Relaxed F1 uses maximum-cardinality one-to-one matching at intersection-over-union ≥.5. Token and character metrics use original reference unions; two types can overlap. Event-cluster resampling preserves dependence among sentences from the same event. None of these overlap metrics establishes a sufficient explanation or evidence for a claim.
The original tools require local restoration and the pinned source-role manifests. Use a CPU environment with `requirements.txt`; run feature extraction on train/validation, then `fit`. The `score_test` path remains blocked until the recorded selection unlock and independent observation exist. Unresolved source rights are not cleared by running a local experiment. No hosted inference, paid training or new service is used. **New spend: $0.**
The useful next step is better task-matched, rights-clear span supervision and a separately registered contextual span model with genuine human boundary review. Existing head parameters are not presented as an advanced bias-analysis service.
## Held-out decision
Technical gate: **FAIL**. Against the validation-selected control, macro token F1 changes by +0.0266; the paired 17-event bootstrap 95% interval is [-0.0127, +0.0651] (2,000 resamples, seed1729).
| Preregistered condition | Result |
|---|---|
| token_macro_gain_at_least_05_vs_every_control | FAIL |
| paired_event_bootstrap_lower_bound_positive | FAIL |
| per_head_noninferiority | PASS |
| strict_and_relaxed_span_noninferiority | FAIL |
| token_coverage_at_least_995 | PASS |
| positive_coverage_at_least_99 | PASS |
Every fixed method and all failure counts remain available. A token-level gain cannot substitute for failed span recovery or missing rights. Parameters remain local and excluded from user-facing highlights. No post-test refitting, threshold search or source-role change is performed.
The independent automated replay passes: original source labels/offsets, all method/head confusion counts, validation threshold choices and all 2,000 event-bootstrap draws reproduce. `INDEPENDENT_REPLAY.json` confirms the technical gate failure. This audit adds zero human reviews.
|