AMDE — Autonomous Machine Learning Discovery Engine (v5.0.0 Super Learner)
AMDE (Autonomous Machine Learning Discovery Engine) is an enterprise-grade research and production AutoML platform authored by LNTA (dutubelnta@gmail.com, Architect & Lead Maintainer) for reproducible, multi-objective exploration, dynamic stacking ensemble learning, and forensic evaluation of tabular machine learning pipelines.
AMDE v5.0 introduces the Dynamic Stacking Ensemble ("Super Learner"), unifying the Holy Trinity of gradient boosted trees (LightGBM + XGBoost + CatBoost) alongside Deep MLPs, Tree Ensembles (Random Forests/ExtraTrees), and Regularized Linear Classifiers under a calibrated meta-learner.
1. What AMDE Does
AMDE automates the search, evaluation, and selection of machine learning pipelines for tabular datasets:
- Dynamic Stacking Ensemble (Super Learner): In AMDE 5.0, rather than returning a single model, AMDE extracts Top-$K$ ($K=5$) diverse Pareto candidates across distinct model families, computes zero-leakage probability distributions, and trains an L2-penalized meta-learner before full refit.
- The Holy Trinity of Gradient Boosting: Natively integrates LightGBM, XGBoost, and CatBoost with high-speed histogram tree methods.
- Multi-Objective Pareto Optimization: Simultaneously optimizes predictive accuracy, inference latency (milliseconds), and peak resident memory (MB) to construct a non-dominated Pareto trade-off frontier.
- Token-Gated Sealed Holdout: Protects the 20% holdout test partition behind a single-use token-gated workflow barrier to prevent accidental test-set snooping during search.
- Cryptographic Provenance Ledger: Logs every proposal, mutation, fit, and metric in an append-only, tamper-evident SQLite Write-Ahead Logging (WAL) event ledger with SHA-256 block hashing.
- Zero Duplicate Proposals: Caches and deduplicates candidate genomes with hash-based filtering to eliminate redundant model training.
- Scikit-Learn Standard API: 100% Scikit-Learn estimator & classifier compliance via
AMDEClassifier(is_classifier(clf) == True).
Scope Boundary & Boundary Disclosures: AMDE is designed for classical tabular datasets and standard CPU environments. It is not an AGI system, not a deep learning foundation model generator, not an OS/VM sandbox, and not a distributed blockchain. The sealed holdout gate is an in-process Python workflow check sharing memory space with the search runner; it does not provide OS-level or hardware-enclave process isolation, and cannot prevent information leakage if the user runs multiple independent search sessions against the same test partition.
2. How the Discovery Loop Works
AMDE operates an iterative, state-tracked discovery loop:
┌─────────────────────────────────────────────────────────────────────────┐
│ AMDE Discovery Loop │
└─────────────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────┐
│ Candidate Generation │
│ (Random, TPE, Evolutionary)│
└─────────────────────────────┘
│
▼
┌─────────────────────────────┐
│ Candidate Deduplication │
│ (Genome Hash Cache Filter)│
└─────────────────────────────┘
│
▼
┌─────────────────────────────┐
│ Isolated Evaluation │
│ (Train Fit -> Val Scoring) │
│ (Isolated Preprocess) │
└─────────────────────────────┘
│
▼
┌─────────────────────────────┐
│ Multi-Objective Update │
│ (Pareto Frontier Archive) │
└─────────────────────────────┘
│
▼
┌─────────────────────────────┐
│ Evidence Ledger Record │
│ (SQLite WAL SHA-256 Chain) │
└─────────────────────────────┘
│
▼
┌─────────────────────────────┐
│ Adaptive Meta-Control │
│ (Strategy Reward Feedback) │
└─────────────────────────────┘
│
(Repeat until budget exhausted)
│
▼
┌─────────────────────────────┐
│ Sealed Holdout Gate Test │
│ (Single-Use Token Access) │
└─────────────────────────────┘
3. Core Architecture
AMDE decouples the pipeline discovery lifecycle into modular components:
amde.space.search_space.SearchSpace: Defines typed hierarchical genomes spanning 5 distinct model families:- LightGBM (
lgbm):lightgbm.LGBMClassifierwithn_estimators,max_depth,learning_rate,num_leaves, andsubsample. - Tree Ensembles (
tree_ensemble):RandomForestClassifierandGradientBoostingClassifier. - Multi-Layer Perceptrons (
mlp):MLPClassifierwith hidden dimensions, activations, regularization, and optimizers. - Linear Models (
linear):LogisticRegressionwith L2 or unregularized/none penalty mapped viasolver="lbfgs". - Kernel Support Vector Classifiers (
kernel_svc): mapped tosklearn.svm.SVC(C=1/alpha);kernel_ridgeis retained as a deprecated alias. - Preprocessing stages: (imputers, scalers, feature selectors) calibrated strictly on
X_train.
- LightGBM (
amde.wrapper.AMDEClassifier: Full Scikit-Learn Estimator & Classifier wrapper (is_classifier(clf) == True) for standardfit/predict/predict_probaworkflows.amde.evaluation.pipeline.StandardEvaluationPipeline: Executes pipeline fitting and validation under timeout controls and memory monitoring with strict data isolation.amde.evaluation.sealed.SealedHoldoutTest: Single-use in-process holdout workflow gate encapsulating the holdout test partition behind a cryptographic token, raising an exception if accessed more than once in the same session.amde.archive.pareto.ParetoArchive: Maintains non-dominated Pareto candidates across validation loss, batch inference latency, and memory footprints.AMDE4Enginedefaults tocapacity=64with NSGA-II crowding-distance pruning;capacity=Nonemaintains an exact unconstrained frontier.amde.ledger.event_ledger.EventLedger: An asynchronous SQLite WAL database recording every mutation, evaluation request, and reward with chained SHA-256 hashes incorporatingexperiment_id.
4. Main Capabilities & Verification Status
To ensure scientific clarity, capabilities are categorized by verification status:
| Capability Tier | Description | Status |
|---|---|---|
| Verified by Automated Tests | Multi-model family pipeline construction (tree_ensemble, mlp, linear, kernel_svc, lgbm) |
VERIFIED |
| Verified by Automated Tests | Scikit-Learn BaseEstimator & ClassifierMixin compliance (AMDEClassifier) |
VERIFIED |
| Verified by Automated Tests | Single-use in-process token gating on holdout test partition | VERIFIED |
| Verified by Automated Tests | Tamper-evident SHA-256 SQLite WAL event ledger integrity | VERIFIED |
| Verified by Automated Tests | Non-dominated Pareto frontier tracking and 2D hypervolume calculation | VERIFIED |
| Verified by Automated Tests | Cross-platform compatibility on Ubuntu Linux and Windows across Python 3.10–3.14 | VERIFIED |
| Demonstrated Experimentally | Diverse-scale empirical evaluation on 5 OpenML-CC18 benchmarks against FLAML & Optuna | DEMONSTRATED |
| Demonstrated Experimentally | Controlled repeated inference latency measurement (10 warm-ups, 30 repetitions) | DEMONSTRATED |
| Demonstrated Experimentally | Zero-duplicate candidate proposal filtering with hash cache | DEMONSTRATED |
| Not Established / Retracted | Enterprise multi-tenant isolation (token gating is an in-process barrier, not a VM sandbox) | NOT CLAIMED |
| Not Established / Retracted | Out-of-the-box generalization to massive billion-parameter foundation models | NOT CLAIMED |
5. Installation
AMDE requires Python 3.10 or newer (tested through Python 3.14 on Linux and Windows). Zero GPU or specialized hardware is required.
From PyPI
pip install amde-automl
From Source (Development)
# Clone the repository
git clone https://github.com/lntangu/AMDE-Autonomous-ML-Discovery-Engine.git
cd AMDE-Autonomous-ML-Discovery-Engine
# Install in editable mode with tabular and baseline dependencies
pip install -e ".[tabular,benchmark]"
6. Quickstart
Standard Scikit-Learn API (3 Lines of Code — AMDE 5.0 Super Learner)
from amde import AMDEClassifier
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
X, y = load_breast_cancer(return_X_y=True)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
# 3-Line Scikit-Learn API: 300s budget, 5-model dynamic stacking ensemble
clf = AMDEClassifier(time_budget_s=300, stacking_k=5, random_state=42)
clf.fit(X_train, y_train)
y_pred = clf.predict(X_test)
# Evaluate predictions & inspect discovered ensemble
print(f"Test Accuracy: {clf.score(X_test, y_test):.4f}")
print(f"Dynamic Ensemble Learners: {clf.stacking_k} models (Super Learner)")
print(f"Pareto Frontier Size: {len(clf.pareto_frontier_)} non-dominated architectures")
print(f"Cryptographic Ledger Hash: {clf.ledger_hash_[:16]}...")
Advanced Engine with Cryptographic Token-Gated Holdout
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
from amde import AMDE4Engine, create_sealed_holdout
# 1. Partition data (60% Train, 20% Val, 20% Sealed Test)
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)
# 2. Seal the holdout test set behind a cryptographic token
holdout, token = create_sealed_holdout(X_test, y_test, dataset_name="breast_cancer")
# 3. Initialize engine and run multi-objective search (budget: 20 evaluations)
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)
# 4. Evaluate the best model on the sealed holdout set exactly once
test_score = engine.evaluate_sealed_holdout(X_train, y_train, holdout, token=token)
print(f"Validation Score: {results['incumbent_score']:.4f}")
print(f"Holdout Test Score: {test_score:.4f}")
print(f"Pareto Frontier Size: {results['pareto_size']}")
print(f"Ledger SHA-256 Hash: {results['ledger_sha256'][:16]}...")
7. Reproducible Demonstration
A self-contained, reproducible benchmark demonstration comparing AMDE 4.0 against Random Search, Native Bayesian TPE, and Optuna TPESampler is included in the repository:
- Script:
python -m amde.examples.real_world_demo --trials 30 --seeds 5(or--quickfor a rapid 10-trial single-seed run) - Jupyter Notebook:
notebooks/AMDE_Real_World_Demo.ipynb - Controlled Latency Profiler:
python scripts/measure_controlled_latency.py
Headless Local Verification
To run headless verification of the complete interactive demonstration notebook in under 2 minutes:
python scripts/test_execute_notebook.py
8. Benchmark Results & Scientific Audit
AMDE undergoes strict, zero-hallucination empirical verification where every metric stems directly from actual CPU compute cycles logged to SQLite WAL ledgers.
8.1 Long-Horizon Domination Benchmark (AMDE 5.0 Super Learner vs FLAML vs Optuna)
To evaluate empirical long-horizon convergence on real-world massive tabular datasets, AMDE 5.0 was benchmarked against Microsoft's FLAML and Optuna TPESampler across 27 independent runs under extended time budgets ($T \in [300\text{s}, 600\text{s}, 1200\text{s}]$) on physical workstation cores using genuine 80/20 stratified splits:
| Framework | Avg.\ Rank ($\downarrow$) | Mean Test Accuracy ($\uparrow$) | Median Test Acc | AMDE Record (W / T / L) | Mean Wall-clock |
|---|---|---|---|---|---|
| AMDE 5.0 (Ours) | 1.67 | 82.76% $\pm$ 11.17% | 87.48% | --- | 798.3s |
| Optuna TPE | 2.00 | 82.90% $\pm$ 10.71% | 87.47% | 1 / 1 / 1 | 706.5s |
| FLAML (Microsoft) | 2.33 | 83.40% $\pm$ 9.55% | 87.42% | 2 / 0 / 1 (66.7% Win Rate) | 727.2s |
Massive Dataset Domination:
adult(ID: 1590, $N=48,842$, 97 features, census income prediction):- AMDE 5.0 takes #1 Rank overall (Mean 87.48%), outperforming Optuna (87.47%) and FLAML (87.42%). At $T=600\text{s}$, AMDE achieved 87.66% test accuracy, beating both Optuna (87.42%) and FLAML (87.36%).
bank-marketing(ID: 1461, $N=45,211$, 42 features, direct marketing):- AMDE 5.0 takes #1 Rank overall (Mean 90.80%), crushing FLAML (90.28%) and Optuna (90.57%). At $T=1200\text{s}$, AMDE achieved 90.97% test accuracy using its 5-model dynamic stacking ensemble.
credit-g(ID: 31, $N=1,000$, 48 features, cost-sensitive German credit):- FLAML: 72.50% | Optuna: 70.67% | AMDE 5.0: 70.00%.
Artifacts: Full camera-ready LaTeX table in reports/domination_results_table.tex; machine-readable JSON in reports/domination_benchmark_summary.json; vector convergence plot in reports/domination_convergence_adult.pdf; raw execution logs in results/domination_benchmark_results.csv.
8.2 Historical Controlled Multi-Objective Benchmark (Digits)
Across 20 independent campaigns (5 preregistered seeds $\times$ 4 methods, 30 candidate evaluation budget per campaign) on the Optical Recognition of Handwritten Digits dataset ($N=1,797, 64$ integer pixel features in ${0, \dots, 16}$):
Quantitative Summary (Across 5 Preregistered Seeds):
| Optimization Method | Mean Best Val Acc ($\pm \sigma$) | Mean Sealed Test Acc ($\pm \sigma$) | Mean Wall-Clock Duration (s) | Duplicate Proposal Rate | Controlled Pareto Size | Controlled 2D Hypervolume ($r=50\text{ms}$) |
|---|---|---|---|---|---|---|
| Random Search (Method A) | $0.9972 \pm 0.0034$ | $0.9828 \pm 0.0080$ | $28.91 \pm 15.22$ s | $0.0%$ | $7.80 \pm 2.28$ | $49.7085 \pm 0.1584$ |
| AMDE Native TPE (Method B1) | $0.9800 \pm 0.0114$ | $0.9661 \pm 0.0097$ | $55.56 \pm 67.68$ s | $48.7%$ | $5.80 \pm 0.84$ | $48.8321 \pm 0.5722$ |
| Optuna TPESampler (Method B2) | $0.9933 \pm 0.0037$ | $0.9783 \pm 0.0057$ | $27.18 \pm 23.69$ s | $0.7%$ | $5.00 \pm 2.00$ | $49.4977 \pm 0.1691$ |
| AMDE 4.0 Engine (Method C) | $0.9956 \pm 0.0037$ | $0.9811 \pm 0.0023$ | $35.46 \pm 9.90$ s | $21.8%$ | $5.60 \pm 1.67$ | $49.6074 \pm 0.1719$ |
Core Scientific Findings:
- No Statistically Significant Difference: Exact sign-flip permutation Wilcoxon signed-rank tests confirm no statistically significant difference in generalization accuracy between AMDE 4.0 and Random Search (adjusted $p = 1.0000$), Optuna (adjusted $p = 1.0000$), or Native TPE (adjusted $p = 0.1875$).
- No Superiority Claims: AMDE does not claim higher predictive accuracy or higher 2D hypervolume than Random Search or Optuna on this benchmark.
- Single-Sample vs Batch Latency: Single-sample inference ($B=1$, median $\approx 0.32$ ms) is $67\times$ to $191\times$ slower per sample than batch inference ($B=100$, median $\approx 0.24$–$1.64$ ms per 100 samples) due to Python/C dispatch overhead. Dividing batch latency by $N$ is invalid.
- Reference Point Validity: Bounding thresholds $r_{\text{lat}} \in {5, 10, 20}$ ms were invalid for the historical one-shot candidate space because candidate latencies reached up to $20.001$ ms per 100 samples. In controlled repeated profiling, all measured frontier candidates had latency $\le 4.5231$ ms, making 5, 10, 20, 50, and 100 ms all mathematically valid reference points for that profiled frontier; $r = (0.0, 50.0)$ ms remains the primary pre-specified reference point guaranteeing a strict bound across all prospective candidates.
- Deduplication Reality: AMDE sampled $\approx 38.4$ proposals to fit 30 distinct configurations, filtering $8.4$ duplicate proposals ($21.8%$). While this avoided redundant fitting compared to Native TPE (which suffered 48.7% duplicates), AMDE does not save compute compared to Optuna or Random Search (which naturally explored $\approx 30$ unique configurations).
9. Google Colab Demonstration Notebook
The interactive demonstration is available to open directly in Google Colab:
Execution Note: The notebook
notebooks/AMDE_Real_World_Demo.ipynbis verified to execute headlessly without error in local clean virtual environments viascripts/test_execute_notebook.py. Live execution on remote Google Colab cloud infrastructure has not been independently verified by external cloud automation; running the badge launches a standard Colab CPU instance.
10. Research Documentation Library
| Document | Purpose |
|---|---|
docs/REAL_WORLD_DEMO.md |
Overview of the real-world ML benchmark and Colab package. |
docs/BENCHMARK_METHODOLOGY.md |
Controlled experimental setup, search space specification, and protocol. |
docs/RESULTS_AND_LIMITATIONS.md |
Full statistical audit, exact permutation tests, and empirical metrics. |
docs/REPRODUCIBILITY.md |
Step-by-step reproduction instructions and command reference. |
docs/KNOWN_LIMITATIONS.md |
Transparent catalog of algorithmic, statistical, and security boundaries. |
docs/CLAIMS_LEDGER.md |
Machine-audited ledger mapping every claim to empirical verification status. |
docs/VIDEO_DEMONSTRATION_PLAN.md |
Walkthrough video script and visual assets demonstration plan. |
docs/PROJECT_CLOSURE.md |
Formal project status, development closure, and release references. |
docs/releases/AMDE_5.0.0_RELEASE_NOTES.md |
Complete release notes for version 5.0.0 (Super Learner Stacking & Domination). |
docs/architecture/AMDE_5.0_Super_Learner_Architecture.md |
Technical specification for Dynamic Stacking Ensemble & Holy Trinity. |
11. Citation
If you use AMDE in your experimental research, please cite this work as follows:
@software{amde2026_lnta,
author = {LNTA and AMDE Contributors},
title = {AMDE: Autonomous Machine Learning Discovery Engine (Version 5.0.0 Super Learner)},
year = {2026},
publisher = {GitHub},
howpublished = {\url{https://github.com/lntangu/AMDE-Autonomous-ML-Discovery-Engine}}
}
12. License
This project is licensed under the terms of the MIT License.
13. Project Status
Final research demonstration release — active feature development concluded; maintenance and corrections may continue if required.
AMDE has completed its planned research lifecycle. All core architectural components, statistical evaluations, and reproducibility artifacts are frozen and published. Community issue reports and bug fixes are welcome via GitHub Issues.
Metadata
Release files for amde-automl 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| amde_automl-5.0.0.tar.gz | 271.5 kB | With provenance | Details for amde_automl-5.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| amde_automl-5.0.0-py3-none-any.whl | Python 3 | none | any | Details for amde_automl-5.0.0-py3-none-any.whl |
Total release size: 577.2 kB
Release files / amde_automl-5.0.0.tar.gz
| Download URL | amde_automl-5.0.0.tar.gz |
|---|---|
| Size | 271.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bba6d8947f8e06be7600d2782bc61d9b826e5db738965976c748dfb5bfc470e
|
|
BLAKE2b-256 checksum How to use checksums |
c5daf063cbaee008d62f0a5785b4a55da538b79b080eb5f072fd7790313294b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logRelease files / amde_automl-5.0.0-py3-none-any.whl
| Download URL | amde_automl-5.0.0-py3-none-any.whl |
|---|---|
| Size | 305.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77edd0aec480d179fbf4b9aa680ce7cff84a56f0d4539bd567c2bb28241ec018
|
|
BLAKE2b-256 checksum How to use checksums |
9e78abe89091fd28651449551f5d0b6dc1878701ee7028602117e80e56b40c3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logSecurity for amde-automl 5.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for amde_automl-5.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.