Skip to main content

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

PyPI version 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


Built by researchers, for the research community. Advancing reproducible science in computer vision.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

advance_conv_benchmarks-0.1.0.tar.gz (56.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

advance_conv_benchmarks-0.1.0-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

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

Hashes for advance_conv_benchmarks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 59d0ea0f2605f18ffb336dd4507aa73025b44c5b3e953a28906ed9f827a1d365
MD5 7a6edcc08ee2a42f2b3921677667ee4e
BLAKE2b-256 1d1c76d9f5de96f00ed2b46c3e5e6807bae25eb1d997ee1888ff34899c4dfa50

See more details on using hashes here.

File details

Details for the file advance_conv_benchmarks-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for advance_conv_benchmarks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84f7aa941f123f42de95ba88f3742cff192eedc6dc60ff78d7959aefe5376a3a
MD5 4e153ab9525ff7a4765487a4444314cc
BLAKE2b-256 73b576553905885b1b2146fa3bbe3f3ac08cf52fdfb5a31eb9c2ab9fdc693f82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page