Evaluating LLMs on DFM (Design for Manufacturability) Review

Evaluating LLMs on DFM (Design for Manufacturability) Review

Design for Manufacturability review is one of the most consequential quality gates in hardware development. A missed DFM violation does not produce a wrong answer on a leaderboard. It produces a scrapped batch, a failed audit, or a six-week tooling delay. Evaluating LLMs on DFM review therefore demands a different standard than evaluating them on code generation or mathematical reasoning. This post defines what that standard looks like: how to author tasks, how to verify outputs, where frontier models fail, and what those failure modes reveal about the limits of current language model reasoning in manufacturing contexts.

What DFM review requires from a model

Answer Capsule: Evaluating LLMs on DFM review means testing whether a model can identify manufacturability violations in engineering artifacts, explain the physical mechanism behind each violation, and prioritize them by process risk. The evaluation requires domain-specific verifiers, not general-purpose rubrics, because DFM correctness is process-dependent, tolerance-dependent, and material-dependent. Aggregate accuracy scores without these constraints are not interpretable.

DFM review is not a single task. It is a family of tasks organized by manufacturing process. The DFM rules for injection molding differ structurally from those for PCB fabrication, sheet metal forming, or CNC machining. A model that correctly flags a wall-thickness violation in a plastic part may have no transferable knowledge about minimum annular ring requirements on a PCB. Evaluation must be scoped to a specific process before any result is meaningful.

Within a given process, DFM review involves three distinct reasoning steps:

  1. Detection: identify which features, dimensions, or configurations violate a rule.

  2. Explanation: state the physical or process mechanism that makes the feature problematic.

  3. Prioritization: rank violations by severity, distinguishing hard stops from advisory warnings.

An evaluation that tests only detection misses most of the signal. A model can pattern-match a thin wall from a table of rules without understanding why thin walls cause sink marks or short shots. Explanation quality is where frontier models diverge most from practitioner-level reasoning, and it is the hardest sub-task to verify automatically.

How to author DFM evaluation tasks that resist saturation

DFM tasks sourced from textbooks or vendor design guides are contaminated by definition. Those documents are in training corpora. A model that has memorized the rule table will pass a recall-style task without demonstrating any reasoning about novel configurations.

Effective DFM eval tasks share four properties:

  • Original geometry descriptions or drawings: authored by practitioners, not derived from public sources. A task might describe a stepped boss with a specific draft angle, wall thickness ratio, and gate location, and ask whether the configuration is manufacturable in ABS at a given tonnage.

  • Deliberate violation seeding: the task author plants one to three violations, at least one of which is non-obvious. Non-obvious means it requires reasoning about the interaction between two features, not just checking a single parameter against a threshold.

  • Process and material context: every task specifies the manufacturing process, material, and production volume. The same geometry may be acceptable in low-volume machining and unacceptable in high-volume die casting.

  • A verifiable ground truth: the correct violations, their mechanisms, and their severity classifications are documented by the task author before the model is evaluated. This is the rubric.

For a deeper treatment of how expert reviewers validate tasks before they enter an eval set, see the post on two-pass expert validation workflows.

Verification strategies for DFM outputs

DFM evaluation cannot rely on exact-match scoring. A model that correctly identifies a violation but describes the mechanism imprecisely should score differently from a model that misidentifies the violation entirely. Three verification approaches apply, each with different cost and coverage trade-offs.

Approach

What it checks

Cost

Coverage

Failure risk

Programmatic rule check

Presence of required violation IDs in output

Low

Detection only

Misses hallucinated explanations

Rubric-based expert scoring

Detection, explanation quality, severity classification

High

Full reasoning chain

Inter-rater variance on borderline cases

LLM-as-judge with expert rubric

Explanation quality against a reference answer

Medium

Partial

Judge model may share the same failure modes as the evaluated model

The safest verification design combines programmatic detection scoring with expert rubric scoring on a sampled subset. Programmatic checks handle the detection sub-task at scale. Expert reviewers score explanation quality on the cases where the model detected at least one violation, since those are the cases where hallucinated reasoning is most dangerous. For guidance on how reward model outputs relate to expert step judgments, see evaluating domain-specific reward models with expert judgments.

LLM-as-judge is acceptable for initial triage but should not be the sole verifier for DFM tasks. A judge model trained on general engineering text may accept a plausible-sounding but incorrect mechanism explanation because it cannot simulate the physical process. This is the same failure mode as the model under evaluation.

Illustrative example: injection molding DFM task

Illustrative example. Numbers and geometry are constructed to demonstrate the evaluation method; they do not represent a real part or a real model result.

A task author describes a polypropylene enclosure with the following features: a nominal wall thickness of 2.5 mm, a rib height of 18 mm attached to the main wall, a rib thickness of 2.0 mm, and a draft angle of 0.3 degrees on the rib faces. The gate is located on the base opposite the ribs. The task asks the model to identify all DFM violations and explain the manufacturing consequence of each.

Ground truth (authored by the task expert before model evaluation):

  • Violation 1: Rib height to wall thickness ratio is 7.2:1 (18 mm / 2.5 mm). The generally accepted upper limit for polypropylene is approximately 3:1 to avoid sink marks on the opposite wall face. Severity: hard stop.

  • Violation 2: Draft angle of 0.3 degrees is below the minimum of 0.5 to 1.0 degrees typically required for polypropylene ribs. Consequence: drag marks and potential part sticking on ejection. Severity: advisory for low-volume tooling, hard stop for high-volume.

  • Non-violation: rib thickness at 80 percent of wall thickness (2.0 / 2.5) is within the accepted range of 50 to 60 percent for some materials but borderline for polypropylene. The task author documents this as a context-dependent advisory, not a hard violation.

Scoring protocol: Detection score = violations correctly identified / total violations planted. Explanation score = expert rubric, 0 to 2 per violation (0: absent or incorrect mechanism; 1: correct mechanism, incomplete consequence; 2: correct mechanism and consequence). Severity classification accuracy scored separately as binary per violation.

A model that identifies both violations but explains the rib height issue as a fill problem rather than a sink problem scores 1 on explanation for that violation. The distinction matters for post-training: the model has a detection capability but a mechanistic reasoning gap.

Common failure modes when evaluating LLMs on DFM review

The following failure modes are observed across DFM task classes. Each has a detection method and a mitigation.

1. Rule recall without physical reasoning. The model identifies a violation by matching a parameter to a threshold but cannot explain the physical consequence. Detection: score explanation quality separately from detection. Fix: include explanation scoring in the rubric and weight it at least equally with detection.

2. Process conflation. The model applies rules from one manufacturing process to a task scoped to a different process. For example, applying PCB trace width rules to a sheet metal bend radius question. Detection: include process-specific distractor rules in the task context. Fix: scope each task to a single, explicitly stated process and verify that the model's cited rules match that process.

3. Severity misclassification. The model identifies the correct violation but classifies it as advisory when it is a hard stop, or vice versa. This failure is dangerous in a production context. Detection: score severity classification as a separate sub-task. Fix: require the task author to document severity with a rationale tied to production volume and material, and score against that rationale.

4. Hallucinated violations. The model flags features that are not violations, often citing plausible-sounding but incorrect rules. Detection: track false positive rate alongside recall. Fix: include tasks with zero planted violations to measure false positive baseline.

5. Geometry ambiguity exploitation. When the task is described in text rather than in a drawing or CAD file, models sometimes resolve geometric ambiguity in their favor, constructing an interpretation of the geometry that makes the task easier. Detection: use multimodal tasks with engineering drawings or explicit parametric geometry descriptions. For evaluation of vision-language models on engineering drawings, see evaluating VLMs on engineering drawings and GD&T tolerances.

6. Difficulty drift. A task that is hard for a frontier model today may become easy within months as models improve. Detection: re-run pass@k against current frontier models on a fixed schedule. Fix: maintain a difficulty calibration log per task and retire tasks that exceed a pass rate threshold. This is not a one-time measurement.

Where this approach breaks down

Text-based DFM evaluation has a structural ceiling. Many DFM violations are only detectable from geometry, not from a verbal description of geometry. A model that reads a description of a part cannot perceive the spatial relationship between a gate location and a weld line the way a mold flow simulation can. Multimodal evaluation with CAD files, engineering drawings, or simulation outputs is necessary for full coverage, and the tooling for that evaluation is significantly more complex. See the related post on evaluating diagram and schematic understanding in vision-language models for the multimodal side of this problem.

Expert disagreement is also a real constraint. DFM rules are not universal. Different contract manufacturers apply different thresholds for the same material and process. Task authors must document which standard or which manufacturer's design guide their ground truth reflects. Without that provenance, inter-rater agreement collapses and the eval produces noise, not signal.

Finally, DFM evaluation does not test whether a model can improve a design, only whether it can identify problems. Generative DFM assistance, where a model proposes a corrected geometry, requires a separate evaluation framework with simulation-based verification. That is a harder problem and is not addressed here.

Frequently asked questions

What is the minimum task set size for a reliable DFM eval?

There is no universal minimum, but a single manufacturing process requires enough tasks to cover the major violation categories for that process, with multiple instances per category at varying difficulty levels. Fewer than 30 tasks per process makes it difficult to draw statistically stable conclusions about category-level performance. Pass@k calculations require multiple independent samples per task, which multiplies the inference cost.

Can synthetic DFM tasks substitute for expert-authored ones?

Synthetic tasks generated from rule tables can cover known violation types but cannot produce the interaction effects and non-obvious violations that practitioners recognize from experience. They also risk contamination if the generation prompt draws on the same public design guides that are in training data. Expert-authored tasks with novel geometry configurations provide headroom that synthetic generation cannot reliably replicate.

How should DFM eval tasks handle tolerance stack-ups?

Tolerance stack-up analysis is a distinct sub-task from single-feature DFM review. It requires the model to reason about the cumulative effect of multiple tolerances across an assembly. Tasks that include stack-up reasoning should be scoped and scored separately, since the failure modes differ from single-feature violation detection.

Is LLM-as-judge viable for DFM explanation scoring?

LLM-as-judge is viable for initial screening but not as the sole arbiter of explanation quality. Judge models share the mechanistic reasoning gaps of the models they evaluate, particularly for process-specific physical consequences. Expert review of a sampled subset is necessary to calibrate judge reliability. For a detailed treatment of this trade-off, see evaluating PRMs with held-out expert step judgments.

How does DFM eval differ from G-code or CAM eval?

DFM review evaluates a design before manufacturing; G-code and CAM evaluation assess the toolpath that executes the manufacturing. DFM tasks are typically verifiable against a rule-based rubric. G-code tasks require simulation or physical verification to confirm that the toolpath produces the intended geometry without collision or surface defect. The failure taxonomies are distinct. For G-code evaluation specifically, see why LLMs fail at G-code: a failure taxonomy.

What this means in practice

Evaluating LLMs on DFM review is a tractable problem with a clear method: scope to a single process, author original tasks with planted violations, verify detection and explanation quality separately, track false positives, and re-calibrate difficulty as models improve. The gap between current frontier model performance and practitioner-level DFM reasoning is real, measurable, and informative. It points to specific deficits in physical process reasoning that aggregate benchmarks cannot surface.

The investment in rigorous DFM evaluation pays back in post-training signal quality. A model that can be shown to fail on rib-to-wall ratio reasoning, but succeed on draft angle recall, gives a training team a precise target. That precision is only possible when the evaluation is designed by practitioners who understand the manufacturing process, not by generalists working from public rule tables.

If you are building evals or post-training pipelines for manufacturing or engineering domains, get in touch with Chiron Data Labs.

Have questions or want personalised guidance? Contact us and we'll be happy to help.

Design for Manufacturability review is one of the most consequential quality gates in hardware development. A missed DFM violation does not produce a wrong answer on a leaderboard. It produces a scrapped batch, a failed audit, or a six-week tooling delay. Evaluating LLMs on DFM review therefore demands a different standard than evaluating them on code generation or mathematical reasoning. This post defines what that standard looks like: how to author tasks, how to verify outputs, where frontier models fail, and what those failure modes reveal about the limits of current language model reasoning in manufacturing contexts.

What DFM review requires from a model

Answer Capsule: Evaluating LLMs on DFM review means testing whether a model can identify manufacturability violations in engineering artifacts, explain the physical mechanism behind each violation, and prioritize them by process risk. The evaluation requires domain-specific verifiers, not general-purpose rubrics, because DFM correctness is process-dependent, tolerance-dependent, and material-dependent. Aggregate accuracy scores without these constraints are not interpretable.

DFM review is not a single task. It is a family of tasks organized by manufacturing process. The DFM rules for injection molding differ structurally from those for PCB fabrication, sheet metal forming, or CNC machining. A model that correctly flags a wall-thickness violation in a plastic part may have no transferable knowledge about minimum annular ring requirements on a PCB. Evaluation must be scoped to a specific process before any result is meaningful.

Within a given process, DFM review involves three distinct reasoning steps:

  1. Detection: identify which features, dimensions, or configurations violate a rule.

  2. Explanation: state the physical or process mechanism that makes the feature problematic.

  3. Prioritization: rank violations by severity, distinguishing hard stops from advisory warnings.

An evaluation that tests only detection misses most of the signal. A model can pattern-match a thin wall from a table of rules without understanding why thin walls cause sink marks or short shots. Explanation quality is where frontier models diverge most from practitioner-level reasoning, and it is the hardest sub-task to verify automatically.

How to author DFM evaluation tasks that resist saturation

DFM tasks sourced from textbooks or vendor design guides are contaminated by definition. Those documents are in training corpora. A model that has memorized the rule table will pass a recall-style task without demonstrating any reasoning about novel configurations.

Effective DFM eval tasks share four properties:

  • Original geometry descriptions or drawings: authored by practitioners, not derived from public sources. A task might describe a stepped boss with a specific draft angle, wall thickness ratio, and gate location, and ask whether the configuration is manufacturable in ABS at a given tonnage.

  • Deliberate violation seeding: the task author plants one to three violations, at least one of which is non-obvious. Non-obvious means it requires reasoning about the interaction between two features, not just checking a single parameter against a threshold.

  • Process and material context: every task specifies the manufacturing process, material, and production volume. The same geometry may be acceptable in low-volume machining and unacceptable in high-volume die casting.

  • A verifiable ground truth: the correct violations, their mechanisms, and their severity classifications are documented by the task author before the model is evaluated. This is the rubric.

For a deeper treatment of how expert reviewers validate tasks before they enter an eval set, see the post on two-pass expert validation workflows.

Verification strategies for DFM outputs

DFM evaluation cannot rely on exact-match scoring. A model that correctly identifies a violation but describes the mechanism imprecisely should score differently from a model that misidentifies the violation entirely. Three verification approaches apply, each with different cost and coverage trade-offs.

Approach

What it checks

Cost

Coverage

Failure risk

Programmatic rule check

Presence of required violation IDs in output

Low

Detection only

Misses hallucinated explanations

Rubric-based expert scoring

Detection, explanation quality, severity classification

High

Full reasoning chain

Inter-rater variance on borderline cases

LLM-as-judge with expert rubric

Explanation quality against a reference answer

Medium

Partial

Judge model may share the same failure modes as the evaluated model

The safest verification design combines programmatic detection scoring with expert rubric scoring on a sampled subset. Programmatic checks handle the detection sub-task at scale. Expert reviewers score explanation quality on the cases where the model detected at least one violation, since those are the cases where hallucinated reasoning is most dangerous. For guidance on how reward model outputs relate to expert step judgments, see evaluating domain-specific reward models with expert judgments.

LLM-as-judge is acceptable for initial triage but should not be the sole verifier for DFM tasks. A judge model trained on general engineering text may accept a plausible-sounding but incorrect mechanism explanation because it cannot simulate the physical process. This is the same failure mode as the model under evaluation.

Illustrative example: injection molding DFM task

Illustrative example. Numbers and geometry are constructed to demonstrate the evaluation method; they do not represent a real part or a real model result.

A task author describes a polypropylene enclosure with the following features: a nominal wall thickness of 2.5 mm, a rib height of 18 mm attached to the main wall, a rib thickness of 2.0 mm, and a draft angle of 0.3 degrees on the rib faces. The gate is located on the base opposite the ribs. The task asks the model to identify all DFM violations and explain the manufacturing consequence of each.

Ground truth (authored by the task expert before model evaluation):

  • Violation 1: Rib height to wall thickness ratio is 7.2:1 (18 mm / 2.5 mm). The generally accepted upper limit for polypropylene is approximately 3:1 to avoid sink marks on the opposite wall face. Severity: hard stop.

  • Violation 2: Draft angle of 0.3 degrees is below the minimum of 0.5 to 1.0 degrees typically required for polypropylene ribs. Consequence: drag marks and potential part sticking on ejection. Severity: advisory for low-volume tooling, hard stop for high-volume.

  • Non-violation: rib thickness at 80 percent of wall thickness (2.0 / 2.5) is within the accepted range of 50 to 60 percent for some materials but borderline for polypropylene. The task author documents this as a context-dependent advisory, not a hard violation.

Scoring protocol: Detection score = violations correctly identified / total violations planted. Explanation score = expert rubric, 0 to 2 per violation (0: absent or incorrect mechanism; 1: correct mechanism, incomplete consequence; 2: correct mechanism and consequence). Severity classification accuracy scored separately as binary per violation.

A model that identifies both violations but explains the rib height issue as a fill problem rather than a sink problem scores 1 on explanation for that violation. The distinction matters for post-training: the model has a detection capability but a mechanistic reasoning gap.

Common failure modes when evaluating LLMs on DFM review

The following failure modes are observed across DFM task classes. Each has a detection method and a mitigation.

1. Rule recall without physical reasoning. The model identifies a violation by matching a parameter to a threshold but cannot explain the physical consequence. Detection: score explanation quality separately from detection. Fix: include explanation scoring in the rubric and weight it at least equally with detection.

2. Process conflation. The model applies rules from one manufacturing process to a task scoped to a different process. For example, applying PCB trace width rules to a sheet metal bend radius question. Detection: include process-specific distractor rules in the task context. Fix: scope each task to a single, explicitly stated process and verify that the model's cited rules match that process.

3. Severity misclassification. The model identifies the correct violation but classifies it as advisory when it is a hard stop, or vice versa. This failure is dangerous in a production context. Detection: score severity classification as a separate sub-task. Fix: require the task author to document severity with a rationale tied to production volume and material, and score against that rationale.

4. Hallucinated violations. The model flags features that are not violations, often citing plausible-sounding but incorrect rules. Detection: track false positive rate alongside recall. Fix: include tasks with zero planted violations to measure false positive baseline.

5. Geometry ambiguity exploitation. When the task is described in text rather than in a drawing or CAD file, models sometimes resolve geometric ambiguity in their favor, constructing an interpretation of the geometry that makes the task easier. Detection: use multimodal tasks with engineering drawings or explicit parametric geometry descriptions. For evaluation of vision-language models on engineering drawings, see evaluating VLMs on engineering drawings and GD&T tolerances.

6. Difficulty drift. A task that is hard for a frontier model today may become easy within months as models improve. Detection: re-run pass@k against current frontier models on a fixed schedule. Fix: maintain a difficulty calibration log per task and retire tasks that exceed a pass rate threshold. This is not a one-time measurement.

Where this approach breaks down

Text-based DFM evaluation has a structural ceiling. Many DFM violations are only detectable from geometry, not from a verbal description of geometry. A model that reads a description of a part cannot perceive the spatial relationship between a gate location and a weld line the way a mold flow simulation can. Multimodal evaluation with CAD files, engineering drawings, or simulation outputs is necessary for full coverage, and the tooling for that evaluation is significantly more complex. See the related post on evaluating diagram and schematic understanding in vision-language models for the multimodal side of this problem.

Expert disagreement is also a real constraint. DFM rules are not universal. Different contract manufacturers apply different thresholds for the same material and process. Task authors must document which standard or which manufacturer's design guide their ground truth reflects. Without that provenance, inter-rater agreement collapses and the eval produces noise, not signal.

Finally, DFM evaluation does not test whether a model can improve a design, only whether it can identify problems. Generative DFM assistance, where a model proposes a corrected geometry, requires a separate evaluation framework with simulation-based verification. That is a harder problem and is not addressed here.

Frequently asked questions

What is the minimum task set size for a reliable DFM eval?

There is no universal minimum, but a single manufacturing process requires enough tasks to cover the major violation categories for that process, with multiple instances per category at varying difficulty levels. Fewer than 30 tasks per process makes it difficult to draw statistically stable conclusions about category-level performance. Pass@k calculations require multiple independent samples per task, which multiplies the inference cost.

Can synthetic DFM tasks substitute for expert-authored ones?

Synthetic tasks generated from rule tables can cover known violation types but cannot produce the interaction effects and non-obvious violations that practitioners recognize from experience. They also risk contamination if the generation prompt draws on the same public design guides that are in training data. Expert-authored tasks with novel geometry configurations provide headroom that synthetic generation cannot reliably replicate.

How should DFM eval tasks handle tolerance stack-ups?

Tolerance stack-up analysis is a distinct sub-task from single-feature DFM review. It requires the model to reason about the cumulative effect of multiple tolerances across an assembly. Tasks that include stack-up reasoning should be scoped and scored separately, since the failure modes differ from single-feature violation detection.

Is LLM-as-judge viable for DFM explanation scoring?

LLM-as-judge is viable for initial screening but not as the sole arbiter of explanation quality. Judge models share the mechanistic reasoning gaps of the models they evaluate, particularly for process-specific physical consequences. Expert review of a sampled subset is necessary to calibrate judge reliability. For a detailed treatment of this trade-off, see evaluating PRMs with held-out expert step judgments.

How does DFM eval differ from G-code or CAM eval?

DFM review evaluates a design before manufacturing; G-code and CAM evaluation assess the toolpath that executes the manufacturing. DFM tasks are typically verifiable against a rule-based rubric. G-code tasks require simulation or physical verification to confirm that the toolpath produces the intended geometry without collision or surface defect. The failure taxonomies are distinct. For G-code evaluation specifically, see why LLMs fail at G-code: a failure taxonomy.

What this means in practice

Evaluating LLMs on DFM review is a tractable problem with a clear method: scope to a single process, author original tasks with planted violations, verify detection and explanation quality separately, track false positives, and re-calibrate difficulty as models improve. The gap between current frontier model performance and practitioner-level DFM reasoning is real, measurable, and informative. It points to specific deficits in physical process reasoning that aggregate benchmarks cannot surface.

The investment in rigorous DFM evaluation pays back in post-training signal quality. A model that can be shown to fail on rib-to-wall ratio reasoning, but succeed on draft angle recall, gives a training team a precise target. That precision is only possible when the evaluation is designed by practitioners who understand the manufacturing process, not by generalists working from public rule tables.

If you are building evals or post-training pipelines for manufacturing or engineering domains, get in touch with Chiron Data Labs.

Have questions or want personalised guidance? Contact us and we'll be happy to help.

© 2026 CHIRON, SAN FRANCISCO, CA