Cost-Aware Hyperparameter Tuning on Local and Enclave Hardware: Reference Design, Audit Logging, and Public-Data Benchmarks

Organizations subject to data-custody laws or air-gapped security rules often cannot send training data to commercial cloud services. When hyperparameter tuning runs on a fixed local computer instead, repeating early preprocessing and feature-extraction steps takes up most of the available runtime. This note describes a standalone reference design for running memoization- and cost-aware Bayesian optimization (eeipu, version 1.0.0) offline on local hardware or inside a trusted execution environment (TEE), combined with a content-addressed disk cache, a non-root container template, and a SHA-256 hash-chained audit log. Across two reproducible benchmarks on the public CIFAR-10 dataset under a 120-second compute budget per run on an Apple M1 computer (three random seeds, four methods each), EEIPU outperformed uniform random search (RAND), standard Expected Improvement (EI), and passively cached EI (EI_CACHE) in both throughput and accuracy. With a frozen ResNet-18 backbone, EEIPU evaluated 116.0 +/- 21.6 candidates (vs. 41.3 +/- 7.5 for EI and 43.3 +/- 3.2 for EI_CACHE) and reached 84.93% +/- 0.64% validation accuracy (vs. 82.33% +/- 0.99% for EI). With a heavier Vision Transformer (ViT-B/16) backbone where Stage 0 accounts for over 96% of uncached runtime, EEIPU evaluated 184.7 +/- 62.7 candidates (vs. 11.3 +/- 0.6 for EI, a 16.3x increase) with a 94.2% Stage 0 cache hit rate and reached 94.56% +/- 0.69% validation accuracy (vs. 92.44% +/- 0.19% for EI). Across all 24 runs, EEIPU used less cache disk space than EI_CACHE, added 0.44 to 0.75 ms per iteration for audit logging, and passed hash-chain verification and automated tamper checks in every trial.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24668778
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Cost-Aware Hyperparameter Tuning on Local and Enclave Hardware: Reference Design, Audit Logging, and Public-Data Benchmarks

Ridwan Bello-Salahuddeen
Zenodo (CERN European Organization for Nuclear Research)
Machine Learning and Data Classification
article

Cost-Aware Hyperparameter Tuning on Local and Enclave Hardware: Reference Design, Audit Logging, and Public-Data Benchmarks

Ridwan Bello-Salahuddeen
article en

Abstract

Organizations subject to data-custody laws or air-gapped security rules often cannot send training data to commercial cloud services. When hyperparameter tuning runs on a fixed local computer instead, repeating early preprocessing and feature-extraction steps takes up most of the available runtime. This note describes a standalone reference design for running memoization- and cost-aware Bayesian optimization (eeipu, version 1.0.0) offline on local hardware or inside a trusted execution environment (TEE), combined with a content-addressed disk cache, a non-root container template, and a SHA-256 hash-chained audit log. Across two reproducible benchmarks on the public CIFAR-10 dataset under a 120-second compute budget per run on an Apple M1 computer (three random seeds, four methods each), EEIPU outperformed uniform random search (RAND), standard Expected Improvement (EI), and passively cached EI (EI_CACHE) in both throughput and accuracy. With a frozen ResNet-18 backbone, EEIPU evaluated 116.0 +/- 21.6 candidates (vs. 41.3 +/- 7.5 for EI and 43.3 +/- 3.2 for EI_CACHE) and reached 84.93% +/- 0.64% validation accuracy (vs. 82.33% +/- 0.99% for EI). With a heavier Vision Transformer (ViT-B/16) backbone where Stage 0 accounts for over 96% of uncached runtime, EEIPU evaluated 184.7 +/- 62.7 candidates (vs. 11.3 +/- 0.6 for EI, a 16.3x increase) with a 94.2% Stage 0 cache hit rate and reached 94.56% +/- 0.69% validation accuracy (vs. 92.44% +/- 0.19% for EI). Across all 24 runs, EEIPU used less cache disk space than EI_CACHE, added 0.44 to 0.75 ms per iteration for audit logging, and passed hash-chain verification and automated tamper checks in every trial.

Zenodo (CERN European Organization for Nuclear Research)
Machine Learning and Data Classification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon