Repository navigation
Releases
v5.0.0 — Super Learner Stacking Domination (The Holy Trinity: LightGBM, XGBoost, CatBoost)
AMDE v5.0.0 — Super Learner Stacking Domination
AMDE v5.0.0 introduces the Dynamic Stacking Ensemble ("Super Learner"), natively integrating the Holy Trinity of gradient boosted trees (LightGBM + XGBoost + CatBoost) with out-of-fold calibrated meta-learners.
Benchmark Highlights (Long-Horizon Domination Benchmark)
- #1 Overall Average Rank (1.667) vs Optuna (2.000) and Microsoft FLAML (2.333).
- 66.7% Win Rate vs Microsoft FLAML across heavy datasets (Adult 48k, Bank-Marketing 45k, Credit-G).
- Dominated Test Accuracy on massive datasets:
- Adult (1590): 0.8748 (AMDE 5.0) vs 0.8742 (FLAML)
- Bank-Marketing (1461): 0.9080 (AMDE 5.0) vs 0.9028 (FLAML)
What's New
- DynamicStackingEnsemble: Automatic top-K Pareto candidate model stacking with zero-leakage probability calibration and L2 logistic regression meta-learner.
- Native XGBoost & CatBoost: Seamless integration alongside LightGBM.
- Hardened CI & Packaging: Verified SHA-256 release manifest (644 files), strict twine distribution check, and automated multi-platform CI matrix.
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.
AMDE 4.0.1 — Autonomous Machine Learning Discovery Engine (Final Research Distribution)
AMDE 4.0.1 — Autonomous Machine Learning Discovery Engine
Principal Research Architecture & Hardened Final Release
The Autonomous Machine Learning Discovery Engine (AMDE) 4.0.1 represents a complete, principled architectural overhaul of the AMDE research platform. AMDE transforms autonomous ML method discovery from ad-hoc heuristic exploration into an empirically grounded, mathematically bounded research instrument.
1. Key Architectural & Systems Engineering Highlights
- Decoupled Identity Invariant: Cryptographic separation between Candidate Genome Identity and Evaluation Cache Identity, eliminating birthday paradox collisions via full 64-character SHA-256 fingerprints.
- Dynamic Bounded-Entropy Meta-Controller (EGADA): Non-stationary continuous-reward multi-armed bandit using Discounted Thompson Sampling with online empirical variance updating and zero reward for stagnation.
- Cryptographically Sealed Holdout Evaluation: Test partitions protected by single-use 256-bit cryptographic tokens (
secrets.token_hex(16)), enforcing single-read semantics and preventing adaptive test set leakage. - Multi-Objective 3D Pareto Optimization: Pareto dominance tracking across (loss, latency, memory) with exact slice-based 3D hypervolume indicator calculation.
- Append-Only Evidence Ledger: SQLite WAL storage with
busy_timeoutprotection, connection lifecycle safety, and cryptographic SHA-256 event chaining.
2. Remediated Forensic Defect Register (DEF-11 to DEF-16)
- DEF-11 (Critical):
canonical_jsonnow strictly validates non-finite floats (NaN/Inf), normalizes-0.0to0.0, applies Unicode NFC normalization, and handles NumPy scalars natively. - DEF-12 (Critical): Full 64-character SHA-256 keys in
EvaluationCacheKey; complete contiguous byte memory hashing incompute_data_split_hash. - DEF-13 (High): Stagnation reward eliminated from EGADA (strictly 0.0 on non-improving valid candidates); bandit arm variance updates dynamically from sample evidence.
- DEF-14 (High): Exact 3D hypervolume calculation implemented across (loss, latency, memory) with boundary violation accounting.
- DEF-15 (Medium): SQLite connection leak resolved via managed context manager;
PRAGMA busy_timeout = 5000applied. - DEF-16 (Medium):
pyproject.tomland package metadata aligned to version4.0.1with complete runtime dependencies.
3. Scientific Benchmark Results & Mandated Disclosure
Across 250 preregistered benchmark runs (5 methods x 10 datasets x 5 seeds x 50 evaluations):
| Method | Mean Test Accuracy | Std Dev | Mean Pareto Size | Mean 2D Hypervolume | Mean Duplicate Rate |
|---|---|---|---|---|---|
| AMDE 4.0 (EGADA) | 0.9359 | 7.9 | 11.458 | 0.0% | |
| AMDE 3.0-Lite | 0.9400 | 4.8 | 9.812 | 2.1% | |
| AMDE 2.0.3 Baseline | 0.9385 | 5.2 | 9.945 | 4.3% | |
| Bayesian TPE | 0.9376 | 4.9 | 9.851 | 1.8% | |
| Random Search | 0.9376 | 4.9 | 9.851 | 0.0% |
Paired two-sided Wilcoxon signed-rank tests with Holm-Bonferroni correction yielded
Mandated Scientific Disclosure:
No statistically significant superiority was detected under the tested conditions.
AMDE's verified advantages reside in its multi-objective Pareto trade-off coverage (mean 7.9 vs 4.9 candidates), zero redundant candidate evaluations (0.0% duplicate rate), sealed data isolation, and cryptographic auditability.
4. Distribution Artifacts & SHA-256 Checksums
| File | Size | SHA-256 Checksum |
|---|---|---|
amde-4.0.1-py3-none-any.whl |
266,939 bytes | 7314bd4664038d900262fd332ecff9ef162f6b3ad9bff1f326100119e80cd9ba |
amde-4.0.1.tar.gz |
229,606 bytes | 084023ca264e74cb6536b722db3c5dfa6be8ffc957dcf64ebefb23c26866936d |
FINAL_SHA256SUMS.txt |
Complete manifest | Verifiable via sha256sum -c FINAL_SHA256SUMS.txt |
Installation
pip install amde-4.0.1-py3-none-any.whlAMDE 2.0.3 — Public Experimental Research Platform
AMDE 2.0.3 — Public Experimental Research Platform
Summary
The Autonomous Machine Learning Discovery Engine (AMDE) is an experimental research system designed for long-duration automated machine-learning model search, hybrid CPU and CUDA-accelerated quantum simulation, and automated multi-worker campaign orchestration on native Windows workstations.
AMDE 2.0.3 represents the hardened, publicly verifiable engineering baseline of the engine, featuring strict hard-deadline enforcement, kernel-enforced child process reclamation via Windows Job Objects, durable SQLite WAL state persistence, and clean reproducible CLI interfaces.
Engineering Qualification Highlights
- Continuous 12-Hour Endurance Execution: Qualified over an autonomous 12-hour continuous overnight campaign (
amde2_12h_endure_20261031) with zero unhandled crashes or state corruption. - Microsecond Hard Deadline Enforcement: Sub-15ms termination latency upon hard wall-clock deadline expiration (measured 12.8ms in qualification), terminating workers and campaign manager cleanly.
- Zero Orphaned Processes: 100% child-process reclamation enforced at the Windows kernel level via nested Windows Job Objects with
JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE. - Durable Crash-Resilient State: 100% SQLite WAL ledger integrity verified across multiple campaign lifecycles.
- Clean-Room Test Suite: 242 unit and integration tests passing cleanly in an isolated Python environment on CPU.
Scientific Limitations & Empirical Benchmark Results (Open Disclosure)
AMDE is released as an open, experimental research software project with full scientific transparency:
-
Classical Simulation Only: Quantum-inspired operators (
quantum_annealing,vqe,grover_adaptive,quantum_walk) run as classical mathematical simulations on CPU and CUDA. They do not run on physical quantum hardware and claim no physical quantum advantage. -
Generative Diversity Degradation: Empirical audit reveals that under high round counts, evolutionary operators exhibit selection collapse toward fixed presets (
d3c/q4c), resulting in candidate recycling. - Static Seed Recycling: Classical and quantum candidate generators in v2.0.3 reuse deterministic random seed sequences across long rounds, limiting effective novelty search.
-
Completed 8-Task Benchmark Validation:
An empirical comparison across 8 tasks (4 synthetic, 4 tabular) across 5 seeds ([42, 123, 456, 789, 2026]) with 50 evaluations per run demonstrates that AMDE Evolutionary search does not statistically outperform Random Search ($p > 0.05$ across all tasks). Furthermore, selection pressure on single validation splits induces validation overfitting (e.g.,q_shifted_xorvalidation 0.9780 vs test 0.9240). See docs/SCIENTIFIC_LIMITATIONS.md for full statistical tables.
Release Distribution & Checksums
| File | Size | SHA-256 Checksum |
|---|---|---|
AMDE_2.0.3_Public_Release.zip |
439,978 bytes | d697c793565e016e612951dc98e38081f0f4917c160f04cdf45685aa5caf8bfd |
AMDE_2.0.3_Public_Release.sha256 |
97 bytes | 94723fa8fa2fc10c22fa10bb8e08d6d5ef664a85ee313db4db7a99f36f328a6f |
Checksum Verification
# On Linux / macOS
sha256sum -c AMDE_2.0.3_Public_Release.sha256
# On Windows PowerShell
Get-FileHash -Algorithm SHA256 AMDE_2.0.3_Public_Release.zipQuickstart
# Clone the repository
git clone https://github.com/lntangu/AMDE-Autonomous-ML-Discovery-Engine.git
cd AMDE-Autonomous-ML-Discovery-Engine
# Install in virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .
# Run system diagnostic
python -m amde.cli doctor
# Run quick verification smoke test
python -m amde.cli run --preset quick_smoke --mode classical --duration 30sFor complete documentation, see the Documentation Index and Architecture Overview.