{
  "title": "Saved Modal run results — evidence snapshot",
  "snapshot_note": "Compiled from artifacts currently committed in this checkout; not a query of Modal cloud history.",
  "inventory": {
    "dataset": "LSUN-Bedroom",
    "n_real_declared": 42000,
    "n_fake_declared": 170492,
    "fake_source": "author",
    "generator_labels": 15,
    "interpretation": "declared inventory, not processed or unique map count"
  },
  "groups": {
    "legacy_initial": {
      "status": "separate historical run group; heterogeneous split sizes",
      "sources": [
        "modal-runs/runs/report.json",
        "modal-runs/runs/train.json",
        "modal-runs/runs/train/gen-*/train.json",
        "modal-runs/runs/eval/gen-adm/eval.json"
      ],
      "map_generation": {
        "dire_n": 5900,
        "steps": 20,
        "nfe": 234760,
        "seconds": 25787.41,
        "n_new_counter": 5869,
        "n_reused_counter": 2431,
        "counter_note": "cumulative activity counters; not disjoint unique maps"
      },
      "init": "scratch; not ImageNet",
      "seed": 3407,
      "per_detector_test": [
        {
          "tag": "gen-adm",
          "best_epoch": 11,
          "best_val_ap": 0.923,
          "threshold_from_val": 0.0011676459107547998,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.0011676459107547998,
            "acc": 0.781,
            "acc_at_0.5": 0.812,
            "ap": 0.9112293698319145,
            "auc": 0.890188,
            "confusion": {
              "tp": 444,
              "fp": 163,
              "tn": 337,
              "fn": 56
            },
            "acc_ci95": [
              0.788,
              0.837
            ]
          },
          "seconds": 651.04
        },
        {
          "tag": "gen-adm",
          "best_epoch": 7,
          "best_val_ap": 0.89761,
          "threshold_from_val": 0.1716066524386406,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.1716066524386406,
            "acc": 0.828,
            "acc_at_0.5": 0.824,
            "ap": 0.9026923821841895,
            "auc": 0.890626,
            "confusion": {
              "tp": 417,
              "fp": 89,
              "tn": 411,
              "fn": 83
            },
            "acc_ci95": [
              0.8,
              0.848
            ]
          },
          "seconds": 57.71
        },
        {
          "tag": "gen-dalle2",
          "best_epoch": 4,
          "best_val_ap": null,
          "threshold_from_val": 0.5,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.5,
            "acc": 0.5,
            "acc_at_0.5": 0.5,
            "ap": 0.437686359487805,
            "auc": 0.431392,
            "confusion": {
              "tp": 0,
              "fp": 0,
              "tn": 500,
              "fn": 500
            },
            "acc_ci95": [
              0.471,
              0.53
            ]
          },
          "seconds": 79.68
        },
        {
          "tag": "gen-ddpm",
          "best_epoch": 4,
          "best_val_ap": null,
          "threshold_from_val": 0.5,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.5,
            "acc": 0.5,
            "acc_at_0.5": 0.5,
            "ap": 0.34623579724755,
            "auc": 0.20608,
            "confusion": {
              "tp": 0,
              "fp": 0,
              "tn": 500,
              "fn": 500
            },
            "acc_ci95": [
              0.471,
              0.53
            ]
          },
          "seconds": 77.79
        },
        {
          "tag": "gen-diff-projectedgan",
          "best_epoch": 4,
          "best_val_ap": null,
          "threshold_from_val": 0.5,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.5,
            "acc": 0.5,
            "acc_at_0.5": 0.5,
            "ap": 0.4713425579099139,
            "auc": 0.452088,
            "confusion": {
              "tp": 0,
              "fp": 0,
              "tn": 500,
              "fn": 500
            },
            "acc_ci95": [
              0.471,
              0.53
            ]
          },
          "seconds": 76.73
        },
        {
          "tag": "gen-diff-stylegan",
          "best_epoch": 4,
          "best_val_ap": null,
          "threshold_from_val": 0.5,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.5,
            "acc": 0.5,
            "acc_at_0.5": 0.5,
            "ap": 0.4346204581488468,
            "auc": 0.400948,
            "confusion": {
              "tp": 0,
              "fp": 0,
              "tn": 500,
              "fn": 500
            },
            "acc_ci95": [
              0.471,
              0.53
            ]
          },
          "seconds": 89.92
        },
        {
          "tag": "gen-fake",
          "best_epoch": 5,
          "best_val_ap": 0.83573,
          "threshold_from_val": 0.004046939546242356,
          "test": {
            "n": 700,
            "n_real": 500,
            "n_fake": 200,
            "threshold": 0.004046939546242356,
            "acc": 0.8071428571428572,
            "acc_at_0.5": 0.82,
            "ap": 0.8054675409619221,
            "auc": 0.87986,
            "confusion": {
              "tp": 152,
              "fp": 87,
              "tn": 413,
              "fn": 48
            },
            "acc_ci95": [
              0.7914285714285715,
              0.8485714285714285
            ]
          },
          "seconds": 33.49
        },
        {
          "tag": "gen-iddpm",
          "best_epoch": 17,
          "best_val_ap": 0.97838,
          "threshold_from_val": 0.04535921476781368,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.04535921476781368,
            "acc": 0.918,
            "acc_at_0.5": 0.922,
            "ap": 0.9768227383357456,
            "auc": 0.97762,
            "confusion": {
              "tp": 476,
              "fp": 58,
              "tn": 442,
              "fn": 24
            },
            "acc_ci95": [
              0.905,
              0.937
            ]
          },
          "seconds": 270.21
        },
        {
          "tag": "gen-if",
          "best_epoch": 4,
          "best_val_ap": null,
          "threshold_from_val": 0.5,
          "test": {
            "n": 1000,
            "n_real": 500,
            "n_fake": 500,
            "threshold": 0.5,
            "acc": 0.5,
            "acc_at_0.5": 0.5,
            "ap": 0.374107268517831,
            "auc": 0.29788,
            "confusion": {
              "tp": 0,
              "fp": 0,
              "tn": 500,
              "fn": 500
            },
            "acc_ci95": [
              0.471,
              0.53
            ]
          },
          "seconds": 114.1
        },
        {
          "tag": "gen-adm",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 9,
          "best_val_ap": 0.90606,
          "threshold_from_val": 0.14204290509223938,
          "threshold_space": "logit",
          "test": {
            "n": 400,
            "n_real": 202,
            "n_fake": 198,
            "threshold": 0.14204290509223938,
            "acc": 0.82,
            "acc_at_0.5": 0.83,
            "ap": 0.9160928915742701,
            "auc": 0.9067406740674068,
            "confusion": {
              "tp": 161,
              "fp": 35,
              "tn": 167,
              "fn": 37
            },
            "acc_ci95": [
              0.7825,
              0.86
            ],
            "acc_ci95_threshold": 0.14204290509223938,
            "acc_ci95_covers_point": true
          },
          "seconds": 103.23
        },
        {
          "tag": "gen-dalle2",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 11,
          "best_val_ap": 0.99624,
          "threshold_from_val": 0.003916537505574524,
          "threshold_space": "logit",
          "test": {
            "n": 300,
            "n_real": 197,
            "n_fake": 103,
            "threshold": 0.003916537505574524,
            "acc": 0.97,
            "acc_at_0.5": 0.9366666666666666,
            "ap": 0.9883156106670734,
            "auc": 0.9910305061357252,
            "confusion": {
              "tp": 98,
              "fp": 4,
              "tn": 193,
              "fn": 5
            },
            "acc_ci95": [
              0.95,
              0.9866666666666667
            ],
            "acc_ci95_threshold": 0.003916537505574524,
            "acc_ci95_covers_point": true
          },
          "seconds": 85.05
        },
        {
          "tag": "gen-ddpm",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 14,
          "best_val_ap": 0.92014,
          "threshold_from_val": 0.09289604425430298,
          "threshold_space": "logit",
          "test": {
            "n": 300,
            "n_real": 199,
            "n_fake": 101,
            "threshold": 0.09289604425430298,
            "acc": 0.9166666666666666,
            "acc_at_0.5": 0.91,
            "ap": 0.9622388216067705,
            "auc": 0.9775113189710931,
            "confusion": {
              "tp": 95,
              "fp": 19,
              "tn": 180,
              "fn": 6
            },
            "acc_ci95": [
              0.8833333333333333,
              0.9466666666666667
            ],
            "acc_ci95_threshold": 0.09289604425430298,
            "acc_ci95_covers_point": true
          },
          "seconds": 98.72
        },
        {
          "tag": "gen-diff-projectedgan",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 9,
          "best_val_ap": 0.55849,
          "threshold_from_val": 0.0017368722474202514,
          "threshold_space": "logit",
          "test": {
            "n": 300,
            "n_real": 207,
            "n_fake": 93,
            "threshold": 0.0017368722474202514,
            "acc": 0.5433333333333333,
            "acc_at_0.5": 0.69,
            "ap": 0.34185842844066155,
            "auc": 0.5069866500441536,
            "confusion": {
              "tp": 31,
              "fp": 75,
              "tn": 132,
              "fn": 62
            },
            "acc_ci95": [
              0.4866666666666667,
              0.6
            ],
            "acc_ci95_threshold": 0.0017368722474202514,
            "acc_ci95_covers_point": true
          },
          "seconds": 73.51
        },
        {
          "tag": "gen-diff-stylegan",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 1,
          "best_val_ap": 0.49837,
          "threshold_from_val": 0.0751144178211689,
          "threshold_space": "logit",
          "test": {
            "n": 300,
            "n_real": 197,
            "n_fake": 103,
            "threshold": 0.0751144178211689,
            "acc": 0.6533333333333333,
            "acc_at_0.5": 0.6566666666666666,
            "ap": 0.4147002267560707,
            "auc": 0.5976541323739589,
            "confusion": {
              "tp": 25,
              "fp": 26,
              "tn": 171,
              "fn": 78
            },
            "acc_ci95": [
              0.6,
              0.7033333333333334
            ],
            "acc_ci95_threshold": 0.0751144178211689,
            "acc_ci95_covers_point": true
          },
          "seconds": 33.01
        },
        {
          "tag": "gen-iddpm",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 9,
          "best_val_ap": 0.98355,
          "threshold_from_val": 0.19756267964839935,
          "threshold_space": "logit",
          "test": {
            "n": 400,
            "n_real": 209,
            "n_fake": 191,
            "threshold": 0.19756267964839935,
            "acc": 0.905,
            "acc_at_0.5": 0.8975,
            "ap": 0.9583824387640899,
            "auc": 0.9635010897066559,
            "confusion": {
              "tp": 179,
              "fp": 26,
              "tn": 183,
              "fn": 12
            },
            "acc_ci95": [
              0.875,
              0.9325
            ],
            "acc_ci95_threshold": 0.19756267964839935,
            "acc_ci95_covers_point": true
          },
          "seconds": 97.32
        },
        {
          "tag": "gen-if",
          "label": "R1+R2",
          "split_mode": "hash",
          "best_epoch": 13,
          "best_val_ap": 0.97338,
          "threshold_from_val": 0.023372581228613853,
          "threshold_space": "logit",
          "test": {
            "n": 300,
            "n_real": 197,
            "n_fake": 103,
            "threshold": 0.023372581228613853,
            "acc": 0.98,
            "acc_at_0.5": 0.96,
            "ap": 0.9891865831582687,
            "auc": 0.995120989601301,
            "confusion": {
              "tp": 100,
              "fp": 3,
              "tn": 194,
              "fn": 3
            },
            "acc_ci95": [
              0.9633333333333334,
              0.9933333333333333
            ],
            "acc_ci95_threshold": 0.023372581228613853,
            "acc_ci95_covers_point": true
          },
          "seconds": 93.29
        }
      ],
      "independent_eval_adm": {
        "tag": "gen-adm",
        "split": "test",
        "generators_used": [
          "adm"
        ],
        "threshold_logit": 0.0011676459107547998,
        "threshold_prob": 0.500292,
        "threshold_source": "val",
        "n_val": 150,
        "gate": "passed",
        "metrics": {
          "n": 1000,
          "n_real": 500,
          "n_fake": 500,
          "threshold": 0.5002918839454651,
          "acc": 0.781,
          "acc_at_0.5": 0.5,
          "ap": 0.9112802242056176,
          "auc": 0.890242,
          "confusion": {
            "tp": 444,
            "fp": 163,
            "tn": 337,
            "fn": 56
          },
          "acc_ci95": [
            0.47,
            0.529
          ]
        },
        "crop": 224,
        "honesty": "chấm trên map **tự tính** (R1) bằng detector train from scratch; không so được giá trị tuyệt đối với Table 2 của bài báo (khác init, khác số ảnh train, khác generator)."
      },
   "warnings": [
    "ACC trên ~200 ảnh test có CI ±5 điểm — không dùng để so với Table 2",
    "detector khởi tạo ngẫu nhiên, không ImageNet như bài báo",
    "một checkpoint ADM duy nhất ⇒ chỉ đo in-distribution (ADM), không đo cross-model"
   ],
   "ci_integrity_note": "The first gen-adm train.json entry and the separate gen-adm eval.json both report accuracy values outside their stored CI95 interval; recheck scores, labels, and CI calculation before interpreting either interval."

    },
    "rebuild_2026_10_14": {
      "status": "separate rebuild run; train-ledger test metrics reported below; eval artifacts have checkpoint caveat",
      "sources": [
        "modal-runs/runs/rebuild/rebuild-2026-10-14/report.json",
        "modal-runs/runs/rebuild/rebuild-2026-10-14/train.json",
        "modal-runs/runs/rebuild/rebuild-2026-10-14/eval.json"
      ],
      "map_generation": {
        "n_distinct_maps": 23868,
        "steps": 20,
        "nfe": 652480,
        "seconds": 72733.1
      },
      "init": "scratch; not ImageNet",
      "seed": 3407,
      "split_mode": "author",
      "test_n_per_detector": 2000,
      "test_class_balance": "1000 real + 1000 fake",
      "per_detector_test": [
        {
          "tag": "gen-adm",
          "label": "R1+R2",
          "split_mode": "author",
          "best_epoch": 11,
          "best_val_ap": 0.94559,
          "threshold_from_val": 0.10856142267584801,
          "threshold_space": "logit",
          "test": {
            "n": 2000,
            "n_real": 1000,
            "n_fake": 1000,
            "threshold": 0.10856142267584801,
            "acc": 0.8955,
            "acc_at_0.5": 0.8905,
            "ap": 0.9554435757133746,
            "auc": 0.936817,
            "confusion": {
              "tp": 869,
              "fp": 78,
              "tn": 922,
              "fn": 131
            },
            "acc_ci95": [
              0.8805,
              0.908
            ],
            "acc_ci95_threshold": 0.10856142267584801,
            "acc_ci95_covers_point": true
          },
          "seconds": 2875.22
        },
        {
          "tag": "gen-iddpm",
          "label": "R1+R2",
          "split_mode": "author",
          "best_epoch": 11,
          "best_val_ap": 0.98709,
          "threshold_from_val": 0.40043503046035767,
          "threshold_space": "logit",
          "test": {
            "n": 2000,
            "n_real": 1000,
            "n_fake": 1000,
            "threshold": 0.40043503046035767,
            "acc": 0.937,
            "acc_at_0.5": 0.937,
            "ap": 0.9853502392812898,
            "auc": 0.985434,
            "confusion": {
              "tp": 953,
              "fp": 79,
              "tn": 921,
              "fn": 47
            },
            "acc_ci95": [
              0.926,
              0.947
            ],
            "acc_ci95_threshold": 0.40043503046035767,
            "acc_ci95_covers_point": true
          },
          "seconds": 1460.28
        },
        {
          "tag": "gen-pndm",
          "label": "R1+R2",
          "split_mode": "author",
          "best_epoch": 14,
          "best_val_ap": 0.98747,
          "threshold_from_val": 0.14987455308437347,
          "threshold_space": "logit",
          "test": {
            "n": 2000,
            "n_real": 1000,
            "n_fake": 1000,
            "threshold": 0.14987455308437347,
            "acc": 0.8895,
            "acc_at_0.5": 0.881,
            "ap": 0.960665484283119,
            "auc": 0.949154,
            "confusion": {
              "tp": 824,
              "fp": 45,
              "tn": 955,
              "fn": 176
            },
            "acc_ci95": [
              0.875,
              0.903
            ],
            "acc_ci95_threshold": 0.14987455308437347,
            "acc_ci95_covers_point": true
          },
          "seconds": 2036.59
        },
        {
          "tag": "gen-stylegan",
          "label": "R1+R2",
          "split_mode": "author",
          "best_epoch": 19,
          "best_val_ap": 0.78813,
          "threshold_from_val": 0.014693984761834145,
          "threshold_space": "logit",
          "test": {
            "n": 2000,
            "n_real": 1000,
            "n_fake": 1000,
            "threshold": 0.014693984761834145,
            "acc": 0.7155,
            "acc_at_0.5": 0.6915,
            "ap": 0.8018874378808147,
            "auc": 0.7906945,
            "confusion": {
              "tp": 658,
              "fp": 227,
              "tn": 773,
              "fn": 342
            },
            "acc_ci95": [
              0.695,
              0.7355
            ],
            "acc_ci95_threshold": 0.014693984761834145,
            "acc_ci95_covers_point": true
          },
          "seconds": 2098.75
        }
      ],
      "eval_summary": {
        "by_tag": {
          "gen-adm": {
            "acc": 0.8955,
            "ap": 0.9559935181045017,
            "auc": 0.9393055,
            "acc_ci95": [
              0.8805,
              0.908
            ],
            "n": 2000,
            "gate": "passed",
            "detector_sha256": "f19d5b595efdc91a8b207b1a7854c0bc203f4aeeca6e0471616c3a950aff2b96",
            "split": "test",
            "threshold": 0.527114
          },
          "gen-iddpm": {
            "acc": 0.937,
            "ap": 0.9852695000699065,
            "auc": 0.9852575,
            "acc_ci95": [
              0.926,
              0.947
            ],
            "n": 2000,
            "gate": "passed",
            "detector_sha256": "91715793efbecf4d04b9650af5a2d54770da0514ce96af9e85a68f7f3de619d0",
            "split": "test",
            "threshold": 0.598792
          },
          "gen-pndm": {
            "acc": 0.8895,
            "ap": 0.9604421908460516,
            "auc": 0.949176,
            "acc_ci95": [
              0.875,
              0.903
            ],
            "n": 2000,
            "gate": "passed",
            "detector_sha256": "819994e4864ca6df87777ad017d3a22ca0435385cc910dd5a3d1d03d1dc8cfe6",
            "split": "test",
            "threshold": 0.537399
          },
          "gen-stylegan": {
            "acc": 0.7155,
            "ap": 0.8019221181731271,
            "auc": 0.790696,
            "acc_ci95": [
              0.695,
              0.7355
            ],
            "n": 2000,
            "gate": "passed",
            "detector_sha256": "8a30fa6cca241a8cbe68c163af6ac15ea950c48ccd93fdd8ab83b27de415c308",
            "split": "test",
            "threshold": 0.503673
          }
        },
        "note": "metric chấm trên map tự tính (R1); xem runs/eval/<tag>/eval.json"
      },
      "warnings": [
        "n nhỏ nhất trong bảng = 2000 ⇒ nửa độ rộng CI 95 % ≈ ±1.7 điểm ACC",
        "gen-adm: `eval.json` chấm bằng detector f19d5b595efd… nhưng `detector.pth` hiện tại là b69fcf262f4b… — điểm đó là của mô hình CŨ; chạy lại `::evaluate`",
        "gen-iddpm: `eval.json` chấm bằng detector 91715793efbe… nhưng `detector.pth` hiện tại là 888034cf672e… — điểm đó là của mô hình CŨ; chạy lại `::evaluate`",
        "detector khởi tạo ngẫu nhiên (`init=scratch`), không ImageNet như bài báo"
      ]
    },
    "author_checkpoint_reproductions": {
      "status": "four standalone evaluations; kept separate by checkpoint",
      "sources": [
        "modal-runs/runs/author/repro_lsun_adm/run.json and dire.csv",
        "modal-runs/runs/author/repro_lsun_iddpm/run.json and dire.csv",
        "modal-runs/runs/author/repro_lsun_pndm/run.json and dire.csv",
        "modal-runs/runs/author/repro_lsun_stylegan/run.json and dire.csv"
      ],
      "protocol": {
        "checkpoint_ids": {
          "adm": "/raw/checkpoints/lsun_adm.pth",
          "iddpm": "/raw/checkpoints/lsun_iddpm.pth",
          "pndm": "/raw/checkpoints/lsun_pndm.pth",
          "stylegan": "/raw/checkpoints/lsun_stylegan.pth"
        },
        "split": "test",
        "preprocessing": "resize256_centercrop224_normalize",
        "threshold": 0.5,
        "target_fpr": 0.05,
        "git_sha": "unknown",
        "rows_per_checkpoint": 15,
        "n_images_reported_per_checkpoint": {
          "real_total": 15000,
          "fake_total": 13368
        },
        "note": "per-generator fake n varies; paired real count is 1000 each row; thresholds use fixed 0.5"
      },
      "by_checkpoint": {
        "adm": [
          {
            "generator": "adm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "dalle2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "500",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "768",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "iddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "if",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ldm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "midjouney",
            "split": "test",
            "n_real": "1000",
            "n_fake": "100",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "pndm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.997",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.9995",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv1",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "vqdiffusion",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          }
        ],
        "iddpm": [
          {
            "generator": "adm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.9955",
            "ap": "0.999793",
            "tpr_at_5fpr": "0.998",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "dalle2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "500",
            "acc": "0.996",
            "ap": "0.999996",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "768",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.9975",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "iddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "if",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.9995",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ldm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.999",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "midjouney",
            "split": "test",
            "n_real": "1000",
            "n_fake": "100",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "pndm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.897",
            "ap": "0.997841",
            "tpr_at_5fpr": "0.99",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.9995",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv1",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "vqdiffusion",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.999",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          }
        ],
        "pndm": [
          {
            "generator": "adm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "dalle2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "500",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "768",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.9995",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "iddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "if",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ldm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "midjouney",
            "split": "test",
            "n_real": "1000",
            "n_fake": "100",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "pndm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv1",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "vqdiffusion",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          }
        ],
        "stylegan": [
          {
            "generator": "adm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.988",
            "ap": "0.999881",
            "tpr_at_5fpr": "0.999",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "dalle2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "500",
            "acc": "0.999333",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "768",
            "acc": "0.997738",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "diff-stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "iddpm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.999",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "if",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "ldm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "midjouney",
            "split": "test",
            "n_real": "1000",
            "n_fake": "100",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "pndm",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "0.8955",
            "ap": "0.99955",
            "tpr_at_5fpr": "0.998",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "projectedgan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv1",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "sdv2",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "stylegan",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          },
          {
            "generator": "vqdiffusion",
            "split": "test",
            "n_real": "1000",
            "n_fake": "1000",
            "acc": "1.0",
            "ap": "1.0",
            "tpr_at_5fpr": "1.0",
            "threshold": "0.5",
            "error": ""
          }
        ]
      },
      "run_metadata": {
        "adm": {
          "spec": "SPEC-001",
          "experiment_id": "repro_lsun_adm",
          "detector": "dire",
          "git_sha": "unknown",
          "created_at": "2026-10-28T03:00:45+00:00",
          "preproc": "resize256_centercrop224_normalize",
          "tiers": [
            "e2",
            "ckpts"
          ],
          "n_rows": 15,
          "n_images": {
            "real_total": 15000,
            "fake_total": 13368,
            "limit_per_archive": 0,
            "skipped_unreadable": 0,
            "pairs_failed": 0
          },
          "acc_threshold": 0.5,
          "fpr_target": 0.05,
          "versions": {
            "python": "3.11.12",
            "torch": "2.4.0+cu121",
            "torchvision": "0.19.0+cu121",
            "sklearn": "1.5.1",
            "PIL": "10.4.0"
          },
          "ckpt": "/raw/checkpoints/lsun_adm.pth",
          "split": "test",
          "root": "/raw",
          "only": "",
          "pairs_failed": []
        },
        "iddpm": {
          "spec": "SPEC-001",
          "experiment_id": "repro_lsun_iddpm",
          "detector": "dire",
          "git_sha": "unknown",
          "created_at": "2026-10-28T03:06:53+00:00",
          "preproc": "resize256_centercrop224_normalize",
          "tiers": [
            "e2",
            "ckpts"
          ],
          "n_rows": 15,
          "n_images": {
            "real_total": 15000,
            "fake_total": 13368,
            "limit_per_archive": 0,
            "skipped_unreadable": 0,
            "pairs_failed": 0
          },
          "acc_threshold": 0.5,
          "fpr_target": 0.05,
          "versions": {
            "python": "3.11.12",
            "torch": "2.4.0+cu121",
            "torchvision": "0.19.0+cu121",
            "sklearn": "1.5.1",
            "PIL": "10.4.0"
          },
          "ckpt": "/raw/checkpoints/lsun_iddpm.pth",
          "split": "test",
          "root": "/raw",
          "only": "",
          "pairs_failed": []
        },
        "pndm": {
          "spec": "SPEC-001",
          "experiment_id": "repro_lsun_pndm",
          "detector": "dire",
          "git_sha": "unknown",
          "created_at": "2026-10-28T03:05:08+00:00",
          "preproc": "resize256_centercrop224_normalize",
          "tiers": [
            "e2",
            "ckpts"
          ],
          "n_rows": 15,
          "n_images": {
            "real_total": 15000,
            "fake_total": 13368,
            "limit_per_archive": 0,
            "skipped_unreadable": 0,
            "pairs_failed": 0
          },
          "acc_threshold": 0.5,
          "fpr_target": 0.05,
          "versions": {
            "python": "3.11.12",
            "torch": "2.4.0+cu121",
            "torchvision": "0.19.0+cu121",
            "sklearn": "1.5.1",
            "PIL": "10.4.0"
          },
          "ckpt": "/raw/checkpoints/lsun_pndm.pth",
          "split": "test",
          "root": "/raw",
          "only": "",
          "pairs_failed": []
        },
        "stylegan": {
          "spec": "SPEC-001",
          "experiment_id": "repro_lsun_stylegan",
          "detector": "dire",
          "git_sha": "unknown",
          "created_at": "2026-10-28T03:09:45+00:00",
          "preproc": "resize256_centercrop224_normalize",
          "tiers": [
            "e2",
            "ckpts"
          ],
          "n_rows": 15,
          "n_images": {
            "real_total": 15000,
            "fake_total": 13368,
            "limit_per_archive": 0,
            "skipped_unreadable": 0,
            "pairs_failed": 0
          },
          "acc_threshold": 0.5,
          "fpr_target": 0.05,
          "versions": {
            "python": "3.11.12",
            "torch": "2.4.0+cu121",
            "torchvision": "0.19.0+cu121",
            "sklearn": "1.5.1",
            "PIL": "10.4.0"
          },
          "ckpt": "/raw/checkpoints/lsun_stylegan.pth",
          "split": "test",
          "root": "/raw",
          "only": "",
          "pairs_failed": []
        }
      }
    },
    "table4_lsun_pilot": {
      "status": "partial: S=5,10,20 complete; S=50 missing; metrics across test generators",
      "source": "modal-runs/experiments/experiments/table4/table4-lsun-pilot/subsets/per-cell-000200/table4.json",
      "protocol_summary": {
        "seed": 3407,
        "init": "ImageNet",
        "split_mode": "author",
        "subset": "per-cell cap 200",
        "train_val_test_per_run": "400 each (200 real + 200 fake)",
        "train_source": "ADM",
        "test_generators": [
          "adm",
          "ddpm",
          "iddpm",
          "pndm",
          "sdv2"
        ],
        "epochs_max": 400,
        "batch": 32,
        "lr": 0.0001,
        "crop": 224,
        "threshold_policy": "per-step threshold selected on validation; generator cross-test uses threshold 0.5 in stored metrics"
      },
      "by_steps": {
        "5": {
          "status": "complete",
          "protocol": {
            "steps": 5,
            "adm_ckpt_sha256": "a37c32fffd316cd494cf3f35b339936debdc1576dad13fe57c42399a5dbc78b1",
            "imagenet_weights_sha256": "11ad3fa62ca79e40addfd354a8ec4b7c75143b3038b8d2a807fbc68deab379ca",
            "manifest_sha256": "bb3e4f4ce76c4bcb4ae69e21845f767b5b021a5d060273c6f3ef93b9cb184ecf",
            "train_generators": [
              "adm"
            ],
            "test_generators": [
              "adm",
              "ddpm",
              "iddpm",
              "pndm",
              "sdv2"
            ],
            "test_generator_scope_note": "LSUN-Bedroom test data in this run uses sdv2; sdv1 is not present in that dataset tree.",
            "epochs": 400,
            "batch": 32,
            "lr": 0.0001,
            "crop": 224,
            "seed": 3407,
            "init": "ImageNet",
            "input_source": "materialized_experiment_inputs",
            "subset": {
              "subset_id": "lsun-pilot",
              "seed": 3407,
              "algorithm": "sha256-ranked-cell-v1"
            }
          },
          "detector_sha256": "784f1cc9006b2bbd85ba970893aab05333cf52b1d899f38a171990a789952c56",
          "train": {
            "label": "R1+R2",
            "init": "imagenet",
            "epochs_run": 12,
            "best_epoch": 7,
            "best_val_ap": 0.99824,
            "threshold_from_val": 0.6433416903018951,
            "threshold_space": "logit",
            "threshold_source": "val",
            "val_acc_at_threshold": 0.9925,
            "test": {
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.6433416903018951,
              "acc": 0.985,
              "acc_at_0.5": 0.975,
              "ap": 0.9985608145331707,
              "auc": 0.998575,
              "confusion": {
                "tp": 197,
                "fp": 3,
                "tn": 197,
                "fn": 3
              },
              "acc_ci95": [
                0.97,
                0.995
              ],
              "acc_ci95_threshold": 0.6433416903018951,
              "acc_ci95_covers_point": true
            },
            "split_mode": "author",
            "hparams": {
              "lr": 0.0001,
              "batch": 32,
              "crop": 224,
              "seed": 3407,
              "patience": 5
            },
            "seconds": 33.77,
            "honesty": "test chấm đúng một lần sau khi đã chốt mô hình và ngưỡng trên val; con số này KHÔNG so được với Table 2 của bài báo (khác init, khác seed, khác generator).",
            "steps": 5,
            "nfe_per_image": 10
          },
          "by_test_generator": {
            "adm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.975,
              "acc_at_0.5": 0.975,
              "ap": 0.9985608145331707,
              "auc": 0.998575,
              "confusion": {
                "tp": 198,
                "fp": 8,
                "tn": 192,
                "fn": 2
              },
              "acc_ci95": [
                0.9575,
                0.9875
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "ddpm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.9775,
              "acc_at_0.5": 0.9775,
              "ap": 0.99913866440379,
              "auc": 0.99915,
              "confusion": {
                "tp": 199,
                "fp": 8,
                "tn": 192,
                "fn": 1
              },
              "acc_ci95": [
                0.96,
                0.99
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "iddpm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.98,
              "acc_at_0.5": 0.98,
              "ap": 0.9989768040264908,
              "auc": 0.999025,
              "confusion": {
                "tp": 200,
                "fp": 8,
                "tn": 192,
                "fn": 0
              },
              "acc_ci95": [
                0.965,
                0.9925
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "pndm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.945,
              "acc_at_0.5": 0.945,
              "ap": 0.9802790722236359,
              "auc": 0.98395,
              "confusion": {
                "tp": 186,
                "fp": 8,
                "tn": 192,
                "fn": 14
              },
              "acc_ci95": [
                0.92,
                0.965
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "sdv2": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.98,
              "acc_at_0.5": 0.98,
              "ap": 0.9997239606090598,
              "auc": 0.999725,
              "confusion": {
                "tp": 200,
                "fp": 8,
                "tn": 192,
                "fn": 0
              },
              "acc_ci95": [
                0.965,
                0.9925
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            }
          }
        },
        "10": {
          "status": "complete",
          "protocol": {
            "steps": 10,
            "adm_ckpt_sha256": "a37c32fffd316cd494cf3f35b339936debdc1576dad13fe57c42399a5dbc78b1",
            "imagenet_weights_sha256": "11ad3fa62ca79e40addfd354a8ec4b7c75143b3038b8d2a807fbc68deab379ca",
            "manifest_sha256": "bb3e4f4ce76c4bcb4ae69e21845f767b5b021a5d060273c6f3ef93b9cb184ecf",
            "train_generators": [
              "adm"
            ],
            "test_generators": [
              "adm",
              "ddpm",
              "iddpm",
              "pndm",
              "sdv2"
            ],
            "test_generator_scope_note": "LSUN-Bedroom test data in this run uses sdv2; sdv1 is not present in that dataset tree.",
            "epochs": 400,
            "batch": 32,
            "lr": 0.0001,
            "crop": 224,
            "seed": 3407,
            "init": "ImageNet",
            "input_source": "materialized_experiment_inputs",
            "subset": {
              "subset_id": "lsun-pilot",
              "seed": 3407,
              "algorithm": "sha256-ranked-cell-v1"
            }
          },
          "detector_sha256": "b53d2a65090eefac2aaf0dd3facc439de42fb47448ee916781a8f0f9380e506e",
          "train": {
            "label": "R1+R2",
            "init": "imagenet",
            "epochs_run": 15,
            "best_epoch": 10,
            "best_val_ap": 0.99818,
            "threshold_from_val": 0.6093125939369202,
            "threshold_space": "logit",
            "threshold_source": "val",
            "val_acc_at_threshold": 0.985,
            "test": {
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.6093125939369202,
              "acc": 0.9825,
              "acc_at_0.5": 0.9825,
              "ap": 0.9987841299306924,
              "auc": 0.99875,
              "confusion": {
                "tp": 198,
                "fp": 5,
                "tn": 195,
                "fn": 2
              },
              "acc_ci95": [
                0.9675,
                0.995
              ],
              "acc_ci95_threshold": 0.6093125939369202,
              "acc_ci95_covers_point": true
            },
            "split_mode": "author",
            "hparams": {
              "lr": 0.0001,
              "batch": 32,
              "crop": 224,
              "seed": 3407,
              "patience": 5
            },
            "seconds": 52.84,
            "honesty": "test chấm đúng một lần sau khi đã chốt mô hình và ngưỡng trên val; con số này KHÔNG so được với Table 2 của bài báo (khác init, khác seed, khác generator).",
            "steps": 10,
            "nfe_per_image": 20
          },
          "by_test_generator": {
            "adm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.9825,
              "acc_at_0.5": 0.9825,
              "ap": 0.9987841299306924,
              "auc": 0.99875,
              "confusion": {
                "tp": 198,
                "fp": 5,
                "tn": 195,
                "fn": 2
              },
              "acc_ci95": [
                0.9675,
                0.995
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "ddpm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.985,
              "acc_at_0.5": 0.985,
              "ap": 0.9988920876600976,
              "auc": 0.9988,
              "confusion": {
                "tp": 199,
                "fp": 5,
                "tn": 195,
                "fn": 1
              },
              "acc_ci95": [
                0.97,
                0.995
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "iddpm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.985,
              "acc_at_0.5": 0.985,
              "ap": 0.9986589409696458,
              "auc": 0.99865,
              "confusion": {
                "tp": 199,
                "fp": 5,
                "tn": 195,
                "fn": 1
              },
              "acc_ci95": [
                0.9725,
                0.995
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "pndm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.8875,
              "acc_at_0.5": 0.8875,
              "ap": 0.9681166498787455,
              "auc": 0.971675,
              "confusion": {
                "tp": 160,
                "fp": 5,
                "tn": 195,
                "fn": 40
              },
              "acc_ci95": [
                0.855,
                0.9175
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "sdv2": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.9875,
              "acc_at_0.5": 0.9875,
              "ap": 0.9996785312531611,
              "auc": 0.999675,
              "confusion": {
                "tp": 200,
                "fp": 5,
                "tn": 195,
                "fn": 0
              },
              "acc_ci95": [
                0.975,
                0.9975
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            }
          }
        },
        "20": {
          "status": "complete",
          "protocol": {
            "steps": 20,
            "adm_ckpt_sha256": "a37c32fffd316cd494cf3f35b339936debdc1576dad13fe57c42399a5dbc78b1",
            "imagenet_weights_sha256": "11ad3fa62ca79e40addfd354a8ec4b7c75143b3038b8d2a807fbc68deab379ca",
            "manifest_sha256": "bb3e4f4ce76c4bcb4ae69e21845f767b5b021a5d060273c6f3ef93b9cb184ecf",
            "train_generators": [
              "adm"
            ],
            "test_generators": [
              "adm",
              "ddpm",
              "iddpm",
              "pndm",
              "sdv2"
            ],
            "test_generator_scope_note": "LSUN-Bedroom test data in this run uses sdv2; sdv1 is not present in that dataset tree.",
            "epochs": 400,
            "batch": 32,
            "lr": 0.0001,
            "crop": 224,
            "seed": 3407,
            "init": "ImageNet",
            "input_source": "materialized_experiment_inputs",
            "subset": {
              "subset_id": "lsun-pilot",
              "seed": 3407,
              "algorithm": "sha256-ranked-cell-v1"
            }
          },
          "detector_sha256": "7dcc4c27fa8e6d92f8bf31f4ecf9b9b2f248a05c3c3312211530cba43a500bab",
          "train": {
            "label": "R1+R2",
            "init": "imagenet",
            "epochs_run": 15,
            "best_epoch": 10,
            "best_val_ap": 0.99477,
            "threshold_from_val": 0.3624289035797119,
            "threshold_space": "logit",
            "threshold_source": "val",
            "val_acc_at_threshold": 0.9675,
            "test": {
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.3624289035797119,
              "acc": 0.955,
              "acc_at_0.5": 0.96,
              "ap": 0.9956845625949571,
              "auc": 0.99565,
              "confusion": {
                "tp": 198,
                "fp": 16,
                "tn": 184,
                "fn": 2
              },
              "acc_ci95": [
                0.9325,
                0.975
              ],
              "acc_ci95_threshold": 0.3624289035797119,
              "acc_ci95_covers_point": true
            },
            "split_mode": "author",
            "hparams": {
              "lr": 0.0001,
              "batch": 32,
              "crop": 224,
              "seed": 3407,
              "patience": 5
            },
            "seconds": 44.07,
            "honesty": "test chấm đúng một lần sau khi đã chốt mô hình và ngưỡng trên val; con số này KHÔNG so được với Table 2 của bài báo (khác init, khác seed, khác generator).",
            "steps": 20,
            "nfe_per_image": 40
          },
          "by_test_generator": {
            "adm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.96,
              "acc_at_0.5": 0.96,
              "ap": 0.9956845625949571,
              "auc": 0.99565,
              "confusion": {
                "tp": 191,
                "fp": 7,
                "tn": 193,
                "fn": 9
              },
              "acc_ci95": [
                0.94,
                0.9775
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "ddpm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.975,
              "acc_at_0.5": 0.975,
              "ap": 0.9974666348165112,
              "auc": 0.99745,
              "confusion": {
                "tp": 197,
                "fp": 7,
                "tn": 193,
                "fn": 3
              },
              "acc_ci95": [
                0.96,
                0.99
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "iddpm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.975,
              "acc_at_0.5": 0.975,
              "ap": 0.9967077253344504,
              "auc": 0.99675,
              "confusion": {
                "tp": 197,
                "fp": 7,
                "tn": 193,
                "fn": 3
              },
              "acc_ci95": [
                0.9575,
                0.99
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "pndm": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.8675,
              "acc_at_0.5": 0.8675,
              "ap": 0.9665788203352468,
              "auc": 0.965625,
              "confusion": {
                "tp": 154,
                "fp": 7,
                "tn": 193,
                "fn": 46
              },
              "acc_ci95": [
                0.8325,
                0.9
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            },
            "sdv2": {
              "status": "ran",
              "n": 400,
              "n_real": 200,
              "n_fake": 200,
              "threshold": 0.5,
              "acc": 0.9775,
              "acc_at_0.5": 0.9775,
              "ap": 0.998349420803245,
              "auc": 0.998325,
              "confusion": {
                "tp": 198,
                "fp": 7,
                "tn": 193,
                "fn": 2
              },
              "acc_ci95": [
                0.9625,
                0.99
              ],
              "acc_ci95_threshold": 0.5,
              "acc_ci95_covers_point": true
            }
          }
        }
      },
      "missing_steps": [
        50
      ],
      "subset_manifest_sha256": "bb3e4f4ce76c4bcb4ae69e21845f767b5b021a5d060273c6f3ef93b9cb184ecf",
      "imagenet_weights_sha256": "11ad3fa62ca79e40addfd354a8ec4b7c75143b3038b8d2a807fbc68deab379ca"
    },
    "table5_lsun_pilot": {
      "status": "protocol/input ledgers only; no complete metric artifact found in inspected folder",
      "sources": [
        "modal-runs/experiments/experiments/table5/table5-lsun-pilot/_subset_protocol.json",
        "modal-runs/experiments/experiments/table5/table5-lsun-pilot/inputs/_protocol.json"
      ],
      "subset_protocol": {
        "subset_id": "lsun-pilot",
        "seed": 3407,
        "algorithm": "sha256-ranked-cell-v1",
        "base_manifest_sha256": "bb3e4f4ce76c4bcb4ae69e21845f767b5b021a5d060273c6f3ef93b9cb184ecf",
        "nested_stages": "per-cell cap may increase; selection seed/algorithm stay fixed"
      },
      "input_protocol": {
        "steps": 20,
        "nfe_per_image": 40,
        "adm_ckpt_sha256": "a37c32fffd316cd494cf3f35b339936debdc1576dad13fe57c42399a5dbc78b1",
        "imagenet_weights_sha256": "11ad3fa62ca79e40addfd354a8ec4b7c75143b3038b8d2a807fbc68deab379ca",
        "representations": ["REC", "RGB", "RGB_DIRE", "DIRE"],
        "source": "zero/data manifest images",
        "dtype": "float16",
        "image_size": 256
      },
      "note": "do not interpret absence in this repo snapshot as proof no cloud run ever existed"
    }
  },
  "global_limitations": [
    "Groups use different initialization, data splits, sample sizes, generators, preprocessing, checkpoint provenance, and thresholds; do not rank them in one pooled comparison.",
    "Stored repo ledgers are not a complete Modal cloud job history.",
    "A reported accuracy or CI should not be detached from the exact protocol/checkpoint and sample counts."
  ]
}
