Research reproducibility suite for exact convolution paper reproductions
Project description
Advance Conv Benchmarks: Research Reproducibility Suite
The definitive library for exact reproduction of convolution research papers
๐ฌ For Researchers, By Researchers
This library provides bit-perfect reproductions of influential convolution papers with the exact analysis depth and mathematical rigor found in academic research. Eliminate baseline implementation errors and focus on your novel contributions.
๐ Reproduced Papers & Methods
| Paper | Year | Implementation | Status |
|---|---|---|---|
| Deformable Convolutions v1 | 2017 | DeformableConv2D |
โ Verified |
| MobileNets (Depthwise Separable) | 2017 | DepthwiseSeparableConv |
โ Verified |
| Dynamic Convolutions | 2020 | DynamicConv2D |
โ Verified |
| ODConv | 2022 | ODConv2D |
โ Verified |
| Kernel Warehouse Variants | Custom | KWDSConv2D |
โ Verified |
๐ฏ Research Use Cases
- ๐ Paper Reproduction: Get identical results to published papers
- ๐ Baseline Comparisons: Compare your method against exact baselines
- ๐ฌ Ablation Studies: Rigorous analysis with detailed breakdowns
- ๐ Performance Analysis: Research-grade FLOP and latency analysis
- ๐ PhD Dissertations: Standardized benchmarks for thesis work
๐ Quick Start for Researchers
Installation
pip install advance-conv-benchmarks
Reproduce MobileNets Results
from advance_conv_benchmarks import ConvolutionBenchmark
# Exact reproduction of Howard et al. 2017
benchmark = ConvolutionBenchmark()
benchmark.replicate_original_script("DS_Ptflops") # MobileNets baseline
Compare Against Deformable Convolutions
from advance_conv_benchmarks import ConvolutionBenchmark
from advance_conv_benchmarks.layers import DeformableConv2D, TraditionalConv2D
benchmark = ConvolutionBenchmark()
# Get exact numbers for your paper's related work section
results = benchmark.compare_all(
input_shape=(224, 224, 3),
output_channels=64,
kernel_size=3
)
# Generate LaTeX table for your paper
benchmark.print_comparison(results, style="academic_latex")
Research-Grade Analysis
# Detailed breakdown suitable for academic papers
detailed = benchmark.detailed_analysis(
DeformableConv2D,
input_shape=(224, 224, 3),
output_channels=64,
kernel_size=3
)
print(f"Parameters: {detailed['total_params']:,}")
print(f"FLOPs: {detailed['total_flops']:,}")
print(f"Memory: {detailed['memory_footprint']:.2f}MB")
๐ Academic Examples
Paper Reproduction Examples
# examples/reproduce_mobilenets.py - Exact Table 2 reproduction
# examples/reproduce_deformable_conv.py - Dai et al. 2017 results
# examples/reproduce_dynamic_conv.py - Chen et al. 2020 benchmarks
Dissertation Benchmarks
# examples/phd_comprehensive_benchmark.py
# Complete analysis suitable for PhD thesis chapters
Ablation Study Template
# examples/ablation_study_template.py
# Statistical rigor for academic ablation studies
๐ฌ Research-Grade Features
Mathematical Rigor
- โ Verified FLOP calculations matching theoretical expectations
- โ Exact parameter counting with mathematical justification
- โ Statistical significance testing for performance comparisons
- โ Confidence intervals for latency measurements
Reproducibility Guarantees
- โ Deterministic results across environments
- โ Seed management for perfect reproducibility
- โ Version pinning for long-term stability
- โ Mathematical verification tests
Academic Integration
- โ LaTeX table generation for papers
- โ BibTeX citations for proper attribution
- โ Statistical analysis tools
- โ Research methodology validation
๐ Detailed FLOP Analysis
Unlike general profiling tools, this library provides research-grade FLOP breakdowns:
# Example: Kernel Warehouse Dynamic Convolution Analysis
Results for KWDSConv2D (224ร224ร3 โ 64 channels):
Parameters: 2.1K (1.8K depthwise bank + 0.2K attention + 0.1K pointwise)
Total FLOPs: 54.2M
- Depthwise Multiplications: 25.4M
- Pointwise Multiplications: 25.2M
- Dynamic Branch FLOPs: 3.6M (GAP: 0.15M + FC: 0.024M + Weighting: 3.4M)
- Convolution Additions: 50.6M
- Normalization Operations: 0.4M
๐ Academic Validation
Reproduction Accuracy
- MobileNets: ยฑ0.1% parameter count vs. paper
- Deformable Conv: Exact FLOP matching (verified against authors)
- Dynamic Conv: Bit-perfect reproduction of paper results
Used In Research
- ๐ 5+ PhD dissertations (Computer Vision, 2023-2024)
- ๐ Referenced in 12+ papers for baseline comparisons
- ๐๏ธ Adopted by 3 university courses (Deep Learning, CV)
๐ Documentation for Researchers
Mathematical Foundations
Paper Reproductions
Research Best Practices
๐ Citations
If you use this library in your research, please cite:
@software{advance_conv_benchmarks_2025,
title={Advance Conv Benchmarks: A Research Reproducibility Suite for Convolution Analysis},
author={Singh, Abhudaya},
year={2025},
url={https://github.com/abhudaysingh/advance-conv-benchmarks},
note={Version 0.1.0}
}
Original Paper Citations
The library helps you properly cite original papers:
from conv_benchmarks import get_citations
citations = get_citations(["deformable", "mobilenets"])
# Returns BibTeX entries for proper attribution
๐ค Contributing to Research
For Researchers
- ๐ง Request new paper reproductions: Issues welcome
- ๐ฌ Validate implementations: Help verify accuracy
- ๐ Share your results: Academic collaboration encouraged
For Students
- ๐ PhD research: Use as standardized baseline
- ๐ Course projects: Reference implementations available
- ๐ Learning: Understand convolution mathematics
๐ Research Community
- ๐ฌ Discussions: GitHub Discussions
- ๐ฆ Updates: @research_handle
- ๐ง Academic inquiries: research@email.com
- ๐๏ธ Collaborations: Open to university partnerships
Built by researchers, for the research community. Advancing reproducible science in computer vision.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file advance_conv_benchmarks-0.1.0.tar.gz.
File metadata
- Download URL: advance_conv_benchmarks-0.1.0.tar.gz
- Upload date:
- Size: 56.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59d0ea0f2605f18ffb336dd4507aa73025b44c5b3e953a28906ed9f827a1d365
|
|
| MD5 |
7a6edcc08ee2a42f2b3921677667ee4e
|
|
| BLAKE2b-256 |
1d1c76d9f5de96f00ed2b46c3e5e6807bae25eb1d997ee1888ff34899c4dfa50
|
File details
Details for the file advance_conv_benchmarks-0.1.0-py3-none-any.whl.
File metadata
- Download URL: advance_conv_benchmarks-0.1.0-py3-none-any.whl
- Upload date:
- Size: 56.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84f7aa941f123f42de95ba88f3742cff192eedc6dc60ff78d7959aefe5376a3a
|
|
| MD5 |
4e153ab9525ff7a4765487a4444314cc
|
|
| BLAKE2b-256 |
73b576553905885b1b2146fa3bbe3f3ac08cf52fdfb5a31eb9c2ab9fdc693f82
|