Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_labeling-feedback-loop

Active Learning, Labeling & Production Feedback Loop

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Active Learning, Labeling & Production Feedback Loop — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_labeling-feedback-loop/opengraph-image)](https://archos.sageideas.dev/d/dgm_labeling-feedback-loop)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_labeling-feedback-loop)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_labeling-feedback-loop" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Active Learning, Labeling & Production Feedback Loop — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Prod Inference Stream"]
  n1_1["Uncertainty Sampler"]
  n2a_2[("Labeling Queue UI")]
  n2b_3["QA & Inter-Rater"]
  n3_4[("Versioned Dataset")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Sample · Kafka"| n1_1
  n1_1 -->|"2a. Label task · HTTPS"| n2a_2
  n1_1 -.->|"2b. Verify QA · gRPC"| n2b_3
  n2a_2 -->|"3a. Commit · S3"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Prod Inference StreamSTATELESS
    Edge cases & user corrections
  • Uncertainty SamplerSTATELESS
    Low-confidence & disagreement
  • Labeling Queue UISTATEFUL
    Multi-annotator consensus
  • QA & Inter-RaterSTATELESS
    Krippendorff alpha + gold QA
  • Versioned DatasetSTATEFUL
    LakeFS/Iceberg gold snapshots
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Prod Inference Stream → Uncertainty Sampler (Sample)[Kafka]
  2. Uncertainty Sampler → Labeling Queue UI (Label task)[HTTPS]
  3. Uncertainty Sampler → QA & Inter-Rater (Verify QA)[gRPC]
  4. Labeling Queue UI → Versioned Dataset (Commit)[S3]
  5. QA & Inter-Rater → Versioned Dataset (Apply)[Async]
  6. Versioned Dataset → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →