Repository navigation
AMDE 4.0.2 — Final Public Research Demonstration Release & Project Closure
AMDE 4.0.2 Release Notes
Release Tag: v4.0.2
Distribution Version: AMDE 4.0.2
Target Branch: release-amde-final
Release Date: 2026-11-04
Classification: Final Public Research Demonstration Release
1. Release Overview
AMDE 4.0.2 is the final verified public research release of the Autonomous Machine Learning Discovery Engine (AMDE). This release incorporates the complete P0 correctness closure, search space rectification, controlled repeated latency measurement protocol, multi-objective Pareto recalculation, disaggregated deduplication accounting, and an interactive reproducible demonstration package.
Historical Clarification: The historical release tag
v4.0.1(commit0a4176f/ tag object21cd7e2) predates the P0 correctness closure and does not include the subsequent bug fixes and methodology corrections. Version 4.0.2 represents the fully verified and hardened canonical research distribution.
2. What's New in 4.0.2
-
Interactive Google Colab Demonstration: A self-contained Jupyter notebook (
notebooks/AMDE_Real_World_Demo.ipynb) demonstrating AMDE 4.0 against Random Search, Native Bayesian TPE, and Optuna TPESampler on the 1,797-sample Digits benchmark with zero GPU requirements. -
Headless Demonstration Test Runner: Automated headless validation script (
scripts/test_execute_notebook.py) verifying end-to-end execution of all notebook cells in under 2 minutes. -
Controlled Repeated Latency Profiler: High-resolution measurement framework (
scripts/measure_controlled_latency.py) profiling single-sample ($B=1$ ) and batch ($B=100, 360$ ) inference latencies with 10 un-timed warm-up passes and 30 timed repetitions. - Audited Public Documentation Suite: Exhaustive documentation covering methodology, exact non-parametric statistics, limitations, claims ledger, and project closure.
3. Correctness Improvements (P0 Closure)
- Model Space Nomenclature & Support Vector Classification:
- Renamed candidate model family from
kernel_ridgetokernel_svc, reflecting its actual implementation assklearn.svm.SVC(C=1/alpha, kernel=kernel, gamma=gamma)for multi-class classification. - Retained
kernel_ridgeas a deprecated backwards-compatible alias emitting aDeprecationWarning. - Verified by test suite
tests/unit/test_model_space_kernel_svc.py.
- Renamed candidate model family from
- Search-Space Phenotype Consistency:
- Ensured all active genes in
Candidategenomes (MLP hidden widths, activations, optimizers, dropout, and regularizers) directly influence model construction.
- Ensured all active genes in
- TPE Feedback History Accumulation:
- Fixed
TPEStrategy.record_feedback()to properly update the empirical observation history, ensuring that subsequent proposals depend mathematically on previous evaluation scores.
- Fixed
- Ledger Tamper Evidency Hardening:
- Upgraded SQLite WAL
EventLedgerblock hashing to includeexperiment_idand previous block hashes in every entry. Added full-chain verification and adversarial tamper-detection tests.
- Upgraded SQLite WAL
- Pareto Archive Non-Dominated Solutions:
- Hardened
ParetoArchiveto maintain exact non-dominated frontiers across validation loss, latency, and peak memory, and implemented out-of-bounds candidate detection for bounding reference points.
- Hardened
- Cross-Platform CI & Windows Hardening:
- Resolved Windows
PermissionErrorand file-contention race conditions in state recovery polling loops; verified CI matrix across Ubuntu Linux and Windows on Python 3.10 through 3.14.
- Resolved Windows
4. Demonstration and Benchmark Summary
-
Benchmark Dataset: Optical Recognition of Handwritten Digits (
sklearn.datasets.load_digits):$N=1,797$ samples, 64 integer pixel features in${0, \dots, 16}$ , 10 balanced digit classes. - Zero-Leakage Partitioning: 60% Train (1,077 samples), 20% Validation (360 samples), 20% Sealed Holdout Test (360 samples).
-
Campaign Budget: 30 candidate evaluations per campaign across 5 preregistered seeds (
[42, 101, 202, 303, 404]) for 4 methods (20 campaigns total). -
Compared Baselines:
- Method A: Uniform Random Search
- Method B1: AMDE Native Bayesian TPE
- Method B2: Optuna TPESampler (industry standard)
- Method C: AMDE 4.0 Autonomous Engine
5. Installation and Quickstart
Installation
# From source
git clone https://github.com/lntangu/AMDE-Autonomous-ML-Discovery-Engine.git
cd AMDE-Autonomous-ML-Discovery-Engine
pip install -e ".[dev,tabular]"
# From release wheel
pip install https://github.com/lntangu/AMDE-Autonomous-ML-Discovery-Engine/releases/download/v4.0.2/amde-4.0.2-py3-none-any.whlQuickstart
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
from amde import AMDE4Engine, create_sealed_holdout
X, y = load_breast_cancer(return_X_y=True)
X_dev, X_test, y_dev, y_test = train_test_split(X, y, test_size=0.20, random_state=42)
X_train, X_val, y_train, y_val = train_test_split(X_dev, y_dev, test_size=0.25, random_state=42)
holdout, token = create_sealed_holdout(X_test, y_test, dataset_name="breast_cancer")
engine = AMDE4Engine(n_features=X.shape[1], is_classification=True, seed=42)
results = engine.search(X_train, y_train, X_val, y_val, dataset_name="breast_cancer", budget=20)
test_score = engine.evaluate_sealed_holdout(X_train, y_train, holdout, token=token)
print(f"Validation Accuracy: {results['incumbent_score']:.4f}")
print(f"Holdout Test Score: {test_score:.4f}")
print(f"Pareto Frontier Size: {results['pareto_size']}")6. Compatibility
- Python Versions: 3.10, 3.11, 3.12, 3.13, 3.14.
- Operating Systems: Ubuntu Linux, Windows 10/11.
- Hardware Requirements: Commodity CPU; zero GPU or specialized accelerators required.
- Backwards Compatibility: Fully compatible with AMDE 4.0.1 genomes;
kernel_ridgegenome specifications map transparently tokernel_svcwith a deprecation warning.
7. Verified Experimental Results
Quantitative Summary Across 5 Preregistered Seeds:
| Optimization Method | Mean Best Val Acc ( |
Mean Sealed Test Acc ( |
Mean Wall-Clock Duration (s) | Duplicate Proposal Rate | Controlled Pareto Size | Controlled 2D Hypervolume ( |
|---|---|---|---|---|---|---|
| Random Search (Method A) |
|
|||||
| AMDE Native TPE (Method B1) |
|
|||||
| Optuna TPESampler (Method B2) |
|
|||||
| AMDE 4.0 Engine (Method C) |
|
Statistical Tests:
- Exact sign-flip permutation Wilcoxon signed-rank test:
- AMDE 4.0 vs Random Search:
$W = 4.5, N_{\text{eff}} = 4, p = 1.0000$ (Holm adjusted$p = 1.0000$ ) - AMDE 4.0 vs Native TPE:
$W = 0.0, N_{\text{eff}} = 5, p = 0.0625$ (Holm adjusted$p = 0.1875$ ) - AMDE 4.0 vs Optuna TPE:
$W = 6.0, N_{\text{eff}} = 5, p = 0.6250$ (Holm adjusted$p = 1.0000$ )
- AMDE 4.0 vs Random Search:
-
Conclusion: No statistically significant difference in predictive accuracy detected at
$\alpha = 0.05$ .
8. Limitations & Scope Boundaries
-
Inferential Scope: Small sample size (
$N=5$ seeds) evaluated on a single dataset does not establish generalization across diverse tabular domains. - No Claimed Predictive Advantage: AMDE does not outperform Random Search or Optuna in predictive accuracy.
-
No Claimed Hypervolume Advantage: Random Search achieved higher mean 2D hypervolume (
$49.7085$ ) than AMDE ($49.6074$ ) by sampling fast linear models. -
Single-Sample vs Batch Latency: Single-sample inference is
$67\times$ to$191\times$ slower per sample than batch inference due to per-call dispatch overhead. - Procedural In-Process Isolation: Sealed holdout gating is a procedural software control, not an OS-level hypervisor.
- Local Ledger: Event ledger uses local SHA-256 block hashing, not distributed consensus.
9. Reproducibility & Manifest Verification
All historical one-shot records are preserved in reports/real_world_demo/historical_v1_oneshot/. All controlled repeated measurements are published in reports/real_world_demo/controlled_latency/.
The release distribution includes a complete SHA-256 manifest:
python scripts/verify_manifest.pyExpected output: PASS: 251/251 SHA-256 entries verified.
10. Source State
- Canonical Branch:
release-amde-final - Release Tag:
v4.0.2 - License: MIT License
- Project Status: Active feature development concluded; final research demonstration release.