arXiv:2610.12762cs.AIOct 2026

Manuscript Offprint

arXiv:2610.12762

Faithful and Complete LLM-Assisted Automated Construction of Hierarchical Hardware Knowledge Graphs

Haotian Qiao, Robert P. Dick

Haotian Qiao and Robert P. Dick

Department of Electrical Engineering and Computer Science

University of Michigan

Ann Arbor, MI, USA

qhaotian@umich.edu, dickrp@umich.edu

Abstract—Hardware datasheets contain engineering specifications essential for component selection, system integration, and hardware compatibility verification. However, manual inspection is tedious and error-prone because datasheets are lengthy and heterogeneous, with dense information fragmented across tables, figures, and text. Although large language models (LLMs) can automate this process, naïve one-shot processing omits relevant specifications even when the document fits within the model's context window.

We present an automated LLM-driven pipeline that transforms hardware datasheets into general-purpose hierarchical hardware knowledge graphs through chunk-based property extraction, hierarchical routing, and iterative refinement. The framework uses LLMs for information extraction and semantic reasoning while preserving source provenance and applying graph updates through validated instructions and deterministic local execution. This staged design reduces per-query context and maintains traceable intermediate representations. The resulting knowledge graphs provide semantically organized, source-grounded hardware properties for downstream retrieval and reasoning.

We evaluate the framework on 20 hardware datasheets spanning diverse component types and document lengths. We assess property faithfulness and introduce inter-graph completeness to measure relative semantic coverage without exhaustive ground truth. Our framework achieves 98.8% property faithfulness compared with 76.1% for the one-shot baseline, while fully covering 83.6% of faithful baseline properties; in the reverse direction, the baseline fully covers only 10.5% of ours. These improvements provide more reliable and comprehensive engineering information for downstream hardware design and verification, reducing the risk of overlooked constraints and incorrect decisions.

I. INTRODUCTION

Hardware datasheets are a primary source of engineering specifications. They describe electrical characteristics, communication interfaces, operating conditions, functional capabilities, device configurations, and numerous other properties required for downstream engineering tasks such as component compatibility verification and integration. However, the information is typically distributed across lengthy and heterogeneous documents containing narrative descriptions, tables, figures, and device-specific organization. Engineers must therefore repeatedly locate, interpret, and cross-reference specifications from unstructured datasheets, which requires substantial manual effort and causes relevant information to be overlooked. For example, datasheets often contain multiple seemingly similar specifications that apply for different operating conditions, variants, or test settings. Designers may locate one value that appears to match the target property and stop searching, even though another specification elsewhere in the datasheet is the one that actually applies to the intended case.

Knowledge graphs (KGs) provide a natural representation for transforming such unstructured documentation into reusable structured engineering knowledge. Rather than representing extracted specifications as an isolated, flat collection of properties, hardware knowledge can be organized according to the functional structure of a device. For example, properties associated with UART, SPI, sensing elements, power supplies, and other hardware functions can be organized by their corresponding functional blocks in a hierarchy. Such a representation gathers related specifications that are scattered throughout the original datasheet and provides a structured search space for downstream applications requiring hardware knowledge retrieval and reasoning. Recent advances in large language models (LLMs) provide an opportunity to automate this transformation through their capabilities in information extraction and semantic reasoning.