A Scientific Research Workstation & Laboratory Platform for Empirically Benchmarking Metaheuristic Optimization Algorithms on Deep CNN Compression
๐ Visit Live Deployment: cnn.umeshlabs.in
Live Web App โข Features โข Architecture โข Algorithms โข Installation โข API โข Documentation โข Author
โWhich metaheuristic optimization algorithm achieves the superior multi-objective Pareto trade-off between Top-1 Accuracy, Inference Latency, Continuous Power Draw, Computational Complexity (FLOPs/TOPs), Model Footprint, and Energy Consumption under identical hardware and compression constraints?โ
The CNN Optimization Benchmark Platform provides an empirical, reproducible, and standardized research workstation to compare 10 state-of-the-art metaheuristics (plus user-registered custom algorithms) across deep Convolutional Neural Networks (ResNet-18, MobileNetV2, ShuffleNetV2, VGG-16, EfficientNet-B0) on standardized vision benchmarks (CIFAR-10, CIFAR-100, MNIST, Fashion-MNIST, ImageNet-1k Subset) and custom dataset uploads.
- ๐๏ธ Algorithm Comparison Workbench: Interactive side-by-side comparison with real-time dynamic objective re-weighting (Accuracy, Latency, Size, Energy sliders) and live score re-computation.
- ๐ Scientific Workstation UI/UX: Designed following laboratory instrumentation principles using
IBM Plex SansandIBM Plex Monotypography, dense analytical data tables, and structured research navigation. - โก Dual Compute Target (GPU & CPU): Full hardware telemetry for NVIDIA GPUs (
torch.cudawithpynvmlpower sampling) and Multi-Core CPUs with high-resolution synchronized latency timings. - ๐ Continuous Power & Compute Throughput Profiling: Real-time measurement and analytical modeling of Average Power Draw (
$\text{Watts} = \frac{\text{Joules}}{\text{Latency (s)}}$ ) and Compute Throughput ($\text{TOPs}$ ). - ๐ Multi-Objective Pareto Analysis: Automatic extraction and 6-axis interactive visualization of the empirical non-dominated frontier.
- ๐ Convergence & Stochastic Telemetry: Real-time WebSocket iteration tracking and multi-run statistical boxplots (Mean, Median, Std Dev, Min, Max, 95% Student's
$t$ Confidence Intervals). - ๐งฉ 5-Stage Ablation Decomposition: Isolates the marginal contributions of Quantization (FP16/INT8), Pruning (Structured Channel / Filter), and Metaheuristic Optimization.
- ๐ Confusion Matrix & Per-Class Degradation Suite: Interactive
$K \times K$ heatmaps (Raw Counts, Row-Normalized Recall %, Column-Normalized Precision %), Top Confusion Pairs ranking, Per-Class Sensitivity Analysis, Macro/Micro Average metrics, and Differential algorithm comparison grids ($\Delta \text{Cell} = A_{i,j} - B_{i,j}$ ). - ๐ 1-Click Local Laptop Automated Installer: Automated zero-friction scripts for Windows PowerShell (
install.ps1), Command Prompt (install.bat), and macOS/Linux Bash (install.sh) with auto-dependency bootstrapping and local daemon launching. - ๐ท๏ธ Data Provenance Badging: Explicit scientific provenance labeling (
โ MEASURED,โ CALCULATED,โฒ ESTIMATED,DEMO DATA). - ๐ Custom Extensibility: 1-Click modal uploads for custom Python optimizers (
BaseOptimizer), custom image dataset archives (.zip), and custom PyTorch CNN architectures. - ๐ Publication-Ready Exports: 1-Click downloads in CSV, JSON, Markdown, Microsoft Word (.doc), and Plain Text (.txt) formats.
All algorithms adhere to the standardized BaseOptimizer mathematical search contract over continuous decision spaces
| Key | Algorithm Name | Family | Citation | Search Complexity |
|---|---|---|---|---|
| GWO | Grey Wolf Optimizer | Swarm Intelligence | Mirjalili et al. (2014) | |
| WOA | Whale Optimization Algorithm | Swarm Intelligence | Mirjalili & Lewis (2016) | |
| ALO | Ant Lion Optimizer | Swarm Intelligence | Mirjalili (2015) | |
| MFO | Moth-Flame Optimization | Physics / Biology | Mirjalili (2015) | |
| GOA | Grasshopper Optimization Algorithm | Swarm Intelligence | Saremi et al. (2017) | |
| MVO | Multi-Verse Optimizer | Physics / Cosmology | Mirjalili et al. (2016) | |
| SCA | Sine Cosine Algorithm | Mathematical Trigonometric | Mirjalili (2016) | |
| AOA | Arithmetic Optimization Algorithm | Mathematical Algebraic | Abualigah et al. (2021) | |
| MGO | Mountain Gazelle Optimizer | Swarm Intelligence | Abdollahzadeh et al. (2022) | |
| GMO | Geometric Mean Optimizer | Mathematical Geometric | Mirrashid & Naderpour (2023) |
graph TD
subgraph ClientLayer [Client Interface - React 19 & TypeScript]
UI[Dashboard Command Center]
WB[Algorithm Comparison Workbench]
Wiz[New Benchmark Wizard]
Plots[Pareto & Convergence Visualizers]
end
subgraph BackendLayer [Backend Engine - FastAPI & Async Workers]
API[REST Endpoints & WebSocket Broadcaster]
Runner[Experiment Task Runner]
Optimizers[10 Metaheuristic Optimizers]
Eval[Hardware Evaluation Suite - Latency / Power / Accuracy]
Analytics[Pareto Analysis & WSM Scoring]
end
subgraph StorageLayer [Persistence Layer - SQLite & Cloud DB]
DB[(benchmark.db - Models / Runs / Metrics)]
end
UI --> API
WB --> API
Wiz --> API
Plots --> API
API --> Runner
Runner --> Optimizers
Runner --> Eval
Eval --> Analytics
Analytics --> DB
DB --> API
Where
- Python 3.10+ (Tested on Python 3.10, 3.11, 3.12, 3.14)
- Node.js v18+ &
npm - Git
# Clone the repository
git clone https://github.com/UmeshCode1/cnn-optimization-benchmark.git
cd cnn-optimization-benchmark
# Install Python dependencies
python -m pip install -r requirements.txt
# Launch FastAPI Backend Server
python -m uvicorn backend.main:app --host 0.0.0.0 --port 8000 --reloadIn a separate terminal window:
cd frontend
npm install
npm run devVisit http://localhost:5173 (or http://localhost:8000 for FastAPI production bundle).
Run full automated test verification covering API endpoints, evaluators, and all 10 optimizers:
python -m pytest tests backend/tests -v======================== 35 passed, 1 warning in 1.50s ========================
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/experiments |
Create and trigger an asynchronous benchmark experiment |
GET |
/api/experiments |
List all historical benchmark runs with metadata filters |
GET |
/api/experiments/{id} |
Retrieve comprehensive results, statistics, Pareto points, and ablations |
POST |
/api/experiments/{id}/cancel |
Cancel active benchmark execution |
DELETE |
/api/experiments/{id} |
Delete experiment record and cascading runs/metrics |
POST |
/api/experiments/{id}/clone |
Clone benchmark configuration for reproduction |
POST |
/api/experiments/{id}/recalculate |
Live dynamic recalculation of scores and rankings with custom weights |
GET |
/api/experiments/{id}/confusion-matrix |
Retrieve research-grade |
GET |
/api/reports/{id}/csv |
Export results in CSV format |
GET |
/api/reports/{id}/json |
Export results in JSON format |
GET |
/api/reports/{id}/markdown |
Export formatted Markdown research report |
GET |
/api/reports/{id}/doc |
Export Microsoft Word (.doc) formatted report |
GET |
/api/reports/{id}/txt |
Export formatted Plain Text (.txt) report |
WS |
/api/experiments/{id}/ws |
Real-time WebSocket stream for live iteration telemetry |
GET |
/api/installer/preflight |
Pre-flight diagnostics and automated 1-click install instructions |
GET |
/install.ps1 / /install.sh / /install.bat
|
Raw automated 1-click laptop installation scripts |
GET |
/api/algorithms |
List all verified and custom metaheuristic optimizers |
POST |
/api/algorithms |
Register a new custom metaheuristic optimizer plugin |
GET |
/api/datasets |
List available datasets and resolution parameters |
POST |
/api/datasets/upload |
Upload a custom image dataset archive |
GET |
/api/models |
List supported CNN model architectures |
GET |
/api/hardware |
Inspect host CPU/GPU hardware profile and telemetry |
- ๐๏ธ System Architecture & Data Flows
- ๐งฎ Mathematical Formulations of 10 Metaheuristics
- ๐ GitHub Wiki Master Blueprint
- โ๏ธ Benchmarking & Reproducibility Guide
- ๐ Complete REST & WebSocket API Reference
AI & Deep Learning Systems Researcher / Software Engineer
- Website / Platform: https://cnn.umeshlabs.in/
- GitHub: @UmeshCode1
- Repository: https://github.com/UmeshCode1/cnn-optimization-benchmark
- Specialization: Deep Learning Model Compression, Metaheuristic Optimization, Edge AI Hardware Acceleration, and High-Performance Benchmarking.
This project is licensed under the MIT License โ see the LICENSE file for details.
If you utilize this benchmark workstation in academic or industrial research, please cite:
@software{umesh_patel_cnn_benchmark_2026,
author = {Umesh Patel},
title = {CNN Optimization Benchmark: A Scientific Research Platform for Metaheuristics in Deep Convolutional Neural Network Compression},
year = {2026},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://cnn.umeshlabs.in/}}
}