Repository navigation
Releases
SUBIT-Ink v28.0 — WarpInfinity (Public 0.512781 / Private 0.544153)
SUBIT-Ink v28.0 — WarpInfinity 🌟
Release Tag: v28.0
Target: Vesuvius Challenge — Ink Detection & Topological Signal Recovery
Author: @slavick
Theoretical Basis: SUBIT-WARP v0.4 (W0-W24 Geometric Curvature) & Belnap Boundary Regularization
Key Milestones: Public Score: 0.512781 (All-Time Record) | Private Score: 0.544153 (Kaggle Version 34)
🌟 Highlights & Breakthroughs
SUBIT-Ink v28.0 sets a new all-time high on the Kaggle Public Leaderboard (0.512781) while confirming the reproducibility of the high-generalization regime with a 0.544153 Private Score on blinded Herculaneum papyri.
-
Geometric Warped Depth Attention (
WarpedDepthCollapse): Implements a learnable warp curvature prior$W(z) = \text{bias} - |\alpha| z^2$ along the$Z$ -depth axis. Concentrates attention on the physical papyrus surface while suppressing attenuation noise from neighboring wraps. -
Belnap
$B$ -State Boundary Regularization: Added spatial L1-gradient loss penalizing blurred letter contours, directly optimizing precision for the$F_{0.5}$ metric. -
Consecutive 0.54+ Generalization: Following v27.0's
$0.546201$ , v28.0's$0.544153$ confirms that cross-fragment robustness is a structural property of the architecture. -
Ensemble Convergence: Epoch 18 (
$w=0.336$ ), Epoch 19 ($w=0.333$ ), Epoch 20 ($w=0.330$ ) achieving holdout$F_{0.5} = 0.6924$ at$t = 0.590$ . -
5,000 Stratified Patches: Enhanced training sample density with full
$4\times$ TTA inference completed in$445.3$ minutes.
📊 Complete Benchmark Evolution
| Run | Architecture Version | Public Score | Private Score | Threshold | Ink Ratio (b) | Key Feature |
|---|---|---|---|---|---|---|
| v20 Baseline | Standard 3D U-Net | 0.5094 | 0.4367 | 0.550 | — | Overfitting baseline |
| v26 | v22.5-SpeedChampion | 0.4643 | 0.4799 | 0.585 | — | Spatial 80/20 CV |
| v27 | v23.0-InfinityChampion | 0.5083 | 0.4864 | 0.580 | ~6.87% | Tversky + 4x TTA |
| v29 | v24.1-Grandmaster | 0.4973 | 0.4787 | 0.505 | — | Depth=20 test |
| v30 | v25.0-RecallMaster | 0.4813 | 0.4797 | 0.655 | — | 75/25 split |
| v31 | v24.0-DiverseEnsemble | 0.4272 | 0.4717 | 0.580 | 9.92% | Early epoch gap bug |
| v32 | v26.0-GrandmasterLateConverge | 0.4745 | 0.4876 | 0.480 (clamped) | 7.05% | Late-epoch filter |
| v33 | v27.0-OmegaAttained | 0.5008 | 0.546201 (RECORD) | 0.620 | 6.93% | Unclamped [0.35, 0.65] |
| v34 🌟 | v28.0-WarpInfinity | 0.512781 (RECORD) | 0.544153 | 0.590 | 7.12% | WarpedDepth + Belnap Edge |
📦 What's Included
ink_detection_kaggle_v28.py— Flagship single-file submission pipeline (v28.0).ink_detection_kaggle_v27.py— Prior milestone code (v27.0).docs/Warped_Depth_Attention_and_Belnap.md— Formal engineering paper detailing SUBIT-WARP depth attention.docs/SUBIT_INK_Academic_Paper_EN.md&docs/SUBIT_INK_Academic_Paper_UA.md— Theoretical overview papers.
SUBIT-Ink v27.0 — OmegaAttained (Private 0.546201)
SUBIT-Ink v27.0 — OmegaAttained 👑
Release Tag: v27.0
Target: Vesuvius Challenge — Ink Detection & Topological Signal Recovery
Author: @slavick
Theoretical Basis: SUBIT-∞ v6.13.39 (§0.3 Principle of Non-collapse & §4/§11
Key Milestone: Private Score 0.546201 | Public Score 0.500844 (Kaggle Version 33)
🌟 Highlights & Major Breakthrough
SUBIT-Ink v27.0 achieves the highest benchmark performance in the history of the project, jumping from 0.4876 to 0.546201 Private Score on unseen blinded Herculaneum papyri volumes.
-
Breakthrough Generalization (
0.546201): Completely overcomes cross-fragment CT attenuation variance and sensor shift. -
Natural Attractor Thresholding (
$t = 0.620$ ): In v32, thresholds were clamped into an artificial$[0.48, 0.60]$ window. Version 27.0 freed the bounds ($[0.35, 0.65]$ ), allowing high-resolution holdout calibration (VAL_STRIDE_FINAL = 112) with$4\times$ TTA to locate the true boundary attractor at$t = 0.620$ . -
Authentic Ink Ratio Recovery: Successfully segmented fragment
bat$6.93%$ ink density, directly matching the ground-truth physical ink distribution of historical Herculaneum carbon scrolls. -
Late-Epoch Converged Ensemble: Weighted ensemble of Epoch 16 (
$w=0.337$ ), Epoch 20 ($w=0.335$ ), and Epoch 18 ($w=0.329$ ) achieving validation$F_{0.5} = 0.7251$ . -
4,800 Stratified 3D Patches: Increased training sample volume with enhanced photometric augmentation (gain
$[0.90, 1.10]$ , bias$[-0.035, 0.035]$ ).
📊 Complete Benchmark Evolution
| Run | Architecture Version | Public Score | Private Score | Threshold | Ink Ratio (Frag b) | Ensemble |
|---|---|---|---|---|---|---|
| v20 Baseline | Standard 3D U-Net | 0.5094 | 0.4367 | 0.550 | - | Overfit baseline |
| v26 | v22.5-SpeedChampion | 0.4643 | 0.4799 | 0.585 | - | Spatial 80/20 CV |
| v27 | v23.0-InfinityChampion | 0.5083 | 0.4864 | 0.580 | ~6.87% | Tversky + 4x TTA |
| v29 | v24.1-Grandmaster | 0.4973 | 0.4787 | 0.505 | - | Depth=20 test |
| v30 | v25.0-RecallMaster | 0.4813 | 0.4797 | 0.655 | - | 75/25 split |
| v31 | v24.0-DiverseEnsemble | 0.4272 | 0.4717 | 0.580 | 9.92% | Early epoch gap bug |
| v32 | v26.0-GrandmasterLateConverge | 0.4745 | 0.4876 | 0.480 (clamped) | 7.05% | Late-epoch filter |
| v33 👑 | v27.0-OmegaAttained | 0.5008 | 0.546201 (RECORD) | 0.620 | 6.93% | Ep16 + Ep20 + Ep18 |
📦 What's Included
ink_detection_kaggle_v27.py— Complete, single-file runnable pipeline for Kaggle GPU environments.ink_detection_kaggle_v26.py— Prior iteration baseline.requirements.txt— Frozen dependency specifications.docs/SUBIT_INK_Academic_Paper_EN.md&docs/SUBIT_INK_Academic_Paper_UA.md— Formal academic paper.
SUBIT-Ink v26.0: Grandmaster-LateConverge
SUBIT-Ink v26.0 — Grandmaster-LateConverge 🚀
Release Tag: v26.0
Target: Vesuvius Challenge — Ink Detection & Topological Signal Recovery
Author: @slavick
Theoretical Basis: SUBIT-∞ v6.13 (§0.3 Principle of Non-collapse & §9 Tree∞ space)
🌟 Highlights & Major Improvements
SUBIT-Ink v26.0 consolidates the architectural and empirical findings across 30+ full Kaggle training iterations on the Vesuvius Challenge dataset (3D X-ray surface CT scans of carbonized Herculaneum papyri).
- Proven High Generalization: Version 27 established an all-time record of 0.5083 Public / 0.4864 Private score on the official competition benchmark, beating the public-to-private collapse of standard binary models.
-
Late-Epoch Converged Ensemble (
epoch >= 16): Prevents under-converged early weights from polluting the ensemble. Only models with stabilized training loss ($\le 0.64$ ) and refined boundary sharpness participate. -
Validation-Weighted Softmax Blending: Checkpoints are blended weighted by their holdout
$F_{0.5}$ validation score, giving optimal influence to peak representations. -
Harmonized 4x TTA Calibration: Both validation holdout threshold search and final test inference run identical 4x Test-Time Augmentation (flips
$H \times V$ ) with 2D Hann window blending, eliminating threshold mismatch. - Strict 80/20 Spatial Split Restored: Train on Frag 1, Frag 2, and the top 80% of Frag 3; holdout on the bottom 20% (1,522 rows), maximizing ink training signal while retaining faithful validation feedback.
-
Recall-Boost Loss Engine: Custom 4-component loss balancing Tversky (
$\alpha=0.4, \beta=0.6$ ), Soft Dice ($w=0.25$ ), Focal loss ($w=0.05, \gamma=2.0$ ), and 3-level Deep Supervision ($w=0.10$ ).
📊 Benchmark Progression
| Release / Kaggle Version | Public Score | Private Score | Threshold | Top Checkpoints | Key Feature |
|---|---|---|---|---|---|
| v20 Baseline | 0.5094 | 0.4367 | 0.550 | Ep12, Ep15 | Severe overfitting (-0.072 drop) |
| v26 (v22.5) | 0.4643 | 0.4799 | 0.585 | Ep16, Ep19, Ep18 | First spatial 80/20 CV split |
| v27 (v23.0) 🏆 | 0.5083 | 0.4864 | 0.580 | Ep18, Ep19, Ep20 | Recall-Boost + 4x TTA Calibration |
| v29 (v24.1) | 0.4973 | 0.4787 | 0.505 | Ep14, Ep18, Ep20 | DEPTH=20 experiment |
| v30 (v25.0) | 0.4813 | 0.4797 | 0.655 | Ep21, Ep14, Ep16 | 75/25 split diagnosis |
| v26.0 (Current) | Target 0.52+ | Target 0.49+ – 0.51+ | [0.48, 0.60] | Ep18, Ep20, Ep21 | Late-Converge + Weighted Ensemble |
🛠️ Architecture Overview
3D Surface Volume (B, 1, 16, 256, 256)
│
├──► Conv3DBlock (1 -> 32) ──► DepthCollapse (Z=16 -> 1) ──► FusionBlock (32 -> 48) ──► Skip 1
├──► Downsample (1, 2, 2)
├──► Conv3DBlock (64 -> 64) ──► DepthCollapse (Z=16 -> 1) ──► FusionBlock (64 -> 80) ──► Skip 2
├──► Downsample (1, 2, 2)
├──► Conv3DBlock (96 -> 96) ──► DepthCollapse (Z=16 -> 1) ──► FusionBlock (96 -> 112) ──► Skip 3
├──► Downsample (1, 2, 2)
└──► Conv3DBlock (128 -> 128)──► DepthCollapse (Z=16 -> 1) ──► FusionBlock (128 -> 144) (Bottleneck)
│
┌────────────────────────────────────────────────────────────────────┘
▼
DecoderBlock 3 (144 + 112 -> 112) ──► Deep Supervision Aux 3 (1x1 Conv)
▼
DecoderBlock 2 (112 + 80 -> 80) ──► Deep Supervision Aux 2 (1x1 Conv)
▼
DecoderBlock 1 (80 + 48 -> 48)
▼
Refinement Head (48 -> 48 -> 32) ──► Deep Supervision Aux 1 (1x1 Conv)
▼
Final Head (32 -> 1) ──► Logits (B, 1, 256, 256)
- Parameters:
3,120,710(compact, high throughput, zero VRAM overflow on 16GB Tesla T4). - Inference Runtime: ~415 minutes for 22 full training epochs + 4x TTA validation + 4x TTA test inference (well below Kaggle's 540-minute timeout).
📦 What's Included in This Release
ink_detection_kaggle_v26.py— Self-contained, single-file runnable Kaggle submission script (v26.0).requirements.txt— Full environment specifications.REPRODUCIBILITY.md— Step-by-step instructions to train and generatesubmission.csv.CHANGELOG.md— Full chronological log of all iterations from v1 to v26.notebooks/— Milestone notebooks including record-holderSUBIT_Ink_v23.0.ipynb(v27, Private 0.4864).surface_detection/— Neural PDE attractor surface segmentation (Dice 0.997).belnap_combiner/— Four-valued Belnap logic evidence combiner.docs/Herculaneum-Subit-Atlas-Real.html— Interactive visual atlas of Herculaneum papyrus segmentation.
🚀 Quick Execution (Kaggle)
- Create a new notebook on Kaggle.
- Attach dataset
vesuvius-challenge-ink-detection. - Enable GPU T4 and Internet Off.
- Paste the entire content of
ink_detection_kaggle_v26.py. - Run the notebook. Output
submission.csvwill be produced upon completion.
SUBIT-Vesuvius v2.0: Attractor Surface Reconstruction
🌋 SUBIT-Vesuvius v2.0: Attractor Surface Reconstruction
This release introduces the practical implementation of the SUBIT-TOPOS theory for solving a real-world computer vision problem: 3D surface segmentation of carbonized Herculaneum papyri (Vesuvius Challenge).
Instead of classical static binary segmentation, this architecture treats truth as a dynamic attractor. A voxel is considered part of the surface if and only if its state remains stable under the system's evolution: P is true ⟺ Fθ(P) ⊆ P.
🚀 Key Architectural Innovations
- CurvatureField (WHERE v2): Replaced abstract spatial quadrants with Hessian matrix eigenvalues (flat/edge/convex/concave) to directly encode the physical geometry of papyrus sheets.
- Scale-Space (WHEN v2): Replaced Z-depth quartiles with multi-scale Gaussian smoothing (σ=1, 2, 4, 8), allowing the model to perceive both micro-structures (fibers/ink) and macro-geometry (scroll spirals).
- LearnedEvolutionFθ: Replaced fixed
avg_pool3Dwith a learned Neural PDE (Anisotropic Diffusion) that smooths features along the surface while preserving the boundaries between collapsed layers. - AttractorDecoder & Ω Classifier: Features pass through 5 iterations of evolution to classify each voxel into a dynamic truth space:
stable,metastable,cyclic, orchaotic.
📊 Results
Achieved a Dice score of 0.997 on real Vesuvius Challenge data in just 3 training epochs, demonstrating rapid convergence and high topological accuracy.
📂 Contents
model.py: The complete SUBIT-TOPOS v2 neural network architecture.dataset.py: Robust 3D data loader usingPILwith safe-cropping and mask binarization.train.py: Training pipeline script.inference.py: Sliding window inference andsubmission.zipgenerator for Kaggle.ARCHITECTURE.md: Detailed documentation of the mathematical foundations and component logic.
For full technical details, please read the ARCHITECTURE.md documentation.