On-Device Unsupervised Image Segmentation

Along with the breakthrough of convolutional neural networks, learning-based segmentation has emerged in many research works. Most of them are based on supervised learning, requiring plenty of annotated data; however, to support segmentation, a label for each pixel is required, which is obviously expensive. As a result, the issue of lacking annotated segmentation data commonly exists. Continuous learning is a promising way to deal with this issue; however, it still has high demands on human labor for annotation. What's more, privacy is highly required in segmentation data for real-world applications, which further calls for on-device learning. In this paper, we aim to resolve the above issue in an alternative way: Instead of supervised segmentation, we propose to develop efficient unsupervised segmentation that can be executed on edge devices. Based on our observation that segmentation can obtain high performance when pixels are mapped to a high-dimension space, we for the first time bring brain-inspired hyperdimensional computing (HDC) to the segmentation task. We build the HDC-based unsupervised segmentation framework, namely"SegHDC". In SegHDC, we devise a novel encoding approach that follows the Manhattan distance. A clustering algorithm is further developed on top of the encoded high-dimension vectors to obtain segmentation results. Experimental results show SegHDC can significantly surpass neural network-based unsupervised segmentation. On a standard segmentation dataset, DSB2018, SegHDC can achieve a 28.0% improvement in Intersection over Union (IoU) score; meanwhile, it achieves over 300x speedup on Raspberry PI. What's more, for a larger size image in the BBBC005 dataset, the existing approach cannot be accommodated to Raspberry PI due to out of memory; on the other hand, SegHDC can obtain segmentation results within 3 minutes while achieving a 0.9587 IoU score.

[1]  Lei Yang,et al.  Toward Fair and Efficient Hyperdimensional Computing , 2023, Asia and South Pacific Design Automation Conference.

[2]  M. Imani,et al.  ScaleHD: Robust Brain-Inspired Hyperdimensional Computing via Adapative Scaling , 2022, 2022 IEEE/ACM International Conference On Computer Aided Design (ICCAD).

[3]  O. Khan,et al.  On the Design of Quantum Graph Convolutional Neural Network in the NISQ-Era and Beyond , 2022, 2022 IEEE 40th International Conference on Computer Design (ICCD).

[4]  Xunzhao Yin,et al.  Improving Fault Tolerance for Reliable DNN Using Boundary-Aware Activation , 2022, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[5]  Jinyu Zhan,et al.  Accelerating Queries of Big Data Systems by Storage-Side CPU-FPGA Co-Design , 2022, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[6]  Chuang Gan,et al.  On-Device Training Under 256KB Memory , 2022, NeurIPS.

[7]  Xunzhao Yin,et al.  Energy-Efficient Brain-Inspired Hyperdimensional Computing Using Voltage Scaling , 2022, Design, Automation and Test in Europe.

[8]  Yiyu Shi,et al.  The larger the fairer?: small neural networks can achieve fairness for edge devices , 2022, DAC.

[9]  M. Paige,et al.  Automated Architecture Search for Brain-inspired Hyperdimensional Computing , 2022, ArXiv.

[10]  H. Awano,et al.  DistriHD: A Memory Efficient Distributed Binary Hyperdimensional Computing Architecture for Image Classification , 2022, 2022 27th Asia and South Pacific Design Automation Conference (ASP-DAC).

[11]  Antonio J. Plaza,et al.  Image Segmentation Using Deep Learning: A Survey , 2020, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[12]  Yiyu Shi,et al.  Federated Contrastive Learning for Volumetric Medical Image Segmentation , 2022, MICCAI.

[13]  Songhua Xu,et al.  Shadow Detection via Predicting the Confidence Maps of Shadow Detection Methods , 2021, ACM Multimedia.

[14]  Abbas Rahimi,et al.  Assessing Robustness of Hyperdimensional Computing Against Errors in Associative Memory : (Invited Paper) , 2021, 2021 IEEE 32nd International Conference on Application-specific Systems, Architectures and Processors (ASAP).

[15]  Peter Wonka,et al.  Labels4Free: Unsupervised Segmentation using StyleGAN , 2021, 2021 IEEE/CVF International Conference on Computer Vision (ICCV).

[16]  Jingren Zhou,et al.  Octo: INT8 Training with Loss-aware Compensation and Backward Quantization for Tiny On-device Learning , 2021, USENIX Annual Technical Conference.

[17]  Wonjik Kim,et al.  Unsupervised Learning of Image Segmentation Based on Differentiable Feature Clustering , 2020, IEEE Transactions on Image Processing.

[18]  Jingtong Hu,et al.  Standing on the Shoulders of Giants: Hardware and Neural Architecture Co-Search With Hot Start , 2020, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[19]  Hao Chen,et al.  A Multi-Organ Nucleus Segmentation Challenge , 2020, IEEE Transactions on Medical Imaging.

[20]  K. Parhi,et al.  Classification Using Hyperdimensional Computing: A Review , 2020, IEEE Circuits and Systems Magazine.

[21]  Meng Li,et al.  Co-Exploration of Neural Architectures and Heterogeneous ASIC Accelerator Designs Targeting Multiple Tasks , 2020, 2020 57th ACM/IEEE Design Automation Conference (DAC).

[22]  Jingtong Hu,et al.  Co-Exploring Neural Architecture and Network-on-Chip Design for Real-Time Artificial Intelligence , 2020, 2020 25th Asia and South Pacific Design Automation Conference (ASP-DAC).

[23]  Yiyu Shi,et al.  Hardware/Software Co-Exploration of Neural Architectures , 2019, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[24]  Mohak Shah,et al.  On-Device Machine Learning: An Algorithms and Learning Theory Perspective , 2019, ArXiv.

[25]  Hirohisa Oda,et al.  Unsupervised Segmentation of Micro-CT Images of Lung Cancer Specimen Using Deep Generative Models , 2019, MICCAI.

[26]  Yiyu Shi,et al.  Achieving Super-Linear Speedup across Multi-FPGA for Real-Time DNN Inference , 2019, ACM Trans. Embed. Comput. Syst..

[27]  Lei Yang,et al.  Accuracy vs. Efficiency: Achieving Both through FPGA-Implementation Aware Neural Architecture Search , 2019, 2019 56th ACM/IEEE Design Automation Conference (DAC).

[28]  Li Fei-Fei,et al.  Auto-DeepLab: Hierarchical Neural Architecture Search for Semantic Image Segmentation , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[29]  Lin Li,et al.  Energy-aware page replacement and consistency guarantee for hybrid NVM-DRAM memory systems , 2018, J. Syst. Archit..

[30]  Brian Kulis,et al.  W-Net: A Deep Model for Fully Unsupervised Image Segmentation , 2017, ArXiv.

[31]  Roberto Cipolla,et al.  SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[32]  Seyed-Ahmad Ahmadi,et al.  V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation , 2016, 2016 Fourth International Conference on 3D Vision (3DV).

[33]  M. Emre Celebi,et al.  Unsupervised Learning Algorithms , 2016 .

[34]  Thomas Brox,et al.  U-Net: Convolutional Networks for Biomedical Image Segmentation , 2015, MICCAI.

[35]  Seunghoon Hong,et al.  Learning Deconvolution Network for Semantic Segmentation , 2015, 2015 IEEE International Conference on Computer Vision (ICCV).

[36]  Trevor Darrell,et al.  Fully Convolutional Networks for Semantic Segmentation , 2017, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[37]  Anne E Carpenter,et al.  Annotated high-throughput microscopy image sets for validation , 2012, Nature Methods.

[38]  Hui Xiong,et al.  Manhattan Distance , 2008, Encyclopedia of GIS.