Files
llmiotsafe/EGPv4
2026-05-12 17:01:39 +08:00
..
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00
2026-05-12 17:01:39 +08:00

EGPv4

EGPv4 implements the ADISR-style adversarial deliberation workflow for SafeHome:

  • Evidence Extractor: deterministic rule-based evidence compression
  • Prosecutor: anomaly-seeking, recall-oriented argument
  • Defender: normal-explanation, precision-oriented rebuttal
  • Judge: asymmetric burden-of-proof final decision

Unlike the earlier serial workflow, EGPv4 explicitly separates:

  • anomaly construction
  • anomaly rebuttal
  • final adjudication

and keeps TP/FP/TN labels out of model-visible inputs.

Quick test

python EGPv4/run_egpv4.py --preview-only --max-episodes 1 --output-dir results/egpv4_preview