Abstract
Deploying high-performance segmentation models in mobile and other resource-constrained environments is challenging due to their substantial computational and memory requirements. Large foundation models such as the Segment Anything Model (SAM) achieve strong generalization but are impractical for on-device use, with 632M parameters and high inference latency. We present DLA-HybridNet, a compact (∼ 8M parameters) segmentation architecture inspired by Deep Layer Aggregation and trained via a novel Hybrid Aggregation Distillation (HAD) framework. HAD selectively transfers structural, contextual, and attention-based knowledge from a large teacher while filtering redundant signals, enabling accurate predictions with minimal compute. The encoder performs recursive deep feature fusion with cross-stage knowledge transfer, while the decoder employs feature-selective upsampling and recurrent mask refinement for precise boundary reconstruction. On multiple benchmark datasets, our approach achieves a 98% reduction in model size and 5 × faster inference (38 ms vs. 200 ms) with accuracy competitive to the teacher and superior to existing lightweight models. While demonstrated on medical imagery, the framework is domain-agnostic and applicable to tasks such as agricultural mapping, satellite imagery, and industrial inspection, supporting privacy-preserving, edge-deployable, and federated learning pipelines.