Industrial-Instruction: An End-to-End Framework for Building Instruction-Tuning and Benchmark Datasets from Industrial Technical Reports
Organizations: Department of Computer Engineering, Hamedan University of Technology, Hamedan, Iran. · Department of Computer Science, University of Antwerp, Antwerp, Belgium; Flanders Make Strategic Research Center, Antwerp, Belgium.
Abstract
Industrial technical reports contain high-value knowledge for maintenance, troubleshooting, and product engineering, but their heterogeneous structure (dense prose, specifications, tables) makes them difficult to index and reason over with standard retrieval and QA pipelines, and no public instruction-tuning or benchmark datasets are built from such documents. We address this gap with Industrial-Instruction, contributing (i) two open QA datasets built from real industrial technical reports and (ii) the end-to-end pipeline that produces them. Using 906 public Panasonic documents (7,525 pages), we apply layout-aware extraction, build a semantic retrieval index, and synthesize multiple-choice QA grounded in retrieved evidence under five query-document relationships (irrelevant retrieval, single-/multi-document support, single-/multi-document answer). After filtering an initial 23.9k generated samples, each dataset provides approximately 13.6k QA pairs with source documents and a held-out benchmark split. Fine-tuning small open LLMs (under 10B parameters) improves Set-Match Accuracy from 28.5% to 42.0% and F1 from 46.6% to 63.5% on the Panasonic benchmark. We release two parallel versions built by the same pipeline: one generated with the open-weight Qwen3-30B-A3B-Instruct model and one with the closed, API-based Claude-Opus-4.6 model, enabling a direct comparison of open- versus frontier-model data generation. The Claude-Opus-4.6 dataset yields a cleaner raw corpus and larger fine-tuning gains, at roughly two orders of magnitude higher cost. MMLU evaluation shows models trained on the Claude-Opus-4.6 data retain essentially all general knowledge, versus a small but measurable forgetting effect for the Qwen-generated data. Together, these datasets and pipeline offer a practical, reproducible path toward scalable industrial benchmarks and training data from real-world documentation.
Figures & tables
| Feature | Rule-based | Learning-oriented |
|---|---|---|
| Application in language models | Suitable for digital government texts; may be fragmented for complex documents. | Suitable for preserving content; can be converted into a Markdown document. |
| Markdown support | Limited; usually requires post-processing after text extraction. | Native support; designed for outputs like Markdown/LaTeX. |
| Technical images | Can extract images but has no relation to the content. | Ability to recognize objects and link them appropriately to the content. |
| Reliability | Highly interpretable; without producing hallucinatory errors. | Higher risk of hallucinations in complex documents. |
| Classification | Table | Text | Footnote | Index | Section | Page | Etc. |
|---|---|---|---|---|---|---|---|
| Count (pages) | 236 | 14 | 6 | 4 | 2 | 1 | 28 |
| Filter/Scenario | R0 | R1 | R2 | R3 | R4 |
|---|---|---|---|---|---|
| Filter to detect healthy response options | 2472 | 2526 | 2406 | 2476 | 2379 |
| Filter for identifying options embedded in the question text | 427 | 302 | 410 | 315 | 365 |
| Rest (deleted) | 1962 | 1961 | 1994 | 2015 | 2052 |
| Total remaining | 2899 | 2828 | 2816 | 2791 | 2744 |
| Sample Type | Sample Size |
|---|---|
| Training | 12,557 |
| Test (Benchmark) | 1,000 |
| Sample Type | Sample Size |
|---|---|
| Training | 25,252 |
| Test (Benchmark) | 1,000 |
| Model | Set-Match Acc. | F1-Score | Jaccard |
|---|---|---|---|
| Qwen-4B-Instruct | 28.5% | 46.65% | 41.62% |
| Phi-3-mini-4k-Instruct | 17.5% | 31.27% | 28% |
| RAG-Instruct-Llama3-8B | 0.70% | 0.90% | 0.86% |
| Config | F1-Score | Jaccard Similarity | Set-Match Acc. |
|---|---|---|---|
| Original | 46.57% | 41.57% | 28.50% |
| R16-A16 | 46.71% | 41.66% | 28.50% |
| R32-A16 | 46.89% | 41.86% | 28.70% |
| R8-A16 | 46.53% | 41.54% | 28.50% |
| R64-A16 | 46.27% | 41.27% | 28.20% |
| Configuration | F1-Score | Jaccard Similarity | Set-Match Acc. |
|---|---|---|---|
| Original with RAG | 58.55% | 54.00% | 40.90% |
| Fully Fine-Tuned with RAG | 72.66% | 68.88% | 56.40% |
| Original | 59.24% | 54.71% | 41.60% |
| Fully Fine-Tuned | 72.72% | 68.93% | 56.40% |
| Configuration | F1-Score | Jaccard Similarity | Set-Match Acc. |
|---|---|---|---|
| Original with RAG | 46.57% | 41.57% | 28.50% |
| Fully Fine-Tuned with RAG | 63.48% | 57.95% | 42.00% |
| Original | 46.63% | 41.61% | 28.50% |
| Fully Fine-Tuned | 63.14% | 57.60% | 41.70% |
| Model | MMLU Overall |
|---|---|
| Original (base) | 72.13% |
| finetuned_v1_qwen | 70.87% |
| finetuned_v2_claude | 72.08% |
| Category | Original | finetuned_v1_qwen | finetuned_v2_claude |
|---|---|---|---|
| Humanities | 63.66% | 61.13% | 63.85% |
| Social Sciences | 81.38% | 80.44% | 81.28% |
| STEM | 72.53% | 72.41% | 72.44% |
| Other | 75.41% | 74.57% | 75.09% |
| Metric | Qwen-Org | Qwen-Pana-Qwen | RAG-Instruct |
|---|---|---|---|
| AccOrgIBM | 34% | 27% | 28% |
| AccPerIBM | 0% | 0% | 33% |
| F1-Macro (IBM) | 40% | 43% | 62% |
| F1-Micro (IBM) | 66% | 74% | 68% |
| Set-Match Acc. (Panasonic) | 28% | 42% | 1% |
| Jaccard Similarity (Panasonic) | 41% | 58% | 1% |
| Metric | Qwen-Org | Qwen-Pana-Claude | RAG-Instruct |
|---|---|---|---|
| AccOrgIBM | 34.0% | 49.6% | 28.0% |
| AccPerIBM | 0.0% | 0.0% | 33.0% |
| F1-Macro (IBM) | 40.0% | 33.5% | 62.0% |
| F1-Micro (IBM) | 66.0% | 50.3% | 68.0% |
| Set-Match Acc. (Panasonic) | 40.9% | 56.4% | 10.7% |
| Jaccard Similarity (Panasonic) | 54.0% | 68.9% | 15.24% |
| Generator | Compute Time | Cost | Notes |
|---|---|---|---|
| Qwen3-30B-A3B-Instruct | 1h 43m | $3.2 | Local Pro 6000 WS |
| Claude-Opus-4.6 | — | $330 | Token-based billing |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Subject | Original | finetuned_v1_qwen | |
|---|---|---|---|
| moral_scenarios | 51.17% | 40.45% | -10.72 |
| public_relations | 69.09% | 62.73% | -6.36 |
| marketing | 91.88% | 87.18% | -4.70 |
| high_school_biology | 90.65% | 86.13% | -4.52 |
| high_school_microeconomics | 91.60% | 87.82% | -3.78 |
| human_aging | 73.54% | 69.96% | -3.58 |
| Subject | Original | finetuned_v2_claude | |
|---|---|---|---|
| public_relations | 69.09% | 63.64% | -5.45 |
| anatomy | 71.11% | 66.67% | -4.44 |
| college_chemistry | 54.00% | 50.00% | -4.00 |
| high_school_computer_science | 89.00% | 85.00% | -4.00 |
| marketing | 91.88% | 88.46% | -3.42 |
| global_facts | 43.00% | 51.00% | +8.00 |
| Scenario | Docs | Core requirement (rule 1) |
|---|---|---|
| Useless Document (r0) | 1 | Document is related but provides no useful information for answering . |
| Single-Doc. Support (r1) | 1 | Document provides supporting clues but not an explicit answer. |
| Multi-Doc. Support (r2) | 2 | Multiple documents jointly provide clues but not an explicit answer. |
| Single-Doc. Answer (r3) | 1 | Document contains the complete, explicit answer. |
| Multi-Doc. Answer (r4) | 2 | Answer requires multi-hop reasoning across documents. |
Synthetic Benchmark Generation
Synthetic benchmark generation creates controlled, verifiable evaluation tasks and datasets to test models across diverse settings.
See all 281 papers