[Paper Review] Capsule Networks Need an Improved Routing Algorithm
This paper identifies that existing capsule network routing algorithms fail to achieve their intended purpose, instead over-polarizing link strengths to extreme values (near 0 or 1) when iterated repeatedly. The authors empirically demonstrate that these algorithms often underperform simple uniform or random baselines and conclude that a fundamentally improved routing algorithm is needed to enable capsule networks to learn meaningful part-whole relationships with proper uncertainty modeling.
In capsule networks, the routing algorithm connects capsules in consecutive layers, enabling the upper-level capsules to learn higher-level concepts by combining the concepts of the lower-level capsules. Capsule networks are known to have a few advantages over conventional neural networks, including robustness to 3D viewpoint changes and generalization capability. However, some studies have reported negative experimental results. Nevertheless, the reason for this phenomenon has not been analyzed yet. We empirically analyzed the effect of five different routing algorithms. The experimental results show that the routing algorithms do not behave as expected and often produce results that are worse than simple baseline algorithms that assign the connection strengths uniformly or randomly. We also show that, in most cases, the routing algorithms do not change the classification result but polarize the link strengths, and the polarization can be extreme when they continue to repeat without stopping. In order to realize the true potential of the capsule network, it is essential to develop an improved routing algorithm.
Motivation & Objective
- To investigate why capsule networks with advanced routing algorithms often underperform in practice despite theoretical advantages.
- To analyze the actual behavior of five prominent routing algorithms during training iterations.
- To identify the root cause of performance degradation in routing algorithms, particularly link strength polarization.
- To demonstrate that current routing methods fail to maintain uncertainty and instead drive connections toward extreme values.
- To argue that a new routing algorithm with convergence guarantees and uncertainty awareness is essential for realizing capsule networks' full potential.
Proposed method
- The authors implemented and evaluated five routing algorithms: CapsNet (Sabour et al., 2017), EMCaps (Hinton et al., 2018), OptimCaps (Wang and Liu, 2018), GroupCaps (Lenssen et al., 2018), and AttnCaps (Zhou et al., 2019).
- They conducted experiments with varying numbers of routing iterations (up to 10) to observe the evolution of link strengths (c_ij) across iterations.
- The study analyzed the feedback mechanism in routing algorithms, particularly how the agreement score (b_ij) accumulates and drives c_ij toward 1 or 0.
- They derived and analyzed the mathematical conditions under which routing converges to a singular solution (one dominant c_ij = 1, others = 0).
- The authors used histogram analysis of c_ij values across iterations to visualize polarization trends.
- They examined the impact of initial link strength assignment and the role of agreement measures (inner product, Gaussian, distance) in driving convergence to extreme states.
Experimental results
Research questions
- RQ1Why do routing algorithms in capsule networks often fail to improve performance compared to simple baselines?
- RQ2What causes the observed polarization of link strengths in routing algorithms during repeated iterations?
- RQ3Under what mathematical conditions do routing algorithms converge to a singular solution with only one active connection per capsule?
- RQ4Why is the current routing mechanism incompatible with maintaining uncertainty in part-whole relationships?
- RQ5What are the implications of feedback loop instability in routing algorithms for capsule network training and generalization?
Key findings
- The routing algorithms consistently polarize link strengths, driving most c_ij values to 0 and a single c_ij to 1 as the number of iterations increases.
- When repeated beyond 3 iterations, the routing algorithms produce extreme polarization, with over 90% of links collapsing to 0 or 1, especially in CapsNet and EMCaps.
- The polarization is driven by the feedback loop in the routing algorithm, where agreement scores (b_ij) accumulate and cause exponential growth in c_ij for the most agreeing capsule pair.
- The mathematical analysis shows that the only stable steady state of the routing algorithm is a singular solution with one dominant connection, which is undesirable for learning part-whole hierarchies.
- Despite theoretical design goals, the routing algorithms often fail to improve classification performance and can even underperform simple uniform or random baseline connection strategies.
- The problem is exacerbated in algorithms like OptimCaps and AttnCaps, which use similar update rules to CapsNet and EMCaps, leading to the same singular convergence behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.