TRV-2026-1850Version 1 · Certified
Reason for this version
Certified into the record
Canonical text (the exact bytes fingerprinted)
TRUVACE RECORD VERSION record: TRV-2026-1850 version: 1 kind: certified reason: Certified into the record timestamp: 2026-10-18T18:14:21.584668Z status: published lens: trace sector: policy headline: Effect of hierarchical prompt engineering on convolutional neural networks generated by large language models for helmet wearing compliance classification dek: Abstract Non-compliance with Personal Protective Equipment (PPE) use regulations, particularly helmet wearing, remains a critical occupational safety challenge in high-risk industrial environments. This study investigates how hierarchical prompt engineering shapes the quality of Convolutional Neural Networks (CNNs) generated by Large Language Models (LLMs) for image-level helmet-wearing compliance classification (helmet vs. no-helmet) as a mechanism for PPE compliance monitoring. Four LLMs (ChatGPT, Claude, Gemi… gain_title: Basic and structured prompts led four LLMs to generate working helmet-compliance classifiers that reached high accuracy on a controlled image test set. problem_title: Over-specified Tier 3 prompts caused Gemini and Grok to generate CNNs that failed to converge, so more detailed prompting is not reliably better. trace_subject: LLM-generated CNNs for helmet-wearing compliance classification under different prompt tiers gain_reading: Basic and structured prompts led four LLMs to generate working helmet-compliance classifiers that reached high accuracy on a controlled image test set. gain_evidence: basic and structured prompting represent the recommended operating range for developing PPE compliance classifiers problem_reading: Over-specified Tier 3 prompts caused Gemini and Grok to generate CNNs that failed to converge, so more detailed prompting is not reliably better. problem_evidence: Gemini and Grok experienced catastrophic convergence failures at Tier 3 quick_read: Researchers asked four large language models, ChatGPT, Claude, Gemini and Grok, to write PyTorch code for convolutional neural networks that sort images into helmet and no-helmet. Each model was prompted at three levels of specificity, and the resulting pipelines were tested over 20 runs on a purpose-built set of 972 balanced images. The work matters because helmet non-compliance is a persistent occupational safety problem, and LLM-written classifiers could lower the effort of building monitoring tools. The results suggest that which model is used matters more than how detailed the prompt is. Each model-and-tier condition rests on a single generated script, and real industrial validation is still needed. limitation: Each LLM-tier condition is represented by a single generated script, the evaluation is controlled and image-level, and validation in real industrial settings is still required. tag: Dual reading key_points: Ten of twelve model-and-prompt configurations reached accuracy of 0.957 to 0.967 and AUC of 0.985 to 0.993. | Claude at Tier 1 achieved the highest accuracy (0.967) and the lowest CPU usage (12.2%). | Gemini and Grok at Tier 1 produced the best-calibrated pipelines, with test loss of 0.127 and 0.142. | Gemini and Grok at Tier 3 fell to accuracy of about 0.58 despite syntactically valid scripts. | Higher prompt specificity did not consistently improve accuracy or validity rate. rundown: The study evaluated four LLMs across three prompt tiers of increasing specificity, giving twelve configurations. Each was scored with six classification metrics, four prompt quality metrics and three resource efficiency dimensions on image-level helmet versus no-helmet classification. Accuracy and calibration did not coincide. Claude led on accuracy while Gemini and Grok at Tier 1 had the lowest test loss, which the authors describe as an accuracy-calibration dissociation. The authors found that LLM identity interacts strongly with prompt tier and appears more critical than prompt design alone. They recommend basic and structured prompting, which delivered competitive accuracy and full validity rate across all models. sources: - peer_reviewed | Discover Artificial Intelligence | https://doi.org/10.1007/s44163-026-02501-8 | 2026-10-17 prev: 0000000000000000000000000000000000000000000000000000000000000000
- sha256
- 2d7f253d04e257516ddf9179bef932578d678efdf6e257ec3d4c1b58ab1d6fb3
- previous
- 0000000000000000000000000000000000000000000000000000000000000000
Verify this record
How to verify without trusting this page
Fetch the canonical text of any version from /api/record/TRV-2026-1850 and hash it yourself — for example shasum -a 256 on the saved canonical field. The result must equal content_hash, and each version’s text ends with prev:followed by the prior version’s hash (version 1 chains to 64 zeros). If a single character of any version had been altered since certification, the chain would not reproduce.
ace