Conceptio › Archive › arXiv CS
arXiv CS open access

Graded convolutional networks: scale invariance without the scale and robustness to unknown blur

Tanush Shaska · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
deep-learningmachine-learningneural-networks
The Gaussian jet of an image is a graded vector space: a dilation by $λ$ multiplies derivatives of order $k$ by $λ^{-k}$. Local graded convolutions are exactly homogeneous differential operators, and a local feature is dilation-invariant if and only if it factors through the scale-normalized jet or,
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

GRADED CONVOLUTIONAL NETWORKS: SCALE INVARIANCE WITHOUT THE SCALE AND ROBUSTNESS TO UNKNOWN BLUR

arXiv:2611.09878v1 [cs.CV] 6 Nov 2026

T. SHASKA

Abstract. The Gaussian jet of an image is a graded vector space: a dilation by λ multiplies derivatives of order k by λ−k . Local graded convolutions are exactly homogeneous differential operators, and a local feature is dilation-invariant if and only if it factors through the scale-normalized jet or, without the scale, through the retraction onto the weighted sphere of the grading. Under unknown Gaussian blur the retraction changes only by a change of scale, whereas the scale-normalized jet acquires a grading factor that no radial normalization removes. At the zero jet the retraction separates image families that radial normalizations and continuous classifiers cannot. Networks built on the retraction are universal for invariant features. On MNIST such a network keeps 88.4% accuracy under a two-pixel blur, against 66.2% for the same network on scale-normalized derivatives; in Lindeberg’s Gaussian derivative network the retraction raises accuracy at that blur from 91.5% to 95.1%.

1. Introduction 2

Let I be an image on R and L(x; s) = (gs ∗ I)(x) its Gaussian scale space. The derivatives of order k of L at (x; s) are the coefficients of a binary form fk of degree k, and the jet f = (f1 , . . . , fN ) lies LN in the graded vector space V + = k=1 Symk (R2 )∗ . A magnification of the image by λ > 0 carries the jet at (x; s) to the jet λ−1 ⋆ f at (λx; λ2 s), where µ ⋆ f = (µk fk )k is the grading action of the multiplicative group [1–3]. Every network that reads an image through its Gaussian jets carries this action, from the Gaussian derivative networks of Lindeberg [9, 10, 24, 25] to the networks on harmonic coordinates [26, 27]. We determine the local features that are invariant under it, and what such features give a classifier. Two maps organize the answer. The scale-normalized jet ν(f, s) = s1/2 ⋆ f uses the smoothing scale; it is the γ-normalization of [11] with γ = 1. The graded retraction πq (f ) =



fk N , ρq (f )k k=1

ρq (f ) =

N X

∥fk ∥2/k

1/2

,

k=1

maps V + ∖ 0 onto the weighted sphere Sq = {ρq = 1} along the orbits of the grading action and does not use the scale. Theorem A. A continuous linear operator between graded fields on R2 that commutes with translations and dilations and does not enlarge supports is a homogeneous differential operator with constant coefficients whose order is the shift of grade. In particular the N -jet is the universal local graded convolution of order at most N . Theorem B. Let λ > 0 act on pairs (f, s) of a jet and a scale by λ · (f, s) = (λ−1 ⋆ f, λ2 s). A map Φ(f, s) is invariant if and only if it factors through ν, and a map Ψ(f ) that does not depend on s is invariant if and only if it factors through πq . For weights θ other than the derivative orders Date: November 9, 2026. 2020 Mathematics Subject Classification. Primary 68T07, 13A50; Secondary 68U10, 14L24, 15A72, 46F10. Key words and phrases. graded vector spaces, scale space, scale invariance, Gaussian blur, invariant theory, equivariant neural networks. 1

2

T. SHASKA

q = (1, . . . , N ) the normalization (sθk /2 fk )k is not invariant, and the retraction onto the weighted sphere of θ is invariant if and only if θ is proportional to q. ′

Theorem C. Let b > 0 and I ′ = gb ∗ I. Then f I (x; s) = f I (x; s + b), so that  s 1/2 , s+b and the radial projection of µ ⋆ u differs from that of u unless all nonzero blocks of u have the same order.   ′ πq f I (x; s) = πq f I (x; s + b) ,

  ′ ν f I (x; s), s = µ ⋆ ν f I (x; s + b), s + b ,

µ=

An unknown blur thus acts on the retraction by a change of scale alone, which a network evaluated on a ladder of scales encounters in training, and on the normalized jet by an additional grading factor that no radial normalization removes. The retraction is smooth where all blocks of the jet are nonzero and Hölder continuous on V + ∖ 0, but it has no continuous extension to the zero jet. At this singular point the graded quotient resolves local structure that radial normalizations, and classifiers continuous in the image, do not. Theorem D. There are smooth images It± , 0 < t < t0 , converging uniformly to one image as t → 0, with the same intensity mass and frame and the same Gaussian jets at all probes but one, where the jets are (tu1 , ±t2 u2 , 0), with the following properties. Some probe classifier built on πq takes the values ±1 on It± for every t. Every probe classifier built on the radial projection of the raw or of the scale-normalized jet, and every classifier continuous at the limit image, has worst-case squared loss at least 1 on the family. With a fixed regularization of ρq the graded probe classifiers have worst-case squared loss 1 as well. These results determine an architecture, the graded convolutional network of Sec. 6: Gaussian jets on a geometric ladder of scales, the retraction πq , layers equivariant under rotations that act on harmonic coordinates by complex-linear maps, products and gates, and a pooling over positions and scales in a frame of the image that is covariant under dilations and translations. Its pooled features are invariant under the dilations by powers of two, and it is universal for continuous invariant functions on the quotient (Thm. 6.6). Along a scale orbit, on which a ReLU network on the raw jet diverges polynomially and a network on its radial projection collapses onto a single derivative order, it is constant (Thm. 6.8). Sec. 8 tests Theorem B and Theorem C on MNIST, against networks that differ from the graded one only in the normalization of the jet. Trained on sharp digits at one scale, the graded network keeps at least 92% accuracy over a fourfold range of zoom in each of three training splits, while the same network with equal grades loses up to 41 points. Under a Gaussian blur of two pixels it keeps 88.4%, against 66.2% for the same network on scale-normalized derivatives, and exchanging the foreground gates of the graded network and its equal-grades twin shows that the retraction, not the gate, carries this robustness; on sharp images the scale-normalized network is about one point more accurate. In Lindeberg’s Gaussian derivative network, retracting the jet of the first layer and changing nothing else raises the accuracy at a blur of two pixels from 91.5% to 95.1%, and a graded first layer improves a second version of that network as well. The jet has represented local image structure since Koenderink [6–8], and blurring and scaling as operators on jet space were studied by Markussen, Pedersen and Loog [22, 23]. Theorem A is a specialization of the distribution theory of homogeneous kernels [4]; equivariant differential operators for rotations and Euclidean motions were characterized by Jenner and Weiler [26]. Complex features labelled by a rotation frequency and combined by products that add the frequencies are the chargeconserving networks of Yarotsky [27], who proved their universality; the layers of the graded network are of this kind, with the derivative order as a second label. Scale-equivariant networks with learned filters [18–20] also carry a ladder of scales. Exact invariants to an unknown Gaussian blur, and to wider families of convolutions, have been constructed from image moments and projection operators by Flusser and coauthors [28–30]. The graded retraction is not such an invariant (Sec. 5.1); our concern is how a scale-invariant representation responds to blur.

GRADED CONVOLUTIONAL NETWORKS

3

Sec. 2 introduces graded jets, homogeneous norms and weighted spheres, and the space of local structures. Theorem A is proved in Sec. 3, Theorem B in Sec. 4 and Theorem C in Sec. 5, which also treats the passage between scales. Sec. 6 defines the graded networks and proves their invariance and universality, Sec. 7 proves Theorem D, and Sec. 8 reports the experiments. The appendix describes the discretization and its numerical verification. The code, the trained networks and the result files from which every table and figure is generated are deposited on Zenodo [34]. 2. Graded jets In Secs. 2 to 7 images are functions on the plane, derivatives are exact Gaussian derivatives, and the homogeneous norm is unregularized except in Thm. 7.7. 2.1. Scale space and jets. Derivatives of an image are taken after smoothing with the Gaussian gs (x) = (2πs)−1 exp(−|x|2 /2s), which is not homogeneous but covariant, gs ∗ (Dλ I) = Dλ (gs/λ2 ∗ I), where (Dλ I)(x) = I(x/λ) is the magnification by λ. Write L(x; s) = (gs ∗ I)(x), Lα = ∂ α L, and collect the derivatives of order k into the binary form X k  (1) fk (ξ, η; x, s) = L(a,b) (x; s) ξ a η b ∈ Vk = Symk (R2 )∗ , a a+b=k P L so that L(x + h; s) = k fk (h)/k! formally. The N -jet is f = (f0 , . . . , fN ) ∈ V = k≤N Vk , with +2) dim Vk = k + 1 and dim V = (N +1)(N ; for N = 3, dim V = 10, f1 is the gradient, f2 the Hessian 2 form and f3 a binary cubic. The grading action is µ ⋆ f = (µk fk )k .

Lemma 2.1. For every λ > 0, x ∈ R2 and s > 0, f Dλ I (x; s) = λ−1 ⋆ f I (x/λ; s/λ2 ). Consequently the normalized jet f˜(x; s) = s1/2 ⋆ f (x; s), that is f˜k = sk/2 fk , satisfies f˜Dλ I (x; s) = f˜I (x/λ; s/λ2 ). (2)

λI Proof. By the covariance of the Gaussian and the chain rule, LD (x; s) = λ−|α| LIα (x/λ; s/λ2 ). For α 1/2 −1 2 1/2 the second statement, s ⋆ λ ⋆ = (s/λ ) ⋆. □ √ The scale s is thus a homogeneous function of degree√two on the bundle of jets, and f˜ = s ⋆ f is the normalization of the jet by the homogeneous function s of degree one. This is the γ-normalization of [11] with γ = 1; Thm. 4.1 shows that the exponent is forced.

2.2. Harmonic coordinates. Rotations R ∈ SO(2) act on images by (R · I)(x) = I(R−1 x) and on the jet by fk 7→ fk ◦ R−1 , the restriction to SO(2) of the action of GL2 on binary forms; they commute with dilations. Under SO(2), Vk = Hk ⊕ (ξ 2 + η 2 )Hk−2 ⊕ · · · ,

(3)

where Hj , the harmonic forms of degree j, is the irreducible representation of frequency j, of dimension 2 for j ≥ 1 and 1 for j = 0; this is the P decomposition behind steerable filters [12, 17]. In the complex coordinate z = ξ + iη write fk = a+b=k ck,b−a z a z̄ b , with ck,−j = c̄k,j . The rotation by ϕ sends z 7→ e−iϕ z and z̄ 7→ eiϕ z̄, so (4)

ck,j 7→ eijϕ ck,j ,

j = k, k − 2, . . . , j ≥ 0.

The harmonic coordinates ck,j , j ≥ 0, are complex numbers, real for j = 0, on which SO(2) acts diagonally by the frequency j and the grading action by µk . For N = 3 there are five of them, of order and frequency (1, 1), (2, 0), (2, 2), (3, 1) and (3, 3). For the 2-jet they are, up to factors, the classical complex coordinates z1 = Lx + iLy ,

h0 = 12 (Lxx + Lyy ),

h2 = 12 (Lxx − Lyy ) + iLxy ,

which are twice the coefficient of z̄ in f1 , the coefficient of z z̄ in f2 and twice the coefficient of z̄ 2 in f2 . The classical differential invariants of second order are polynomials of frequency zero in them: |∇L|2 = z1 z̄1 , ∆ L = 2h0 , det Hess L = h20 − h2 h̄2 and ∇L⊤ Hess L ∇L = h0 z1 z̄1 + Re(h̄2 z12 ).

4

T. SHASKA

2.3. Homogeneous norms and weighted spheres. Let θ = (θ1 , . . . , θN ), θk > 0, be a vector of LN grades with the action µ ⋆θ f = (µθk fk )k on V + = k=1 Vk , and let ∥fk ∥ be an SO(2)-invariant norm on Vk ; we use the Euclidean norm of the harmonic coordinates. Define (5)

ρθ (f ) =

N X k=1

∥fk ∥2/θk

1/2

,

πθ (f )k =

fk . ρθ (f )θk

Lemma 2.2. ρθ is continuous on V + , positive off 0, SO(2)-invariant and homogeneous of degree one, ρθ (µ ⋆θ f ) = µρθ (f ). The weighted sphere Sθ = {ρθ = 1} is compact, and πθ is a continuous retraction of V + ∖ 0 onto Sθ that is constant along the orbits of ⋆θ . For θ = (1, . . . , 1), ρθ is the Euclidean norm and πθ the radial projection. Proof. ∥µθk fk ∥2/θk = µ2 ∥fk ∥2/θk , and πθ (µ ⋆θ f )k = µθk fk /(µρθ (f ))θk .

□

This is the homogeneous norm of [1], written with the exponents 2/θk so that it is defined for real grades. The grades of the image jet are q = (1, 2, . . . , N ), and πq is the quotient map of V + ∖ 0 by the grading action. We write π1 for the radial projection. By Thm. 2.1, ρq (f˜) = s1/2 ρq (f ) and πq (f˜) = πq (f ): the retraction of the normalized jet is the retraction of the raw jet. The scalar ρ̃ = ρq (f˜) is invariant under dilations at the corresponding scale; it is a scale-normalized energy Pof the jet of the kind used for scale selection [11], and it is not invariant under contrast, ρq (cf )2 = k c2/k ∥fk ∥2/k . Lemma 2.3. Let N ≥ 2. The retraction πq is smooth on the open set where every block fk is nonzero and locally Hölder continuous of exponent min(1, 2/N ) on V + ∖ 0, and for N ≥ 3 this exponent cannot be improved. It has no continuous extension to 0. Proof. The function fk 7→ ∥fk ∥2/k = (∥fk ∥2 )1/k is smooth where fk ̸= 0 and locally Hölder continuous of exponent min(1, 2/k) on Vk . Hence ρ2q is locally Hölder of exponent min(1, 2/N ), and so is 2 −k/2 ρ−k on every compact subset of V + ∖0, where ρq is bounded below; the components fk ρ−k q = (ρq ) q of πq inherit both properties. For N ≥ 3 let u1 ∈ V1 and v ∈ VN be unit vectors and ft = (u1 , 0, . . . , 0, tv). Then ρq (ft )2 = 1 + |t|2/N and ∥πq (ft )1 − πq (f0 )1 ∥ = 1 − (1 + |t|2/N )−1/2 ∼ 21 |t|2/N as t → 0. Finally, for unit vectors u1 ∈ V1 and u2 ∈ V2 the curves t 7→ (tu1 , ±t2 u2 , 0, . . .√, 0) tend to 0 as t → 0, while ρ2q = 2t2 along both and their retractions are the constant points (u1 / 2, ±u2 /2, 0, . . . , 0). □ 2.4. The space of local structures. Two further transformations change an image without changing what a recognizer should respond to: rotations, and the contrast changes I 7→ cI + d with c > 0, which act by f0 7→ cf0 + d and fk 7→ cfk for k ≥ 1. On V + the torus T = Gm × Gm of dilations and contrasts acts by (µ, c) ⋆ fk = µk c fk , and SO(2) acts on each Vk and commutes with T . Let G = T × SO(2). Proposition 2.4. For N ≥ 2 the generic G-orbit on V + has dimension 3, so the space of N -jets +2) modulo scale, rotation and contrast has dimension (N +1)(N − 4: 2 for N = 2, 6 for N = 3 and 11 2 for N = 4. Proof. On the open dense set where f1 = ̸ 0 and the trace component of f2 is nonzero, let a, c and b be infinitesimal dilation, contrast and rotation parameters that fix f . In grade one, (a + c)f1 + bJf1 = 0, where J is the rotation by π/2; since Jf1 ⊥ f1 , a + c = 0 and b = 0. The trace component of grade two, on which rotations act trivially, gives 2a + c = 0, hence a = c = 0. The infinitesimal stabilizer is zero, so the generic orbit has dimension three. □ The quotient of V + ∖ 0 by the positive dilations is the weighted sphere Sq , of dimension dim V + − 1, which is 8 for N = 3. Its quotient by −1, acting by (−1)k on Vk , is the weighted projective space P(q+ ) with q+ = (1, 1, 2, 2, 2, . . . , N (N +1) ); since −1 acts as the rotation by π, the two coincide after the quotient by SO(2). We use positive dilations throughout. Which of the three factors of G is a nuisance depends on the task. Scale is one throughout this paper. Contrast is removed at the input by Iˆ = (I − min I)/(max I − min I), which commutes with dilations ˆ is not removed, and constant images are mapped to and rotations; a negative c, which gives 1 − I,

GRADED CONVOLUTIONAL NETWORKS

5

zero. Rotation is a nuisance for textures but not for upright digits, a 6 being a rotated 9; the networks of Sec. 6 are equivariant under rotations, and their readout decides whether the orientation is kept. Remark 2.5. On the open set ∇L = ̸ 0 the gauge coordinates (Lw , Lvv , Lvw , Lww ) of [8], taken in the frame w = ∇L/|∇L|, v = (−Ly , Lx )/|∇L|, are rotation-invariant, with Lw > 0. In harmonic coordinates, with u = h̄2 z12 /(z1 z̄1 ), one has Lww = h0 + Re u, Lvv = h0 − Re u and Lvw = − Im u. Under (µ, c) ∈ T the coordinate Lw is multiplied by µc and the other three by µ2 c; with µ = Lw /|Lww | and c = |Lww |/L2w a 2-jet is moved to Lw = 1, Lww = ±1. Hence on the chart Lww ̸= 0 the ratios Lvv /Lww and Lvw /Lww , together with the sign of Lww , separate the G-orbits of 2-jets, in accordance with Thm. 2.4. These coordinates fail where ∇L = 0 or Lww = 0. The retraction πq is defined on all of V + ∖ 0, and its only singular point, the zero jet, is the subject of Sec. 7. 3. Graded convolutions LN

Let V = k=0 Vk be a graded real vector space. A graded feature field is a map F = (F0 , . . . , FN ) : R2 → V . Translations act by (Ta F )(x) = F (x − a), and dilations by (6)

(Dλ F )k (x) = λ−k Fk (x/λ),

λ > 0,

the change of variable of a magnification by λ combined with the grading action λ−1 ⋆ on the fibre [1]. An image I : R2 → R is a field of grade 0, on which (6) is the magnification (Dλ I)(x) = I(x/λ). Definition 3.1. A graded convolution from grade k to grade k ′ is a continuous linear operator L from fields of grade k to fields of grade k ′ that commutes with all translations and all dilations, LTa = Ta L and LDλ = Dλ L. It is local if supp LF ⊆ supp F for every F . Proposition 3.2. Let L : Cc∞ (R2 ) → D′ (R2 ) be a graded convolution from grade k to grade k ′ . Then LF = K ∗ F for a distribution K that is homogeneous of degree k − k ′ − 2. If L is local, then k ′ ≥ k and X L= cα ∂ α , |α|=k′ −k ′

a homogeneous differential operator of order m = k − k with constant coefficients. Conversely, every such operator is a local graded convolution from grade k to grade k + m. Proof. A continuous linear operator on Cc∞ (R2 ) that commutes with translations is the convolution with a distribution K [4]. For the dilations compute, with y = λu, Z Z −k 2−k (K ∗ Dλ F )(x) = λ K(x − y)F (y/λ) dy = λ K(x − λu)F (u) du, Z ′ (Dλ (K ∗ F ))(x) = λ−k K(x/λ − u)F (u) du. ′

Equality for all F gives, with z = x/λ − u, K(λz) = λk−k −2 K(z) in the sense of distributions, so K is ′ homogeneous of degree then supp K = {0}, and a distribution supported at a P k − kα − 2. If L is local, point is a finite sum α cα ∂ δ [4]. Since ∂ α δ is homogeneous of degree −2 − |α| and distributions of distinct degrees of homogeneity are linearly independent, |α| = k ′ − k whenever cα = ̸ 0; in particular k ′ ≥ k. The converse is the chain rule, ∂ α (F (·/λ)) = λ−|α| (∂ α F )(·/λ). □ Corollary 3.3. The N -jet L map I 7→ (∂ α I)|α|≤N , with ∂ α I placed in grade |α|, is a local graded convolution from grade 0 to k≤N Vk , and every local graded convolution from grade 0 of order at most N factors through it by a grade-preserving linear map. The map I 7→ f (·; s) of Sec. 2.1 is this graded convolution applied to gs ∗ I; this proves Theorem A. Remark 3.4. Without locality there are graded convolutions of grade shift zero other than the multiples of the identity. The distributions on R2 that are homogeneous of degree −2 are c δ + p.v. Ω(z/|z|)/|z|2 with Ω of mean zero on the circle [4], and the singular integrals among them are nonlocal graded convolutions of grade shift zero. The Riesz transforms, with kernels zj /|z|3 , which underlie the

6

T. SHASKA

monogenic signal [5], are of this kind. They could be added to the first layer, where their two components transform as a vector under rotations; we do not use them. 4. Invariants of the dilation action Let q = (1, . . . , N ). By Thm. 2.1 the dilation Dλ carries the jet f of I at (x; s) to the jet λ−1 ⋆ f of Dλ I at (λx; λ2 s), so it acts on pairs of a jet and a scale by (7)

λ · (f, s) = (λ−1 ⋆ f, λ2 s),

λ > 0.

A local feature is a map Φ : V + × (0, ∞) → Y into a set Y . It is scale-invariant if Φ(λ · (f, s)) = Φ(f, s) for all λ, f and s. Every element of V + is the jet at (0; s) of an image in Cc∞ (R2 ): the map I 7→ f I (0; s) is linear, and a linear form vanishing on its image would be a nonzero combination of derivatives of gs orthogonal to every test function, which is impossible since these derivatives are linearly   independent. Scale invariance of Φ is therefore equivalent to Φ f Dλ I (λx; λ2 s), λ2 s = Φ f I (x; s), s for all images, positions and scales. A feature that does not use the scale is a map Ψ : V + ∖ 0 → Y ; it is scale-invariant if Ψ(λ ⋆ f ) = Ψ(f ) for all λ > 0. For a vector θ of positive weights let ⋆θ , ρθ and πθ be as in Sec. 2.3, and let νθ (f, s) = s1/2 ⋆θ f = (sθk /2 fk )k ,

ν = νq ,

so that ν(f, s) = f˜ is the normalized jet of Thm. 2.1. Lindeberg’s γ-normalized derivatives [11] form νγq . Theorem 4.1. (i) A local feature Φ is scale-invariant if and only if Φ = Φ0 ◦ ν for a map Φ0 : V + → Y , and then Φ0 = Φ(·, 1). The map ν is scale-invariant and surjective, and its fibres are the orbits of (7). (ii) A feature Ψ that does not use the scale is scale-invariant if and only if Ψ = Ψ0 ◦ πq for a map Ψ0 : Sq → Y , and then Ψ0 = Ψ|Sq .  (iii) πq ◦ ν(f, s) = πq (f ) and ρq (ν(f, s)) = s1/2 ρq (f ), and (f, s) 7→ πq (f ), s1/2 ρq (f ) maps the orbit space of (V + ∖ 0) × (0, ∞) bijectively onto Sq × (0, ∞). (iv) For all weights θ, νθ (λ · (f, s)) = λθ−q ⋆ νθ (f, s), where λθ−q ⋆ multiplies Vk by λθk −k . Hence νθ is scale-invariant if and only if θ = q, and Φ0 ◦ νθ is scale-invariant if and only if Φ0 is constant on the orbits of the one-parameter group {λθ−q ⋆}λ>0 , which is nontrivial for θ = ̸ q. (v) The retraction πθ is scale-invariant if and only if θ = cq for some c > 0. For N ≥ 2 and every other θ, Ψ0 ◦ πθ is scale-invariant if and only if Ψ0 is constant along the curves λ 7→ πθ (λ ⋆ u), u ∈ Sθ , which are not all constant; in particular Ψ0 is not injective. Proof. (i) ν(λ · (f, s)) = (λ2 s)1/2 ⋆ λ−1 ⋆ f = s1/2 ⋆ f , since ⋆ is an action, and ν(f, 1) = f , so ν is ′ 1/2 surjective. If ν(f, s) = ν(f ′ , s′ ), then (f ′ , s′ ) = λ · (f, s) with λ = (s  /s) , so the fibres of ν are the −1/2 orbits. An invariant Φ therefore satisfies Φ(f, s) = Φ s · (f, s) = Φ(ν(f, s), 1), and every Φ0 ◦ ν is invariant. (ii) πq is constant on the orbits of ⋆ and the identity on Sq , and f = ρq (f ) ⋆ πq (f ) (Thm. 2.2); so Ψ(f ) = Ψ(πq (f )) for an invariant Ψ, and the converse is clear. (iii) The two identities are those of Thm. 2.2 with µ = s1/2 . The map is invariant by (i), and its value (u, r) determines ν(f, s) = (s1/2 ρq (f )) ⋆ πq (f ) = r ⋆ u, hence the orbit; every (u, r) is attained at (r ⋆ u, 1). (iv) (λ2 s)θk /2 λ−k = λθk −k sθk /2 ; the rest follows as in (i), since νθ (·, 1) is the identity. (v) The fibres of πθ are the orbits of ⋆θ , so πθ is scale-invariant if and only if for all λ and f there is µ > 0 with λ ⋆ f = µ ⋆θ f . For θ = cq take µ = λ1/c . Conversely, for f with all blocks nonzero, λf1 = µθ1 f1 and λk fk = µθk fk give µ = λ1/θ1 and θk = kθ1 for every k. Since the actions ⋆ and ⋆θ commute and f = ρθ (f ) ⋆θ πθ (f ), one has πθ (λ ⋆ f ) = πθ (λ ⋆ πθ (f )), which gives the last statement; for θ not proportional to q and u with all blocks nonzero the curve is not constant, by the computation just made. □ Thm. 4.1 contains Theorem B.

GRADED CONVOLUTIONAL NETWORKS

7

Corollary 4.2. A scale-invariant local feature factors through the normalized jet f˜ = s1/2 ⋆ f , and a scale-invariant feature that does not use the scale factors through πq ; both maps are determined by the grades q of the jet. If a feature applies to the raw jet a normalization with weights θ = ̸ q, or a retraction with weights θ not proportional to q, and is scale-invariant, then the layers that follow are constant along the orbits of a nontrivial one-parameter group, and the feature factors through f˜, or through πq , nonetheless. Proof. Parts (i) and (ii) of Thm. 4.1 give the first sentence, parts (iv) and (v) the second, and (i) and (ii) again the last clause. □ Case (i) is the scale normalization on which the Gaussian derivative networks [9] are built, and case (ii) is the graded retraction, which needs no scale. A normalization of the raw jet with equal grades, or with grades not proportional to q, is excluded by (iv) and (v). The theorem does not require the weights q in the first normalization of a network: since πq (νγq (f, s)) = πq (f ) for every γ > 0, an invariant feature may follow a γ-normalization that is not itself invariant, and by Thm. 4.2 it then factors through πq . The two factorizations differ in content: the bundle quotient keeps the invariant s1/2 ρq (f ) of part (iii), which the fibre quotient discards, and which the networks of Sec. 6 use only in a foreground gate. Under blur the two realizations behave differently. 5. Blur and the scale direction 5.1. Unknown blur. An image may arrive already smoothed: by defocus, by a reduction of resolution, or by optics whose blur is fixed in pixels while the object is seen smaller. We model this by I ′ = gb ∗ I with an unknown b > 0. Since gs ∗ gb = gs+b , the jet of I ′ at the scale s is the jet of I at the scale s + b. For an image I ≥ 0 of finite positive mass and finite second R moment, let x̄RI and σ̂I be the mean R and the root-mean-square radius of the probability density I/ I, so that σ̂I2 = |x − x̄I |2 I(x) dx/ I; we call (x̄I , σ̂I ) the intensity frame of I. 1/2  Proposition 5.1. Let b > 0, I ′ = gb ∗ I, µ = s/(s + b) ∈ (0, 1), and let u = ν f I (x; s + b), s + b be the normalized jet of I at the scale s + b. For every x, every s > 0 and every c > 0:  ′ (i) f cI (x; s) = c f I (x; s + b), and for J = c (gb ∗ Dλ I), f J (λx; s) = c λ−1 ⋆ f I x; (s + b)/λ2 ;    ′ ′ (ii) πq f I (x; s) = πq f I (x; s + b) , whereas ν f I (x; s), s = µ ⋆ u, and π1 (µ ⋆ u) ̸= π1 (u) unless all nonzero blocks of u have the same order;   ′ ′ (iii) πq f cI (x; s) = πq (c u) and π1 ν(f cI (x; s), s) = π1 (µ ⋆ u);   P 2k ′ ′ 2 1/2 (iv) s1/2 ρq f cI (x; s) = µ ρq (c u) and ∥ν(f cI (x; s), s)∥ = c ; k µ ∥uk ∥ (v) if I ≥ 0 has finite positive mass and finite second moment, then x̄J = λx̄I and σ̂J2 = λ2 σ̂I2 + 2b. In (ii)–(iv) the same holds for J, with (s + b)/λ2 in place of s + b and the same µ.  Proof. (i) gs ∗ gb = gs+b , linearity, and Thm. 2.1. (ii) and (iii) s1/2 ⋆ f = µ ⋆ (s + b)1/2 ⋆ f , since ⋆ is an action and commutes with scalar multiplication; πq is constant on the orbits of ⋆ (Thm. 2.2) and π1 on the rays u 7→ cu. If π1 (µ ⋆ u) = π1 (u) with µ = ̸ 1, then µk uk = a uk for one a > 0 and every nonzero block, which forces the orders of the nonzero blocks to coincide. (iv) The homogeneity of ρq under ⋆, and the definition of the Euclidean norm. (v) Normalize the intensity to a probability density. Convolution with gb adds an independent centred Gaussian vector of covariance b Id, which keeps the mean and adds its trace 2b to the squared radius; a dilation multiplies the mean by λ and the squared radius by λ2 , and c does not change the density. For J, apply (i) and Thm. 2.1: 1/2 s1/2 ⋆ λ−1 ⋆ f = µ ⋆ (s + b)/λ2 ⋆ f. □ Thm. 5.1(i) and (ii) prove Theorem C. Blur acts on the retracted jet and on the normalized jet alike by the change of scale s 7→ s + b, and on the normalized jet in addition by the grading factor µ⋆, with µ2 = s/(s + b) smallest at the finest scales. Without a contrast factor the retracted jet of the blurred image is that of the sharp image at a coarser scale, of the kind a network evaluated on a ladder of scales encounters in training. The radial projection does not remove the grading factor, and at fine

8

T. SHASKA

scales the normalized jet of the blurred image moves to jets that sharp images do not produce. By (iii), a contrast factor behaves the other way: the retraction keeps it and the radial projection removes it. Normalizing by s + b in place of s would correct the scale normalization, but only for a known b; the retraction needs neither s nor b. Lindeberg’s networks normalize the derivatives of each layer by the nominal scale of that layer, so (ii) applies to their first layer, while their later layers smooth further, at scales that grow with depth. Thm. 5.1 concerns features and is not an invariance statement. First, the retraction is not invariant √ 2 under blur at a fixed position and scale: for I(x) = e−|x| /2 and xs = ( 1 + s, 0), the second derivative of gs ∗ I in x1 vanishes  at xs while the first does not, and after a blur of variance b it equals 1+s −b(1 + s + b)−3 exp − 2(1+s+b) ̸= 0. The grading action multiplies the whole second block by one   ′ positive factor and cannot make a vanishing coordinate nonzero, so πq f I (xs ; s) ̸= πq f I (xs ; s) . Second, s 7→ s + b is an additive change, not a shift of a geometric ladder of scales, and by (iv) and (v) the scale-normalized energies and the intensity frame change as well, so a feature pooled over positions and scales need not be preserved. Third, a contrast normalization after the blur introduces a factor cb = 1/ sup(gb ∗ I), which by (iii) the retraction keeps. How the robustness of the features carries over to predictions is measured in Sec. 8.3. 5.2. Between scales. 1 Lemma 5.2. Let ∆ : Vk+2 → Vk be the contraction ∆k = (k+1)(k+2) (∂ξ2 + ∂η2 ), acting componentwise on sequences (fk )k≥0 of forms, and let E be the grading operator, Efk = kfk . Let I be a bounded measurable image and f = (fk )k≥0 the full jet of L(·; s) = gs ∗ I. (i) ∂s fk = 12 ∆k fk+2 for s > 0, and [E, ∆] = −2 ∆. (ii) For 0 < s′ < 2s and µ = (s′ /s)1/2 the series X 1  µ2 − 1 j ∆j f˜k+2j (x; s) f˜k (x; s′ ) = µk j! 2 j≥0

converges for every k; we write it as (8)

 2  f˜(x; s′ ) = µ ⋆ exp µ 2−1 ∆ f˜(x; s). If I is a polynomial, the sums are finite and (8) holds for every s′ > 0.

 Proof. (i) With (1) and the heat equation ∂s L = 12 (Lxx + Lyy ), the coefficient of ka ξ a η b in ∂s fk 1 is 12 (L(a+2,b) + L(a,b+2) ), and (k+1)(k+2) (∂ξ2 + ∂η2 ) applied to (1) with k + 2 in place of k gives    P k k+2 k a b a+b=k a (L(a+2,b) + L(a,b+2) )ξ η , as the identity a+2 (a + 2)(a + 1) = (k + 2)(k + 1) a shows. Since ∆ lowers the degree by two, E ∆ v = (k − 2) ∆ v = ∆ Ev − 2 ∆ v. (ii) By (i), ∂sj fk = 2−j ∆j fk+2j . For Re z > 0 the kernel gz (x) = (2πz)−1 exp(−|x|2 /2z) and its derivatives are integrable, so for bounded I the function z 7→ (∂ α gz ∗ I)(x) is holomorphic on Re z > 0, and its Taylor series at s P ′ j j converges to it on the disc |z − s| < s. For 0 < s′ < 2s this gives fk (s′ ) = j (s2−s) ∆ fk+2j (s), and j j! then  s′ k/2 X 1  s′ − s j X (s′ − s)j  j f˜k (s′ ) = s′k/2 ∆ f (s) = ∆j s(k+2j)/2 fk+2j (s) , k+2j j j! 2 s j! 2s j j which is (ii) with (s′ − s)/s = µ2 − 1. For a polynomial image L(x; s) is a polynomial in s and ∆j fk+2j = 0 for large j. □ The component of order k at s′ involves all the orders k + 2j at s, so the N -jet at s′ is not a 2 function of the N -jet at s. In (8) the factor µ⋆ is the grading action, and the factor exp( µ 2−1 ∆) is triangular with respect to the derivative order, with the identity on the diagonal: it adds to each order a combination of the orders above it. On the finite jets of polynomial images it is unipotent; on the full jet of a general image the series in ∆ does not terminate. Beyond s′ = 2s the series need not converge:

GRADED CONVOLUTIONAL NETWORKS

9

2

for I(x) = e−|x| /2a one has L(0; s) = a/(a + s), whose Taylor series at s has radius s + a and diverges for s′ > 2s + a, arbitrarily close to 2s as a → 0. Let the jet be computed on a geometric ladder of scales si = s0 κi with 1 < κ ≤ 2, as in the networks of Sec. 6. Under a dilation by a factor λ that is not a power of κ1/2 , the jet of Dλ I at (λx; sj ) is, by Thm. 2.1, λ−1 ⋆ f I (x; sj /λ2 ), the jet of I at a scale strictly between two rungs. Comparing it with the jet of I at the rung si below is the situation of Thm. 5.2 with s = si and s′ = sj /λ2 < 2si . Proposition 5.3. Let 0 < s′ < 2s, µ = (s′ /s)1/2 , and let X 1  µ2 − 1 j Rk (s) = ∆j f˜k+2j (s) j! 2 j≥1

be the heat correction of Thm. 5.2. For the jets of positive order at most N , whenever the jets involved are nonzero, πq (f˜(s′ )) = πq (f˜(s) + R(s)), π1 (f˜(s′ )) = π1 (µ ⋆ (f˜(s) + R(s))). 2 N ˜ Let h = (f˜k (s))N k=1 , a = (∆k fk+2 (s))k=1 , δ = µ − 1 and (Eh)k = khk . If every block of h is nonzero, then, as δ → 0, πq (f˜(s′ )) = πq (h) + δ dπq (h)[a] + O(δ 2 ), 2

π1 (f˜(s′ )) = π1 (h) + 2δ dπ1 (h)[Eh + a] + O(δ 2 ). Proof. The identities follow from Thm. 5.2 and Thm. 2.2. The convergent heat expansion gives h + δa/2 + O(δ 2 ) once the grading factor is removed. Since µk = (1 + δ)k/2 = 1 + kδ/2 + O(δ 2 ), keeping that factor gives h + δ(Eh + a)/2 + O(δ 2 ). The two retractions are smooth at a point with nonzero blocks (Thm. 2.3), and a Taylor expansion proves the formulas. The constants depend on the image, the position and the scale. □ To first order the retraction removes the grading term Eh and keeps only the heat correction a, while the radial projection keeps both. The formulas do not by themselves order the sizes of the two residuals. The radial projection quotients the normalized jet by scalar multiplication, which is the contrast factor of Sec. 2.4, and the retraction quotients it by the grading action; quotienting by both, that is by the torus T , would remove one more dimension (Thm. 2.4). Between two scales the normalized jet changes by the grading factor and the heat correction, not by a scalar factor (Thm. 5.2); with contrast removed at the input, the scalar factor that a radial normalization removes is the local intensity of the image, not an effect of the zoom. Which realization is closer between rungs depends on the size of the heat correction. For digit strokes, whose width is comparable to the finer rungs, it is not negligible (Sec. A.2), so between rungs neither realization has a guaranteed advantage. 6. Graded networks 6.1. Layers. Fix an order N , grades θ and a geometric ladder of scales si = s0 κi , i = 0, . . . , n − 1, with κ > 1. A graded network with grades θ computes, at every position x of a sampling grid and every scale si , the jet f (x; si ) of (1), retracts it to πθ (f (x; si )), and applies to the retracted jet a pointwise map that is equivariant under rotations. The weights are shared across positions and scales. The pointwise map acts on complex slots. A slot has a type (w, j), where w is a formal weight, the total derivative order, and j ≥ 0 is a frequency; a rotation by ϕ multiplies a slot of frequency j by eijϕ , and each type carries m channels. The harmonic coordinates ck,j of the retracted jet are the input slots, of types (k, j). There are three kinds of layers. (a) Complex-linear maps, applied type by type with the same weights at every position and scale. For j ≥ 1 they are, by Schur’s lemma, the general SO(2)-equivariant real-linear maps between slots of frequency j; for j = 0, where SO(2) acts trivially, they form a proper subset of the real-linear maps, which suffices for what follows. As convolutions with a 1 × 1 kernel and grade shift zero they commute with translations and, by Thm. 3.2, with dilations; they are the graded linear maps of degree zero of [1].

10

T. SHASKA

(b) Products. For slots z of type (w, j) and z ′ of type (w′ , j ′ ) the products zz ′ and z z̄ ′ have the types (w + w′ , j + j ′ ) and (w + w′ , |j − j ′ |), the conjugate being stored when j < j ′ . In the harmonic basis their complex multiples are the SO(2)-equivariant bilinear maps into slots of positive frequency, and the real and imaginary parts of the products of frequency zero span, over R, the invariant bilinear forms. They realize the graded tensor products of [1] compatibly with rotations, and the transvectants of classical invariant theory, which are the SL2 -equivariant bilinear maps on binary forms [13], are linear combinations of them; for instance (f2 , f2 )(2) = 2 det Hess L. A product layer forms the channelwise products of its input slots with the input jet slots for all pairs of types with w + w′ ≤ wmax , appends its input slots, and maps each type to m channels by a layer of kind (a). (c) Gates z 7→ σ(α(|z| − β)) z, with σ the logistic function, α fixed and β learnable per channel; they are equivariant because |z| is invariant. After the retraction every slot is invariant under the grading action, so the gates need no normalization, and no other nonlinearity is used. The slots of the last layer are read as real numbers. The full readout takes the real and imaginary parts of every slot, which transform under rotations and keep the orientation; the invariant readout takes |z| for every slot and the real and imaginary parts of the slots ′ of frequency zero. A learnable linear map reduces them to a position feature ψ(x, si ) ∈ Rm . 6.2. Pooling in the image frame. Let (x̄, σ̂) be the intensity frame (Sec. 5.1) of the contrastnormalized image. A position x at the scale s has the coordinates √ r = |x − x̄|/σ̂, τ = log( s/σ̂), which are invariant under translations and under a dilation Dλ combined with s 7→ λ2 s. The pooling uses finitely many bins b = 1, . . . , B with centres (crb , cτb ), widths (ωr , ωτ ) and the memberships  (r − crb )2 (τ − cτb )2 mb (x, s) = 0 otherwise, d2b = mb (x, s) = 12 1 + cos(πdb /2) if db < 2, + . ωr2 ωτ2  A foreground gate g = σ a0 (log ρ̃ − b0 ) , with a0 and b0 learnable and ρ̃ a scale-normalized energy of the jet, and the area A(s) of the sampling cell at the scale s give the weights w(x, s) = g(x, s) A(s)/s. The pooled vector consists of the weighted means and the relative masses P P x,s w mb ψ x,s w mb Φb = P , , Mb = P P ′ x,s w mb b′ x,s w mb and a layer normalization followed by a two-layer perceptron maps it to the output. The grades enter in two places only, the retraction and the foreground gate. A plain average over positions and scales would not be invariant: it is dominated by the finest rungs, which have the most positions, and a shift of the ladder changes which rungs are present. The pooling weights every rung by its area per unit scale and places it by its scale relative to the image. 6.3. Three networks. Definition 6.1. The graded convolutional network GCN is the graded network with θ = q and foreground energy ρ̃ = ρq (f˜) = s1/2 ρq (f ). Definition 6.2. The equal-grades twin UCN is GCN with θ = (1, . . . , 1): the same jet layer on the same ladder and the same layers, pooling and perceptron, with ρθ the Euclidean norm, πθ = π1 the radial projection and ρ̃ = s1/2 ∥f ∥. Definition 6.3. The scale-normalized twin SNT is UCN applied to the normalized jet, with π1 (f˜) in place of π1 (f ) and ρ̃ = ∥f˜∥. In the experiments N = 3 and the ladder is si = 2i+1 , i = 0, . . . , 11, in pixels of the working grid (Sec. A.1). The lift has m = 8 channels per type and is followed by a gate; one product layer with wmax = 6, which has 15 slot types and 120 slots, is followed by a gate; the full readout is reduced to m′ = 16; the 3 × 3 bins have the centres cr ∈ {0.5, 1, 1.5} and cτ ∈ {−1, −0.5, 0} and the widths

GRADED CONVOLUTIONAL NETWORKS

11

ωr = ωτ = 0.3; and the perceptron has 64 hidden units. Each of the three networks has 21,950 parameters: 7,280 in the equivariant layers, 3,856 in the reduction, 10,506 in the perceptron and 308 in the layer normalization and the foreground gate. By Thm. 4.1, GCN is invariant under the grading action at a fixed scale, SNT under dilations at corresponding scales, and UCN under neither, only under the scalar multiplication f 7→ cf , which is contrast. A dilation by κ1/2 acts by a shift of the ladder index (Thm. 2.1), so a network on f˜, or on πq (f ) = πq (f˜), with weights shared across the ladder is equivariant under the discrete group generated by κ1/2 , up to the ends of the ladder. The scale-equivariant networks of [19, 20] carry such a ladder as well; the continuous group within one rung is described by Thms. 5.2 and 5.3. 6.4. Invariance. Lemma 6.4. The coordinates r and τ and the memberships mb are invariant under translations and under the dilation Dλ composed with the ladder shift s 7→ λ2 s. So are the foreground gates of GCN and SNT, which are functions of f˜ (Thm. 4.1), and so is w when λ is a power of two, for which the dilation maps the sampling pyramid of a canvas onto that of the dilated canvas, with the rung index shifted (Sec. A.1). Hence the pooled vectors of GCN and SNT are invariant under the dilations by powers of two, provided the bins are supported inside the ladder. In the continuous idealization, in which the sums over the pyramid are integrals over all positions and scales, they are invariant under all translations. Under the rotations by multiples of 90◦ , which preserve the sampling grid, the bins are invariant, the slots transform by their frequencies, and the pooled vector of the invariant readout is invariant. The full readout, followed by an unconstrained reduction and perceptron, carries no guarantee under rotations; it keeps the orientation. The bins are supported inside the ladder for all images whose √ √ radius σ̂ keeps cτb ± 2ωτ within [log( s0 /σ̂), log( sn−1 /σ̂)]. Outside this range of sizes a bin is partly empty and the invariance holds only approximately, as for every network on a finite ladder of scales. Proposition 6.5. Let θ be a grading and Φθ the position features of Sec. 6.1 built on πθ . (i) Φθ (µ ⋆θ f ) = Φθ (f ) for all µ > 0; in particular Φq is invariant under the dilation action on the jet at a fixed scale, and Φ(1,...,1) is invariant under f 7→ cf , whereas π(1,...,1) is not constant on the orbits of ⋆q . (ii) Every slot of frequency j is multiplied by eijϕ under the rotation by ϕ, and the invariant readout is rotation-invariant. (iii) On the ladder, Φq evaluated on Dλ I at (x, s) equals Φq evaluated on I at (x/λ, s/λ2 ) for every λ; for λ = κm/2 this is a shift of the ladder index by m. The same holds for the position features of SNT, which are functions of f˜. The pooled vectors of GCN and SNT are invariant under the dilations by powers of two and, in the continuous idealization, under translations, with the provisos of Thm. 6.4. Proof. (i) is Thm. 2.2 together with the fact that every later layer is a function of πθ (f ); the last assertion holds because the radial projection of µ ⋆q f differs from that of f unless all nonzero components of f have the same order (Thm. 5.1(ii)). (ii) is (4) together with the rule for products. (iii) is Thm. 2.1 with πq (f˜) = πq (f ), Thm. 4.1(i) for SNT, and Thm. 6.4. □ 6.5. Universality. Theorem 6.6. Let F : V + ∖ 0 → R be continuous and invariant under dilations and rotations, and let K ⊂ V + ∖ 0 be compact. For every ε > 0 there is a pointwise graded network Fb with invariant readout and enough product layers, channels, weight cutoff wmax and perceptron width, such that supK |F − Fb| < ε. Proof. We apply the invariant-polynomial construction of [27] after the weighted retraction. Write F = F0 ◦ πq with F0 continuous and SO(2)-invariant on the compact weighted sphere Sq ; this is possible since πq is continuous and constant on the dilation orbits. In the harmonic coordinates

12

T. SHASKA

c = (ck,j ) the circle acts by (4), a torus action with integer weights, and R[V + ]SO(2) is generated by Q ak,j bk,j the real and imaginary parts of the finitely many minimal monomials ck,j c̄k,j of total frequency P j(ak,j − bk,j ) = 0, by Gordan’s lemma on the semigroup of exponents [15]. The invariants of a compact group separate its orbits, which are closed [14, 15]. Let p = (p1 , . . . , pr ) be the generators. The map p : Sq /SO(2) → Rr is a continuous injection of a compact space into a Hausdorff space, hence a homeomorphism onto its image Q, so F0 = F1 ◦ p with F1 continuous on Q. Extend F1 to Rr by Tietze’s theorem and approximate it uniformly on a ball by a perceptron with one ReLU hidden Q ak,j bk,j c̄k,j of degree d is a layer [16, 32]. It remains to approximate p uniformly on Sq . A monomial ck,j P product of d jet slots, of weight k,j k(ak,j + bk,j ), which lies between d and N d. If wmax is at least the largest weight of the generators, the product layer keeps every partial product, and d − 1 product layers form the monomial when the gates are replaced by the identity and the layers of kind (a) select channels; the invariant readout returns its real and imaginary parts as slots of frequency zero. A gate z 7→ σ(α(|z| − β))z converges to the identity uniformly on bounded sets as β → −∞, and all slots are bounded on the compact set Sq , so the network with its gates approximates p uniformly on Sq . Since F1 is uniformly continuous on a compact neighbourhood of Q, the composite approximates F0 ◦ πq uniformly on K. □ 6.6. Pointwise predictors along scale orbits. The next two results concern pointwise predictors on a single jet; the separation for complete classifiers, with foreground gates and pooling, is Thm. 7.2. Write x = µ ⋆ x̃ with x̃ = πq (x) ∈ Sq and µ = ρq (x) for the orbit coordinates of a jet. Theorem 6.7. Let x be a random jet in V + ∖ 0 and y = F (x) + ϵ, where F is dilation-invariant with EF (x)2 < ∞ and ϵ is independent of x with mean zero and Eϵ2 < ∞, and let R(fb) = E(fb(x) − y)2 . For every square-integrable predictor fb the orbit average f¯(x) = E[fb(x) | πq (x)] is dilation-invariant and  R(fb) − R(f¯) = E Var fb(x) | πq (x) ≥ 0, with equality if and only if fb(x) is almost surely a function of πq (x). In particular R(fb) − R(F ) ≥  E Var fb(x) | πq (x) . Proof. Condition on x̃ = πq (x). Since F (x) = F0 (x̃) and ϵ is independent,   2 E (fb(x) − y)2 | x̃ = Var(fb | x̃) + E[fb | x̃] − F0 (x̃) + Eϵ2 , and the last two terms are the conditional risk of f¯. Taking expectations gives the identity; no assumption on the law of µ given x̃ is needed, so no Haar measure on the noncompact group is required. The last inequality follows from R(f¯) ≥ R(F ), since F (x) = E[y | x]. □ A pointwise graded predictor after retraction has orbit variance zero by Thm. 6.5(i). The orbit average f¯ is only measurable, but it is an L2 limit of continuous dilation-invariant functions, since continuous functions are dense in L2 of the law of πq (x) on the compact space Sq , and those of them that are also rotation-invariant are approximated by graded networks by Thm. 6.6. Theorem 6.8. Consider pointwise predictors on a single jet, after the retraction and before the foreground gate and the pooling. Fix x̃ ∈ Sq with x̃N ̸= 0 and consider the orbit µ 7→ µ ⋆ x̃. (i) If fb is a network on V with affine layers and activations with finitely many affine pieces, such as a ReLU perceptron or a ReLU convolutional network read through the jet, then µ 7→ fb(µ ⋆ x̃) coincides for all sufficiently large µ with a polynomial of degree at most N in µ; unless that polynomial is constant, |fb(µ ⋆ x̃)| → ∞. (ii) If fb is a pointwise UCN, then limµ→∞ fb(µ ⋆ x̃) exists and depends only on x̃N /∥x̃N ∥, with convergence at the rate µ−1 , and limµ→0 fb(µ ⋆ x̃) depends only on the lowest nonzero component of x̃. (iii) A pointwise GCN satisfies fb(µ ⋆ x̃) = fb(x̃) for all µ > 0.

GRADED CONVOLUTIONAL NETWORKS

13

Proof. (i) A network with affine layers and piecewise-linear activations is affine on each cell of a finite polyhedral partition of V . The curve µ 7→ µ ⋆ x̃ = (µk x̃k )k is polynomial in µ, so each of the finitely many hyperplanes that bound the cells is crossed at finitely many µ or contains the curve. Beyond P the largest crossing the curve stays in the closure of one cell, on which fb(µ ⋆ x̃) = c + k µk ⟨wk , x̃k ⟩. (ii) The radial projection of µ ⋆ x̃ converges as µ → ∞ to (0, . . . , 0, x̃N /∥x̃N ∥) with error O(µ−1 ), and as µ → 0 to the unit vector along the lowest nonzero component. The rest of the pointwise network is Lipschitz on the compact sphere, since its linear maps, bounded products, gates and readout are Lipschitz there. (iii) is Thm. 6.5(i). □ At either end of a fibre orbit the pointwise UCN thus retains a single derivative order. The proof of Thm. 6.7 uses only that πq is a complete invariant of the dilation action on the fibre. With the action (7) and its complete invariant ν (Thm. 4.1) in place of πq the same identity holds, and GCN and SNT both have orbit variance zero for it. Thm. 6.8 concerns the action on the fibre at a fixed scale. There SNT is the radial projection of a fixed multiple of the jet and behaves like UCN; but a dilation of the image acts by (7), not on the fibre at a fixed scale, and for that action SNT is invariant. The variance along zooms of images measured in Sec. 8 vanishes for the ideal pooled graded network only under the matching and support conditions of Thms. 6.4 and 6.5, which sampled digits need not meet exactly. 7. Separation at the zero jet By Thm. 2.3 the retraction πq has no continuous extension to the zero jet. In this section we show that at this point the graded quotient separates families of images that every radial normalization, and every classifier continuous in the image, confuses. Throughout, u1 ∈ V1 has norm one and u2 ∈ V2 is the positive isotropic quadratic form of norm one, whose only nonzero harmonic coordinate is the trace coordinate h0 of Sec. 2.2. 7.1. Probe classifiers. Fix finitely many distinct position–scale probes P = {(xp , sp ) : p = 1, . . . , P } with sp > 0 and finitely many bins b = 1, . . . , B, and write Jp I = (f1,p , f2,p , f3,p ) for the exact Gaussian 3-jet of positive order of an image I at the probe p. Let π be one of the normalizations πq , the radial projection π1 (f ) = f /∥f ∥ of the raw jet, or the radial projection π1 ◦ ν of the normalized jet, each extended by π(0) = 0.  Definition 7.1. A probe classifier with normalization π is a function H(I) = Ω Φ(I), M (I) with  P P p wp (I) mbp (I) ψ π(Jp I) p wp (I) mbp (I) P Φb (I) = , Mb (I) = P , ′ p wp (I) mbp (I) + η b′ ,p wp (I) mb p (I) where η ≥ 0, empty means and masses are zero, and (P1) ψ : π(V + ) → Rd is bounded and Lipschitz; (P2) the weights wp (I) ≥ 0 are functions of the block norms ∥fk,p′ ∥, the scales and the intensity frame and mass of I, and the memberships mbp (I) ∈ [0, 1] are fixed functions of the probe and the intensity frame; (P3) Ω is Lipschitz on bounded sets. For given probes, bins and memberships, Nπ denotes the class of probe classifiers with normalization π. Weights that depend on block norms include foreground gates and hard thresholds on them. For images It± with labels ±1 let   + − Rt (H) = 21 (H(It+ ) − 1)2 + (H(It− ) + 1)2 , Ct (H) = 12 log(1 + e−H(It ) ) + log(1 + eH(It ) ) be the balanced squared and logistic losses.

14

T. SHASKA

7.2. The separation theorem. Theorem 7.2. Let the probes contain p0 = (0, s∗ ), and let the memberships be those of the pooling of Sec. 6.2 with the bins of Sec. 6.3. There are t0 > 0 and smooth compactly supported images It± : R2 → [0, 1], 0 < t < t0 , with minimum 0 and maximum 1, such that: (i) the intensity frames and masses of It± and their jets at the probes p ̸= p0 do not depend on t or on the sign, Jp0 It± = (tu1 , ±t2 u2 , 0), the images converge uniformly to one image I0 as t → 0, and p0 has positive membership in some bin; (ii) for every H ∈ Nπ1 there is KH < ∞ with    √ 2KH t KH t 2 2 |H(It+ ) − H(It− )| ≤ √ , Rt (H) ≥ 1 − √ , Ct (H) ≥ log 1 + e−KH t/ 1+t , 1 + t2 1 + t2 + √ √ and the same holds for every H ∈ Nπ1 ◦ν with 1 + s∗ t2 in place of 1 + t2 and KH multiplied √ by s∗ ; (iii) there is H ∈ Nπq with H(It+ ) = 1 and H(It− ) = −1 for all 0 < t < t0 . Consequently inf

sup Rt (H) = 0,

H∈Nπq 0<t<t0

inf

sup Rt (H) = 1

H∈Nπ 0<t<t0

(π = π1 , π1 ◦ ν),

the second infimum being attained by H = 0; for the logistic loss the two infima are 0 and log 2. Proof. (i) is Thm. 7.5 below. (ii) At p0 a classifier with normalization π1 reads 2t (u1 , ±tu2 , 0) √ , ∥vt+ − vt− ∥ = √ . 2 1+t 1 + t2 The two jets have the same block norms at every probe and the two images have the same intensity frame and mass, so by (P2) their weights, memberships and masses coincide, and every probe other than p0 contributes the same value of ψ. In each weighted mean the coefficient of p0 is at most one, also when η > 0. If Lψ is √ a Lipschitz constant of ψ, each Φb changes by at most Lψ ∥vt+ − vt− ∥, and the pooled vector by at most B Lψ ∥vt+ − vt− ∥. By (P1) the pooled vectors lie in a √ bounded set, on which Ω has a Lipschitz constant LΩ by (P3); this gives the first bound√with KH = LΩ B Lψ . Write the two scores as m ± d. Then Rt (H) = m2 + (d − 1)2 with |d| ≤ KH t/ 1 + t2 , which gives the second bound, and the convexity of ℓ(z) = log(1 + ez ) gives Ct (H) = 12 {ℓ(−m − d) + ℓ(m − d)} ≥ ℓ(−d), which gives √ √ the third. For π1 ◦ ν the inputs at p0 are (u1 , ± s∗ tu2 , 0)/ 1 + s∗ t2 , and the argument is the same. (iii) At p0 , ρq (tu1 , ±t2 u2 , 0)2 = ∥tu1 ∥2 + ∥t2 u2 ∥ = 2t2 and u u2  1 πq (tu1 , ±t2 u2 , 0) = √ , ± , 0 , 2 2 vt± = π1 (tu1 , ±t2 u2 , 0) =

two points independent of t. Take wp ≡ 1, η = 0 and ψ(v) the trace coordinate of the second block of v, which is bounded and Lipschitz and takes the values ± 12 at the two points. The other probes have fixed jets and the memberships are fixed by (i), so the pooled vectors z± = (Φ(It± ), M (It± )) do not depend on t, and they differ in a bin in which p0 has positive membership. The affine function Ω(z) = 2⟨z − (z+ + z− )/2, z+ − z− ⟩/∥z+ − z− ∥2 sends z± to ±1. By (ii) every classifier in Nπ1 or Nπ1 ◦ν has lim inf t→0 Rt ≥ 1 and lim inf t→0 Ct ≥ log 2, and the zero classifier attains these values for every t. Replacing Ω in (iii) by M Ω gives the logistic loss log(1 + e−M ), which tends to 0 as M → ∞. □ The minimization is over score functions, not estimators. Larger weights in a radial classifier change only KH , so the bounds of (ii) hold for every radial classifier, and the separation concerns the supremum over t: it gives no positive gap at a fixed t, nor in expectation over a fixed law of t. It is a separation in squared loss, cross-entropy and margin, not in zero-one error, since a radial classifier with the scores ±t keeps the correct signs. The family is not a dilation orbit: the parameter t contracts one local jet by its derivative orders while the rest of the measured structure stays fixed.

GRADED CONVOLUTIONAL NETWORKS

15

Remark 7.3. With exact Gaussian jets at finitely many probes, GCN, UCN and SNT are probe classifiers with the normalizations πq , π1 and π1 ◦ ν. Here ψ is the composition of the equivariant layers and the linear reduction, which is bounded and Lipschitz on the compact image of the normalization; the weights are the foreground gate, a function of block norms and scale, times A(s)/s, together with the thresholds of Sec. A.1; the memberships are those of the bins; and Ω is the layer normalization, with a positive regularizer in its denominator, followed by the perceptron. Moreover GCN realizes Thm. 7.2(iii). Set the slope of its foreground gate to zero, so that g = 12 , and retain one real channel of frequency zero equal to the trace coordinate of the second block, which the lift selects and the product layer passes on with zero product coefficients. A gate multiplies a real coordinate by a positive even function of it, so the retained feature is odd and takes opposite nonzero values at the two retracted points. Reduce it to one output coordinate and set another one identically to zero. The two pooled vectors p± share that zero coordinate and their masses; a layer normalization identifies them only if p+ = ap− + b1 with a > 0, the zero coordinate forces b = 0, and a common positive mass forces a = 1. Two ReLU units of the perceptron then implement the affine separator, since r = ReLU(r)−ReLU(−r). Unused channels and product coefficients are set to zero, so the number of parameters is unchanged. 7.3. Construction of the separating images. Images here are smooth functions on the plane, not pixel arrays, and the probes are exact Gaussian derivatives. Repeated readings are omitted, and the derivatives are written in the basis ∂ α , from which the harmonic coordinates differ by an invertible linear change of basis. Lemma 7.4. Let B ⊂ R2 be a nonempty open ball. The linear functionals on Cc∞ (B) consisting of all distinct Gaussian-jet readings h 7−→ ∂ α (gsp ∗ h)(xp ), 1 ≤ |α| ≤ 3, R 2 together with h, x1 h, x2 h and |x| h, are linearly independent. Hence their joint map onto its finite-dimensional target is surjective. R

R

R

Proof. The functionals are integrals against Gaussian derivatives and the four moment polynomials, all analytic on R2 . A linear dependence on Cc∞ (B) would make a linear combination of these functions vanish on B, hence everywhere. Along every ray the Gaussian terms decay faster than any polynomial, so the polynomial part vanishes. Group the remaining terms by centre and variance; each group has the form Pj (x) exp(−|x − xj |2 /(2sj )) with Pj a polynomial. Suppose that some group is nonzero, and choose a generic ray x = rv on which every nonzero Pj restricts to a nonzero polynomial and centres with the same variance have distinct projections onto v. Among the nonzero groups take the largest variance, and among those the largest projected centre. After division by its Gaussian factor, all other terms decay exponentially relative to its polynomial as r → ∞, a contradiction. Hence every Pj vanishes, and since at a fixed centre and variance distinct Gaussian derivatives have linearly independent Hermite polynomial factors, all coefficients vanish. For an explicit right inverse, let φi be the kernels and moment functions, and choose χ ∈ Cc∞ (B) R nonnegative and positive on an open set. P The matrix Aij = χφi φj dx is positive definite, and for prescribed readings v the function hv = χ j (A−1 v)j φj has exactly those readings. □ Lemma 7.5. Let the probes contain p0 = (0, s∗ ) and let the memberships be as in Thm. 7.2. There are t0 > 0 and I0 , ζ1 , ζ2 ∈ Cc∞ (R2 ) such that the images It± = I0 + tζ1 ± t2 ζ2 , 0 < t < t0 , take values in [0, 1] with minimum 0 and maximum 1, have the intensity mass, centroid and root-mean-square radius of I0 and its jets at every probe p = ̸ p0 , and satisfy Jp0 It± = (tu1 , ±t2 u2 , 0). Moreover p0 has membership greater than 10−3 in some bin. Proof. Take√two nonnegative smooth radial bumps, one supported just inside and one just outside the circle |x| = 2s∗ . Since  |x|2 2 ∆ gs∗ (x) = − gs∗ (x), s2∗ s∗ their Gaussian-smoothed Laplacians at the origin have opposite signs, and a positive linear combination of the two bumps has zero smoothed Laplacian there. Normalizing its maximum to one gives I0 . Radial

16

T. SHASKA

symmetry kills the orders one and three and makes the Hessian isotropic, so the whole 3-jet of positive order of √ I0 at (0, s∗ ) vanishes. For bumps close enough to the circle, the root-mean-square radius is close to 2s∗ , so that p0 has r = 0 and τ close to − 12 log 2. In the bin with centre ( 12 , − 12 ) and widths 0.3 its membership then approaches   s   2  2 π 1 1/2 1/2 − (log 2)/2  > 0.03. 1 + cos  + 2 2 0.3 0.3 Choose an open ball B on which δ < I0 < 1 − δ for some δ > 0. By Thm. 7.4 there are ζ1 , ζ2 ∈ Cc∞ (B) whose four moments vanish, whose jets vanish at every probe p = ̸ p0 , and whose jets at p0 are Jp0 ζ1 = (u1 , 0, 0) and Jp0 ζ2 = (0, u2 , 0). For t0 small enough the images It± = I0 + tζ1 ± t2 ζ2 take values in [0, 1]; outside B they coincide with I0 , so they keep its minimum 0 and maximum 1 and the contrast normalization leaves them unchanged. The vanishing moments fix the intensity mass, centroid and root-mean-square radius, and the linearity of Gaussian differentiation gives the prescribed jets. □ 7.4. Continuous classifiers and regularization. Corollary 7.6. Let D ⊂ R2 be a compact canvas containing the supports of the images It± = I0 + tζ1 ± t2 ζ2 of Thm. 7.5, and regard an image as an element of C(D) with the uniform norm. If a function H : C(D) → R is continuous at I0 , then lim inf Rt (H) ≥ 1,

lim inf Ct (H) ≥ log 2.

t↓0

t↓0

If H is LH -Lipschitz on the family, then Rt (H) ≥ (1 − LH ∥ζ2 ∥∞ t2 )2+ ,

 Ct (H) ≥ log 1 + exp[−LH ∥ζ2 ∥∞ t2 ] .

This holds in particular for every convolutional network built from continuous convolutions, continuous activations, finite max or average pooling and normalizations with a positive regularizer in the denominator. Proof. It± → I0 uniformly, so continuity gives H(It+ ) − H(It− ) → 0, and the two-score inequalities in the proof of Thm. 7.2 give the limits. In the Lipschitz case |H(It+ ) − H(It− )| ≤ LH ∥It+ − It− ∥∞ = 2LH ∥ζ2 ∥∞ t2 . □ The labels have different limits along two paths to the same image I0 , so the ideal graded classifier is discontinuous at I0 . The corollary applies equally to a classifier that reads the exact Gaussian probes, which are continuous functionals of the image, and to a graded classifier with a regularized norm and without hard thresholds. Hard thresholds need not be continuous; the next proposition covers them. Proposition 7.7. Fix ε > 0 and let πq,ε be the retraction with the blockwise regularized norm ρq,ε (f )2 =

3 X

∥fk ∥2 + ε2

1/k

,

(πq,ε f )k =

k=1

fk , ρq,ε (f )k

which is the norm of the implementation (Sec. A.1). On the images of Thm. 7.2 put rε (t)2 = (t2 + ε2 ) + (t4 + ε2 )1/2 + ε2/3 . Every H ∈ Nπq,ε satisfies |H(It+ ) − H(It− )| ≤

2KH t2 ≤ 2KH ε−2/3 t2 , rε (t)2

hence Rt (H) ≥ (1 − at )2+ and Ct (H) ≥ log(1 + e−at ) with at = KH t2 /rε (t)2 → 0. The minimax squared and logistic losses of Nπq,ε on the family are 1 and log 2. Proof. The two jets at p0 have the common regularized norm rε (t), so ∥πq,ε (tu1 , t2 u2 , 0) − πq,ε (tu1 , −t2 u2 , 0)∥ =

2t2 ≤ 2ε−2/3 t2 . rε (t)2

GRADED CONVOLUTIONAL NETWORKS

17

Every block of a regularized retraction has norm at most one, so (P1) applies on a bounded set, and the rest is the proof of Thm. 7.2(ii): the weights, memberships and masses of the two images coincide, even where a threshold makes them jump as functions of t. □ Thm. √ 7.2, Thm. 7.6 and Thm. 7.7 prove Theorem D. The unregularized norm of the selected jet is ρq = 2 t, the regularized one is at least ε1/3 , and the two are comparable for t of order ε1/3 ; we prove no advantage on a range of t bounded away from zero. What Thm. 7.2 isolates is the contribution of the fibre quotient: along the contraction the two classes converge to one image, every classifier continuous in the image and every radial classifier eventually confuses them, and the graded retraction sees two fixed jets for every t. The robustness measured in Sec. 8 arises away from this singular point. 8. Experiments We test Theorem B and Theorem C on handwritten digits. Every comparison is between networks that differ only in the normalization of the jet; the architecture, the number of parameters, the training data, the schedule and the number of epochs are the same. 8.1. Protocol. The digits are MNIST images on a canvas of 29 pixels, or 57 pixels when they are enlarged or blurred, contrast normalized as in Sec. 2.4. A network is trained on 10,000 unscaled training digits and validated on 2,000 others, the first and the last digits of a random permutation of the MNIST training set; three permutations give three training splits. It is tested on the first 5,000 MNIST test digits, presented at the zooms 0.5, 0.7, 1, 1.4 and 2 [19]; blurred by a sampled Gaussian of standard deviation σb ∈ {0.5, 1, 1.5, 2} input pixels and contrast normalized again; at half resolution, by an antialiased reduction and a bicubic enlargement; and at the zooms 0.5 and 2 with σb = 1. For the variance of the output √ √along zoom orbits, 200 test digits are presented at eleven zooms, log-uniform in [1/2, 2] and in [1/ 2, 2]. No network sees a blurred digit in training. We compare GCN with its twins UCN and SNT (Thms. 6.1 to 6.3), each with 21,950 parameters, and with an ordinary convolutional network with three convolutional layers, global average pooling and 22,826 parameters. The latter is applied to inputs rescaled about the canvas centre so that their intensity radius σ̂ equals the median radius of the training digits, which gives it the global size invariance that the pooling frame gives the graded networks; we call it the size-normalized network. All networks are trained with Adam and a one-cycle schedule, with peak learning rate 2 · 10−3 , batch 64 and weight decay 10−4 , for 12 epochs (1,884 steps), and the checkpoint with the best validation accuracy is kept. GCN and its twins are trained on the three splits; the networks with exchanged gates and the size-normalized network are trained on split 1. Two networks are compared on the same test digits by the exact two-sided McNemar test on the per-digit predictions [33], with the Holm adjustment [31] over the ten conditions of Tab. 4 within each split. The binomial standard error of an accuracy near 95% on 5,000 digits is 0.3 points. The gradings and ablations of Tabs. 2 and 3 come from earlier runs on MNIST-Scale, digits rescaled by a factor uniform in [0.3, 1] [20, 21] and tested on the official MNIST test digits, so that they do not reproduce the protocol of that benchmark. In these runs the validation digits followed the training digits in the permutation, the rescalings of the test digits depend on the training size, the per-digit predictions were not recorded, and each configuration was trained once; we interpret only differences of several points. 8.2. Scale. Fig. 1 (left) and Tab. 1 test Thm. 4.1 under zoom. The zooms 0.5 and 2 shift the ladder by two rungs, under which GCN and SNT are invariant (Thm. 6.5); the zooms 0.7 and 1.4 are not shifts of the ladder. Trained at the single scale 1, GCN keeps 95.4% and 96.0% at the zooms 0.5 and 2 on average, against 96.0% at the training scale, and loses about 2.7 points at 0.7 and 1.4; its lowest accuracy over the five zooms and three splits is 92.3%. The same network with equal grades loses 34 and 17 points at 0.5 and 2 on average, and up to 41 in one split; on split 1, at the zoom 0.5, GCN is right and UCN wrong on 2,046 digits, and the reverse holds on 47. Along the zoom orbits the mean variance of the softmax output is 0.017–0.024 for GCN and 0.093–0.144 for UCN, and the predicted label is constant along the orbit for 85–89% and 33–52% of the digits. This is the behaviour that

18

T. SHASKA

GCN (graded)

test accuracy (%)

100

scale-normalized twin

equal-grades twin

zoom (sharp digits)

CNN, size-normalized

unknown blur

90

GCN 87.9

80 70

scale-norm. 67.8 equal grades 66.6 CNN, size-norm. 60.1

60 50

0.5 0.7 1 1.4 2 zoom factor of the test digits

0.0 0.5 1.0 1.5 2.0 Gaussian blur ¾b (pixels), zoom 1

Figure 1. The graded network (GCN) against three baselines, all trained on 10,000 sharp unscaled MNIST digits and tested on 5,000 digits. Left: test digits zoomed by the factor shown. Right: test digits at their original size, blurred by a Gaussian of standard deviation σb pixels. The scale-normalized twin is the same network on scale-normalized derivatives, the equal-grades twin the same network with all grades equal, and the last baseline an ordinary convolutional network on inputs rescaled to a fixed size. Split 1; means over three splits in Tabs. 1 and 4. Thms. 6.7 and 6.8 describe pointwise. Exchanging the foreground gates shows that the retraction, not the gate, carries the invariance: GCN with the gate of UCN is as flat as with its own, while UCN with the graded gate still loses 20 points at both shifts of the ladder. Table 1. Zoom. Networks trained on 10,000 sharp unscaled digits, tested on 5,000 test digits resampled by the zoom factor: accuracy (%), mean variance of the softmax √ √ output over eleven zooms in [1/2, 2] and in [1/ 2, 2] (200 digits), and percentage of digits whose predicted label is constant over [1/2, 2]. Upper block: mean ± half-range over three training splits; lower block: split 1. π1 is the radial projection, f˜ = s1/2 ⋆ f the normalized jet. gate

retr.

GCN SNT UCN

πq (f ) ρq (f˜) 95.4±0.0 93.4±0.8 96.0±0.1 93.2±0.9 96.0±0.1 0.020±0.003 π1 (f˜) ∥f˜∥ 96.2±0.4 94.5±0.3 96.8±0.2 94.5±0.4 96.8±0.2 0.019±0.002 π1 (f ) s1/2 ∥f ∥ 62.6±9.5 91.1±0.7 96.2±0.1 87.9±2.5 79.6±8.5 0.114±0.025

GCN, equal-grades gate πq (f ) s1/2 ∥f ∥ UCN, graded gate π1 (f ) ρq (f˜) CNN, size-normalized – –

0.5

95.5 76.1 89.9

0.7

94.3 91.6 91.9

1

95.9 96.5 92.1

1.4

94.1 89.6 92.1

2

var. [ 12 , 2] var. [ √1 ,

Model

95.9 76.3 92.1

2

0.017 0.090 0.004

√

2] const.

0.022±0.003 87±2 0.018±0.003 89±1 0.045±0.009 43±10 0.018 0.042 0.002

The scale-normalized twin is invariant as well, as Thm. 4.1(i) predicts for the bundle quotient, and it is 0.8 to 1.3 points more accurate than GCN on average. The size-normalized network is flat across zooms, at 89.9–92.1%, about four points below GCN. Trained on MNIST-Scale, GCN reaches 95.6–95.7% in distribution and stays within 0.4 points of it at the zooms 0.5 and 2, while UCN, at 95.4–95.7% in distribution, falls to 81.9–85.5% at the zoom 2, which lies outside its training scales; SNT reaches 95.8–96.5% and is flat, and the size-normalized network reaches 86.96% in distribution and 88.1–88.4% at the five zooms (split 1). In the earlier runs, an ordinary convolutional network trained on unscaled digits reaches 94.9% at its training scale and 36.9% and 33.1% at the zooms 0.5

89 52 93

GRADED CONVOLUTIONAL NETWORKS

19

and 2; trained with scale augmentation by a factor log-uniform in [ 12 , 2] for five times the epochs, it reaches 92.8%, 75.4% and 86.1%, while GCN reaches 95.7%, 95.5% and 95.7% without augmentation. Tab. 2 tests parts (iv) and (v) of Thm. 4.1. The gradings (3, 1, 2) and (1, 3, 2) are exactly invariant under their own action but not under the action of dilations. At the zoom 2, outside the training scales of MNIST-Scale, they keep 83.1% and 92.3%, against 95.5% for the correct grading and 82.2% for equal grades. A learnable grading θ = eφ started at (1, 1, 1), with the grade parameters at five and at twenty times the base learning rate, keeps 89.5% and 89.4%. Its grades move toward the ratios 1 : 2 : 3 of the derivative orders, to 1 : 1.20 : 1.51 and 1 : 1.22 : 1.49 at the best-validation checkpoint, and stop short of them (Fig. 2). Table 2. Gradings. Test accuracy (%) in distribution and at the zoom factors 0.5 and 2.0 (test digits resampled), and orbit variance in [1/2, 2], for the correct, equal, wrong and learned gradings, all trained on MNIST-Scale. The learned gradings are those of the best-validation checkpoint, reported up to the common scale that leaves θ1 = 1. Model

θ

test

zoom 0.5

zoom 2.0

orbit var.

GCN UCN wrong wrong learned learned, grade l.r. ×20

(1, 2, 3) (1, 1, 1) (3, 1, 2) (1, 3, 2) (1.00, 1.20, 1.51) (1.00, 1.22, 1.49)

95.3 95.3 93.8 95.0 95.6 95.7

95.7 95.9 94.1 95.3 96.2 96.3

95.5 82.2 83.1 92.3 89.5 89.4

0.0110 0.0338 0.0356 0.0246 0.0217 0.0205

3.0

µ1 =µ1 µ2 =µ1 µ3 =µ1

grade ratio

2.5

2.0

1.5

µ3 =µ1

1.0

µ2 =µ1 µ1 =µ1 0

250

500

750

1000 1250 gradient step

1500

1750

2000

Figure 2. The ratios θk /θ1 of the learnable grades during training, started at the equal grading (1, 1, 1) with the grade learning rate at five times the base rate; the dotted lines are the ratios 1, 2, 3 of the derivative orders. Tab. 3 reports ablations from the same earlier runs. The network on the 2-jet, with 15,702 parameters, reaches 94.3% in distribution, one point below the network on the 3-jet, and the network without the product layer, with 12,230 parameters, reaches 92.1%; both stay flat across zoom. With the invariant readout GCN is invariant under rotations by 90◦ , and nearly so at 30◦ and 60◦ , where interpolation enters, at a cost of 6.6 points in distribution; for upright digits the orientation carries class information. 8.3. Unknown blur. Fig. 1 (right) and Tab. 4 test Thm. 5.1 on the networks of Tab. 1, which were trained on sharp digits only. Averaged over the three splits, GCN loses 0.4 points at σb = 1, 2.1 at

20

T. SHASKA

Table 3. Ablations and rotation, trained on MNIST-Scale: test accuracy (%) in distribution, at zoom 2.0, and on the test digits rotated by 30◦ , 60◦ , 90◦ . Model

test

zoom 2.0

30◦

60◦

90◦

GCN, N = 3, full readout GCN, N = 2 GCN, no product layer GCN, invariant readout UCN, full readout UCN, invariant readout CNN

95.3 94.3 92.1 88.7 95.3 88.1 89.1

95.5 94.3 92.5 87.1 82.2 51.1 32.0

71.7 67.3 67.7 86.1 66.6 81.6 40.8

24.8 18.3 22.6 86.1 15.7 81.7 8.8

12.2 9.3 11.7 87.1 8.5 81.9 7.4

σb = 1.5 and 7.6 at σb = 2. The scale-normalized twin, identical except for the normalization, loses 1.7, 9.8 and 30.6 points, and the equal-grades twin and the size-normalized network fall with it. At σb = 2, GCN is right and SNT wrong on 1,155, 1,394 and 1,166 digits in the three splits, and the reverse holds on 150, 107 and 132. Half-size digits blurred by one pixel, which model a smaller object seen through the same optics, give the same picture: 86.3% for GCN against 62.6% for SNT, 73.5% for UCN and 55.1% for the size-normalized network. After the Holm adjustment within each split, GCN is the more accurate at σb = 1.5, at σb = 2 and on the blurred half-size digits in all three splits (p < 10−51 ), and at σb = 1 in two of them; SNT is the more accurate on sharp digits in all three, and under some of the mild conditions. At the zoom 2 a blur of one pixel is small compared with the enlarged strokes and changes nothing. Table 4. Unknown blur. The networks of Tab. 1, trained on sharp digits and not retrained, tested on the same 5,000 test digits on the canvas 57: blurred by a Gaussian of standard deviation σb input pixels and contrast normalized again; with the resolution halved (antialiased reduction by two, bicubic enlargement); and at the zooms 0.5 and 2, sharp and with σb = 1. Accuracy in %, mean ± half-range over three training splits (the CNN: split 1). Last row: the number of splits in which GCN or SNT is the more accurate by the exact two-sided McNemar test on the same digits, Holm-adjusted over the ten conditions [31], at p < 0.05. zoom 1, blur σb

res.

zoom 0.5, σb

0.5

1

1.5

× 12

0

GCN 96.0±0.2 95.9±0.1 SNT 96.8±0.2 96.7±0.2 UCN 96.2±0.1 96.0±0.1 CNN, size-norm. 92.1 91.8

95.6±0.2 95.1±0.4 94.9±0.4 88.4

93.9±0.3 87.0±0.3 90.7±1.4 77.4

Model

more accurate

0

2

88.4±0.5 95.4±0.1 95.4±0.0 66.2±2.7 96.0±0.4 96.2±0.4 76.0±7.1 95.1±0.1 62.6±9.5 60.1 89.9 89.9

zoom 2, σb 1

0

1

86.3±1.4 96.0±0.1 95.9±0.2 62.6±3.1 96.8±0.2 96.6±0.3 73.5±3.6 79.6±8.5 77.9±9.6 55.1 92.1 91.7

SNT 3/3 SNT 2/3 GCN 2/3 GCN 3/3 GCN 3/3 SNT 1/3 SNT 2/3 GCN 3/3 SNT 3/3 SNT 2/3

Tab. 5 separates the causes on split 1. Thm. 5.1(ii) holds exactly only without the second contrast normalization, which multiplies a blurred digit by cb = 1/ sup(gb ∗ I); over the first 2,000 test digits the median of cb is 1.13, 1.37 and 1.66 at σb = 1, 1.5 and 2, and its maximum is 4.0. Without this normalization GCN keeps 88.5% at σb = 2 and 84.9% on the blurred half-size digits, slightly more than with it, while SNT keeps 64.7% and 59.5%. The contrast factor that the retraction keeps (Thm. 5.1(iii)) therefore does not limit GCN, and the one that the radial projection removes does not explain the failure of SNT. With the foreground gates exchanged, GCN with the gate of UCN keeps 88.0% and 84.8%, as with its own, while UCN with the graded gate of GCN falls to 64.5% and 72.7%, as with its own. The robustness is carried by the retraction. Its cause is the grading factor µ⋆ of Thm. 5.1(ii): with µ2 = s/(s + b), the factor is far from one once the blur variance b = 4σb2 working pixels2 is comparable to the finest rung s0 = 2, and on real digits a blur of 0.5 or 1 input pixel already changes the normalized jets by up to 24%, against at most 1.3% for the retracted jets (Sec. A.2).

GRADED CONVOLUTIONAL NETWORKS

21

Table 5. The mechanism of the blur robustness (split 1): accuracy (%) on the 5,000 test digits of Tab. 4, blurred by σb input pixels at zoom 1, and at the zooms 12 and 2 with σb = 1. Without the second contrast normalization the jet of the blurred image is exactly the jet of the sharp image at the scale s + b (Thm. 5.1); exchanging the foreground gates separates the retraction from the gate. zoom 1, blur σb Model

0

0.5

1

1.5

zoom, σb 2

1 ,1 2

2, 1

without the second contrast normalization GCN 95.8 95.8 95.4 93.6 88.5 SNT 96.8 96.7 95.4 84.4 64.7

84.9 95.8 59.5 96.7

gates exchanged, contrast normalized as in Tab. 4 GCN, equal-grades gate 95.9 96.0 95.5 93.6 88.0 UCN, graded gate 96.5 96.4 95.2 87.0 64.5

84.8 95.9 72.7 74.6

8.4. Lindeberg’s network. The pooling of Sec. 6.2 does not use the grading, and it applies to any network that computes features on a ladder of scales. We apply it to our reimplementation of Lindeberg’s Gaussian derivative network [9]: six layers of learned combinations of scale-normalized Gaussian derivatives, run in eight scale channels, with 20,674 parameters. The network is trained on 6,000 digits for six epochs with its binary cross-entropy loss, once with Lindeberg’s maximum over the scale channels and once with our pooling, which weights the channels by their scale relative to the intensity radius of the image; nothing else changes. Tab. 6 uses two test sets: 800 test digits at sizes from 12 to 4, and the first 2,000 of the blurred test digits of Tab. 4. The pooling makes the network invariant to zoom. On the first set, at half, twice and four times the training size, its accuracy rises from √ 69.3, √ 84.1 and 86.8% to 95.9, 98.0 and 97.5%, and the variance of its output over the sizes in [1/ 2, 2 2] falls from 0.122 to 0.003. Under blur at the training size both versions are robust, with 89.15 and 91.45% at σb = 2 on the second set; their later layers smooth further (Sec. 5.1). For the half-size digits of the second set the pooling is again decisive: 66.25 against 96.15% for sharp digits, and 73.35 against 83.65% for digits blurred by one pixel. The networks with our pooling are then trained again with everything fixed except the first layer, which is graded. Its input, the scale-normalized 2-jet (f1 , f2 ) of the image in each scale channel, is replaced by the retraction (f1 /ρ, f2 /ρ2 ) with ρ = (∥f1 ∥2 + ∥f2 ∥)1/2 , which is πq for N = 2, and the four products of frequency zero |z1 |2 , |h2 |2 , h0 and Re(h̄2 z12 ) of the retracted jet (Sec. 2.2) are appended to it, which adds 48 parameters. The later layers are unchanged and remain scale-normalized. Since πq ◦ ν = πq (Thm. 4.1(iii)), the graded first layer does not depend on the nominal scale, and by Thm. 5.1(ii) and (iii) a blur changes its input only by the change of scale s 7→ s + b and by the contrast factor of the second normalization. In the paired counts below the first number counts the digits on which the first network is right and the second wrong, and the second number the reverse; the p-values are Holm-adjusted over the six conditions of Tab. 6. On sharp digits, under blurs up to σb = 1.5 and at the zoom 12 the graded and the ungraded network are equally accurate, with no significant difference. Under the stronger blurs the graded network is more accurate: 93.10 against 91.45% at σb = 2 (85 against 52 digits, p = 0.03), and 89.75 against 83.65% for half-size digits blurred by one pixel (181 against 59, p < 10−14 ). The comparison replicates in a second version of the network with the four scale channels σ0 ∈ {2−1/2 , 21/2 , 23/2 , 25/2 } in place of eight, trained in the same way: 92.50 against 90.50% at σb = 2 (93 against 53, p = 0.006) and 88.35 against 82.25% for half-size digits blurred by one pixel (215 against 93, p < 10−10 ), with no other significant difference. On the size test the grading changes the accuracy in neither version beyond the sampling error of 800 digits, and the variance of the output across sizes, 0.004 and 0.009, stays far below the 0.122 of the maximum over channels. Each network was trained once, on the same training digits, so the two versions replicate the comparison across architectures,

22

T. SHASKA

not across training data, and the paired tests account for the variation over test digits, not for that between training runs. The gain comes from the retraction. A third version with eight scale channels retracts the jet of the first layer without appending the products, and so has exactly the parameters of the ungraded network. It is the most robust of all: 97.30, 95.10 and 91.45% at σb = 1.5, at σb = 2 and for half-size digits blurred by one pixel, against 96.10, 91.45 and 83.65% for the ungraded network (45 against 21, 104 against 31 and 200 against 44 digits; p = 0.017, p < 10−8 and p < 10−23 ), with no significant difference on sharp digits, at σb = 1 or at half size. The products lower the gain slightly: against the retraction alone, the first layer with products is right and the other wrong on 37 digits against 77 at σb = 2 (p = 0.001), and on 65 against 99 for the blurred half-size digits (p = 0.049). Table 6. Lindeberg’s Gaussian derivative network [9] in our reimplementation, in versions with eight and with four scale channels, each trained once with the same architecture, the same 6,000 digits at size 1, six epochs and the same loss. The pooling is Lindeberg’s maximum over the scale channels or the image-frame pooling of Sec. 6.2; the graded first layer retracts the scale-normalized 2-jet and appends its four frequency-zero products (20,722 parameters against 20,674), and the retraction-only version retracts it without the products (20,674 parameters) (Sec. 8.4).√Upper panel: accuracy (%) on 800 test digits at the sizes shown (canvas 113 2) and mean √ above √ variance of the normalized outputs over the nine sizes in [1/ 2, 2 2]. Middle panel: accuracy (%) on a second test set, the first 2,000 test digits of Tab. 4, blurred by σb input pixels, and at the zoom 12 sharp and with σb = 1; on 2,000 digits every accuracy is a multiple of 0.05 and is given exactly. Lower panel: the digits of the second set on which only the first or only the second network of each pair is right, and the exact two-sided McNemar test between them, Holm-adjusted over the six conditions [31]. Pooling eight scale channels maximum over channels [9] image-frame pooling image-frame pooling, graded first layer image-frame pooling, retraction only four scale channels image-frame pooling image-frame pooling, graded first layer

0.5

1 √ 2

1

69.3 95.9 96.8 96.4

96.6 98.1 98.3 98.9

98.0 98.5 98.8 98.6

√

2

91.4 98.5 98.8 98.5

√ 2 2 2 84.1 98.0 98.8 97.9

81.6 97.9 98.1 97.8

4

var.

86.8 97.5 98.1 97.9

0.122 0.003 0.004 0.004

96.4 98.1 98.6 98.3 99.1 98.4 97.6 0.005 96.6 98.0 98.4 98.5 97.9 97.8 97.4 0.009 blur σb , zoom 1

Pooling eight scale channels maximum over channels [9] image-frame pooling image-frame pooling, graded first layer image-frame pooling, retraction only four scale channels image-frame pooling image-frame pooling, graded first layer

zoom, σb

0

1

1.5

2

1 2, 0

1 2, 1

97.60 98.45 98.25 98.15

96.70 98.05 97.85 98.20

94.80 96.10 96.60 97.30

89.15 91.45 93.10 95.10

66.25 96.15 96.25 96.45

73.35 83.65 89.75 91.45

90.50 96.90 92.50 96.50

82.25 88.35

98.20 97.95 96.50 98.20 97.50 96.15

eight scale channels graded vs. ungraded, digits right only for each 10/14 15/19 35/25 85/52 32/30 181/59 graded vs. ungraded, p (Holm) 1.00 1.00 0.98 0.030 1.00 8 · 10−15 retraction only vs. ungraded, digits right only for each 8/14 16/13 45/21 104/31 31/25 200/44 retraction only vs. ungraded, p (Holm) 0.86 1.00 0.017 1 · 10−9 1.00 4 · 10−24 graded vs. retraction only, digits right only for each 14/12 15/22 21/35 37/77 29/33 65/99 graded vs. retraction only, p (Holm) 1.00 0.97 0.33 0.001 1.00 0.049 four scale channels graded vs. ungraded, digits right only for each 12/12 8/17 29/36 93/53 25/33 215/93 graded vs. ungraded, p (Holm) 1.00 0.43 1.00 0.006 1.00 2 · 10−11

Lindeberg’s network differs from GCN in depth, training data, number of epochs and loss, so these numbers concern the pooling and the grading within that architecture and do not compare the two

GRADED CONVOLUTIONAL NETWORKS

23

architectures. Under its own protocol the ungraded version is as robust to blur at the training size as GCN, with 89.15% against 88.90% at σb = 2 on the same 2,000 digits, and more accurate on sharp digits. In both architectures the retraction supplies the robustness to blur that scale normalization lacks: by a wide margin in the shallow network of Sec. 8.3, where no later smoothing compensates, and by a smaller but significant one in Lindeberg’s deeper network, whose later layers compensate in part. 9. Conclusion Derivative order grades the Gaussian jet of an image, and invariance under dilations forces this grading: every invariant local feature factors through the scale-normalized jet or, if it does not use the scale, through the retraction onto the weighted sphere of the grading. The two realizations differ under an unknown blur, which the retraction converts into a change of scale and the normalized jet into a residual grading factor, and at the singular point of the retraction the graded quotient separates local structures that no continuous classifier separates. Networks built on the retraction inherit these properties. On MNIST they are invariant to zoom and far more robust to blur than the same networks on scale-normalized derivatives, and the retraction alone, applied in the first layer of Lindeberg’s Gaussian derivative network, makes that network more robust to blur as well. The scale-normalized network is more accurate than GCN on sharp images, by 0.8 to 1.3 points on average over the three splits and by up to 2.6 in one, by up to 0.9 points on MNIST-Scale, and under mild blur (σb ≤ 0.5, or the resolution halved). A possible cause, which we have not tested, is the conditioning of the retraction near vanishing blocks, where it is only Hölder continuous (Thm. 2.3). The invariance of the pooled features is exact for the even shifts of the ladder and not for continuous zoom. By Thm. 5.1 the grading factor that affects the scale-normalized network is largest at the finest rungs, where µ2 = s/(s + b) is farthest from one; a scale-normalized network whose ladder starts at a coarser scale would be less sensitive to a blur of a given size, at the price of the fine scales that resolve the strokes, and we have not trained such a network. Deeper networks on scale-normalized derivatives, such as Lindeberg’s, recover much of the robustness through their later layers, and retracting their first layer adds to it. Training with blur augmentation could supply part of the robustness, as scale augmentation supplies part of the scale invariance; GCN needs neither. The experiments use one dataset of isolated, centred digits, three training splits for the shallow networks and one training run for each version of Lindeberg’s network, and a Gaussian model of blur. Real defocus is not Gaussian, and invariants to Gaussian blur in the sense of [28, 30] are a different and complementary tool. The pooling uses a global intensity frame, which isolated digits provide; images with several objects or with clutter are not tested, and neither are the scale-equivariant networks with learned filters [19, 20]. It remains to test the graded retraction on other data, on images with clutter and under real optical blur. Appendix A. Discretization and numerical verification A.1. Discretization. Images are placed on odd square canvases, of 29 pixels for MNIST and 57 for images enlarged beyond the canvas, and upsampled by two with bicubic interpolation aligned at the corners, so that pixel x of the input is pixel 2x of the working grid. The √ ladder s ∈ {2, 4, . . . , 4096} in working pixels2 , twelve rungs one octave of s apart, corresponds to σ = s/2 ∈ {0.71, 1, 1.41, . . . , 32} input pixels; the coarse rungs cost almost nothing and give the√bins room on both sides. The Gaussian derivatives are separable sampled kernels truncated at 4 s, in the cross-correlation form Ka (t) = (∂ a gs )(−t). The jet at the rung si is sampled on a pyramid with stride 2⌊i/2⌋+1 working pixels, that is 2, 2, 4, 4, . . . , 64, 64, on the grid x = c + stride · t through the canvas centre c. This grid ◦ is symmetric under the rotations by 90√ and nests exactly under the dilation by two from the canvas C to the canvas 2C − 1. A dilation by 2 shifts the ladder by one rung but resamples the pyramid, so the exact statements of Thm. 6.5(iii) are for even shifts. Positions whose foreground gate is at most 0.02, or whose bin memberships sum to at most 10−3 , are skipped; since g and mb are invariant, so is the skipped set, but the selection is discontinuous where a threshold is crossed. The homogeneous norm uses ∥fk ∥2 + ε2 with ε = 10−12 , so that the exactly flat background is mapped to zero, and it is

24

T. SHASKA

 computed in the log domain, log ρθ = 12 logsumexpk θ2k log∥fk ∥ . For SNT the harmonic coordinates of order k are multiplied by sk/2 before the radial projection. One epoch of 104 images takes about 35 seconds on two CPU cores. A.2. Numerical verification. The statements of Secs. 2 to 5 and of Thm. 6.8 were checked with the scripts verify identities, verify blur and verify v6 of the code [34]. Symbolically: the statements of Thm. 4.1, together with the realizability of the jets of order at most 3 (the Gram matrix of the Gaussian derivatives of order at most 3 has full rank); Thm. 5.1 and the example that follows it; the two identities of Thm. 5.2 on polynomial images, for which the jet is finite; and the identities of Sec. 2.2 and of the transvectant (f2 , f2 )(2) . Numerically, for Thm. 6.8: the activation pattern of a random ReLU network is constant beyond a computable µ0 , where the network equals its cubic exactly, and the radially projected network converges at the rate µ−1 . On real digits the sampled jets follow Sec. 5 up to discretization: for blurs of 0.5 and 1 input pixel, between the blurred digit at s ∈ {4, 8, 16} working pixels2 and the sharp digit at s + b, the retracted jets agree to 0.2–1.3% of their size, the sampled Gaussian not being an exact semigroup, while the radial projections of the normalized jets differ by 2–24%, most at the finest rung. The equivariance statements were verified numerically (Tab. 7). The position features are invariant under their own grading action to 10−15 , and under the exact dilation by two of real digits the features of GCN at rung i + 2 agree with those at rung i to 0.01–0.24 standard deviations across digits, those of SNT to at most 0.08, while those of UCN differ by up to 1.86. Between s = 4 and s′ = 6 working pixels2 the normalized jet of order 0 and 1 of a digit changes by 13% and 20% of its size. The grading factor of Thm. 5.2 alone leaves 13% at order 0, where it is trivial, and overshoots to 33% at order 1; the grading factor and the heat correction, truncated at the 5-jet, leave 1% and 5%, which combine the discretization of the derivatives with the truncation of the heat series (E6). Table 7. Numerical verification (test equivariance.py); E3, E4 in double precision. Relative errors are maxima over random inputs or over 16–32 MNIST digits; “std” denotes standard deviations of the feature across digits. E1, E2, E5 and E6 measure the discretization of the image-level statements; only E3 and E4 are at machine precision. Check

Result

E1 sampled Gaussian derivatives vs. the analytic jet of a blob, s = 1, 2, 4, 8 E2 scale-space covariance (2) under D2 , analytic images, s = 1, 2, 4 E3 position features under µ⋆θ for θ = (1, 2, 3) / (1, 1, 1) / (3, 1, 2) E3 features of θ = (1, 1, 1) / (3, 1, 2) under the dilation action µ⋆q E4 harmonic coordinates transform by eijϕ ; invariant readout rotation-invariant E4 pooled vector, invariant readout, under exact 90◦ rotations of digits, GCN / UCN E5 per-rung features under D2 of digits, rung i + 2 vs. i, ten rungs (std), GCN E5 same, UCN

3.9 · 10−3 , 1.5 · 10−3 , 3.6 · 10−3 , 1.2 · 10−3

E5 same, wrong grading (3, 1, 2) E5 same, scale-normalized twin SNT E6 (8) on digits, s = 4 → 6, order 0 / order 1: no correction, µ⋆ only, µ⋆ and heat

Declarations Funding. No funding was received for this work.

7.0 · 10−5 , 1.2 · 10−5 , 3.1 · 10−5 1.5 · 10−15 /1.1 · 10−15 /1.3 · 10−15 0.95 / 1.14 2.6 · 10−16 ; 6.9 · 10−16 3.1 · 10−14 / 1.3 · 10−14 0.24, 0.06, 0.05, 0.03, 0.04, 0.02, 0.02, 0.01, 0.03, 0.02 1.86, 1.14, 0.70, 0.38, 0.28, 0.12, 0.08, 0.04, 0.85, 0.84 2.58, 0.95, 0.55, 0.21, 0.13, 0.06, 0.06, 0.03, 0.11, 0.06 0.08, 0.07, 0.06, 0.03, 0.05, 0.02, 0.03, 0.01, 0.01, 0.00 1.3·10−1 , 1.3·10−1 , 9.8·10−3 / 2.0·10−1 , 3.3·10−1 , 5.4 · 10−2

GRADED CONVOLUTIONAL NETWORKS

25

Competing interests. The author has no competing interests to declare. Data availability. The MNIST digits are available from their original source and are not redistributed. The result files from which every table and figure of this paper is generated are openly available on Zenodo at https://doi.org/10.5281/zenodo.23997172 [34]. Code availability. The code and the trained networks are deposited with the result files [34], with instructions for regenerating each table from the stored results and for retraining every network. References [1] T. Shaska, Graded neural networks, Int. J. Data Sci. Math. Sci. 3 (2025), no. 2, 87–116, DOI 10.1142/S2810939225500030, available at arXiv:2502.17751. ↑1, 4, 5, 9, 10 [2] , Artificial neural networks on graded vector spaces (2024), preprint, available at arXiv:2407.19031. ↑1 [3] , Graded transformers (2025), preprint, available at arXiv:2507.20108. ↑1 [4] L. Hörmander, The analysis of linear partial differential operators I: Distribution theory and Fourier analysis, 2nd ed., Grundlehren der mathematischen Wissenschaften, vol. 256, Springer, 1990. ↑2, 5 [5] M. Felsberg and G. Sommer, The monogenic signal, IEEE Trans. Signal Process. 49 (2001), no. 12, 3136–3144. ↑6 [6] J. J. Koenderink, The structure of images, Biol. Cybernet. 50 (1984), 363–370. ↑2 [7] J. J. Koenderink and A. J. van Doorn, Representation of local geometry in the visual system, Biol. Cybernet. 55 (1987), 367–375. ↑2 [8] L. M. J. Florack, B. M. ter Haar Romeny, J. J. Koenderink, and M. A. Viergever, Scale and the differential structure of images, Image Vision Comput. 10 (1992), no. 6, 376–388. ↑2, 5 [9] T. Lindeberg, Scale-covariant and scale-invariant Gaussian derivative networks, J. Math. Imaging Vision 64 (2022), 223–242, available at arXiv:2011.14759. ↑1, 7, 21, 22 [10] Y. Jansson and T. Lindeberg, Scale-invariant scale-channel networks: deep networks that generalise to previously unseen scales, J. Math. Imaging Vision 64 (2022), 506–536. ↑1 [11] T. Lindeberg, Feature detection with automatic scale selection, Int. J. Comput. Vis. 30 (1998), no. 2, 79–116. ↑1, 3, 4, 6 [12] W. T. Freeman and E. H. Adelson, The design and use of steerable filters, IEEE Trans. Pattern Anal. Mach. Intell. 13 (1991), no. 9, 891–906. ↑3 [13] P. J. Olver, Classical invariant theory, London Mathematical Society Student Texts, vol. 44, Cambridge University Press, 1999. ↑10 [14] D. Hilbert, Über die Theorie der algebraischen Formen, Math. Ann. 36 (1890), 473–534. ↑12 [15] H. Derksen and G. Kemper, Computational invariant theory, 2nd ed., Encyclopaedia of Mathematical Sciences, vol. 130, Springer, 2015. ↑12 [16] G. Cybenko, Approximation by superpositions of a sigmoidal function, Math. Control Signals Systems 2 (1989), 303–314. ↑12 [17] M. Weiler and G. Cesa, General E(2)-equivariant steerable CNNs, Advances in Neural Information Processing Systems 32 (2019). ↑3 [18] A. Kanazawa, A. Sharma, and D. Jacobs, Locally scale-invariant convolutional neural networks (2014), preprint, available at arXiv:1412.5104. ↑2 [19] D. E. Worrall and M. Welling, Deep scale-spaces: equivariance over scale, Advances in Neural Information Processing Systems 32 (2019). ↑2, 11, 17, 23 [20] I. Sosnovik, M. Szmaja, and A. Smeulders, Scale-equivariant steerable networks, Int. Conf. Learning Representations (ICLR) (2020). ↑2, 11, 17, 23 [21] K. Sohn and H. Lee, Learning invariant representations with local transformations, Proc. 29th Int. Conf. Machine Learning (ICML) (2012), 1339–1346. ↑17 [22] B. Markussen, K. S. Pedersen, and M. Loog, A scale invariant covariance structure on jet space, Deep Structure, Singularities, and Computer Vision, Lecture Notes in Comput. Sci. 3753 (2005), 12–23, DOI 10.1007/11577812 2. ↑2 [23] , Second order structure of scale-space measurements, J. Math. Imaging Vision 31 (2008), 207–220, DOI 10.1007/s10851-008-0080-7. ↑2 [24] A. Perzanowski and T. Lindeberg, Scale generalisation properties of extended scale-covariant and scale-invariant Gaussian derivative networks on image datasets with spatial scaling variations, J. Math. Imaging Vision 67 (2025), no. 3, Paper No. 29, DOI 10.1007/s10851-025-01245-x. ↑1 [25] , Scale-invariant Gaussian derivative residual networks (2026), preprint, available at arXiv:2603.02843. ↑1 [26] E. Jenner and M. Weiler, Steerable partial differential operators for equivariant neural networks, Int. Conf. Learning Representations (ICLR) (2022), available at arXiv:2106.10163. ↑1, 2 [27] D. Yarotsky, Universal approximations of invariant maps by neural networks, Constr. Approx. 55 (2022), no. 1, 407–474, DOI 10.1007/s00365-021-09546-1. ↑1, 2, 11

26

T. SHASKA

[28] J. Flusser, S. Farokhi, C. Höschl IV, T. Suk, B. Zitová, and M. Pedone, Recognition of images degraded by Gaussian blur, IEEE Trans. Image Process. 25 (2016), no. 2, 790–806, DOI 10.1109/TIP.2015.2512108. ↑2, 23 [29] J. Kostková, J. Flusser, M. Lébl, and M. Pedone, Handling Gaussian blur without deconvolution, Pattern Recognit. 103 (2020), Paper No. 107264, DOI 10.1016/j.patcog.2020.107264. ↑2 [30] J. Flusser, M. Lébl, F. Šroubek, M. Pedone, and J. Kostková, Blur invariants for image recognition, Int. J. Comput. Vision 131 (2023), no. 9, 2298–2315, DOI 10.1007/s11263-023-01798-7. ↑2, 23 [31] S. Holm, A simple sequentially rejective multiple test procedure, Scand. J. Statist. 6 (1979), no. 2, 65–70. ↑17, 20, 22 [32] M. Leshno, V. Ya. Lin, A. Pinkus, and S. Schocken, Multilayer feedforward networks with a nonpolynomial activation function can approximate any function, Neural Networks 6 (1993), no. 6, 861–867, DOI 10.1016/S08936080(05)80131-5. ↑12 [33] Q. McNemar, Note on the sampling error of the difference between correlated proportions or percentages, Psychometrika 12 (1947), 153–157, DOI 10.1007/BF02295996. ↑17 [34] T. Shaska, Code and results for “Graded convolutional networks: scale invariance without the scale and robustness to unknown blur”, 2026. Zenodo. ↑3, 24, 25 Department of Computer Science & Engineering, Oakland University, Rochester, MI 48309 Email address: shaska@oakland.edu

Related documents

Record · ID 1598852 · SHA-256 ed3c3711f42b128a
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive