Bi-PINN: Encouraging Biological Monotonicity in Multi-Task Tomato Ripeness Classification and Horizon-Based Progression Forecasting
Rashmi R, M. Dakshayini
Key points
From the paper's conclusion- This study presents a dual-head physics-inspired neural network (Bi-PINN) built on a ResNet50 backbone that classifies tomatoes into eight ripeness stages and forecasts four temporal horizons (red, peak ripeness, overripe, and senescence), representing the expected, class-conditioned progression interval for each stage.
Abstract
Tomato ripening is an irreversible, non-linear biological process that is difficult to track. Conventional ripeness classifiers are static and single-observation, failing to capture time-dependent progression and limiting data-driven post-harvest decision-making. This study presents a dual-head physics-inspired neural network (Bi-PINN) built on a ResNet50 backbone that classifies tomatoes into eight ripeness stages and forecasts four temporal horizons (red, peak ripeness, overripe, and senescence), representing the expected, class-conditioned progression interval for each stage. The main novelty of Bi-PINN is the combination, within a single network, of joint stage classification and multi-horizon regression through a shared backbone (multi-task learning), with a monotonicity penalty that keeps the four predicted horizons in biological order. The violations are quantified by a physical violation rate (PVR). Under 5-fold tomato-wise GroupKFold cross-validation, Bi-PINN achieved 71.06 ± 6.29% accuracy, MAE = 0.672 ± 0.197 days, R2 = 0.927 ± 0.038 and PVR = 0.55 ± 0.61%. Its accuracy was statistically indistinguishable from that of the strongest baseline, ResNet18 (71.31 ± 6.67%), and its main advantage was a lower PVR than the baselines (1.76–3.82%). This proof of concept provides the predictive component that a future post-harvest digital twin could build on; broader deployment requires larger, multi-cultivar datasets.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Non-Destructive Classification of Avocado Fruit’s Harvest Maturity from Different Harvest Batches Using Machine Learning by Integrating Lenticel FeaturesAgronomy · 2026
- A hybrid CNN-LSTM model for accurate fruit freshness classification using deep learningDiscover Artificial Intelligence · 2026
- Coupling machine learning with a biophysical model for maturity date prediction of apple fruit across China's apple planting regionsJournal of the Science of Food and Agriculture · 2026
- Deep Learning-Based Multistage Peach Ripeness Detection with Data Leakage Mitigation and Real-World ValidationApplied Sciences · 2026
- B2G-YOLO11-S: An efficient intelligent grading model for strawberry maturity with integrated causal analysisSmart Agricultural Technology · 2025
- Tomato maturity assessment via region-consistency constrained learningScientific Reports · 2026