Manuscript Offprint

arXiv:2608.22817

Industrial-Instruction: An End-to-End Framework for Building Instruction-Tuning and Benchmark Datasets from Industrial Technical Reports

Parsa Bakhtiari, Hassan Bashiri, Alireza Khalilipour, Masoud Nasiripour, Moharram Challenger

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Industrial technical reports contain high-value knowledge for maintenance, troubleshooting, and product engineering, but their heterogeneous structure (dense prose, specifications, and tables) makes them difficult to index and reason over with standard retrieval and question-answering 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 question-answering datasets built from real industrial technical reports and (ii) the end-to-end pipeline that produces them. Using 906 publicly available Panasonic documents (7,525 pages) as a case study, we apply layout-aware extraction to preserve text and tabular content, construct a semantic index for retrieval, and synthesize multiple-choice QA instances grounded in retrieved evidence. Each dataset explicitly models five realistic query-document relationships—irrelevant retrieval, single-/multi-document support, and single-/multi-document answer—so that models can be trained and evaluated on robustness to retrieval noise and on multi-step evidence integration. After automated filtering of an initial 23.9k generated samples, each dataset provides ≈13.6k QA pairs with associated source documents and a held-out benchmark split. Experiments with small open LLMs (<10B parameters) show that full fine-tuning on Industrial-Instruction substantially improves performance on the Panasonic benchmark, increasing Set-Match Accuracy from 28.5% to 42.0% and F1 from 46.6% to 63.5%, with consistent gains both with and without RAG.

We release the dataset in 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—which additionally enables a direct comparison of open- versus frontier-model data generation. The Claude-Opus-4.6-generated dataset produces a substantially cleaner raw corpus and larger downstream fine-tuning gains, at roughly two orders of magnitude higher cost. Finally, MMLU evaluation before and after fine-tuning shows that models trained on the Claude-Opus-4.6-generated data retain essentially all of their general knowledge, in contrast to a small but measurable forgetting effect for models trained on the Qwen-generated data. Together, these datasets and the pipeline behind them offer a practical, reproducible path toward scalable industrial benchmarks and training data derived from real-world documentation.

*Department of Computer Engineering, Hamedan University of Technology, Hamedan, Iran. p.bakhtiari@stu.hut.ac.ir

†^{\dagger}Department of Computer Engineering, Hamedan University of Technology, Hamedan, Iran. bashiri@hut.ac.ir

‡^{\ddagger}Department of Computer Science, University of Antwerp, Antwerp, Belgium; Flanders Make Strategic Research Center, Antwerp, Belgium. alireza.khalilipour@uantwerpen.be

§^{§}Department of Computer Engineering, Hamedan University of Technology, Hamedan, Iran. masoud.nasiri@stu.hut.ac.ir

1^{1}Department of Computer Science, University of Antwerp, Antwerp, Belgium; Flanders Make Strategic Research Center, Antwerp, Belgium. moharram.challenger@uantwerpen.be

Keywords: Large Language Model; Fine Tuning; Industrial Question Answering; Retrieval-Augmented Generation; Synthetic Data Generation; Small Language Models.

1 Introduction

In today's industrial world, documents and industrial reports play a key role as vital and specialized knowledge repositories. This knowledge has been gathered over decades and is considered a valuable resource. These documents include a wide range of data such as technical information, product catalogs, maintenance manuals, and specialized guides, all of which carry deep expertise in their respective fields.[5] In the "Industry 4.0 framework," such documentation forms the foundation for critical applications like condition-based maintenance and Failure Modes and Effects Analysis (FMEA). For example, ISO standard documents and reports compiled by professionals provide a mapping between potential failures of industrial assets and sensor parameters used to detect faults and anomalies[9].

Despite the high value of the information embedded in these reports, organizations face significant challenges in managing and utilizing them. The structure of these documents is often complex and heterogeneous, integrating quantitative data, text, charts, and diagrams seamlessly. Additionally, the knowledge contained in these documents is usually scattered and decentralized; related information about a particular concept or process is distributed across different sections and formats (such as descriptive text, tables, and charts). This makes it difficult to categorize and effectively retrieve information. Traditional information retrieval systems may be able to retrieve relevant data, but they often cannot extract complex patterns and relationships between them.

Tabular data constitutes a significant portion of the specialized knowledge found in industrial and technical documentation. In datasets related to information and communication technology, the text contained in tables accounts for about 18% of the total word count. For example, in a 6-gigabyte dataset, tables contained 178 million words [20]^{[20]}. In industry, these tables are compiled by experts and contain very useful information.

These tables are generally valuable because:

  1. Tables often appear alongside text as they are vital for a comprehensive understanding of the content, such as technical specifications.

  2. Knowledge in these structures directly supports decision-making, risk management, and efficiency enhancement.

  3. By leveraging large language models for reasoning over data and tabular mapping, it becomes possible to simultaneously analyze both the structure of the table and the meaning of its content. These models can automatically extract conceptual relationships and complex dependencies between variables by combining information in the rows and columns; for example, identifying links between different equipment failure modes and patterns recorded in sensor data, or vice versa.

The emergence of large language models, generative AI, and agents has shifted the knowledge management paradigm towards automated extraction and reasoning. Although large language models have been trained on broad and general datasets, they often lack the specialized expertise required for highly technical industrial reports. To bridge this gap, researchers have proposed methods such as fine-tuning and retrieval-augmented generation [17] to inject specialized knowledge hidden in technical manuals and industry-specific data into the models. In this approach, documents are transformed into dynamic knowledge bases, thereby boosting operational effectiveness[5, 9]. Results show that the industrial domain is particularly challenging for language models and requires a form of specialized reasoning that general datasets do not encompass. Leading models such as GPT-4[15] and LLama[26] have achieved, on average, only 53.5% accuracy in question answering on the FailureSensorIQ benchmark with a single correct answer, highlighting the difficulty of industrial data. Open-weight models that were fine-tuned on general datasets such as HotpotQA[32] have achieved, on average, 29% accuracy on industrial benchmarks[9].

Overall, large language models, by demonstrating capabilities in both general and specialized fields like medicine, have the capacity for improvement and development in the field of industrial knowledge as well. However, one of the main challenges in this field is the shortage of suitable datasets for training and evaluating these models. The industrial gap refers to the disconnect between the broad, general capabilities of large language models and the highly specialized and precise requirements of the industry. For example, in the semiconductor manufacturing industry, this gap appears as follows[22]:

  1. Lack of deep knowledge: Large language models are trained on massive volumes of textual data and focus on expanding their coverage rather than depth of knowledge.

  2. Mismatch in communication style: Standard models are often designed for general conversations, which creates problems when specialists communicate with each other. In industrial settings, experts do not need general, simple, or summarized explanations; instead, they require precise, concise, and actionable guidance—similar to what an experienced engineer would provide to another experienced engineer. General-purpose models are usually unable to deliver the level of practical applicability and immediate usability needed in real-world production environments.

  3. Inefficiency of standard evaluation criteria: Standard criteria are not suitable for industrial domains and there is a need for specialized datasets and benchmarks.

Despite significant advances in the application of large language models in general domains and some specialized fields, studies show that the volume of research conducted on leveraging real industrial documents—especially focusing on tabular data and the scattered technical knowledge in the documentation of industrial companies—remains limited. Moreover, the majority of recent studies have concentrated on very large language models such as ChatGPT and their counterparts, while smaller models with fewer than ten billion parameters have received less attention. Yet, such smaller models are of great importance in terms of computational cost and deployability in industrial environments.

The present study contributes primarily two datasets, and secondarily the reproducible pipeline that builds them, to bridge the gap between small-scale language models and industrial knowledge. Concretely, our contributions are:

  1. Two industrial QA datasets. Building on publicly available Panasonic Corporation documents, we design and release the “Panasonic Dataset” in two parallel versions—one generated with an open-weight model (Qwen3-30B-A3B-Instruct) and one with a frontier API model (Claude-Opus-4.6)—each pairing instruction-tuning data with a held-out benchmark split for training and evaluating small (<10B-parameter) models on real industrial content, including the tabular knowledge that dominates such reports.

  2. An end-to-end construction pipeline. We adapt a multi-scenario retrieval-augmented generation paradigm to real industrial PDFs, combining layout-aware extraction, semantic indexing, and automated quality filtering; while the generation paradigm builds on prior work, applying it to heterogeneous industrial documentation and releasing the resulting artifacts is, to our knowledge, novel.

  3. An open- versus frontier-model study. Producing both dataset versions with the same pipeline lets us compare open-weight and closed API models as data generators along raw data quality, downstream fine-tuning gains, cost, and general-knowledge retention (MMLU).

The raw source corpus contains 906 documents across 7,525 pages, manually curated and downloaded from Panasonic's website.

Our code, dataset generation pipeline, and evaluation scripts are publicly available at https://github.com/parssky/industrial-instruction. The two released datasets are archived on Hugging Face at https://huggingface.co/datasets/Parssky/industrial-instruction-dataset (DOI:10.57967/hf/10098) [6].

References (30)