EdgeCrafter: Compact ViTs for Edge Dense Prediction via Task-Specialized Distillation
Organizations: Intellindust AI Lab
Abstract
Deploying high-performance dense prediction models on resource-constrained edge devices remains challenging due to strict computation and memory budgets. In practice, lightweight systems for object detection, instance segmentation, and pose estimation are still dominated by CNN-based architectures such as YOLO, while compact Vision Transformers (ViTs) often struggle to achieve comparable accuracy-efficiency trade-offs, even with large-scale pretraining. We argue that this gap arises primarily from insufficient task-specific representation learning in small-scale ViTs, rather than from an inherent mismatch between ViTs and edge dense prediction. To address this issue, we introduce EdgeCrafter, a unified compact ViT framework for edge dense prediction centered on ECDet, a detection model built on a distilled compact backbone and an edge-friendly encoder-decoder design. The resulting detection-distilled representation transfers directly to instance segmentation and human pose estimation through lightweight task-specific prediction modules. Without using task annotations beyond COCO, ECDet-S achieves 51.7 box AP with fewer than 10M parameters, while ECInsSeg-X and ECPose-X reach 48.4 mask AP and 74.8 keypoint AP, respectively. As a complementary but more compute-intensive setting, Objects365 detection pretraining consistently improves performance across all scales, with the X variants reaching 59.9 box AP, 49.8 mask AP, and 75.9 keypoint AP. These results show that compact ViTs, when combined with task-specialized distillation and edge-aware design, can be a practical and competitive solution for edge dense prediction. Code is available at: https://intellindust-ai-lab.github.io/projects/EdgeCrafter
Figures & tables
| Teacher Arch. | COCO Pre-training | Distillation Dataset | AP (%) |
| Teacher capacity | |||
| DINOv3-S | ✓ | IN-1K + COCO | 54.0 |
| DINOv3-B | ✓ | IN-1K + COCO | 54.3 |
| DINOv3-L | ✓ | IN-1K + COCO | 52.6 |
| Teacher task adaptation | |||
| DINOv3-B | ✗ | IN-1K + COCO | 53.5 |
| Patch Embedding | Params (M) | FLOPs (G) | Latency (ms) | AP | AP S | AP M | AP L |
| Vanilla | 19.0 | 82.5 | 7.87 | 53.5 | 33.7 | 58.2 | 72.8 |
| ConvStem ( ) | 19.2 | 84.9 | 7.98 | 54.3 | 35.9 | 59.1 | 72.7 |
| ConvStem ( ) | 19.2 | 84.9 | - | 53.0 | 33.7 | 57.9 | 72.5 |
| ConvStem ( ) | 19.2 | 84.9 | - | 53.6 | 33.2 | 58.6 | 72.6 |
| Fusion Method | Fused Layers | Params (M) | FLOPs (G) | Latency (ms) | AP |
| Mean | 19.2 | 84.9 | 7.98 | 54.1 | |
| Mean | 19.2 | 84.9 | 7.98 | 54.3 | |
| Mean | 19.2 | 84.9 | 7.98 | 54.3 | |
| Mean | 19.2 | 84.9 | 8.11 | 54.1 | |
| Concat | 19.5 | 87.0 | 8.05 | 54.2 | |
| STA ( Huang et al., 2025a ) | , , | 19.4 | 86.3 | 8.48 | 54.3 |
| Student | Teacher | AP |
| ECViT-T | – | 46.6 |
| Co-DETR-Swin-S ( ) | 50.4 | |
| DINOv3-S | 50.7 | |
| ECTeacher-S | 51.7 |
| Method | #Epochs | Detection | Distillation | Total GPU Hours |
| \rowfont YOLO26-M | 80 | 24 | – | 24 |
| YOLO11-M | 500 | 133 | – | 133 |
| RT-DETRv4-M | 102 | 190 | – | 190 |
| ECDet-M | 62 | 96 | 34 | 130 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | ECDet-S | ECDet-M | ECDet-L | ECDet-X |
| Optimizer | AdamW | AdamW | AdamW | AdamW |
| Backbone LR | 2.5e-5 | 2.5e-5 | 5e-6 | 2.5e-6 |
| Base LR | 5e-4 | 5e-4 | 5e-4 | 5e-4 |
| LR decay | 0.5 | 0.5 | 0.5 | 0.5 |
| Weight Decay | 1e-4 | 1e-4 | 1.25e-4 | 1.25e-4 |
| Epochs (w/ + w/o Aug.) | 72 + 2 | 60 + 2 | 48 + 2 | 48 + 2 |
| Setting | ECPose-S | ECPose-M | ECPose-L | ECPose-X |
| Optimizer | AdamW | AdamW | AdamW | AdamW |
| Backbone LR | 2.5e-5 | 2.5e-5 | 2.5e-6 | 2.5e-6 |
| Base LR | 5e-4 | 5e-4 | 5e-4 | 5e-4 |
| Weight Decay | 1e-4 | 1e-4 | 1.25e-4 | 1.25e-4 |
| Epochs (w/ + w/o Aug.) | 90 + 2 | 90 + 2 | 72 + 2 | 72 + 2 |
| Prob | 0.5 | 0.5 | 0.5 | 0.5 |
Dense Prediction
Dense prediction maps images or other structured inputs to spatially aligned outputs such as labels, depth, motion, or physical fields.
See all 31 papers