IdeaCredIdeaCred

pablo-reyes8/outgrid-vision-transformer

79

Hybrid vision backbone: VOLO-style Outlook local mixing + MaxViT grid attention + MBConv. Two variants (front-only vs per-block Outlook), FP16 training CLI with CutMix, and reproducible CIFAR-100 64×64 benchmarks.

What's novel

Hybrid vision backbone: VOLO-style Outlook local mixing + MaxViT grid attention + MBConv. Two variants (front-only vs per-block Outlook), FP16 training CLI with CutMix, and reproducible CIFAR-100 64×64 benchmarks.

Code Analysis

18 files read · 4 rounds

A research project implementing OutGridViT, a hybrid CNN-Transformer vision architecture that fuses VOLO-style dynamic local kernels, MBConv, and grid-partitioned attention, with a full training stack, ablation variants, and attention analysis tools (MAD + entropy metrics).

Strengths

Genuinely non-trivial architecture with clean component decomposition (Outlooker, MBConv, GridAttention, MLP) and a well-structured YAML-first experiment API with strict config validation. The training pipeline is production-quality with AMP, gradient clipping, Mixup/CutMix, early stopping, and detailed instrumentation (grad norms, overflow tracking, memory stats).

Weaknesses

Code duplication of helper functions (make_activation, _softmax_local, sample_xy) across multiple files, and the test suite is thin — only 5 test files with basic forward-pass and shape checks, lacking edge-case coverage (e.g., non-divisible spatial dims, extreme configs, gradient flow verification).

Score Breakdown

Innovation
6 (25%)
Craft
67 (35%)
Traction
6 (15%)
Scope
86 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci-1
Tests+5
Polish+0
Releases+0
Has License+5
Code Quality+22
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+4
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+5
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

80

Contributors

1

Files

223

Active weeks

7

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT