Fourier methods and symmetry

Fourier analysis expresses a function in modes that behave simply under symmetry. On a circle, these modes are the familiar complex exponentials einθe^{in\theta}. On a sphere, they are spherical harmonics. When an operator respects the relevant symmetry, these modes can also be its eigenfunctions, turning an integral or differential equation into separate equations for individual coefficients.

This is why an eigendecomposition on a symmetric domain can sometimes be understood as a Fourier decomposition. The important condition is that the operator and the integration measure must respect the symmetry. The geometry of the domain alone is insufficient.

Fourier methods also appear in statistical mechanics when we represent a constraint using a Dirac delta function. The underlying mathematics is closely related, but the variable being Fourier-expanded is different. We will develop both applications.

Consider a square-integrable function on the circle, parameterized by θ∈[0,2π)\theta\in[0,2\pi). Its Fourier expansion is

f(θ)=∑n∈Zfneinθ,fn=∫02πf(θ)e−inθdθ2π.f(\theta)=\sum_{n\in\mathbb Z}f_n e^{in\theta}, \qquad f_n=\int_0^{2\pi}f(\theta)e^{-in\theta}\frac{d\theta}{2\pi}.

Here, nn labels the angular frequency. The constant mode n=0n=0 describes the average value, while larger ∣n∣|n| describe finer angular variation.

To understand why these particular functions are useful, define the rotation operator

(Uaf)(θ)=f(θ−a).(U_a f)(\theta)=f(\theta-a).

Applying it to a Fourier mode gives

Uaeinθ=ein(θ−a)=e−inaeinθ.U_a e^{in\theta} = e^{in(\theta-a)} = e^{-ina}e^{in\theta}.

Thus, rotating a Fourier mode only multiplies it by a phase. Each mode is an eigenfunction of every rotation UaU_a.

Now consider a linear operator that respects rotations:

TUa=UaTfor every a.TU_a=U_aT \qquad\text{for every }a.

This equation says that rotating a function before applying TT gives the same result as rotating afterward. Consequently,

Ua(Teinθ)=T(Uaeinθ)=e−inaTeinθ.U_a(Te^{in\theta}) = T(U_ae^{in\theta}) = e^{-ina}Te^{in\theta}.

The transformed function TeinθTe^{in\theta} therefore has the same behavior under every rotation as einθe^{in\theta}. Since the functions with this behavior form a one-dimensional complex space, we must have

Teinθ=λneinθ.Te^{in\theta}=\lambda_n e^{in\theta}.

The Fourier modes diagonalize TT because TT respects the rotations that define those modes.

We can see this directly for a convolution operator,

(Tf)(θ)=∫02πκ(θ−ϕ)f(ϕ)dϕ2π.(Tf)(\theta) = \int_0^{2\pi} \kappa(\theta-\phi)f(\phi)\frac{d\phi}{2\pi}.

The kernel depends only on the relative angle. It treats every location on the circle equivalently.

Substituting a Fourier mode and changing variables to u=θ−ϕu=\theta-\phi, using periodicity, gives

(Ten)(θ)=∫02πκ(θ−ϕ)einϕdϕ2π=∫02πκ(u)ein(θ−u)du2π=einθ∫02πκ(u)e−inudu2π,\begin{aligned} (Te_n)(\theta) &= \int_0^{2\pi} \kappa(\theta-\phi)e^{in\phi}\frac{d\phi}{2\pi}\\ &= \int_0^{2\pi} \kappa(u)e^{in(\theta-u)}\frac{du}{2\pi}\\ &= e^{in\theta} \int_0^{2\pi} \kappa(u)e^{-inu}\frac{du}{2\pi}, \end{aligned}

where en(θ)=einθe_n(\theta)=e^{in\theta}. Hence

λn=∫02πκ(u)e−inudu2π.\boxed{ \lambda_n = \int_0^{2\pi} \kappa(u)e^{-inu}\frac{du}{2\pi}. }

The operator’s eigenvalues are precisely the Fourier coefficients of its convolution kernel.

For an arbitrary function,

Tf=∑n∈Zλnfneinθ.Tf = \sum_{n\in\mathbb Z}\lambda_n f_n e^{in\theta}.

An integral operation has become multiplication of each coefficient by a scalar. Changing κ\kappa changes the eigenvalues, while the Fourier basis continues to work.

The discrete version is a circulant matrix: a matrix whose entries depend only on the difference between indices, modulo the number of sites. Its eigenvectors form the discrete Fourier basis.

There is already a simple example in the one-dimensional Ising model. At zero external field, the transfer matrix is

T=(eβJe−βJe−βJeβJ).\mathsf T = \begin{pmatrix} e^{\beta J}&e^{-\beta J}\\ e^{-\beta J}&e^{\beta J} \end{pmatrix}.

Its normalized eigenvectors are

v+=12(11),v−=12(1−1),\mathbf v_+ = \frac1{\sqrt2} \begin{pmatrix}1\\1\end{pmatrix}, \qquad \mathbf v_- = \frac1{\sqrt2} \begin{pmatrix}1\\-1\end{pmatrix},

with eigenvalues

λ+=2cosh⁡(βJ),λ−=2sinh⁡(βJ).\lambda_+=2\cosh(\beta J), \qquad \lambda_-=2\sinh(\beta J).

These are the Fourier modes of the two-element group Z2\mathbb Z_2. To see this, label the spin states by s=(−1)bs=(-1)^b, where b∈{0,1}b\in\{0,1\}. The two discrete Fourier functions are

e2πi(0)b/2=1,e2πi(1)b/2=(−1)b=s.e^{2\pi i(0)b/2}=1, \qquad e^{2\pi i(1)b/2}=(-1)^b=s.

One is even under spin flip, and the other is odd. The transfer matrix preserves these symmetry sectors, so it acts on each by multiplication by a scalar. The familiar diagonalization of this 2×22\times2 matrix is therefore a small Fourier calculation.

We can now replace the circle by the ordinary unit sphere,

S2={x∈R3:∥x∥=1}.S^2=\{\mathbf x\in\mathbb R^3:\|\mathbf x\|=1\}.

The natural modes are the spherical harmonics YℓmY_{\ell m}, where

ℓ=0,1,2,…,m=−ℓ,…,ℓ.\ell=0,1,2,\ldots, \qquad m=-\ell,\ldots,\ell.

They are the angular functions encountered in quantum mechanics. Their relation to ordinary Fourier modes is visible in the eigenvalue equations

−d2dθ2einθ=n2einθ,−ΔS2Yℓm=ℓ(ℓ+1)Yℓm.-\frac{d^2}{d\theta^2}e^{in\theta} = n^2e^{in\theta}, \qquad -\Delta_{S^2}Y_{\ell m} = \ell(\ell+1)Y_{\ell m}.

Here, ΔS2\Delta_{S^2} is the Laplacian intrinsic to the sphere. Both bases organize functions by their spatial variation, measured through a Laplacian eigenvalue.

Let μ\mu be the uniform probability measure,

dμ=dΩ4π.d\mu=\frac{d\Omega}{4\pi}.

We choose the spherical harmonics to be orthonormal with respect to this measure:

∫S2Yℓm(x)∗Yℓ′m′(x) dμ(x)=δℓℓ′δmm′.\int_{S^2} Y_{\ell m}(\mathbf x)^* Y_{\ell' m'}(\mathbf x)\,d\mu(\mathbf x) = \delta_{\ell\ell'}\delta_{mm'}.

This convention rescales the usual quantum-mechanics harmonics by 4π\sqrt{4\pi}.

A square-integrable function then has the expansion

f(x)=∑ℓ=0∞∑m=−ℓℓfℓmYℓm(x),fℓm=∫S2Yℓm(x)∗f(x) dμ(x).f(\mathbf x) = \sum_{\ell=0}^\infty\sum_{m=-\ell}^{\ell} f_{\ell m}Y_{\ell m}(\mathbf x), \qquad f_{\ell m} = \int_{S^2}Y_{\ell m}(\mathbf x)^*f(\mathbf x)\,d\mu(\mathbf x).

Suppose a kernel depends only on the angle between its arguments:

K(x,x′)=κ(x⋅x′).K(\mathbf x,\mathbf x') = \kappa(\mathbf x\cdot\mathbf x').

The associated operator is

(TKf)(x)=∫S2κ(x⋅x′)f(x′) dμ(x′).(T_Kf)(\mathbf x) = \int_{S^2} \kappa(\mathbf x\cdot\mathbf x')f(\mathbf x')\,d\mu(\mathbf x').

Rotating both inputs preserves their inner product, and rotations preserve μ\mu. Thus TKT_K commutes with rotations.

The spherical counterpart of the convolution calculation is the Funk–Hecke theorem:

TKYℓm=λℓYℓm.\boxed{ T_KY_{\ell m}=\lambda_\ell Y_{\ell m}. }

With our probability-measure convention on S2S^2,

λℓ=12∫−11κ(t)Pℓ(t) dt,\boxed{ \lambda_\ell = \frac12\int_{-1}^{1}\kappa(t)P_\ell(t)\,dt, }

where PℓP_\ell is the Legendre polynomial normalized by Pℓ(1)=1P_\ell(1)=1. Angular integration has reduced the eigenvalue calculation to a one-dimensional integral.

Every mm at the same degree ℓ\ell has the same eigenvalue. Rotations generally mix the 2ℓ+12\ell+1 harmonics within that degree, so an operator respecting all rotations cannot distinguish a preferred orientation among them.

More precisely, each fixed-ℓ\ell space is an irreducible rotation representation: it cannot be split into smaller nonzero subspaces preserved by every rotation. Each such representation occurs once in scalar functions on S2S^2, and Schur’s lemma makes a rotation-invariant operator scalar on it. For more general spaces, symmetry may only reduce an operator to blocks.

For a sufficiently regular kernel, we can consequently write

K(x,x′)=∑ℓ,mλℓYℓm(x)Yℓm(x′)∗.K(\mathbf x,\mathbf x') = \sum_{\ell,m} \lambda_\ell Y_{\ell m}(\mathbf x) Y_{\ell m}(\mathbf x')^*.

This is the kernel’s spectral decomposition, expressed in a basis supplied by spherical geometry.

The same construction extends to SN−1⊂RNS^{N-1}\subset\mathbb R^N. The low-degree harmonic spaces have a useful interpretation in learning theory:

Degree Functions spanning the space on the unit sphere Dimension
ℓ=0\ell=0 Constants 11
ℓ=1\ell=1 Coordinates xix_i NN
ℓ=2\ell=2 Traceless quadratics xixj−δij/Nx_ix_j-\delta_{ij}/N N(N+1)/2−1N(N+1)/2-1

Thus, harmonic degree organizes constant, linear, quadratic, and progressively more complicated angular features. If inputs instead satisfy ∥x∥2=N\|\mathbf x\|^2=N, as is common in statistical-mechanics calculations, the angular variable becomes x⋅x′/N\mathbf x\cdot\mathbf x'/N.

As a concrete example, take the linear kernel on the unit sphere:

K(x,x′)=x⋅x′.K(\mathbf x,\mathbf x')=\mathbf x\cdot\mathbf x'.

Rotational invariance implies

Eμ[xx⊤]=cIN.\mathbb E_\mu[\mathbf x\mathbf x^\top]=cI_N.

Taking the trace gives Nc=E∥x∥2=1Nc=\mathbb E\|\mathbf x\|^2=1, hence c=1/Nc=1/N. For a linear function f(x)=a⋅xf(\mathbf x)=\mathbf a\cdot\mathbf x,

(TKf)(x)=Ex′[(x⋅x′)(a⋅x′)]=x⊤E[x′x′⊤]a=1Nf(x).\begin{aligned} (T_Kf)(\mathbf x) &= \mathbb E_{\mathbf x'} \big[(\mathbf x\cdot\mathbf x')(\mathbf a\cdot\mathbf x')\big]\\ &= \mathbf x^\top \mathbb E[\mathbf x'\mathbf x'^\top]\mathbf a\\ &= \frac1N f(\mathbf x). \end{aligned}

All linear harmonics therefore have eigenvalue 1/N1/N. Moreover,

(TKf)(x)=x⋅E[x′f(x′)](T_Kf)(\mathbf x) = \mathbf x\cdot\mathbb E[\mathbf x'f(\mathbf x')]

is linear for every ff. Every harmonic degree other than ℓ=1\ell=1 consequently has eigenvalue zero.

This distinguishes the population kernel operator from the ordinary input covariance. The covariance IN/NI_N/N has no preferred eigenvector: every orthonormal coordinate basis diagonalizes it. The kernel operator acts on an entire function space and identifies which kinds of functions it can represent.

The spectrum also becomes useful for studying learning dynamics. Assume a fixed positive-semidefinite kernel and population gradient flow for squared-error regression:

∂tft(x)=−∫K(x,x′)[ft(x′)−f∗(x′)] dμ(x′).\partial_t f_t(\mathbf x) = -\int K(\mathbf x,\mathbf x') \big[f_t(\mathbf x')-f_*(\mathbf x')\big]\,d\mu(\mathbf x').

Writing the prediction error as et=ft−f∗e_t=f_t-f_*, this is

∂tet=−TKet.\partial_t e_t=-T_Ke_t.

For a rotationally invariant spherical kernel, expand

et(x)=∑ℓ,meℓm(t)Yℓm(x).e_t(\mathbf x) = \sum_{\ell,m}e_{\ell m}(t)Y_{\ell m}(\mathbf x).

Substitution and orthogonality give

ddteℓm(t)=−λℓeℓm(t),\frac{d}{dt}e_{\ell m}(t) = -\lambda_\ell e_{\ell m}(t),

and therefore

eℓm(t)=e−λℓteℓm(0).\boxed{ e_{\ell m}(t) = e^{-\lambda_\ell t}e_{\ell m}(0). }

Each harmonic component relaxes independently. A larger eigenvalue means faster learning; a zero eigenvalue means that component of the initial error persists. This mode-wise description also appears in the fixed-kernel limit of neural-network training.

Whether lower-degree features learn faster depends on the eigenvalues of the particular kernel. Symmetry identifies the modes but does not, by itself, order their learning rates.

These statements concern a population operator. With finitely many randomly sampled inputs, the empirical measure generally breaks exact rotational symmetry, and the eigenvectors of the sample kernel matrix need not be exact sampled spherical harmonics. Likewise, when feature learning changes the kernel during training, a single fixed spectral decomposition need not describe the full dynamics.

A second application of Fourier analysis appears when a calculation contains a hard constraint. Consider weights w∈RN\mathbf w\in\mathbb R^N restricted by

1N∑j=1Nwj2=1.\frac1N\sum_{j=1}^{N}w_j^2=1.

Define their scalar constraint violation by

u(w)=1−1N∑jwj2.u(\mathbf w)=1-\frac1N\sum_jw_j^2.

We can impose the constraint inside an integral using

Z=∫RNdNw δ ⁣(u(w))e−βH(w).Z = \int_{\mathbb R^N}d^Nw\, \delta\!\big(u(\mathbf w)\big)e^{-\beta H(\mathbf w)}.

The delta restricts the integration to the sphere of radius N\sqrt N, with a measure proportional to its surface measure.

On the real line, our Fourier-transform convention is

f~(k)=∫Rf(u)e−iku du,f(u)=∫Rdk2πf~(k)eiku.\widetilde f(k)=\int_{\mathbb R}f(u)e^{-iku}\,du, \qquad f(u)=\int_{\mathbb R}\frac{dk}{2\pi}\widetilde f(k)e^{iku}.

The Fourier transform of the delta distribution is

δ~(k)=∫Rδ(u)e−iku du=1.\widetilde\delta(k) = \int_{\mathbb R}\delta(u)e^{-iku}\,du = 1.

Fourier inversion therefore gives

δ(u)=∫Rdk2πeiku.\boxed{ \delta(u)=\int_{\mathbb R}\frac{dk}{2\pi}e^{iku}. }

This is a distributional identity: it holds after integration against a suitable test function. Intuitively, combining all frequencies produces a spike at zero.

Substituting the spherical constraint,

δ ⁣(1−1N∑jwj2)=∫Rdk2πexp⁡ ⁣[ik(1−1N∑jwj2)]=∫Rdk2πeik∏j=1Ne−ikwj2/N.\begin{aligned} \delta\!\left(1-\frac1N\sum_jw_j^2\right) &= \int_{\mathbb R}\frac{dk}{2\pi} \exp\!\left[ik\left(1-\frac1N\sum_jw_j^2\right)\right]\\ &= \int_{\mathbb R}\frac{dk}{2\pi} e^{ik} \prod_{j=1}^{N}e^{-ik w_j^2/N}. \end{aligned}

For fixed kk, a constraint involving every coordinate has become a product of individual coordinate factors.

For example, suppose the remaining Hamiltonian is separable,

H(w)=∑j=1NV(wj),H(\mathbf w)=\sum_{j=1}^{N}V(w_j),

with a confining potential VV. The constrained integral becomes

Z=∫Rdk2πeik[∫Rdw e−βV(w)−ikw2/N]N.Z = \int_{\mathbb R}\frac{dk}{2\pi}e^{ik} \left[ \int_{\mathbb R}dw\, e^{-\beta V(w)-ik w^2/N} \right]^N.

We have replaced an integral over NN constrained coordinates by a single-coordinate integral and an auxiliary integral. For quadratic VV, the coordinate integral is Gaussian. The power NN also prepares the expression for a large-NN saddle-point calculation.

JZV uses this construction in his replica notes. His imaginary-axis convention follows by setting s=iks=ik:

δ(u)=∫−i∞i∞ds2πiesu.\delta(u) = \int_{-i\infty}^{i\infty}\frac{ds}{2\pi i}e^{su}.

It is the same Fourier identity with the factor of ii absorbed into the integration variable. Conventional rescalings of ss produce the hatted variables appearing in the action.

For example, define the replica overlap

Qab=1N∑j=1Nwjawjb.Q^{ab}=\frac1N\sum_{j=1}^{N}w_j^aw_j^b.

To treat QabQ^{ab} as an integration variable while preserving its definition, insert

1=∫RdQab δ ⁣(Qab−1N∑jwjawjb).1 = \int_{\mathbb R}dQ^{ab}\, \delta\!\left( Q^{ab}-\frac1N\sum_jw_j^aw_j^b \right).

Fourier-representing this delta introduces a conjugate variable, conventionally denoted Q^ab\widehat Q^{ab}. Its exponential contains a sum over coordinates, allowing the weight integrals to factor across jj in the relevant replica calculation. The replicas at a given coordinate can remain coupled.

The field Q^ab\widehat Q^{ab} acts as a Lagrange multiplier enforcing the overlap definition. Its hat labels an auxiliary conjugate variable; it does not mean a Fourier coefficient of the weight vector.

There is a direct mathematical connection between these constraint representations and the earlier spectral decompositions. A delta distribution is the kernel of the identity operator. On the real line,

f(u)=∫Rδ(u−v)f(v) dv,f(u)=\int_{\mathbb R}\delta(u-v)f(v)\,dv,

and its Fourier representation is

δ(u−v)=∫Rdk2πeikue−ikv.\delta(u-v) = \int_{\mathbb R}\frac{dk}{2\pi}e^{iku}e^{-ikv}.

Every Fourier mode has eigenvalue one under the identity.

On the sphere, the corresponding completeness relation is

δμ(x,x′)=∑ℓ,mYℓm(x)Yℓm(x′)∗,\delta_\mu(\mathbf x,\mathbf x') = \sum_{\ell,m} Y_{\ell m}(\mathbf x)Y_{\ell m}(\mathbf x')^*,

where δμ\delta_\mu is defined by

∫S2δμ(x,x′)f(x′) dμ(x′)=f(x).\int_{S^2} \delta_\mu(\mathbf x,\mathbf x')f(\mathbf x')\,d\mu(\mathbf x') = f(\mathbf x).

Again, all spectral weights are one.

In JZV’s constraint calculation, however, the Fourier variable kk is conjugate to the scalar violation uu. It does not label angular variation around the weight sphere. This is why the delta-function technique works even when the Hamiltonian has no rotational symmetry: the Fourier expansion takes place in the constraint variable.

The references used here are:

  1. Gilbert Strang, Eigenvectors of Circulant Matrices: Fourier Matrix.
  2. Jean Gallier, Notes on Spherical Harmonics and Linear Representations of Lie Groups.
  3. Francis Bach, Breaking the Curse of Dimensionality with Convex Neural Networks, Appendices C–D.
  4. Arthur Jacot, Franck Gabriel, and Clément Hongler, Neural Tangent Kernel: Convergence and Generalization in Neural Networks.
  5. Jacob Zavatone-Veth, Lecture Notes on the Replica Method for Wishart Matrix Eigenvalues, §5.2.