BoardSafety benchmark: building AI-ready data for development board safety from vendor documentationBoardSafety: AI-Ready Data from Manufacturer Documentation for Development-Board Safety
The authors built the BoardSafety benchmark (298 development board operational safety scenarios) to evaluate 6 open-source LLMs; the highest accuracy was 69.13%, and the authors state that the models cannot yet reliably judge operational safety.
- LLMs are increasingly used for embedded development consultation, and erroneous advice may permanently damage development boards; safety limits vary by board, and there is a lack of dedicated benchmarks for evaluating whether LLMs can judge operational safety according to vendor documentation.
- A rule base of 490 constraints was extracted from 30 vendor documents, and sampling was used to generate 298 scenarios labeled safe/unsafe/insufficient-info, which underwent deterministic validation, blind model verification, and human review; a 2×2 design (rule access × structured reasoning prompt) was used to evaluate 6 open-source LLMs.
- Highest accuracy 69.13% (Gemma-3-12B, R1 T1); only 4/24 combinations had a Wilson lower bound exceeding the 48.3% baseline; providing rules yielded more consistent improvement than structured prompting; accuracy on underspecified scenarios was only 0–19.5%, and only 13.4% of reviewed samples correctly applied the constraints.
- The authors state that future work will extend to more models and real hardware scenarios, strengthen expert validation, and test retrieval combined with deterministic constraint checking. The experiments cover only 6 open-source models of 0.6B–12B; rule extraction and scenario generation rely on LLMs, and deterministic verification cannot detect errors in how the rules interpret the original source.
- Evaluated models
- Gemma-3-12BGemma-3-1BLlama-3.1-8B-InstructLlama-3.2-3B-InstructQwen3-0.6BQwen3-4B
- Benchmarks
- BoardSafety
- Metrics
- accuracydangerous acceptancesafe rejectionconstraint-application pass rate
Researchers propose the BoardSafety benchmark, which tests whether large language models can judge whether a given operation is safe for a specific development board; results show that the tested models cannot yet make reliable judgments. The benchmark builds board-specific safety rule bases from vendor datasheets and hardware guides, and generates operation scenarios labeled safe, unsafe, or insufficient-info. Evaluations show that providing safety rules generally improves accuracy, while the benefit of structured reasoning prompts varies by model and by rule-access condition.
Paper analysis
What problem does this paper attempt to solve?
Whether LLMs can judge, based on vendor documentation, whether an operation is safe for a specific development board lacks dedicated evaluation; the authors propose the BoardSafety benchmark.
Core question: Can LLMs reliably judge whether a proposed operation is safe for a specific development board? There is currently a lack of evaluation of this capability.
- Scenarios and importance: The authors state that LLMs are increasingly used for embedded system development and debugging; unlike software bugs, answers that push hardware beyond its operating limits may permanently damage the development board and pose safety risks.
- Difficulty of the problem: Safe operating limits are board-specific, and differ even among products from the same vendor (Figure 1: with the same 9 V connected to VIN, the Arduino Due documentation range of 6–16 V is safe, while the MKR WiFi 1010 upper limit of 5.5 V is unsafe), so the model needs to find and apply the vendor constraints applicable to that board.
- Shortcomings of existing evaluations: The authors state that existing hardware benchmarks (circuit understanding, PCB design, embedded programming) examine whether designs or implementations are correct, but do not test whether LLMs select and apply vendor constraints for a specific development board, nor do they examine refusal when information is insufficient.
- Core observation: Vendor documentation is the main source of safety constraints, but the information is scattered across datasheets and hardware guides in varying forms and cannot be used directly for evaluation; the documentation needs to be converted into traceable, computable AI-ready rules.
- Proposed in the paper: BoardSafety, with two artifacts—a rule base of 490 vendor constraints (covering 53 development boards and 5 vendors) and 298 operational scenarios with safe/unsafe/insufficient-info gold labels; it is used to study the effects of rule access and structured-rationale prompting on judgments.
What related research exists?
Related work falls into three groups: context-aware safe answering, hardware and embedded benchmarks, and parametric knowledge versus context conflict; the authors state that existing hardware benchmarks do not test board-level safety constraint judgment.
Contextualized safety responses
- SafeText [4], Hager et al. [6], NOHARM [5], LabSafety Bench [7] — respectively examine the physical safety of everyday advice, clinical decision-making, harms of medical advice, and laboratory risk assessment; Hager et al. found that LLMs struggle to use relevant patient information and follow clinical guidelines in real decision tasks, and NOHARM showed that models performing strongly on medical knowledge benchmarks still give potentially harmful advice.
- Refusal and insufficient information [19]–[22] — on this basis the authors point out that models should refuse when information is insufficient, e.g., before judging a power connection they should first ask about the supply voltage.
Hardware and embedded benchmarks
- Circuit understanding: CIRCUIT [8] tests analog circuit understanding and electrical reasoning; PCB-QA, PCB-Bench [9], [10] examine connectivity, datasheet information, layout and routing, and design-rule compliance.
- Design generation: HWE-Bench [11] evaluates board-level schematic design via electrical rule checking and circuit simulation.
- Embedded implementation: Englhardt et al. [1] evaluate generated embedded software with a hardware-in-the-loop test bench; EmbedBench [13] covers embedded programming and cross-platform migration on Arduino, ESP32, and Raspberry Pi Pico; IoT-SkillsBench [27] evaluates programming agents through real hardware execution; EmbedCopilot-Bench [28] extends to multimodal assistance. The authors point out that none of these works evaluates constraint-based safety judgments (including refusal when information is insufficient).
Conflict between parametric knowledge and contextual knowledge
- Knowledge conflict research [23]–[26] — LLMs can make judgments based on parametric knowledge and the context in the prompt, but the authors state that when the two conflict the model cannot reliably reconcile them [24], [26], so the judgment result alone cannot reveal where the basis came from.
Positioning: The authors state that the gap BoardSafety fills is: evaluating LLM safety judgments for operations on a specified development board, taking manufacturer documentation constraints as authoritative, including edge cases and refusal when information is insufficient.
Baseline and evaluated subjects: The experimental comparison is an always-unsafe baseline (predicting unsafe for all, accuracy 144/298 = 48.3%); the evaluated models are 6 open-source models across the Qwen3, Gemma-3, and Llama families, and the benchmark is the authors' own BoardSafety.
How does the paper address this problem?
A structured rule base was extracted from vendor documentation, scenarios with fixed labels were sampled and generated, a benchmark was formed through multi-stage quality control, and models were evaluated with a 2×2 design.
Overall approach: convert manufacturer documentation into an AI-ready rule base, derive gold labels from the rules and generate natural-language scenarios, form the benchmark after deterministic validation, blind model verification, and human review, then evaluate models under varied rule access and reasoning prompt conditions.
AI-readiness and the rule base
- The authors define five properties of AI-readiness: traceable (retains the source passage), computable (numeric limits contain quantity, operator, value, unit, and can be compared automatically), filterable (filterable by statement type and evidence tier), consistent (resolves duplication and conflict boundaries), derivable (each record records the comparison or configuration rule used to derive the label).
- The rule base contains 490 records across 17 hazard categories, from 30 manufacturer documents, 53 development boards, and 5 manufacturers; GPT-5.6 Sol was used to extract candidate records and a subset was manually reviewed, with 487 containing verbatim source passages.
- Evidence tiers: Tier A gives both a constraint and a numeric limit; Tier B has a constraint but no numeric value; Tier C1 has documentary basis for the limit but the damage path is inferred; Tier C2 has both inferred.
Rule selection and label derivation
- The standard seed pool is 304 Tier A/B user-violable design limits; after excluding 17 cumulative-effect records, 287 remain; the underspecified family additionally allows Tier C1 records.
- Sampling is formalized as σ(r, g) → (x, ℓ, a): for rule r and sampling mechanism g, generate operating condition x, gold label ℓ, and rule-based basis a.
- Six scenario families (Table I): violation (unsafe, 113), within-spec (safe, 58), underspecified (insufficient-info, 41), board swap (32), near-boundary (30), documentation-explicitly-allowed (safe, 24). Within-spec requires at least 15% below the upper limit; boundary pairs take 95% and 105% of the same upper limit; board swap keeps the setting fixed and swaps the board, with values having at least 10% margin relative to each board's upper limit; underspecified items omit the decisive quantity and the remaining information allows both satisfying and violating assignments.
Scenario generation
- Claude Opus 5 renders rule instances into natural-language scenarios: ρ(r, g, x) → s, with x and ℓ as immutable inputs; the generator returns asserted_facts records linking each quantity to a span in s.
- Decisive quantities must be stated explicitly (e.g., the total current of four LEDs at 10 mA each); distractor quantities must comply with all rules for that board; the two items of a minimal pair are realized by the same narrative, changing only the board identity or the decisive value.
Staged quality control
- Provenance review: two reviewers independently spot-checked 59 records, confirming 55 and correcting 4; all 59 are traceable to source passages.
- Deterministic validation: a rule-based validator checks numeric values, structured facts, and label consistency; all 300 candidates passed; the authors note it cannot detect errors in how a rule interprets the original text.
- Blind verification: GPT-5.6 independently labeled 220 items without seeing gold labels, agreeing on 209; based on this, 31 rule records were fixed, and after regeneration 60 items were rerun with agreement on 56.
- Human review: two reviewers with embedded experience independently reviewed 100 items; for the 11 disagreements between blind verification and derived labels, 9 labels were kept and 2 items excluded.
- Final release of 298 items (46 boards, 211 seed rules): 113 safe, 144 unsafe, 41 insufficient-info; 1–16 items per board.
Evaluation design
- 2×2 design: rule access (R0 gives only the board name and scenario; R1 additionally gives that board's normalized constraints) × reasoning prompt (T0 answers directly with one or two sentences of justification; T1 additionally gives a four-step reasoning covering the relevant constraint, decisive quantity, comparison, and conclusion, with a length limit per step).
- Metrics: accuracy (95% Wilson confidence interval), dangerous acceptance (proportion of unsafe judged safe), safe rejection (proportion of safe judged unsafe), accuracy by scenario family, and the proportion of minimal pairs with both items correct.
- Reasoning explanation evaluation: 3 items sampled per model × condition × gold label, 216 in total, judged by a single LLM reviewer against four criteria—rule selection, decisive quantity, comparison, conclusion—passing only if all are correct; the paper does not state the name of this reviewer model.
What experiments did the paper conduct?
6 open-source models answered 298 scenarios under 4 conditions, producing a total of 7,152 responses; the highest accuracy was 69.13%, and only 4/24 combinations exceeded the baseline.
Experimental Setup
- Models under test: Qwen3-0.6B, Qwen3-4B, Gemma-3-1B, Gemma-3-12B, Llama-3.2-3B-Instruct, Llama-3.1-8B-Instruct, with one large and one small model from each of three families, all open-source instruction-tuned models.
- Benchmark: all 298 scenarios of BoardSafety (46 development boards; 113 safe, 144 unsafe, 41 insufficient-info).
- Conditions: 2×2 (R0/R1 × T0/T1); each model answered all scenarios under four conditions, for a total of 7,152 responses.
- Generation settings: temperature 0, generation limit 2,048 tokens, native thinking disabled for Qwen3; retries were triggered only by format failures, and the final valid response for each item was scored.
- Metrics and baselines: accuracy (95% Wilson interval); always-unsafe baseline 48.3% (144/298); dangerous acceptance and safe rejection.
- Explanation review: 216 stratified sampled responses were judged by a single LLM reviewer against four criteria (the paper does not state the reviewer model); reasoning length was counted using each model's own tokenizer.
Main Results
According to Table II, the accuracy (%) of each model under the four conditions:
Swipe horizontally to read the table
Model R0 T0 R0 T1 R1 T0 R1 T1 Gemma-3-12B 47.32 52.01 60.07 69.13 Gemma-3-1B 37.58 47.65 45.30 46.31 Llama-3.1-8B 45.97 49.66 55.03 53.02 Llama-3.2-3B 36.91 44.63 49.33 49.33 Qwen3-0.6B 36.91 40.60 45.97 50.67 Qwen3-4B 40.27 37.58 52.68 65.77 - Across all 24 model×condition combinations, accuracy ranges from 36.91%–69.13%, and only 4 combinations have a 95% Wilson lower bound exceeding the 48.3% always-unsafe baseline.
- The authors state that rule access brings a larger average improvement: +10.57 percentage points under T0 and +10.35 percentage points under T1; structured reasoning prompts average +4.53 (without rules) and +4.31 (with rules) percentage points, but are not effective for every model (e.g., −2.68 for Qwen3-4B without rules, −2.01 for Llama-3.1-8B with rules).
- Figure 3: average dangerous acceptance drops from 66.3% at R0 T0 to 24.7% at R1 T1, and safe rejection rises from 35.4% to 48.2%; the authors interpret this as fewer unsafe operations being approved, but more safe operations being rejected, and an accuracy improvement does not equal reliable judgment.
Analysis by Scenario Family and Minimal Pairs (RQ2)
- Differences between families (Table III, R1 T1): the six models score only 0–19.5% on underspecified scenarios, versus 66.4–84.1% on violation scenarios; Gemma-3-12B scores 69.1% overall, 86.2% on in-spec, 77.0% on violation, and 63.3% on boundary.
- Minimal pairs: Gemma-3-12B gets both items correct in 11 of 16 board-swap pairs and all correct in 4 of 15 boundary pairs; the authors state that overall accuracy cannot show that a model can reliably distinguish changes in board-level constraints or near-boundary values.
- Missing refusals: under R1 T1, the proportion of models predicting insufficient-info for all scenarios is only 0.3–4.0%, while underspecified scenarios account for 13.8% of the benchmark; Gemma-3-12B correctly identifies only 8 of 41 underspecified scenarios; among the 27 scenarios answered incorrectly by all six models under this condition, 26 are underspecified scenarios.
Explanation Review of Constraint Application (RQ3)
- Low pass rates on the four criteria (Table IV, 216 samples): rule selection 21.8%, decisive quantities 29.2%, comparison/logic tests 14.4%, conclusion 36.1%, with only 13.4% passing all four; among responses judged correct, 62.8% fail at least one criterion.
- Structured prompts do not improve constraint application: the median visible reasoning length across all 7,152 responses rises from 32 tokens at T0 to 79 tokens at T1; however, with rules, constraint application accuracy is 24.1% at R1 T0 and 13.0% at R1 T1. The authors state that longer explanations do not necessarily mean correct application, and because the prompt conditions require different numbers of reasoning steps, this difference cannot be attributed to length alone.
Other Ablations and Analyses
- Mean row (Table II): average accuracy across the six models is 40.83% at R0 T0, 45.36% at R0 T1, 51.40% at R1 T0, and 55.70% at R1 T1.
- Board-swap family accuracy (Table III, R1 T1): 43.8% (Llama-3.1-8B) to 81.3% (Gemma-3-12B).
- Accuracy on the family explicitly allowed by the documentation (Doc. safe): 16.7% (Gemma-3-1B) to 79.2% (Qwen3-4B).
What are some points that can be further explored?
The authors list three future directions in the conclusion; the experiments cover only 6 small open-source models, some steps rely on LLMs, and the review model is not named.
Limitations and future directions noted by the authors
- The authors plan to extend the evaluation to more models and more realistic hardware scenarios (Conclusion and Future Work).
- The authors plan to strengthen expert validation (Conclusion and Future Work).
- The authors plan to test approaches combining retrieval with deterministic constraint checking (Conclusion and Future Work).
- The authors note that deterministic verification relies on the extracted rule records and cannot detect errors in how these records interpret the source documents (Section III-E).
- The authors note that because the prompting conditions require different reasoning steps, the difference in constraint-application accuracy between R1 T0 and R1 T1 cannot be attributed solely to reasoning length (Section IV-D).
Scope of the experiments
- The evaluated models are 6 open-source instruction-tuned models (0.6B–12B, from the Qwen3, Gemma-3, and Llama families); closed-source models are not included.
- The benchmark is BoardSafety with 298 scenarios, covering 46 development boards and 5 vendors; the rule base comes from 30 vendor documents.
- Each board contributes only 1–16 scenarios, so the authors report only aggregate and family-level results and do not rank individual boards (Section III-F).
- Rule extraction used GPT-5.6 Sol, scenario generation used Claude Opus 5, and blind validation used GPT-5.6; review of reasoning explanations was performed by a single LLM, and the paper does not name that review model.
- Explanation review used a stratified sample of 216 responses (3 per model×condition×gold label), and the paper does not report agreement between the review and human judgment; in the main experiment, each model×condition was run once on each of the 298 scenarios (temperature 0), and the paper does not report multiple repetitions.
Summarize the main content of the paper
BoardSafety uses manufacturer documentation to construct 298 development board safety scenarios; evaluation shows the 6 open-source LLMs reach at most 69.13% accuracy and are weak at applying constraints.
BoardSafety is a benchmark for evaluating development board operational safety. It targets the problem that LLMs are increasingly used for embedded development consultation, but safety limits vary by board, and no prior benchmark examined whether models can judge operational safety based on vendor documentation and refuse when information is insufficient.
- Construction: 490 structured constraints (53 boards, 5 vendors) were extracted from 30 vendor documents; 298 scenarios with safe/unsafe/insufficient-info gold labels were sampled and generated across six scenario families; four stages of quality control—provenance review, deterministic verification, GPT-5.6 blind validation, and manual review—were applied, and labels can be independently recomputed from the rule base.
- Evaluation: 6 open-source models (Qwen3, Gemma-3, Llama families) produced a total of 7,152 responses under 2×2 conditions (rule access × structured-rationale prompting).
- Main results: Highest accuracy was 69.13% (Gemma-3-12B, R1 T1); of the 24 model×condition combinations, only 4 had a 95% Wilson lower bound exceeding the 48.3% always-unsafe baseline.
- Intervention effects: The authors state that providing rules brought a larger and more consistent improvement (about +10 percentage points on average), while structured-rationale prompting brought about +4 percentage points on average and was negative for some individual models.
- Fine-grained failures: Under R1 T1, accuracy on underspecified scenarios was only 0–19.5%; Gemma-3-12B got both items correct in only 4 of 15 boundary pairs; average dangerous acceptance fell from 66.3% (R0 T0) to 24.7% (R1 T1), but safe rejection simultaneously rose from 35.4% to 48.2%.
- Explanation quality: In the stratified review, only 13.4% of responses passed all four constraint-application criteria, and among responses judged correct, 62.8% failed at least one criterion.
The authors' conclusion: the evaluated models cannot yet reliably judge operational safety, and reliable safety evaluation needs to examine constraint application and refusal behavior in addition to judgment accuracy; future work will extend to more models and real scenarios, strengthen expert validation, and test retrieval combined with deterministic constraint checking.