Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_llm-calibration-and-uncertainty

Model Calibration & Uncertainty (Temperature Scaling, Conformal & Abstention)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Model Calibration & Uncertainty (Temperature Scaling, Conformal & Abstention) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_llm-calibration-and-uncertainty/opengraph-image)](https://archos.sageideas.dev/d/dgm_llm-calibration-and-uncertainty)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_llm-calibration-and-uncertainty)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_llm-calibration-and-uncertainty" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Model Calibration & Uncertainty (Temperature Scaling, Conformal & Abstention) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Inference Request"]
  n1_1["Model Logits / Samples"]
  n2a_2[("Calibrator")]
  n2b_3["Conformal / Entropy"]
  n3_4["Act or Abstain Gate"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Forward · GPU"| n1_1
  n1_1 -->|"2a. Scale · Temp"| n2a_2
  n1_1 -.->|"2b. Score unc · Math"| n2b_3
  n2a_2 -->|"3a. Route conf · Policy"| n3_4
  n2b_3 -->|"3b. Audit · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Inference RequestSTATELESS
    High-Stakes Classification
  • Model Logits / SamplesSTATELESS
    Raw scores or semantic entropy
  • CalibratorSTATEFUL
    Optimizes NLL on holdout set
  • Conformal / EntropySTATELESS
    Prediction sets + uncertainty
  • Act or Abstain GateSTATELESS
    Auto-act >0.92 · Escalate low
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Inference Request → Model Logits / Samples (Forward)[GPU]
  2. Model Logits / Samples → Calibrator (Scale)[Temp]
  3. Model Logits / Samples → Conformal / Entropy (Score unc)[Math]
  4. Calibrator → Act or Abstain Gate (Route conf)[Policy]
  5. Conformal / Entropy → Act or Abstain Gate (Audit)[Control]
  6. Act or Abstain Gate → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →