The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

A decision-intelligence system that blends microbial kinetics, an ML residual, and an LLM cuts shelf-life prediction error from 30.9 to 7.2 hours and attains 99.5% oracle-optimal routing in simulated milk and broccoli cold-chain scenarios, with the language-model reasoning layer responsible for the bulk of decision improvements.

Beyond Thresholds: A Quality-Aware Decision Intelligence Framework for Cold Chain IoT Systems
Aashna Sofat, Balwinder Sodhi · August 15, 2026
arxiv descriptive medium evidence 7/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Aashna Sofat unresolved corpus identity
  2. Balwinder Sodhi unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Aashna Sofat provider ID
  2. B. Sodhi provider ID
The QADI system—combining a physics-based spoilage model with an ML residual and an LLM reasoning layer with RAG—substantially reduces shelf-life prediction error and yields near-oracle routing/decision choices in simulated cold-chain scenarios, with the LLM component driving most decision-quality gains.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Cold chain logistics has advanced technologically, yet most deployed systems remain reactive monitors, not decision-making agents: thresholds trigger alerts, but nothing relates violations to cumulative product degradation or converts degradation signals into logistics decisions. We address this gap with a Quality-Aware Decision Intelligence (QADI) framework combining three capabilities: a structured quality state representation, $S_q = [L, Q, U, R]$ -- remaining shelf life, degradation rate, estimation uncertainty, and operational risk, all derived and computable from the framework equations; a hybrid quality modeling layer combining physics-based microbial kinetics with a data-driven correction term; and a reasoning layer built on Microsoft Phi-4~\cite{Phi4} with retrieval-augmented generation over a structured domain knowledge base. We benchmark against five baselines -- threshold monitoring, physics-only, physics-plus-noise, optimisation-based decisions, and a rule-based expert system -- across eight cold chain scenarios, using pasteurised milk as the primary case, with ground truth shelf-life drawn from published dairy studies~\cite{Singh1994, Smigic2015} independent of our model. Comparisons use Wilcoxon signed-rank tests with Holm correction. Across milk and broccoli scenarios, the framework attains mean absolute shelf-life error of 7.2 hours (versus 30.9 hours, physics-only; $p<0.001$), spoilage rate of 14.5% (versus 16.6%, physics-only and rule-based; p=0.08), and oracle-optimal decisions in 99.5% of scenarios. Removing the LLM reasoning component drops optimality to 45.5% ($p<0.001$). Expert-rated explanation quality reaches 83% ($κ= 0.71$). Ablations show hybrid modeling and LLM reasoning contribute distinct gains, while RAG retrieval mainly drives explanation quality. Code: https://bit.ly/4d6t44C.

Summary

Main Finding

The paper introduces QADI (Quality-Aware Decision Intelligence), a unified framework that converts IoT cold-chain telemetry into actionable, uncertainty-aware decisions using a compact quality state Sq = [L, ˙Q, U, R], a hybrid physics+ML quality model, and an LLM-based reasoning layer (Phi-4) with retrieval-augmented generation (RAG). Evaluated across simulated milk and broccoli scenarios against five baselines, QADI reduces mean absolute shelf-life prediction error to 7.2 hours (vs. 30.9 h for physics-only, p < 0.001), achieves a spoilage rate of 14.5% (vs. 16.6% for physics-only/rule-based, p = 0.08), and selects oracle-optimal routing decisions in 99.5% of cases. The LLM reasoning component is critical: removing it drops decision optimality to 45.5% (p < 0.001). Explanation quality is rated 83% by experts (κ = 0.71). Code is provided for replication.

Key Points

  • Quality state Sq = [L (remaining shelf life), ˙Q (instantaneous degradation rate), U (estimation uncertainty), R (operational risk)] is proposed as an interpretable, sufficient interface between physics models and reasoning.
  • Hybrid quality model: physics-based microbial kinetics (logistic growth with Arrhenius-like temperature sensitivity) plus a learned residual via a two-layer LSTM (64 units) that corrects systematic model error.
  • Uncertainty is quantified with Monte Carlo (M = 500 samples) over initial microbial load and sensor noise; operational risk R is a sigmoid-normalised ratio of remaining transit time to remaining shelf life.
  • Reasoning layer: Microsoft Phi-4 (14B) used with RAG over a 143-document structured KB (product profiles, kinetics summaries, logistics constraints, decision precedents); top-3 retrieved docs are injected per call. LLM operates downstream of Sq and does not alter quality estimates.
  • Evaluation: eight primary scenarios (eleven configurations), 150 runs per scenario, five baselines (threshold monitoring, physics-only, physics+noise, optimisation-based decision system, rule-based expert system). Ground truth shelf-life references are empirical datasets from published dairy studies (not model-derived).
  • Statistical rigor: Wilcoxon signed-rank tests with Holm correction for multiple comparisons; ablation studies isolate contributions of hybrid modeling, LLM reasoning, and RAG; inter-rater reliability for explanation quality κ = 0.71.
  • Ablation findings: both hybrid modeling and LLM reasoning contribute distinct, non-redundant performance gains; RAG mainly improves explanation quality (21 percentage-point drop without RAG).

Data & Methods

  • Problem framing: decision policy selects action a ∈ A maximizing expected future product value V(Q(t+Δt|a), a) minus action cost C(a). Q dynamics are path-dependent via time–temperature history.
  • Physics model:
    • Quality via microbial-count mapping: Q(t) = 1 − (N(t) − N0)/(Ncrit − N0).
    • Growth model: Nt+1 = Nt + µ(T(t))·(Nmax − Nt)·Δt, with µ(T) = a · e^{bT}.
    • Example parameters for pasteurised milk: N0 = 3.0 log10 CFU/mL, Ncrit = 7.0, Nmax = 9.0, a = 0.005 h−1, b = 0.10 °C−1, Δt = 1 h.
  • ML correction:
    • Two-layer LSTM (64 hidden units) + dense output predicting residual between physics output and empirical shelf-life midpoints.
    • Inputs: 24-hour sliding temperature window, time since last logistics event, elapsed journey time, product age at origin.
    • Training: trained on profile families P1–P4; P5 (multi-disturbance) held out to test OOD generalisation.
  • Uncertainty: Monte Carlo draws for N0 ∼ N(3.0, 0.5^2) and sensor noise Tobs = Ttrue + N(0, 0.5^2); U(t) = Std[Ĺ(t)] / mean Ĺ(t) with M = 500.
  • Reasoning layer:
    • Model: Microsoft Phi-4 (14B), temperature 0.2, max gen 2048 tokens; served locally (Ollama).
    • KB: 143 structured documents (38 product profiles, 42 kinetics summaries, 31 logistics templates, 32 decision precedents).
    • Retrieval: FAISS index over dense sentence embeddings; top-3 docs injected per call (RAG).
    • Prompt: system context (retrieved docs + constraints), serialised Sq and logistics context Ct, query to return ranked actions + explanations.
  • Evaluation:
    • Baselines: threshold monitoring, physics-only, physics-plus-noise, optimisation-based decision system, rule-based expert system.
    • Metrics: mean absolute shelf-life prediction error, spoilage rate, decision optimality (oracle comparison), explanation quality (expert ratings).
    • Statistical tests: Wilcoxon signed-rank with Holm correction; ablation experiments isolate components’ effects.

Implications for AI Economics

  • Measurable economic value of LLM-enabled decision intelligence: QADI materially improves operational outcomes (lower prediction error, lower spoilage, near-oracle routing decisions). For firms handling high-volume perishables, such gains translate into reduced waste, higher yield of sellable goods, and improved revenue capture—potentially large ROI given the ~$300B annual cold-chain market.
  • Valuation of decision-layer AI vs prediction-only models: the decisive role of the LLM in decision optimality (99.5% vs 45.5% when removed) shows that accurate predictions alone are not sufficient; integrating context-aware reasoning (value mapping, costs, constraints) substantially increases realized economic benefits.
  • Insurance, contracts, and pricing: richer, uncertainty-aware quality states (Sq) enable risk-adjusted contracting (dynamic pricing, differential SLAs), and can reduce claim uncertainty for insurers by providing traceable, explainable rationales for decisions and outcomes.
  • Product- and network-level externalities: systematic spoilage reduction reduces aggregate food loss and associated social costs (environmental and economic). For critical cold-chain items (vaccines, biologics), better prescriptive decisions can have outsized welfare impacts.
  • Market for decision-as-a-service: the architecture supports a modular commercial model (sensor + hybrid model + reasoning + RAG/KPIs). Vendors can price by prevented spoilage, decision accuracy, or service-level guarantees; customers benefit from lower downstream handling and waste costs.
  • Policy, regulation, and transparency: RAG-backed explanations and structured Sq improve auditability and regulatory compliance (traceable rationale for rerouting or disposal decisions). This facilitates adoption where regulators require documented decision processes (e.g., pharmaceuticals, regulated foods).
  • Deployment and risks to economic adoption:
    • Implementation costs and integration with existing WMS/ERP must be considered; net economic benefit depends on intervention costs vs value saved.
    • Reliance on LLMs introduces risks: possible hallucinations, need for up-to-date KBs, and potential liability if reasoning fails; RAG and structured Sq mitigate but do not eliminate these risks.
    • Model assumptions (e.g., physics parameters, temperature-hold assumptions) and simulated evaluation mean real-world pilots are needed to quantify realized ROI and robustness across supply networks.
  • Research & policy directions useful to economists and practitioners:
    • Conduct cost–benefit and ROI studies in live pilots across product classes (dairy, produce, vaccines) to quantify monetary gains and adoption thresholds.
    • Study incentive alignment across supply-chain actors (shippers, carriers, retailers, insurers) for shared deployment of prescriptive systems.
    • Explore contracting innovations (performance-based fees tied to spoilage reduction) and insurance products that leverage Sq signals.
    • Evaluate regulatory frameworks for using LLM-supported automated decisions in regulated cold chains; standardise explainability requirements and KB governance.

Concluding note: QADI demonstrates how combining interpretable quality state representations, hybrid physics-ML models, and LLM reasoning with RAG can convert sensor-rich cold chains into value-maximising decision systems. The paper provides both technical evidence and shared code to facilitate economic and operational follow-ups, but live deployments and economic pilots will be necessary to translate these technical gains into validated monetary outcomes and industry adoption.

Assessment

Paper Typedescriptive Evidence Strengthmedium — The paper reports rigorous, statistically-tested improvements (Wilcoxon tests with Holm correction, ablations, inter-rater reliability) and uses independent published shelf-life references as evaluation anchors, but evidence is based on simulated cold-chain scenarios and literature-derived kinetics rather than real-world deployments or randomized field trials, limiting external validity and causal claims about operational impact. Methods Rigormedium — Methods combine established physics models, a held-out ML-training regime, Monte Carlo uncertainty quantification, systematic ablations (including removal of the LLM and RAG), and appropriate non-parametric tests; however, several strong assumptions (e.g., post-observation temperature holding rule, literature parameter choices, simulated logistics, limited product set) and lack of field validation reduce overall rigor. SampleEvaluation used eight parameterised cold-chain scenarios (eleven total configurations) focused primarily on pasteurised milk with additional broccoli scenarios; 150 runs per scenario were simulated. Ground-truth shelf-life references were drawn from published empirical dairy studies (Singh et al. [2], Smigić et al. [3]). The hybrid model's ML correction (two-layer LSTM) was trained on profile families P1–P4 with P5 held out for OOD testing. Sensor noise and initial microbial-load priors are explicitly specified (N0 ~ N(3.0, 0.5^2); temperature noise σ=0.5°C). Uncertainty estimated by Monte Carlo (M=500 samples). The reasoning layer used Microsoft Phi-4 with a 143-document structured knowledge base; retrieval via FAISS and top-3 docs injected per call. Many elements (telemetry, logistics events, route delays) were simulated rather than observed from live deployments. Source code artifacts are shared at the provided link. Themeshuman_ai_collab productivity GeneralizabilitySimulated evaluations may not capture all real-world complexities (sensor failures, nonstationary logistics, packaging variability, mixed loads)., Primary evaluation on pasteurised milk (and broccoli) limits transferability to other perishables, biologics, or vaccine cold chains with different kinetics and regulatory constraints., Assumed model parameters and priors drawn from literature may not reflect local plant-level heterogeneity in microbial load or process variability., Simplifying assumptions (e.g., temperature holds at current segment until journey end then reverts to 4°C) may bias shelf-life projections in some operational contexts., LLM behaviour can vary by model/version and deployment; Phi-4 without domain fine-tuning may under- or over-perform relative to other models., Logistics cost/templates in the KB are representative rather than bespoke to particular carriers/networks, limiting economic external validity.

Claims (8)

ClaimDirectionOutcomeConfidence & EvidenceDetails
The QADI framework achieved a mean absolute shelf-life prediction error of 7.2 hours across milk and broccoli scenarios, compared with 30.9 hours for the physics-only baseline. Output Quality positive Mean absolute shelf-life prediction error
Reading fidelity high
Study strength medium
n=150
7.2 hours versus 30.9 hours
0.18
The QADI system produced a lower spoilage rate than the physics-only and rule-based baselines: 14.5% versus 16.6%, although the difference was not statistically significant at the reported threshold. Error Rate null_result Spoilage rate
Reading fidelity high
Study strength low
n=150
14.5% versus 16.6% (p = 0.08)
0.09
The system selected the oracle-optimal action in 99.5% of routing scenarios. Decision Quality positive Oracle-optimal decision selection rate
Reading fidelity high
Study strength medium
n=150
99.5%
0.18
Removing the LLM reasoning component reduced optimal decision selection from 99.5% to 45.5%. Decision Quality negative Optimal decision selection rate
Reading fidelity high
Study strength medium
n=150
reduces optimality from 99.5% to 45.5% (p < 0.001)
0.18
Expert-rated explanation quality was 83%, with substantial inter-rater agreement indicated by Cohen's kappa of 0.71. Decision Quality positive Expert-rated explanation quality
Reading fidelity high
Study strength low
83% with inter-rater κ = 0.71
0.09
Removing the retrieval-augmented generation component reduced explanation quality by 21 percentage points. Decision Quality negative Explanation quality
Reading fidelity high
Study strength low
21 pp reduction
0.09
A product stored continuously at 6.5 °C can have approximately 40% shorter shelf life than under ideal cold storage while remaining below an 8 °C alert threshold. Automation Exposure negative Remaining shelf life relative to ideal cold storage
Reading fidelity high
Study strength low
approximately 40% reduction
0.09
The physics-based model produces approximate milk shelf lives of 160 hours at 4 °C, 96 hours at 6.5 °C, and 80 hours at 10 °C. Output Quality negative Predicted shelf life under different storage temperatures
Reading fidelity high
Study strength low
approximately 160 h at 4 °C; 96 h at 6.5 °C; 80 h at 10 °C
0.09

Notes