{
  "contract": "VERA-MODEL-RUN@1.0.0",
  "runId": "pulseppg-dalia-20261120t133221z-15d2822b",
  "taskId": "wearables.ppg-foundation-model",
  "model": {
    "name": "Pulse-PPG",
    "version": "Zenodo record 17345536 v4, checkpoint_best.pkl (RelCon pre-training epoch 5)",
    "architecture": "1-D ResNet (authors' ResNet1D_Net.py): instance-normalised single-channel PPG at 50 Hz, 12 residual blocks of two 11-tap convolutions, 128 filters doubling every 4 blocks to 512, stride-2 downsampling every 2nd block, max pooling over time to a 512-value embedding; pre-trained by relative contrastive learning (RelCon) on the MOODS field study's training split (84 of 120 participants; 606,833 four-minute wrist-PPG segments per epoch, out of 822,247 in the full study)",
    "parameters": 28497920,
    "source": {
      "url": "https://zenodo.org/records/17345536",
      "revision": "v4, doi:10.5281/zenodo.17345536",
      "retrievedAt": "2026-11-20T12:13:07.000Z"
    },
    "licence": {
      "id": "MIT",
      "name": "MIT License",
      "url": "https://github.com/maxxu05/pulseppg/blob/716eaf9cf966e8f76436f2263872ef38b1f90166/LICENSE"
    },
    "files": [
      {
        "path": "pulseppg/experiments/out/pulseppg/checkpoint_best.pkl",
        "role": "weights",
        "sha256": "485ade5033b3baa9b82e252fc131042dda897d7bdfc0d1a030d9746a1e98857c",
        "bytes": 342179330
      },
      {
        "path": "pulseppg/vendor/pulseppg_official/ResNet1D_Net.py",
        "role": "code",
        "sha256": "53ec9d38c0017f2bbea09cf121c7432fd9933d3ba69e721eabad1d6962166e81",
        "bytes": 9303
      }
    ]
  },
  "input": {
    "dataClass": "public_reference",
    "description": "15 public, anonymised volunteers, about 2.5 hours each of daily activities, wrist blood volume pulse (PPG) from an Empatica E4 at 64 Hz, heart rate reference from a chest ECG for every 8 s window moved on by 2 s. wrist BVP at 64 Hz per volunteer, filtered, resampled to 50 Hz, cut into 8 s windows every 2 s.",
    "dataTypes": [
      "PPG waveform"
    ],
    "datasets": [
      {
        "name": "PPG-DaLiA (Reiss, Indlekofer, Schmidt, 2019)",
        "version": "UCI Machine Learning Repository dataset 495 (archive entries dated 22 May 2023)",
        "url": "https://archive.ics.uci.edu/dataset/495/ppg+dalia",
        "licence": {
          "id": "CC-BY-4.0",
          "name": "Creative Commons Attribution 4.0 International",
          "url": "https://creativecommons.org/licenses/by/4.0/"
        },
        "citation": "Reiss A, Indlekofer I, Schmidt P, Van Laerhoven K. Deep PPG: Large-Scale Heart Rate Estimation with Convolutional Neural Networks. Sensors 19(14), 3079 (2019). doi:10.3390/s19143079"
      }
    ],
    "synthetic": null,
    "files": [
      {
        "name": "ppg_dalia.zip",
        "sha256": "5772387956e34e2e2dc4c2ddbeb98cb70569d5112fa4c13ee98a17680b84a1f3",
        "bytes": 2865111320,
        "mediaType": "application/zip"
      }
    ]
  },
  "output": {
    "files": [
      {
        "name": "benchmark.json",
        "sha256": "18d0db6a1e6892c8b4f13ed5c7d1d5c64e6207f574fb97ee27316035bf061a20",
        "bytes": 12037,
        "mediaType": "application/json"
      },
      {
        "name": "test-predictions.csv",
        "sha256": "7f06002856f22bef9082cdb70d53a34b15c19dd69ad3cdea01694008efa42aa2",
        "bytes": 389032,
        "mediaType": "text/csv"
      },
      {
        "name": "nvidia-smi.txt",
        "sha256": "c90a005d59dd60621a8434dfbb63f7b4c173b177c2d9b21dee07f8fa4a589e48",
        "bytes": 1948,
        "mediaType": "text/plain"
      },
      {
        "name": "labels-trainval.csv",
        "sha256": "e560b5c288f944ab37c717cf02357f46b24b30badb70d16a5bb7354c285a1b36",
        "bytes": 1705625,
        "mediaType": "text/csv"
      }
    ],
    "summary": {
      "dataset": "PPG-DaLiA (Reiss, Indlekofer, Schmidt, 2019)",
      "items_embedded": 64697,
      "items_unit": "8 s window",
      "subjects_train_val_test": [
        9,
        3,
        3
      ],
      "embedding_shape": [
        64697,
        512
      ],
      "embeddings_sha256": "292f4117f1348519faa38b7445746249659f98fc1e37cce3111ba87f38360324",
      "model_input_sha256": "69f104d4a3171a1f49c878f60ab66e7214d0b2908084dda726e9f76eb72bec69",
      "inference_seconds": 27.17,
      "items_per_second": 2381.2,
      "hr_test_mae": 8.9353,
      "hr_published_mae": 8.936,
      "hr_untrained_network_mae_by_seed": [
        10.886,
        10.7764,
        11.3072,
        11.0831,
        11.1158
      ],
      "hr_trainval_mean_mae": 19.3687,
      "hr_train_only_mean_mae": 19.3424,
      "hr_test_volunteers": [
        "S12",
        "S13",
        "S15"
      ],
      "hr_test_mae_by_volunteer": [
        11.9687,
        6.3717,
        8.8619
      ],
      "hr_untrained_lowest_mae_by_volunteer": [
        14.3699,
        7.8234,
        10.5709
      ],
      "hr_untrained_highest_mae_by_volunteer": [
        15.2237,
        8.2219,
        10.9538
      ],
      "hr_trainval_mean_mae_by_volunteer": [
        22.215,
        18.0403,
        18.0602
      ]
    },
    "checks": [
      {
        "name": "network_interfaces",
        "description": "Network interfaces the run could see (/sys/class/net) at the start",
        "value": "lo",
        "expected": "only lo (the launcher ran the container with no network)",
        "passed": true
      },
      {
        "name": "cgroup_cpu_limit",
        "description": "The CPU limit (/sys/fs/cgroup/cpu.max: quota and period in microseconds) the run was under, at the start",
        "value": "800000 100000",
        "expected": "800000 100000 (what the launcher asked Docker for)",
        "passed": true
      },
      {
        "name": "cgroup_memory_limit",
        "description": "The memory limit (/sys/fs/cgroup/memory.max, bytes) the run was under, at the start",
        "value": "25769803776",
        "expected": "25769803776 (what the launcher asked Docker for)",
        "passed": true
      },
      {
        "name": "gpu_tf32",
        "description": "Whether PyTorch may use TF32 (reduced-precision) arithmetic on NVIDIA GPUs: torch.backends.cudnn.allow_tf32 (convolutions) and torch.backends.cuda.matmul.allow_tf32 (matrix products), at the start",
        "value": "cudnn.allow_tf32=True, cuda.matmul.allow_tf32=True",
        "expected": null,
        "passed": null
      },
      {
        "name": "launcher",
        "description": "The launch script that started the run container",
        "value": "pulseppg/spark/run-dalia.sh dalia",
        "expected": null,
        "passed": null
      },
      {
        "name": "weights_digest_matches_source",
        "description": "SHA-256 of the checkpoint the model was loaded from, against the digest recorded when the Zenodo archive (MD5 as Zenodo publishes it) was verified",
        "value": "485ade5033b3baa9b82e252fc131042dda897d7bdfc0d1a030d9746a1e98857c",
        "expected": "485ade5033b3baa9b82e252fc131042dda897d7bdfc0d1a030d9746a1e98857c (sources.json; Zenodo archive MD5 2d0ebda9afeb9648674464098a698c37)",
        "passed": true
      },
      {
        "name": "weights_load_strictly",
        "description": "Every tensor of the official checkpoint loads into the authors' own network file, with nothing missing or left over",
        "value": "175 tensors, 0 missing, 0 unexpected",
        "expected": "0 missing and 0 unexpected",
        "passed": true
      },
      {
        "name": "parameter_count_matches_paper",
        "description": "Trainable parameters counted from the loaded network",
        "value": 28497920,
        "expected": "28.5 million, to the nearest 0.1 million (Saha, Xu et al. 2025, section 4.3)",
        "passed": true
      },
      {
        "name": "gpu_matches_cpu",
        "description": "Largest difference between embeddings computed on the NVIDIA GPU (NVIDIA GB10, CUDA) and on the CPU, over 1024 items (1024 of 64697 items, evenly spaced over every split and volunteer, to keep the CPU pass short; volunteers S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15)",
        "value": 0.032272,
        "expected": "below 1.057097 (1 % of the largest embedding value 105.71)",
        "passed": true
      },
      {
        "name": "hr_mae_matches_published",
        "description": "Test mean absolute error for heart rate from chest ECG (beats per minute), per 8 s window from the authors' linear probe on Pulse-PPG embeddings, against the published value",
        "value": 8.93533,
        "expected": "within 0.001 of 8.936, the precision the paper prints (Saha, Xu et al., arXiv 2502.01108v2, Table 6 (also Table 3, LP))",
        "passed": true
      },
      {
        "name": "hr_mse_matches_published",
        "description": "Test mean squared error for heart rate from chest ECG (beats per minute), per 8 s window from the authors' linear probe on Pulse-PPG embeddings, against the published value",
        "value": 149.267721,
        "expected": "within 0.1 of 149.3, the precision the paper prints (Saha, Xu et al., arXiv 2502.01108v2, Table 6 (also Table 3, LP))",
        "passed": true
      },
      {
        "name": "hr_mape_matches_published",
        "description": "Test mean absolute percentage error for heart rate from chest ECG (beats per minute), per 8 s window from the authors' linear probe on Pulse-PPG embeddings, against the published value",
        "value": 0.116549,
        "expected": "within 0.0001 of 0.1166, the precision the paper prints (Saha, Xu et al., arXiv 2502.01108v2, Table 6 (also Table 3, LP))",
        "passed": true
      },
      {
        "name": "hr_beats_untrained_network",
        "description": "Pulse-PPG embeddings give a lower test error for heart rate from chest ECG (beats per minute), per 8 s window than the same network with untrained weights (seeds 0, 1, 2, 3, 4), under the same probe",
        "value": 8.9353,
        "expected": "below every untrained-network MAE (10.776 to 11.307); a control the paper does not report",
        "passed": true
      },
      {
        "name": "hr_beats_trainval_mean",
        "description": "Pulse-PPG probe beats predicting the train+validation mean for heart rate from chest ECG (beats per minute), per 8 s window (a floor, not a test of the model)",
        "value": 8.9353,
        "expected": "below 19.369, the MAE of predicting the train+validation mean (published Naive 19.34, Table 3, Naive, uses the training windows only)",
        "passed": true
      }
    ]
  },
  "execution": {
    "host": "spark-12b5",
    "hardware": {
      "kind": "nvidia_gpu",
      "device": "cuda:0",
      "accelerators": [
        {
          "name": "NVIDIA GB10",
          "memoryBytes": null,
          "driver": "NVIDIA driver 580.159.03"
        }
      ],
      "cpu": "aarch64: 10 x Cortex-X925 + 10 x Cortex-A725",
      "memoryBytes": 130663165952,
      "os": "container: Ubuntu 24.04.3 LTS; host: DGX OS 7.2.3 (Ubuntu 24.04.4 LTS); kernel 6.17.0-1026-nvidia",
      "arch": "arm64"
    },
    "software": [
      {
        "name": "python",
        "version": "3.12.3"
      },
      {
        "name": "torch",
        "version": "2.10.0a0+b558c986e8.nv25.11"
      },
      {
        "name": "numpy",
        "version": "2.1.0"
      },
      {
        "name": "scipy",
        "version": "1.16.3"
      },
      {
        "name": "scikit-learn",
        "version": "1.7.2"
      },
      {
        "name": "CUDA (as PyTorch was built)",
        "version": "13.0"
      },
      {
        "name": "cuDNN",
        "version": "91500"
      }
    ],
    "runner": {
      "repository": "vera-frontier",
      "path": "pulseppg",
      "commit": "5bc0488ee44bbc7922c7839560b0fec2b7b51922",
      "dirty": false
    },
    "container": {
      "image": "nvcr.io/nvidia/pytorch:25.11-py3",
      "digest": "sha256:417cbf33f87b5378849df37983552cd1f8bc8b62fe1ceabe004de816a55dff21"
    },
    "command": [
      "python",
      "-m",
      "pulseppg_runner.run",
      "--device",
      "cuda",
      "dalia"
    ],
    "startedAt": "2026-11-20T13:32:21.973Z",
    "endedAt": "2026-11-20T13:40:11.817Z"
  },
  "signature": {
    "algorithm": "Ed25519",
    "keyId": "prepaire-runner-2026-11-20",
    "publicKey": "MCowBQYDK2VwAyEA3bwtz7//Q+Fs0CEJM6CxAvrWMImkI8VtX/+M2Hp0VJY=",
    "value": "UrJojkAAcLSy2rwonY8zE1hTDBX8pgb907qr8XZRkQPKN2hTpcrzkggXnkYbCjIRmL2n/TEmiT8azXlB0D/eCA=="
  }
}
