Xue Yuerong
IEEE Trans Neural Netw Learn Syst. 2025 Jul;36(7):13345-13357. doi: 10.1109/TNNLS.2024.3443814.
Both transformer and convolutional neural network (CNN) models require supplementary elements to acquire positional information. To address this issue, we propose a novel orthogonal capsule network (OthogonalCaps) that preserves location information during lightweight feature learning. The proposed network simplifies complex training processes and enables end-to-end training for object detection tasks. Specifically, there is no need to solve the regression problem of positions and the classification problem of objects separately, nor is there a need to encode the positional information as an additional token, as in transformer models. We generate the next capsule layer via orthogonality-based dynamic routing, which reduces the number of parameters and preserves positional information via its voting mechanism. Moreover, we propose Capsule ReLU as an activation function to avoid the problem of gradient vanishing and to facilitate capsule normalization across various scales, thus empowering OrthogonalCaps to better adapt to objects of diverse scales. The orthogonal capsule network (CapsNet) demonstrates an accuracy and run-time performance on a par with those of Faster R-CNN on the VOC dataset. Our network outperforms the baseline approach in detecting small-scale samples. The simulation results suggest that the proposed network surpasses other capsule network models in achieving a favorable balance between parameters and accuracy. Furthermore, an ablation experiment indicates that both Capsule ReLU and orthogonality-based dynamic routing play essential roles in enhancing the classification performance. The training code and pretrained models are available at https://github.com/l1ack/OrthogonalCaps.
变压器模型和卷积神经网络(CNN)模型都需要补充元素来获取位置信息。为了解决这个问题,我们提出了一种新颖的正交胶囊网络(OthogonalCaps),它在轻量级特征学习过程中保留位置信息。所提出的网络简化了复杂的训练过程,并能够对目标检测任务进行端到端训练。具体来说,无需像变压器模型那样分别解决位置的回归问题和对象的分类问题,也无需将位置信息编码为额外的令牌。我们通过基于正交性的动态路由生成下一层胶囊,这减少了参数数量,并通过其投票机制保留了位置信息。此外,我们提出胶囊整流线性单元(Capsule ReLU)作为激活函数,以避免梯度消失问题,并促进跨不同尺度的胶囊归一化,从而使正交胶囊网络能够更好地适应不同尺度的对象。正交胶囊网络(CapsNet)在VOC数据集上的准确率和运行时性能与Faster R-CNN相当。我们的网络在检测小尺度样本方面优于基线方法。仿真结果表明,所提出的网络在参数和准确率之间实现良好平衡方面优于其他胶囊网络模型。此外,消融实验表明,胶囊整流线性单元和基于正交性的动态路由在提高分类性能方面都起着至关重要的作用。训练代码和预训练模型可在https://github.com/l1ack/OrthogonalCaps获取。