Foundations to Frontier
Tests
E. Deep Learning › E18 Geometric and Equivariant Networks

Steerable CNNs

Group CNNs on pixel grids handle rotations by 90° naturally, but not arbitrary angles. Steerable CNNs (Cohen and Welling, 2017; Harmonic Networks, Worrall and colleagues, 2017; general E(2)-steerable CNNs, Weiler and Cesa, 2019) build filters from circular harmonics, R(r)e^(imθ). Rotating the input by any angle α only multiplies an order-m response by the phase e^(−imα), so the response magnitude, or features combined according to the rotation group's representation theory, are invariant or equivariant to continuous rotations. This page covers steerable filters, circular harmonics, phases and feature types, and sampling. In the exercises you show that rotations only change the phase of a harmonic response. You then measure feature changes under rotations of 13°, 37°, 45° and 90°. Harmonic features on a fine polar grid changed by about 10⁻¹⁶. With 12 angular samples they changed by 0.8–2.8%, while p4 group features changed by 4.5–8.3%, being exact only at 90°.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Filters that turn smoothly

A group CNN on a pixel grid can rotate its filters by 90° easily, but 37° does not fit the grid. Steerable CNNs use filters made of circular waves (circular harmonics) around their centre. Turning the image then only shifts the timing (phase) of each filter’s response; its strength stays the same. Measuring strength therefore gives features that ignore rotation by any angle, not just quarter turns. The demo shows quarter-turn invariance; steerable filters extend it to every angle.

Geometric deep learning lab
Standard filter's best response: 2.0 (changes with rotation). Max over the filter's 4 rotations: 5.0 (the same for every rotation). That is rotation invariance by construction.
Why engineers care

Aerial vehicles, satellites and microscopes see objects at every angle. Continuous rotation equivariance gives consistent detections and orientation estimates without huge augmented datasets.

📝 Quick check (Level 0)
0/3 answered
  1. 1. Steerable filters are built from…
  2. 2. Rotating the input changes a harmonic response's…
  3. 3. Steerable CNNs handle rotations by…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • Circular harmonic filter of order m: ψ_m(r, θ) = R(r)e^(imθ).
    • For m = 2, R(r) = r, at r = 1, θ = π/4, the value is e^(iπ/2) = i.
  • Response under rotation by α: ⟨f ∘ R_α⁻¹, ψ_m⟩ = e^(−imα)⟨f, ψ_m⟩. The magnitude is unchanged (|3 − 4i| = 5 at any α), and order 0 is fully invariant.
  • Feature types: an order-m feature behaves like a vector rotating m times as fast as the image. Equivariant networks combine features by these rotation orders (tensor-product rules) and apply nonlinearities only to invariant quantities such as magnitudes, or gate by them.
  • Sampling: on a pixel grid, rotations are only approximate. Avoiding aliasing needs angular sampling above twice the highest angular frequency present: 2·max(m, image band) + 1 samples (21 for detail up to band 10).
  • Orders −M..M: 2M + 1 harmonics (7 for M = 3).
📝 Quick check (Level 1)
0/3 answered
  1. 1. |e^(−imα)·z| compared with |z|:
  2. 2. Harmonics for orders −3..3:
  3. 3. Order-0 responses under rotation:

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Steerable CNNs in code

Exercise 1.

  • A circular harmonic took the expected value.
  • Rotating changed the response’s phase but kept its magnitude at 5.

Practice.

  • Use escnn: define gspaces.rot2dOnR2(N=-1) (continuous SO(2)) or N = 8 or 16, choose field types (irreducible or regular representations), and use R2Conv with built-in steerable bases.
  • Prefer norm or gated nonlinearities for irreducible features, or regular representations with pointwise ReLU for discrete groups.
  • Check equivariance numerically on rotated inputs. Grid discretisation means small errors at non-grid angles are expected.
import escnn.gspaces as gs, escnn.nn as enn
so2 = gs.rot2dOnR2(N=-1, maximum_frequency=3)            # continuous rotations, harmonics up to order 3
inp = enn.FieldType(so2, [so2.trivial_repr])
feat = enn.FieldType(so2, 8 * [so2.irrep(1)] + 8 * [so2.trivial_repr])
net = enn.SequentialModule(enn.R2Conv(inp, feat, 7), enn.NormNonLinearity(feat))
🐍 Exercise 1: circular harmonics
Implement a circular-harmonic filter, the phase shift of a response under rotation, and its magnitude.
📝 Quick check (Level 2)
0/3 answered
  1. 1. escnn's continuous rotation space:
  2. 2. Nonlinearities for irreducible features:
  3. 3. Small errors at non-grid angles come from…

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Representation theory.

  • Under rotations, functions on the plane decompose into circular harmonics: the irreducible representations of SO(2) are e^(imα).
  • A linear map is rotation-equivariant exactly when it maps each frequency m to features of compatible frequency. Steerable filter bases are precisely the filters satisfying this constraint (Weiler and Cesa, 2019).

Invariance from magnitudes. Since an order-m response transforms by a unit phase, its magnitude is invariant. Combining responses of different orders with matching phases (for example z₁z₂z₃* with m₁ + m₂ = m₃) builds richer invariants, the basis of bispectrum-style features.

Discretisation. On pixels, a rotation by a non-grid angle requires interpolation, so equivariance is approximate. It is near-exact if filters and signals are smooth (band-limited) and the angular sampling is dense enough; aliasing appears otherwise.

📝 Quick check (Level 3)
0/3 answered
  1. 1. SO(2)'s irreducible representations are…
  2. 2. Equivariant maps connect frequencies that are…
  3. 3. Equivariance on pixels is…

Level 4: Expert

★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.

How invariant are steerable features to arbitrary rotations?

History.

  • T. Cohen and M. Welling, “Steerable CNNs” (ICLR 2017).
  • D. Worrall, S. Garbin, D. Turmukhambetov and G. Brostow, “Harmonic networks: deep translation and rotation equivariance” (CVPR 2017).
  • M. Weiler and G. Cesa, “General E(2)-equivariant steerable CNNs” (NeurIPS 2019).

Exercise 2.

  • Image: a continuous test image (Gaussian blobs), rotated exactly by 13°, 37°, 45° and 90°.
  • Features:
    • magnitudes of circular-harmonic responses (orders 0–3) on a polar grid with 72 or 12 angular samples;
    • p4 group features (8 random 3 × 3 filters in 4 rotations, max-pooled) on a 9 × 9 pixel grid.
  • Measurement: the relative change of each feature vector.
rotation steerable, 72 samples steerable, 12 samples p4 group features
13° 1.6 × 10⁻¹⁶ 0.024 0.045
37° 1.3 × 10⁻¹⁶ 0.008 0.069
45° 1.3 × 10⁻¹⁶ 0.028 0.083
90° 1.2 × 10⁻¹⁶ 0.000 0.000
  • Harmonic magnitudes are invariant to any rotation: with fine angular sampling, they are unchanged to machine precision at every angle.
  • p4 is invariant only to quarter turns: exact at 90°, but changing by 4.5–8.3% at other angles.
  • Sampling still matters: with only 12 angular samples, image detail aliases and invariance becomes approximate (up to 2.8%), though still better than p4 at off-grid angles. Seeds 1 and 2 gave the same ordering (12 samples 1.9–2.8% against p4 4.1–10%).
🐍 Exercise 2 (research): how invariant are steerable features to arbitrary rotations?
Compare circular-harmonic features (fine and coarse angular sampling) with p4 group features under rotations by arbitrary angles.

Steerable CNNs in AI, robotics and aerospace

  • Aerial detection: vehicles and aircraft at arbitrary headings, with orientation read from equivariant features.
  • Robotics: grasp detection and pose estimation where orientation is the output, not a nuisance.
  • Design lesson: match the symmetry group to the data’s continuous symmetries, and remember that sampling limits how exact equivariance can be.

References

  1. T. Cohen and M. Welling (2017). “Steerable CNNs.” ICLR.
  2. D. E. Worrall et al. (2017). “Harmonic networks: deep translation and rotation equivariance.” Proc. CVPR.
  3. M. Weiler and G. Cesa (2019). “General E(2)-equivariant steerable CNNs.” NeurIPS.