Toward a Credible, Accurate and Precise Measurement System for LLM Analytical Errors and Hallucination: Statistical Process Monitoring with CUSUM, EWMA and a Process Reliability Index

Large language models (LLMs) used for operational decisions frequently make analytical errors or hallucinate when interpreting quantitative data, producing fluent, confident statements the data do not support. Safeguards such as human review and retrieval-augmented generation reduce risk but cost effort, computation and latency, and benchmark scores, the most systematic classical method, say little about whether a model gets each calculation right. Statistical process control (SPC) offers a complementary approach: it separates routine variation from real deterioration, directing scarce oversight where it is needed. We treat an LLM doing statistical analysis as a production process and build a measurement system for it, designed to be accurate, precise and credible. Each response is audited claim by claim against independently calculated references and labelled defective or not. Batches are monitored with an upper cumulative-sum (CUSUM) chart on the defect proportion and an exponentially weighted moving-average chart on an LLM Process Reliability Index. In a pilot, three LLMs analysed three Six Sigma datasets five times each. Defect rates ranged from 1 in 15 to 4 in 13 responses, with overlapping intervals. Five responses repeated one counting error near a control limit, and a dated reanalysis traced apparent instability in one dataset to pooled improvement stages. By simulation, the pilot CUSUM gives a false alarm about once every 114 in-control batches and detects a tripling of the defect rate in about six. The audit was unblinded and partly self-evaluated, so the results demonstrate the method, not drift or model ranking. We pre-specify a blinded two-rater study of measurement accuracy and precision, and a Phase I calibration. As the ultimate research goal, we outline a loop in which a CUSUM signal switches the model into self-reflective retrieval (Self-RAG) only when cost and latency are justified. Keywords: large language models; analytical errors; hallucination; measurement system analysis; statistical process control; CUSUM; V-mask; EWMA; process capability; inter-rater reliability; Self-RAG. Work carried out under the guidance of Dr Subrata Rath, SQC & OR Unit, Indian Statistical Institute, Pune.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24549900
Primary Topic
Advanced Statistical Process Monitoring
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Toward a Credible, Accurate and Precise Measurement System for LLM Analytical Errors and Hallucination: Statistical Process Monitoring with CUSUM, EWMA and a Process Reliability Index

Srija Bhattacharyya
Zenodo (CERN European Organization for Nuclear Research)
Advanced Statistical Process Monitoring
preprint

Toward a Credible, Accurate and Precise Measurement System for LLM Analytical Errors and Hallucination: Statistical Process Monitoring with CUSUM, EWMA and a Process Reliability Index

Srija Bhattacharyya
preprint en

Abstract

Large language models (LLMs) used for operational decisions frequently make analytical errors or hallucinate when interpreting quantitative data, producing fluent, confident statements the data do not support. Safeguards such as human review and retrieval-augmented generation reduce risk but cost effort, computation and latency, and benchmark scores, the most systematic classical method, say little about whether a model gets each calculation right. Statistical process control (SPC) offers a complementary approach: it separates routine variation from real deterioration, directing scarce oversight where it is needed. We treat an LLM doing statistical analysis as a production process and build a measurement system for it, designed to be accurate, precise and credible. Each response is audited claim by claim against independently calculated references and labelled defective or not. Batches are monitored with an upper cumulative-sum (CUSUM) chart on the defect proportion and an exponentially weighted moving-average chart on an LLM Process Reliability Index. In a pilot, three LLMs analysed three Six Sigma datasets five times each. Defect rates ranged from 1 in 15 to 4 in 13 responses, with overlapping intervals. Five responses repeated one counting error near a control limit, and a dated reanalysis traced apparent instability in one dataset to pooled improvement stages. By simulation, the pilot CUSUM gives a false alarm about once every 114 in-control batches and detects a tripling of the defect rate in about six. The audit was unblinded and partly self-evaluated, so the results demonstrate the method, not drift or model ranking. We pre-specify a blinded two-rater study of measurement accuracy and precision, and a Phase I calibration. As the ultimate research goal, we outline a loop in which a CUSUM signal switches the model into self-reflective retrieval (Self-RAG) only when cost and latency are justified. Keywords: large language models; analytical errors; hallucination; measurement system analysis; statistical process control; CUSUM; V-mask; EWMA; process capability; inter-rater reliability; Self-RAG. Work carried out under the guidance of Dr Subrata Rath, SQC & OR Unit, Indian Statistical Institute, Pune.

Zenodo (CERN European Organization for Nuclear Research)
KIIT University (IN)
Advanced Statistical Process Monitoring
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon