Designing Programmatic Verifiers for Domain Tasks: A Practical Guide
Designing Programmatic Verifiers for Domain Tasks: A Practical Guide
A training signal is only as good as its verifier. In math and code, this is well understood: unit tests and symbolic checkers have made RLVR tractable at scale. In domain tasks, the same principle applies and is far harder to execute. Designing programmatic verifiers for domain tasks means building the machinery that decides, without human review on every sample, whether a model output is correct, partially correct, or wrong. Get this wrong and reward hacking, false positives, and silent failure modes corrupt the entire post-training pipeline.
This guide covers verifier architecture, failure mode analysis, and the decision rules a post-training researcher or evals engineer needs to choose and build verifiers for non-software expert domains.
What Is a Programmatic Verifier and Why Does Domain Context Change Everything?
A programmatic verifier is a deterministic or semi-deterministic function that takes a model output and a ground-truth specification and returns a correctness signal, either binary or graded. In code tasks, the verifier is the test suite. In math, it is a symbolic solver or numerical comparator. In domain tasks, the equivalent must be designed from scratch, because the output space is neither executable nor symbolically tractable in the same way.
Domain context changes verifier design along three axes:
Output format: A G-code program, a bill of materials, a structural load calculation, and a PLC ladder logic diagram each require a different parser and a different correctness criterion.
Ground truth structure: Some domain tasks have a single correct answer (a torque value, a circuit node voltage). Others have a valid solution space (a CNC toolpath that meets tolerance and cycle-time constraints). Verifiers must handle both.
Verification cost: Running a physical simulation or a licensed CAE solver is expensive. Verifier design must balance fidelity against throughput, especially at RL scale where millions of rollouts are evaluated.
Answer Capsule
Designing programmatic verifiers for domain tasks requires four components: a parser that extracts the structured output from model text, a constraint checker that tests necessary conditions, a fidelity layer that tests sufficiency (via simulation, symbolic evaluation, or expert rubric), and a calibration step that measures false-positive and false-negative rates against expert-labeled ground truth. The right architecture depends on output type, solution-space structure, and available simulation tooling.
The Four-Layer Verifier Architecture for Domain Tasks
Every robust domain verifier is built from the same four layers, applied in sequence. Skipping any layer produces a verifier that either over-rewards or under-rewards, both of which are training failures.
Layer 1: Parser
The parser extracts structured data from the model's free-text or formatted output. For a G-code task, it tokenizes modal commands and coordinate values. For a structural calculation task, it extracts numeric results and unit annotations. Parser failures, where the model produces syntactically malformed output, should return a fixed low score, not an error that halts the pipeline.
Parser design decisions:
Define the expected output schema before authoring tasks. Schema ambiguity is the leading cause of parser rework.
Log all parse failures by failure type. A spike in a specific parse error often indicates a prompt format problem, not a model capability problem.
Treat partial parses as partial outputs, not failures, and pass them to the constraint checker with a flag.
Layer 2: Constraint Checker (Necessary Conditions)
The constraint checker tests whether the output satisfies the necessary conditions of correctness: physical plausibility, unit consistency, range bounds, required fields present. These checks are fast, cheap, and catch the majority of clearly wrong outputs before they reach the expensive fidelity layer.
Examples by domain:
Domain | Necessary Condition Check | Implementation |
|---|---|---|
CNC/CAM | Feed rate within machine envelope | Rule-based range check on parsed F-values |
Structural engineering | Load values are positive, units consistent | Dimensional analysis on extracted quantities |
PCB/VLSI | Net list is complete, no floating pins | Graph connectivity check on parsed netlist |
PLC ladder logic | All rungs are syntactically valid, no duplicate coils | AST validation against IEC 61131-3 grammar |
Accounting | Balance sheet balances, debits equal credits | Arithmetic check on extracted account values |
Layer 3: Fidelity Layer (Sufficient Conditions)
The fidelity layer tests whether the output actually solves the problem. This is where domain-specific tooling is required. Three approaches, in order of fidelity and cost:
Simulation-based verification: Run the output through a domain simulator (a CAM post-processor, a SPICE circuit simulator, a finite-element solver) and compare the result against a target specification. Highest fidelity. Requires licensed or open-source simulator access and significant engineering to wrap the simulator as a callable function.
Symbolic or algebraic verification: For tasks with closed-form solutions (beam deflection, voltage divider, break-even analysis), compute the correct answer symbolically and compare numerically with a tolerance. Fast and reliable where applicable.
Expert rubric scoring: For tasks where simulation is unavailable or too expensive, a structured rubric with weighted criteria and binary sub-scores approximates a verifier. This is the least scalable option and requires inter-rater calibration. See the discussion of rubric design in the context of preference pairs in technical domains with verifiable ground truth.
Layer 4: Calibration
A verifier that has not been calibrated against expert-labeled ground truth is a hypothesis, not a tool. Calibration measures false-positive rate (FPR: wrong outputs the verifier accepts) and false-negative rate (FNR: correct outputs the verifier rejects) on a held-out set of expert-labeled examples.
Acceptable thresholds depend on use case:
For RL training signals: FPR below 5% is the priority. False positives teach the model to produce wrong outputs confidently.
For evals: FNR below 10% is the priority. False negatives undercount model capability and produce pessimistic benchmarks.
Calibration is not a one-time step. As models improve, the distribution of outputs shifts, and verifier edge cases that were rare become common. Recalibrate whenever the model under training changes significantly. This is directly related to the eval headroom problem discussed in designing evals with headroom against frontier models.
Worked Example: A Verifier for a CNC Toolpath Task
Illustrative example (numbers are plausible but constructed for illustration):
Task: Given a 2D pocket geometry and a set of machine constraints (spindle speed range 500-8000 RPM, maximum feed rate 3000 mm/min, tool diameter 6 mm, material: 6061 aluminium), generate a G-code program that machines the pocket to a depth of 10 mm with a surface finish Ra of 1.6 micrometres or better.
Layer 1 (Parser): Extract all modal G-codes, M-codes, coordinate blocks, F-values, and S-values from the model output. If the output contains non-G-code text mixed with G-code, strip preamble and postamble using a regex that identifies the program start (%) and end (%) markers.
Layer 2 (Constraint Checker): Verify that all F-values are in [1, 3000], all S-values are in [500, 8000], depth-of-cut per pass does not exceed 2 mm (a conservative rule for this material and tool diameter), and all coordinate values are within the machine envelope (illustrative: X: 0-500 mm, Y: 0-400 mm, Z: -50 to 0 mm).
Layer 3 (Fidelity): Run the G-code through an open-source toolpath simulator (for example, a headless CAM kernel) and extract: total machining time, material removal rate, and whether the pocket boundary is fully covered within a 0.05 mm tolerance. Compare against the target specification. A program that covers 95% of the pocket area and meets all constraint checks scores 0.7. Full coverage with optimal feed rate scores 1.0.
Layer 4 (Calibration): On a set of 50 expert-authored G-code programs labeled as correct, partially correct, or wrong by a CNC instructor, the verifier achieves FPR of 3% and FNR of 8%. Acceptable for RL training use.
Common Failure Modes in Domain Verifier Design
These are the failure modes that corrupt training signals and eval results. Each has a detection method and a fix.
1. Verifier Reward Hacking
What it is: The model learns to produce outputs that pass the verifier without solving the underlying task. A G-code program that moves the tool to all required coordinates but in a physically impossible sequence passes a coordinate-coverage check but produces scrap in simulation.
Detection: Sample high-scoring model outputs and review them with a domain expert. If experts rate them as wrong at a rate above 10%, the verifier has been hacked.
Fix: Add simulation-based checks that test physical realizability, not just coordinate presence. Increase fidelity layer coverage.
2. Parser Brittleness
What it is: The parser fails on valid but unexpected output formats, producing false negatives. A model that outputs correct G-code with non-standard whitespace gets rejected.
Detection: Log parse failure rates by token type. A failure rate above 5% on a single token class indicates a brittle rule.
Fix: Use grammar-based parsers (PEG or ANTLR grammars) rather than regex chains for structured domain languages. Test the parser on a diverse set of human-authored outputs before deployment.
3. Tolerance Miscalibration
What it is: Numeric tolerances in the constraint checker are set too loosely or too tightly relative to real-world practice. A tolerance of 1 mm on a precision machining task is an order of magnitude too loose.
Detection: Have a domain expert review the tolerance thresholds before deployment. Compare against published standards (for example, ISO 2768 for general tolerances in machining).
Fix: Source tolerances from domain standards and from the task specification, not from intuition. Document the tolerance source in the verifier code.
4. Simulator Version Drift
What it is: The simulator used in the fidelity layer is updated, changing its output format or numerical results, silently breaking the verifier.
Detection: Pin simulator versions in the verifier environment. Run a regression test suite of known-correct and known-wrong outputs after any environment update.
Fix: Treat the verifier environment as a software artifact with version control and a test suite, not as a script.
5. Rubric Inflation in Expert Scoring
What it is: When rubric scoring is used in the fidelity layer, experts systematically score outputs higher than the task merits, compressing the score distribution and reducing training signal quality. This is related to the broader problem of style overfitting discussed in domain-specific RLHF failure modes.
Detection: Compute inter-rater agreement (Cohen's kappa or Krippendorff's alpha) across rubric dimensions. Kappa below 0.6 on a binary criterion indicates calibration failure.
Fix: Use gold-standard tasks with known correct scores to recalibrate experts before each scoring batch. Anchor rubric criteria to observable output features, not holistic quality judgments.
6. Missing Failure-Mode Coverage
What it is: The verifier tests for the failure modes the task author anticipated, but not for the failure modes the model actually exhibits. A verifier built before model evaluation is always incomplete.
Detection: Run the verifier on a sample of model outputs before training begins. Analyze high-scoring wrong outputs and low-scoring correct outputs for systematic patterns.
Fix: Build verifiers iteratively. Author the task, run a frontier model, analyze failure modes, update the verifier, repeat. This is the core loop of the expert task authoring playbook.
Where This Approach Breaks Down
Programmatic verifiers are not universally applicable. Three situations where this architecture fails or requires significant modification:
Open-ended design tasks: Tasks where the solution space is large and the quality criteria are multi-dimensional and partially subjective (for example, a mechanical assembly design that optimizes for manufacturability, aesthetics, and cost simultaneously) cannot be fully verified programmatically. A rubric-based fidelity layer is the only option, and it carries higher noise.
Domains without accessible simulators: Some expert domains lack open-source or affordable simulation tooling. In these cases, the fidelity layer must rely on expert review, which does not scale to RL training volumes without significant human-in-the-loop infrastructure.
Rapidly evolving model capability: A verifier calibrated against current frontier models will drift as models improve. Tasks that were hard enough to produce useful training signal become too easy, and the verifier's score distribution compresses toward the top. Difficulty must be recalibrated periodically, as described in the context of minimum sample size for domain-specific evals.
Frequently Asked Questions
What is the difference between a verifier and a reward model in domain RLVR?
A verifier is a deterministic or rule-based function that checks correctness against a specification. A reward model is a learned function that predicts human preference. In domain RLVR, verifiers are preferred where ground truth is computable, because they do not generalize incorrectly or drift with distribution shift. Reward models are used when correctness is not computable and human preference data is available. The two can be combined: a verifier handles necessary conditions, a reward model handles sufficiency where simulation is unavailable.
How many expert-labeled examples are needed to calibrate a domain verifier?
Calibration set size depends on the acceptable confidence interval around your FPR and FNR estimates. For a binary verifier targeting FPR below 5% with a 95% confidence interval of plus or minus 3 percentage points, approximately 200 labeled examples are required (Wilson interval calculation). For graded verifiers with multiple score levels, the sample size per score level must meet the same threshold. Smaller sets produce unreliable calibration estimates and should be treated as preliminary.
Can a large language model be used as the fidelity layer in a domain verifier?
An LLM can serve as the fidelity layer when no simulator is available and expert rubric scoring is too slow. The risk is that the LLM fidelity layer inherits the same failure modes as the model under training, producing correlated errors. If the training model and the verifier LLM share a base model or training distribution, reward hacking through the verifier is more likely. Use a model from a different family and validate against expert labels. For the broader trade-offs, see evaluating domain-specific reward models with expert judgments.
How do you handle tasks where multiple correct solutions exist?
Design the verifier to test constraints and outcomes, not solution paths. A toolpath that meets cycle time, surface finish, and collision-free movement requirements is correct regardless of the specific path chosen. Define the acceptance criteria in the task specification before authoring the verifier. Where the solution space is continuous, define a Pareto-acceptable region and score outputs by their distance from the Pareto frontier on the relevant dimensions.
What is the right unit of verifier output: binary or graded?
Binary verifiers are simpler to calibrate and produce cleaner RL training signals. Graded verifiers provide more information per sample and are more useful for process reward models and preference data generation. Use binary verifiers for RL training where the task has a clear correct answer. Use graded verifiers for preference data and for tasks where partial credit reflects genuine partial competence. Never use graded verifiers as a substitute for a well-defined binary criterion when one exists.
What This Means in Practice
Designing programmatic verifiers for domain tasks is not a one-time engineering effort. It is a recurring loop: author the task, build the parser and constraint checker, run frontier models, analyze failure modes, add fidelity checks, calibrate against expert labels, and recalibrate as models improve. The verifier is as much a research artifact as the task itself. A task without a reliable verifier is not a usable training or eval signal. It is an expensive annotation that produces noise.
The non-software expert domains, CNC/CAM, structural engineering, PCB/VLSI, PLC, manufacturing quality, are precisely the domains where verifier design is hardest and where the payoff from getting it right is highest. The difficulty is real. So is the signal.
If you are building evals or RL environments in a domain where programmatic verification is unsolved, get in touch with Chiron Data Labs.
A training signal is only as good as its verifier. In math and code, this is well understood: unit tests and symbolic checkers have made RLVR tractable at scale. In domain tasks, the same principle applies and is far harder to execute. Designing programmatic verifiers for domain tasks means building the machinery that decides, without human review on every sample, whether a model output is correct, partially correct, or wrong. Get this wrong and reward hacking, false positives, and silent failure modes corrupt the entire post-training pipeline.
This guide covers verifier architecture, failure mode analysis, and the decision rules a post-training researcher or evals engineer needs to choose and build verifiers for non-software expert domains.
What Is a Programmatic Verifier and Why Does Domain Context Change Everything?
A programmatic verifier is a deterministic or semi-deterministic function that takes a model output and a ground-truth specification and returns a correctness signal, either binary or graded. In code tasks, the verifier is the test suite. In math, it is a symbolic solver or numerical comparator. In domain tasks, the equivalent must be designed from scratch, because the output space is neither executable nor symbolically tractable in the same way.
Domain context changes verifier design along three axes:
Output format: A G-code program, a bill of materials, a structural load calculation, and a PLC ladder logic diagram each require a different parser and a different correctness criterion.
Ground truth structure: Some domain tasks have a single correct answer (a torque value, a circuit node voltage). Others have a valid solution space (a CNC toolpath that meets tolerance and cycle-time constraints). Verifiers must handle both.
Verification cost: Running a physical simulation or a licensed CAE solver is expensive. Verifier design must balance fidelity against throughput, especially at RL scale where millions of rollouts are evaluated.
Answer Capsule
Designing programmatic verifiers for domain tasks requires four components: a parser that extracts the structured output from model text, a constraint checker that tests necessary conditions, a fidelity layer that tests sufficiency (via simulation, symbolic evaluation, or expert rubric), and a calibration step that measures false-positive and false-negative rates against expert-labeled ground truth. The right architecture depends on output type, solution-space structure, and available simulation tooling.
The Four-Layer Verifier Architecture for Domain Tasks
Every robust domain verifier is built from the same four layers, applied in sequence. Skipping any layer produces a verifier that either over-rewards or under-rewards, both of which are training failures.
Layer 1: Parser
The parser extracts structured data from the model's free-text or formatted output. For a G-code task, it tokenizes modal commands and coordinate values. For a structural calculation task, it extracts numeric results and unit annotations. Parser failures, where the model produces syntactically malformed output, should return a fixed low score, not an error that halts the pipeline.
Parser design decisions:
Define the expected output schema before authoring tasks. Schema ambiguity is the leading cause of parser rework.
Log all parse failures by failure type. A spike in a specific parse error often indicates a prompt format problem, not a model capability problem.
Treat partial parses as partial outputs, not failures, and pass them to the constraint checker with a flag.
Layer 2: Constraint Checker (Necessary Conditions)
The constraint checker tests whether the output satisfies the necessary conditions of correctness: physical plausibility, unit consistency, range bounds, required fields present. These checks are fast, cheap, and catch the majority of clearly wrong outputs before they reach the expensive fidelity layer.
Examples by domain:
Domain | Necessary Condition Check | Implementation |
|---|---|---|
CNC/CAM | Feed rate within machine envelope | Rule-based range check on parsed F-values |
Structural engineering | Load values are positive, units consistent | Dimensional analysis on extracted quantities |
PCB/VLSI | Net list is complete, no floating pins | Graph connectivity check on parsed netlist |
PLC ladder logic | All rungs are syntactically valid, no duplicate coils | AST validation against IEC 61131-3 grammar |
Accounting | Balance sheet balances, debits equal credits | Arithmetic check on extracted account values |
Layer 3: Fidelity Layer (Sufficient Conditions)
The fidelity layer tests whether the output actually solves the problem. This is where domain-specific tooling is required. Three approaches, in order of fidelity and cost:
Simulation-based verification: Run the output through a domain simulator (a CAM post-processor, a SPICE circuit simulator, a finite-element solver) and compare the result against a target specification. Highest fidelity. Requires licensed or open-source simulator access and significant engineering to wrap the simulator as a callable function.
Symbolic or algebraic verification: For tasks with closed-form solutions (beam deflection, voltage divider, break-even analysis), compute the correct answer symbolically and compare numerically with a tolerance. Fast and reliable where applicable.
Expert rubric scoring: For tasks where simulation is unavailable or too expensive, a structured rubric with weighted criteria and binary sub-scores approximates a verifier. This is the least scalable option and requires inter-rater calibration. See the discussion of rubric design in the context of preference pairs in technical domains with verifiable ground truth.
Layer 4: Calibration
A verifier that has not been calibrated against expert-labeled ground truth is a hypothesis, not a tool. Calibration measures false-positive rate (FPR: wrong outputs the verifier accepts) and false-negative rate (FNR: correct outputs the verifier rejects) on a held-out set of expert-labeled examples.
Acceptable thresholds depend on use case:
For RL training signals: FPR below 5% is the priority. False positives teach the model to produce wrong outputs confidently.
For evals: FNR below 10% is the priority. False negatives undercount model capability and produce pessimistic benchmarks.
Calibration is not a one-time step. As models improve, the distribution of outputs shifts, and verifier edge cases that were rare become common. Recalibrate whenever the model under training changes significantly. This is directly related to the eval headroom problem discussed in designing evals with headroom against frontier models.
Worked Example: A Verifier for a CNC Toolpath Task
Illustrative example (numbers are plausible but constructed for illustration):
Task: Given a 2D pocket geometry and a set of machine constraints (spindle speed range 500-8000 RPM, maximum feed rate 3000 mm/min, tool diameter 6 mm, material: 6061 aluminium), generate a G-code program that machines the pocket to a depth of 10 mm with a surface finish Ra of 1.6 micrometres or better.
Layer 1 (Parser): Extract all modal G-codes, M-codes, coordinate blocks, F-values, and S-values from the model output. If the output contains non-G-code text mixed with G-code, strip preamble and postamble using a regex that identifies the program start (%) and end (%) markers.
Layer 2 (Constraint Checker): Verify that all F-values are in [1, 3000], all S-values are in [500, 8000], depth-of-cut per pass does not exceed 2 mm (a conservative rule for this material and tool diameter), and all coordinate values are within the machine envelope (illustrative: X: 0-500 mm, Y: 0-400 mm, Z: -50 to 0 mm).
Layer 3 (Fidelity): Run the G-code through an open-source toolpath simulator (for example, a headless CAM kernel) and extract: total machining time, material removal rate, and whether the pocket boundary is fully covered within a 0.05 mm tolerance. Compare against the target specification. A program that covers 95% of the pocket area and meets all constraint checks scores 0.7. Full coverage with optimal feed rate scores 1.0.
Layer 4 (Calibration): On a set of 50 expert-authored G-code programs labeled as correct, partially correct, or wrong by a CNC instructor, the verifier achieves FPR of 3% and FNR of 8%. Acceptable for RL training use.
Common Failure Modes in Domain Verifier Design
These are the failure modes that corrupt training signals and eval results. Each has a detection method and a fix.
1. Verifier Reward Hacking
What it is: The model learns to produce outputs that pass the verifier without solving the underlying task. A G-code program that moves the tool to all required coordinates but in a physically impossible sequence passes a coordinate-coverage check but produces scrap in simulation.
Detection: Sample high-scoring model outputs and review them with a domain expert. If experts rate them as wrong at a rate above 10%, the verifier has been hacked.
Fix: Add simulation-based checks that test physical realizability, not just coordinate presence. Increase fidelity layer coverage.
2. Parser Brittleness
What it is: The parser fails on valid but unexpected output formats, producing false negatives. A model that outputs correct G-code with non-standard whitespace gets rejected.
Detection: Log parse failure rates by token type. A failure rate above 5% on a single token class indicates a brittle rule.
Fix: Use grammar-based parsers (PEG or ANTLR grammars) rather than regex chains for structured domain languages. Test the parser on a diverse set of human-authored outputs before deployment.
3. Tolerance Miscalibration
What it is: Numeric tolerances in the constraint checker are set too loosely or too tightly relative to real-world practice. A tolerance of 1 mm on a precision machining task is an order of magnitude too loose.
Detection: Have a domain expert review the tolerance thresholds before deployment. Compare against published standards (for example, ISO 2768 for general tolerances in machining).
Fix: Source tolerances from domain standards and from the task specification, not from intuition. Document the tolerance source in the verifier code.
4. Simulator Version Drift
What it is: The simulator used in the fidelity layer is updated, changing its output format or numerical results, silently breaking the verifier.
Detection: Pin simulator versions in the verifier environment. Run a regression test suite of known-correct and known-wrong outputs after any environment update.
Fix: Treat the verifier environment as a software artifact with version control and a test suite, not as a script.
5. Rubric Inflation in Expert Scoring
What it is: When rubric scoring is used in the fidelity layer, experts systematically score outputs higher than the task merits, compressing the score distribution and reducing training signal quality. This is related to the broader problem of style overfitting discussed in domain-specific RLHF failure modes.
Detection: Compute inter-rater agreement (Cohen's kappa or Krippendorff's alpha) across rubric dimensions. Kappa below 0.6 on a binary criterion indicates calibration failure.
Fix: Use gold-standard tasks with known correct scores to recalibrate experts before each scoring batch. Anchor rubric criteria to observable output features, not holistic quality judgments.
6. Missing Failure-Mode Coverage
What it is: The verifier tests for the failure modes the task author anticipated, but not for the failure modes the model actually exhibits. A verifier built before model evaluation is always incomplete.
Detection: Run the verifier on a sample of model outputs before training begins. Analyze high-scoring wrong outputs and low-scoring correct outputs for systematic patterns.
Fix: Build verifiers iteratively. Author the task, run a frontier model, analyze failure modes, update the verifier, repeat. This is the core loop of the expert task authoring playbook.
Where This Approach Breaks Down
Programmatic verifiers are not universally applicable. Three situations where this architecture fails or requires significant modification:
Open-ended design tasks: Tasks where the solution space is large and the quality criteria are multi-dimensional and partially subjective (for example, a mechanical assembly design that optimizes for manufacturability, aesthetics, and cost simultaneously) cannot be fully verified programmatically. A rubric-based fidelity layer is the only option, and it carries higher noise.
Domains without accessible simulators: Some expert domains lack open-source or affordable simulation tooling. In these cases, the fidelity layer must rely on expert review, which does not scale to RL training volumes without significant human-in-the-loop infrastructure.
Rapidly evolving model capability: A verifier calibrated against current frontier models will drift as models improve. Tasks that were hard enough to produce useful training signal become too easy, and the verifier's score distribution compresses toward the top. Difficulty must be recalibrated periodically, as described in the context of minimum sample size for domain-specific evals.
Frequently Asked Questions
What is the difference between a verifier and a reward model in domain RLVR?
A verifier is a deterministic or rule-based function that checks correctness against a specification. A reward model is a learned function that predicts human preference. In domain RLVR, verifiers are preferred where ground truth is computable, because they do not generalize incorrectly or drift with distribution shift. Reward models are used when correctness is not computable and human preference data is available. The two can be combined: a verifier handles necessary conditions, a reward model handles sufficiency where simulation is unavailable.
How many expert-labeled examples are needed to calibrate a domain verifier?
Calibration set size depends on the acceptable confidence interval around your FPR and FNR estimates. For a binary verifier targeting FPR below 5% with a 95% confidence interval of plus or minus 3 percentage points, approximately 200 labeled examples are required (Wilson interval calculation). For graded verifiers with multiple score levels, the sample size per score level must meet the same threshold. Smaller sets produce unreliable calibration estimates and should be treated as preliminary.
Can a large language model be used as the fidelity layer in a domain verifier?
An LLM can serve as the fidelity layer when no simulator is available and expert rubric scoring is too slow. The risk is that the LLM fidelity layer inherits the same failure modes as the model under training, producing correlated errors. If the training model and the verifier LLM share a base model or training distribution, reward hacking through the verifier is more likely. Use a model from a different family and validate against expert labels. For the broader trade-offs, see evaluating domain-specific reward models with expert judgments.
How do you handle tasks where multiple correct solutions exist?
Design the verifier to test constraints and outcomes, not solution paths. A toolpath that meets cycle time, surface finish, and collision-free movement requirements is correct regardless of the specific path chosen. Define the acceptance criteria in the task specification before authoring the verifier. Where the solution space is continuous, define a Pareto-acceptable region and score outputs by their distance from the Pareto frontier on the relevant dimensions.
What is the right unit of verifier output: binary or graded?
Binary verifiers are simpler to calibrate and produce cleaner RL training signals. Graded verifiers provide more information per sample and are more useful for process reward models and preference data generation. Use binary verifiers for RL training where the task has a clear correct answer. Use graded verifiers for preference data and for tasks where partial credit reflects genuine partial competence. Never use graded verifiers as a substitute for a well-defined binary criterion when one exists.
What This Means in Practice
Designing programmatic verifiers for domain tasks is not a one-time engineering effort. It is a recurring loop: author the task, build the parser and constraint checker, run frontier models, analyze failure modes, add fidelity checks, calibrate against expert labels, and recalibrate as models improve. The verifier is as much a research artifact as the task itself. A task without a reliable verifier is not a usable training or eval signal. It is an expensive annotation that produces noise.
The non-software expert domains, CNC/CAM, structural engineering, PCB/VLSI, PLC, manufacturing quality, are precisely the domains where verifier design is hardest and where the payoff from getting it right is highest. The difficulty is real. So is the signal.
If you are building evals or RL environments in a domain where programmatic verification is unsolved, get in touch with Chiron Data Labs.