paper-with-me

홈 › Papers

Shifting Capsule Networks from the Cloud to the Deep Edge

2021-10-06 · Miguel Costa, Diogo Costa, Tiago Gomes, Sandro Pinto

Capsule networks (CapsNets) are an emerging trend in image processing. In contrast to a convolutional neural network, CapsNets are not vulnerable to object deformation, as the relative spatial information of the objects is preserved across the network. However, their complexity is mainly related to the capsule structure and the dynamic routing mechanism, which makes it almost unreasonable to deploy a CapsNet, in its original form, in a resource-constrained device powered by a small microcontroller (MCU). In an era where intelligence is rapidly shifting from the cloud to the edge, this high complexity imposes serious challenges to the adoption of CapsNets at the very edge. To tackle this issue, we present an API for the execution of quantized CapsNets in Arm Cortex-M and RISC-V MCUs. Our software kernels extend the Arm CMSIS-NN and RISC-V PULP-NN to support capsule operations with 8-bit integers as operands. Along with it, we propose a framework to perform post-training quantization of a CapsNet. Results show a reduction in memory footprint of almost 75%, with accuracy loss ranging from 0.07% to 0.18%. In terms of throughput, our Arm Cortex-M API enables the execution of primary capsule and capsule layers with medium-sized kernels in just 119.94 and 90.60 milliseconds (ms), respectively (STM32H755ZIT6U, Cortex-M7 @ 480 MHz). For the GAP-8 SoC (RISC-V RV32IMCXpulp @ 170 MHz), the latency drops to 7.02 and 38.03 ms, respectively.

📄 PDF Abstract BibTeX arXiv:2110.02911

Code (1)

https://gitlab.com/esrgv3/q7-capsnets 공식 구현 tf

Tasks

Quantization

Similar Papers 제목 키워드 기반

PointCaps: Raw Point Cloud Processing using Capsule Networks with Euclidean Distance Routing

2021-12-21 · Dishanika Denipitiyage, Vinoj Jayasundara, Ranga Rodrigo, Chamira U. S. Edussooriya

Raw point cloud processing using capsule networks is widely adopted in classification, reconstruction, and segmentation due to its ability to preserve spatial agreement of the input data. However, most of the existing ca…

Segmentation

Knowledge Capsules: Structured Nonparametric Memory Units for LLMs

2026-04-22 · Bin Ju, Shenfeng Weng, Danying Zhou, Rongkai Xu 외 arxiv

Large language models (LLMs) encode knowledge in parametric weights, making it costly to update or extend without retraining. Retrieval-augmented generation (RAG) mitigates this limitation by appending retrieved text to …

Quaternion Equivariant Capsule Networks for 3D Point Clouds

2019-12-27 · ECCV 2020 8 · Yongheng Zhao, Tolga Birdal, Jan Eric Lenssen, Emanuele Menegatti 외

We present a 3D capsule module for processing point clouds that is equivariant to 3D rotations and translations, as well as invariant to permutations of the input points. The operator receives a sparse set of local refer…

Pose Estimation

Point2SpatialCapsule: Aggregating Features and Spatial Relationships of Local Regions on Point Clouds using Spatial-aware Capsules

2019-08-29 · Xin Wen, Zhizhong Han, Xinhai Liu, Yu-Shen Liu

Learning discriminative shape representation directly on point clouds is still challenging in 3D shape analysis and understanding. Recent studies usually involve three steps: first splitting a point cloud into some local…

Canonical Capsules: Self-Supervised Capsules in Canonical Pose

2020-12-08 · NeurIPS 2021 12 · Weiwei Sun, Andrea Tagliasacchi, Boyang Deng, Sara Sabour 외

We propose a self-supervised capsule architecture for 3D point clouds. We compute capsule decompositions of objects through permutation-equivariant attention, and self-supervise the process by training with pairs of rand…

3D Point Cloud ReconstructionGeneral ClassificationObjectPoint cloud reconstruction