Skip to content
FlowScript templates

Document triage ablation

Compare removals from a document classifier, from section structure to abstention, against its fixed baseline; illustrative deltas are not measured performance or causal evidence. Typed FlowScript for machine-learning evaluation. Keywords: ablation, benchmark, evaluation, model comparison.

Template previewFlowScript
ABLATION STUDY · ILLUSTRATIVE BOUNDED QUALITY SCORE; HIGHER IS BETTERbaseline_eval — baseline 0.820#CHANGEΔ vs BASESCORE1Remove section structurevariant_0−0.0600.7602Remove class reweightingvariant_2−0.0500.7703Remove abstention mechanismvariant_4−0.0400.7804Remove OCR quality gatevariant_1−0.0350.7855Remove domain lexiconvariant_3−0.0250.795

What this template contains

Source
46 lines

Make it your own.

// Compare removals from a document classifier, from section structure to abstention, against its fixed baseline; illustrative deltas are not measured performance or causal evidence.
// Synthetic worked example: all entities, schedules and measurements are illustrative.
// Every string below is EXAMPLE text from a fictional model: replace it.
// Replace assumptions and inputs before applying this model to actual work.

model baseline_model {
  title: "Illustrative Document classifier"
  params: 12000000
  family: "Research prototype"
}

dataset evaluation_set {
  title: "Synthetic Source-separated test documents"
  n: 500
  split: "held-out"
}

eval baseline_eval {
  model: baseline_model
  dataset: evaluation_set
  metric: "Illustrative bounded quality score; higher is better"
  score: 0.82
}

ablation variant_0 {
  base: baseline_eval
  delta: -0.06
  change: "Remove section structure"
}

ablation variant_1 {
  base: baseline_eval
  delta: -0.035
  change: "Remove OCR quality gate"
}

ablation variant_2 {
  base: baseline_eval
  delta: -0.05
  change: "Remove class reweighting"
}

ablation variant_3 {
  base: baseline_eval
  delta: -0.025
  change: "Remove domain lexicon"
}

ablation variant_4 {
  base: baseline_eval
  delta: -0.04
  change: "Remove abstention mechanism"
}

view variants: ablation_table(baseline_eval)