OpAI-Bench12's picture
Add files using upload-large-folder tool
af4f316 verified
|
Raw History Blame Contribute Delete
2.99 kB

Ablation4 compression-position results

The experiment compares compression at v4 (original), v2 (early), and v6 (late) on the supplied test split. It uses 115 source documents: 30 essays, 27 news articles, 25 reports, and 33 abstracts. The three conditions share 1,030 retained document/version records each. At v0–v3 there are 115 documents per condition; at v4–v8 there are 114. Rows are matched by domain, source ID, and version.

Methods

GPT-5.4 returns sentence labels and probabilities using the frozen sentence prompt, reasoning effort none, and a 2,048-token output limit. Binary labels are used directly. Desklib, RADAR, and Fast-DetectGPT use their frozen model implementations and native document labels, scores, and truncation settings. Exact model and checkpoint settings are recorded in ../model_settings.json.

Outputs

  • metrics.csv and metrics.json: native confusion counts and metrics for each method, condition, version, and domain, plus pooled results. Sentence metrics pool actual sentence units. Pooled metrics are calculated from combined units, rather than averaging domain F1 scores.
  • document_matched_auroc.csv: matched same-source v0-versus-vi document AUROC and source-bootstrap intervals. Each comparison includes the same source IDs at both versions.
  • paired_differences.csv: early/late minus original differences and 95% percentile intervals. The 2,000 bootstrap replicates use seed 42, resample source documents together across conditions, and retain all units of a sampled source. Pooled resampling preserves each domain's source count. Comparisons use the intersection of available source IDs, including the v0 baseline for AUROC.
  • coverage_per_record.csv and coverage_summary.csv: actual AI sentence/word coverage and body length statistics. Words follow the supplied whitespace-token sequence; character counts use Python Unicode character positions. essay_length is not used as edited-document length.
  • figures/: version curves in PNG and PDF; diamonds mark each condition's compression step.
  • RESULTS.md: pooled results formatted as percentages.

The raw metric files preserve the frozen scorer's zero-support convention: F1-AI is 0 when there is no positive ground-truth support, and Macro-F1 remains the fixed two-class average. In the readable results and figures, F1-AI and FNR with no AI support are shown as N/A. One-class per-version AUROC is undefined; the document AUROC table instead compares matched v0 and vi records. Confidence-interval differences use the 0–1 scale.

Run

From the Code_submit_iclr/ repository root:

python -B ablation4_compression_position/analysis/export_results.py

Use --check-only to validate currently available records and report missing predictions without producing result tables. Exit code 2 indicates missing inputs, 1 indicates an invalid record or analysis error, and 0 indicates complete validation. The script makes no model or API calls.