What Quality Engineers Need to Know About Generative AI: Structured Data Extraction
Authors: Fadel M. Megahed, Ying-Ju Chen, Yamin Dahwich, Zhao-Wei Chen, Lucas K. Hung, Arthur Carvalho, L. Allison Jones-Farmer, Ibrahim Yousif, Inez M. Zwetsloot
Organizations: Farmer School of Business, Miami University, Oxford, OH 45056, USA · College of Arts and Sciences, University of Dayton, Dayton, OH 45469, USA · Trinity College, University of Cambridge, Cambridge CB2 1TQ, United Kingdom · School of Business Administration, University of Dayton, OH 45469, USA · School of Engineering, University of Dayton, Dayton, OH 45469, USA · Department of Applied Computing and Engineering Technology, Miami University, Hamilton, OH 45011, USA · Amsterdam Business School, University of Amsterdam, Amsterdam, The Netherlands
In this expository paper, we explain how quality engineers can use large language models (LLMs) and vision-language models (VLMs) for structured data extraction. We introduce the relevant concepts, discuss structured extraction from a measurement-system perspective, and demonstrate its implementation in R and Python. We then present two freely available web-based applications (apps): (a) extracting information from automotive recall notices and (b) monitoring quality engineering research on arXiv. To ensure the accuracy of our AI-driven structured extraction, human evaluators validated the results. In the first app, four reviewers assessed information extracted from 30 recall notices using two models, with 98.6% of the 720 field-level ratings judged fully correct. In the second app, 21 authors evaluated information extracted from 45 of their arXiv papers. All paper summaries were rated mostly correct or correct, although the evaluations identified problems with some classification fields and mathematical expressions. These results demonstrate the practical potential of structured data extraction while emphasizing the need to validate the extracted information. We make both apps and their source code publicly available so that readers can adapt the approach to their own applications.
Figures & tables
Term
Plain-English meaning
Why it matters for data extraction
LLM
A model that processes and generates text in response to instructions
Can extract information from complaint narratives or reports
VLM
A model that processes both images and text
Can extract information from scanned forms, photographs, or image-based PDFs
Prompt
Instructions provided to the model
Specifies what information should be extracted
Schema
Field names, data types, and descriptions defining the required output
Similar to a coding sheet with operational definitions for each variable
Token/context window
Tokens are units of text; the context window limits how many tokens the model can process in one request
Affects how much information can be processed at once and the associated cost
Structured JSON output
A machine-readable record containing the fields specified in the schema
Can be converted into a row in a data frame
Table 1: Key generative AI terms for quality engineers.
Figure 1: Structured data extraction workflow. The user specifies a typed schema describing the fields to extract. The LLM (or VLM, for image and scanned-document inputs) returns a schema-valid JSON record that maps directly to a row in a data frame.
Figure 3
Figure 2: Structured text extraction application for quality engineering workflows.
manufacturer
defect_summary
Ford Motor Company (Ford)
Rearview camera image may remain displayed after a backing event has ended, causing non-compliance with Federal Motor Vehicle Safety Standard (FMVSS) No. 111, Rear Visibility.
Honda (American Honda Motor Co.)
A software error in the fuel injection electronic control unit (FI-ECU) may cause the engine to stall or experience a loss of power.
Table 2: Example extraction from two NHTSA recall notices using the built-in demo. The user defined two fields, and the model populated one row per notice.
Model
Manufacturer
Vehicle Models
Model Years
Overall
gemma4:e2b
100.0%
97.5%
98.3%
98.6%
gpt-5.4-nano
100.0%
96.7%
99.2%
98.6%
Overall
100.0%
97.1%
98.8%
98.6%
Table 3: Human evaluation of structured fields extracted from 30 NHTSA recall descriptions. Entries report the percentage of human ratings equal to 5 (Correct).
Figure 3: Architecture and landing page of QE ArXiv Watch.
Group
Fields
Classification
Chart family (e.g., Shewhart, CUSUM, EWMA); charting statistic; Phase I versus Phase II designation; application domain
Data assumptions
Whether the paper assumes normality, addresses autocorrelation, or handles missing data
Evaluation
Evaluation type (simulation, real data, theoretical); performance metrics (e.g., ARL or standard deviation of run length); sample-size requirements
Software
Whether code was used; platform (R, Python, MATLAB, SAS); whether code is publicly available; where it is hosted
Content
Concise summary; key equations; key results; stated limitations; unstated limitations identified by the model; stated future work; future work suggested by the model
Table 4: Field groups in the SPC extraction schema of the evaluated version.
Field
Extracted Value
chart_family
Univariate | Multivariate | Nonparametric | High-dimensional | Other
chart_statistic
Shewhart | Machine learning-based | Other
phase
Both
assumes_normality
FALSE
evaluation_type
Simulation study | Other
performance_metrics
False alarm rate | Detection probability | Other
Table 5: A subset of the extracted fields for arXiv paper 2512.23602v1 using the SPC schema (evaluated version). Pipe-delimited values indicate multi-label fields. The values Both and Other in this table are examples of the problems that the authors reported, which are addressed as explained in Section 6.2 .
Correctness
Reasonableness
Score
Anchor
Definition
Anchor
Definition
1
Incorrect
The response is wrong, unsupported by the paper, or clearly misrepresents the paper’s content.
Unreasonable
The suggested future work is implausible, disconnected from the paper, or not meaningfully motivated by its content.
2
Mostly Incorrect
The response contains a small amount of correct information, but substantial errors, misclassifications, or important omissions remain.
Mostly Unreasonable
The suggestion has limited connection to the paper and is only weakly justified by its methods, findings, or discussion.
3
Partially Correct
The response is a mix of correct and incorrect information, or it captures only part of what is supported by the paper.
Somewhat Reasonable
The suggestion is partially plausible and somewhat related to the paper, but the justification is incomplete or only moderately convincing.
4
Mostly Correct
The response is largely correct and supported by the paper, with only minor errors, omissions, or imprecision.
Mostly Reasonable
The suggestion is plausible, relevant to the paper, and reasonably supported by its content, with only minor weaknesses in justification.
5
Correct
The response is correct, supported by the paper, and does not contain meaningful errors or omissions.
Reasonable
The suggested future work is plausible, well aligned with the paper, and strongly justified by its content.
Table 6: Scales to assess structured extraction outputs and future-work reasonableness.
Figure 4: Distribution of author ratings for each AI-extracted factsheet field. Narrative fields are common to all tracks; classification fields are track-specific. Numbers inside bars are counts of papers; ratings range from 1 (Incorrect/Unreasonable) to 5 (Correct/Reasonable).
National Heart & Lung Institute, Faculty of Medicine, Imperial College London, United Kingdom · Cambridge Stem Cell Institute, JeDrey Cheah Biomedical Centre, Cambridge Biomedical Campus, University of Cambridge, Cambridge, United Kingdom · Department of Medicine, University of Cambridge, Cambridge, United Kingdom +1