NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PicoSAM3: Real-Time In-Sensor Region-of-Interest Segmentation

Pietro Bonazzi, Nicola Farronato, Stefan Zihlmann, Haotong Qin, Michele MagnoarXiv 2026

TL;DR

PicoSAM3 is an ultra-lightweight (1.37M parameter) vision model designed to bring promptable, real-time region-of-interest (ROI) segmentation directly onto edge hardware like the Sony IMX500 vision sensor. By ditching heavy transformer layers for a hardware-aware, fully convolutional architecture and leveraging knowledge distillation from SAM3, it achieves an impressive 11.82 ms inference latency with a tiny 1.31 MB INT8 memory footprint, outperforming much larger models.

What Problem Does This Paper Address?

Large foundation models like Meta’s Segment Anything Model (SAM) have revolutionized visual understanding by allowing users to segment objects using simple prompts (like clicks or bounding boxes). However, these models rely heavily on Vision Transformers (ViTs), which are notoriously resource-hungry.

For extreme edge applications—such as battery-operated smart glasses or smart IoT sensors—processing data in the cloud introduces latency and privacy concerns. Shifting this computation directly into the sensor itself (in-sensor computing) is the ideal solution. However, specialized hardware like the Sony IMX500 vision sensor operates under brutal constraints: less than 8 MB of on-chip SRAM and a strict hardware operator set that completely lacks integer support for standard transformer operations like Softmax, LayerNorm, or GELU. This paper introduces PicoSAM3 to bridge the massive gap between heavy foundation models and the strict realities of in-sensor hardware.

Methods

To survive the tight constraints of in-sensor deployment, the authors re-engineered the segmentation pipeline from scratch:

  • Fully Convolutional Architecture: PicoSAM3 replaces all transformer blocks with a dense, U-Net-style CNN architecture featuring depthwise separable convolutions. This guarantees 100% compatibility with the sensor's hardware operator set and ensures compact, Gaussian-like activation distributions that are highly friendly to quantization.
  • Implicit Prompt Encoding (ROI-as-Crop): Instead of feeding explicit point coordinates or box tensors into the network (which the sensor cannot accept as extra inputs), PicoSAM3 uses a centered cropping strategy. Bounding box prompts are translated into a square crop centered on the object, which is then resized to a fixed $96 \times 96$ resolution. This implicitly teaches the network to segment the dominant object at the center, seamlessly leveraging the sensor's native hardware ROI API.
  • Architectural Enhancements: The core CNN is augmented with a dilated depthwise convolution bottleneck to expand the receptive field without downsampling, an Efficient Channel Attention (ECA) block for adaptive feature recalibration, and a dedicated refinement head to sharpen object boundaries.
  • SAM3 Knowledge Distillation: A two-stage offline distillation pipeline transfers "dark knowledge" from a massive 1.2 GB SAM3 teacher model to the tiny 5.26 MB student. The loss function adaptively balances teacher guidance and ground-truth masks based on the teacher's confidence score.
  • INT8 Quantization: The model is quantized to 8-bit integers using Sony’s Model Compression Toolkit (MCT), shrinking the model size by 4$\times$ down to 1.31 MB.
PicoSAM3 Inference and Distillation Pipeline

Datasets

The model was trained and evaluated using standard, highly competitive computer vision benchmarks:

  • COCO (Common Objects in Context): Used for both training (one epoch) and evaluation.
  • LVIS (Large Vocabulary Instance Segmentation): Used strictly for zero-shot evaluation to test the model's generalization capabilities on a wider variety of object categories.

Key Insights and Ideas

  • CNNs are Optimal for Extreme Edge Quantization: While transformers dominate high-resolution tasks, their activation outliers make uniform quantization difficult without complex suppression algorithms. A purely convolutional design keeps feature distributions compact, allowing for near-lossless uniform INT8 quantization.
  • Hardware-Software Co-design Wins: By mapping the concept of a "bounding box prompt" directly to a hardware-level "ROI crop," the authors eliminated the computational overhead of inference-time prompt processing.
  • Distillation Bridges the Architecture Gap: A tiny CNN can mimic the zero-shot capabilities of a massive transformer if trained via a robust distillation pipeline. Distillation from SAM3 yielded up to a +14.5% mIoU improvement over standard supervised training.

Key Results

PicoSAM3 sets a new state-of-the-art for ultra-low-power edge segmentation:

  • Accuracy: On COCO and LVIS, PicoSAM3 achieved 65.45% and 64.01% mIoU, respectively. This actually surpasses the heavyweight SAM-H baseline at a $96 \times 96$ resolution, as large foundation models suffer from high-resolution bias and degrade severely when downscaled.
  • Hardware Performance: When deployed on the Sony IMX500 AI camera, the INT8 quantized version (Q-PicoSAM3) achieved an end-to-end inference latency of just 11.82 ms (approx. 84 FPS).
  • Efficiency: The entire compute footprint requires only 345M MACs, translating to an estimated power consumption of just 11.75 mW—two to three orders of magnitude lower than a standard GPU.
Fig. 1: Hardware setup: PicoSAM3 runs directly in the Sony IMX500 camera, the ARM Cortex A76 is only used to deploy the model.
Fig. 3: Qualitative comparison of each model’s mask inference.

Limitations and Future Work

Despite its strong performance, the authors note four primary failure modes inherent to the low-resolution ($96 \times 96$) input regime:

  1. Transparent/Textureless Objects: Difficulty distinguishing objects like glass or water when foreground and background textures match.
  2. Severe Occlusions: Mask estimation degrades significantly if less than 30% of the object is visible in the crop.
  3. Sub-resolution Small Objects: Objects smaller than $10 \times 10$ pixels tend to cause the model to over-segment the entire crop area.
  4. Amorphous Objects: Lack of clear boundaries in objects like clouds, smoke, or liquid pours results in diffuse, unreliable masks.

Future work will likely target these edge cases, potentially exploring multi-scale inputs or temporal consistency for video tracking within the same strict hardware budgets.

Summary updated

BibTeX
@misc{bonazzi2026picosam,
  author = {Pietro Bonazzi and Nicola Farronato and Stefan Zihlmann and Haotong Qin and Michele Magno},
  title = {{PicoSAM3: Real-Time In-Sensor Region-of-Interest Segmentation}},
  year = {2026},
  eprint = {2603.11917},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.11917},
}
Figure