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°.
★☆☆☆☆ 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. Steerable filters are built from…
2. Rotating the input changes a harmonic response's…
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. |e^(−imα)·z| compared with |z|:
2. Harmonics for orders −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 ennso2 = gs.rot2dOnR2(N=-1, maximum_frequency=3) # continuous rotations, harmonics up to order 3inp = 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. escnn's continuous rotation space:
2. Nonlinearities for irreducible features:
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. SO(2)'s irreducible representations are…
2. Equivariant maps connect frequencies that are…
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
T. Cohen and M. Welling (2017). “Steerable CNNs.” ICLR.
D. E. Worrall et al. (2017). “Harmonic networks: deep translation and rotation equivariance.” Proc. CVPR.
M. Weiler and G. Cesa (2019). “General E(2)-equivariant steerable CNNs.” NeurIPS.
A filter whose rotated versions are linear combinations of a fixed basis, such as circular harmonics, so responses transform predictably under any rotation.
Feature change at off-grid angles: steerable (fine sampling) about 10⁻¹⁶, coarse 0.8–2.8%, p4 4.5–8.3%.
Practice
Show:
Level 0
Problem 1Level 0
Year Steerable CNNs appeared at ICLR?
2017.
Problem 2Level 0
Magnitude of 3 − 4i after any rotation phase?
5.
Problem 3Level 0
Harmonics for orders −3..3?
7.
Level 1
Problem 4Level 1
Angular step (degrees) of a 72-sample polar grid?
5.
Problem 5Level 1
Angular step of a 12-sample grid?
30.
Problem 6Level 1
Angular samples needed for image detail up to band 10?
21.
Problem 7Level 1
|e^(−imα)| for any m, α?
1.
Level 2
Problem 8Level 2
p4 feature change at 45° (seed 0)?
0.083.
Problem 9Level 2
Coarse steerable change at 45°?
0.028.
Problem 10Level 2
p4 feature change at 90°?
0.
Problem 11Level 2
p4 feature change at 37°?
0.069.
Problem 12Level 2
Coarse steerable change at 37°?
0.008.
Problem 13Level 2
Number of harmonic orders (0–3) used?
4.
Level 3
Problem 14Level 3
Prove that rotation multiplies an order-m response by e^(−imα).
⟨f ∘ R_α⁻¹, ψ_m⟩ = ∫ f(r, θ − α) R(r) e^(−imθ) r dr dθ (conjugate filter in the inner product). Substituting θ′ = θ − α gives ∫ f(r, θ′) R(r) e^(−im(θ′ + α)) r dr dθ′ = e^(−imα)⟨f, ψ_m⟩. ∎
Problem 15Level 3
Explain why 12 angular samples gave small errors.
The blob image contains angular detail at frequencies above 6, which a 12-sample circle cannot represent: it aliases into the low orders being measured. A rotation by a non-grid angle changes the aliasing pattern, so the measured magnitudes shift slightly (0.8–2.8%). Dense sampling (72) removes the aliasing, restoring exact invariance. ∎
Problem 16Level 3
Compare steerable CNNs with G-CNNs.
G-CNNs apply transformed copies of filters over a discrete group (for example, 4 rotations), with exact equivariance for that group and regular-representation features. Steerable CNNs constrain filters to steerable bases and use features typed by irreducible representations, handling continuous rotations with fewer channels, but needing equivariant nonlinearities and careful sampling. ∎
Problem 17Level 3
Advise on estimating vehicle headings in aerial images.
Use an E(2)-steerable backbone (escnn) with order-1 output features, which rotate with the image: their angle gives the heading, while magnitudes give rotation-invariant detection scores. Train on varied headings, check equivariance numerically at arbitrary angles, and compare heading error against a standard CNN regression baseline. ∎
Level 4
Problem 18Level 4
p4 feature change at 37° with seed 2?
0.1015.
Problem 19Level 4
Coarse steerable change at 13° (seed 0)?
0.024.
Problem 20Level 4
Angular samples on the fine grid?
72.
Coding practice
🐍 Code 1 (Level 0): phase shift
e^(−imα).
🐍 Code 2 (Level 0): angular samples
2·max(order, band) + 1.
🐍 Code 3 (Level 0): p4 invariance
Multiples of 90°.
🐍 Code 4 (Level 0): harmonic count
2M + 1.
🐍 Code 5 (Level 0): grid step
360/nt.
Topic test
A timed test drawn at random from this topic's question bank. Each attempt gets new questions. For a longer test across the whole chapter, see the chapter test, or mix topics in the question bag.
Steerable CNNs: topic test
10 questions, drawn at random from a bank of 21. Every attempt is different.
⏱ Time limit: 15 minutes. The test submits itself when time runs out.
Levels covered: 0, 1, 2, 3, 4. No hints or solutions until you submit.