Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    A convolution normally adds values at neighboring sites. A charged field makes that operation ambiguous: its phase convention can be changed independently at every site. Before adding two charged features, we must bring them to the same site with a parallel transporter.

    This requirement gives a constructive way to build a network layer. We derive a local matter layer and a link-valued output on a two-dimensional U(1)U(1) lattice, then test their transformation laws against two deliberately incorrect alternatives. The example also shows why gauge equivariance alone does not make a map suitable for changing a probability density.

    Preparation. Lattice gauge links, complex fields and unitary representations. The next article adds invertibility and the Haar-measure Jacobian.

    Transport to the site where features are combined

    Let Vμ(x)V_\mu(x) transport from xx to y=x+μ^y=x+\hat\mu. With the site's forward-link convention,

    ϕ′(x)=G(x)ϕ(x),Vμ′(x)=G(y)Vμ(x)G(x)†.(1)\phi'(x)=G(x)\phi(x),\qquad V'_\mu(x)=G(y)V_\mu(x)G(x)^\dagger. \tag{1}

    For U(1)U(1), G(x)=eiα(x)G(x)=e^{i\alpha(x)} and Vμ(x)=eiθμ(x)V_\mu(x)=e^{i\theta_\mu(x)}, so θμ′(x)=θμ(x)+α(y)−α(x)\theta'_\mu(x)=\theta_\mu(x)+\alpha(y)-\alpha(x) modulo 2π2\pi. The matter field here is a commuting charge-one complex scalar. It is not a Grassmann coordinate.

    An ordinary neighbor sum fails: ϕ(x+μ^)\phi(x+\hat\mu) transforms with G(x+μ^)G(x+\hat\mu), whereas the feature at xx must transform with G(x)G(x). The two correctly transported neighbors are

    Tμ+ϕ(x)=Vμ(x)†ϕ(x+μ^),Tμ−ϕ(x)=Vμ(x−μ^)ϕ(x−μ^).(2)T_\mu^+\phi(x)=V_\mu(x)^\dagger\phi(x+\hat\mu),\qquad T_\mu^-\phi(x)=V_\mu(x-\hat\mu)\phi(x-\hat\mu). \tag{2}

    For example,

    (Tμ+ϕ)′(x)=G(x)Vμ(x)†G(y)†G(y)ϕ(y)=G(x)Tμ+ϕ(x).(3)(T_\mu^+\phi)'(x) =G(x)V_\mu(x)^\dagger G(y)^\dagger G(y)\phi(y) =G(x)T_\mu^+\phi(x). \tag{3}

    The intermediate transformation cancels. This calculation works for a unitary non-Abelian representation as well, provided the matrix order is retained. A longer path has the same endpoint cancellation.

    Parallel transport before channel mixing is the central operation in the matter-field layers of Abbott et al., §III.3, Eqs. (24)–(27). That paper stores the inverse-oriented link relative to (1); substituting its link directly into (2) without translating the endpoints would reverse the transport.

    Build a nonlinear matter layer

    In two lattice directions, choose the explicit fixed coefficients

    χ(x)=0.6ϕ(x)+∑μ=12[0.15Tμ+ϕ(x)+0.05Tμ−ϕ(x)].(4)\chi(x)=0.6\phi(x) +\sum_{\mu=1}^2\left[0.15T_\mu^+\phi(x)+0.05T_\mu^-\phi(x)\right]. \tag{4}

    Every term transforms with the same G(x)G(x); hence so does χ\chi. The coefficients could be learned scalar channel weights. In a multi-channel representation, channel mixing must commute with the gauge action on the representation indices. The present numerical example fixes the coefficients and performs no training.

    A scalar nonlinearity applied separately to real and imaginary parts generally selects preferred directions in the complex plane. Instead use an invariant to modulate the charged feature:

    ψ(x)=χ(x)1+∣χ(x)∣2,ψ′(x)=G(x)ψ(x),O(x)=∣ψ(x)∣2.(5)\psi(x)=\frac{\chi(x)}{1+|\chi(x)|^2},\qquad \psi'(x)=G(x)\psi(x),\qquad \mathcal O(x)=|\psi(x)|^2. \tag{5}

    The denominator is unchanged by the local phase, and O\mathcal O is gauge invariant. More generally h(∣χ∣2)χh(|\chi|^2)\chi is equivariant for a scalar function hh. The invariance is algebraic and holds for every value of its scalar parameters; it does not require the training data to contain every gauge transform.

    There is a useful distinction between equivariant features and invariant outputs. Retaining the charged ψ\psi allows subsequent layers to transport and combine it. Taking ∣ψ∣2|\psi|^2 removes its phase and is appropriate for an invariant readout, but it cannot generally reconstruct the original charged feature. Symmetry determines legal transformations, not whether a particular information loss is useful for a target observable.

    A site feature and a link feature obey different laws. For the same matter field, form

    jμ(x)=Im⁡ ⁣[ϕ(x+μ^)∗Vμ(x)ϕ(x)].(6)j_\mu(x)=\operatorname{Im}\!\left[ \phi(x+\hat\mu)^*V_\mu(x)\phi(x)\right]. \tag{6}

    The bracket is invariant: all endpoint phases cancel. Thus

    Vμout(x)=eiηjμ(x)Vμ(x),η=0.25,(7)V_\mu^{\rm out}(x)=e^{i\eta j_\mu(x)}V_\mu(x),\qquad \eta=0.25, \tag{7}

    remains on U(1)U(1) and transforms with the same two endpoints as VμV_\mu. Gauge invariance of the multiplier, unit modulus and the endpoint law are separate checks. A generic complex additive correction to VμV_\mu would not preserve the group.

    For later gauge-only constructions, a loop based at xx transforms by conjugation at xx. A traced loop is invariant, while an untraced loop can supply covariant matrix information. In U(1)U(1) conjugation is trivial, but the path ordering and endpoint bookkeeping remain essential when passing to SU(2)SU(2).

    The plaquette used in the companion is the positively oriented path x→x+1^→x+1^+2^→x+2^→xx\to x+\hat 1\to x+\hat 1+\hat 2\to x+\hat 2\to x:

    P(x)=V2(x)†V1(x+2^)†V2(x+1^)V1(x).(8)P(x)=V_2(x)^\dagger V_1(x+\hat 2)^\dagger V_2(x+\hat 1)V_1(x). \tag{8}

    The rightmost transporter acts first. Its phase equals the oriented incidence matrix applied to the packed link angles; the discrete curl of a gauge gradient vanishes. This supplies an independent geometry check before testing the layer.

    Test covariance on actual transformed inputs

    The retained calculation uses periodic 6×66\times6 lattices, with 4×44\times4 as a control. At each size it draws 32 independent test configurations: Haar-distributed link phases, complex-normal matter with real and imaginary variances 1/21/2, and independent Haar site rotations. These are arbitrary algebra-test inputs, not samples from a gauge-action equilibrium distribution. In particular, the open-boundary independent-plaquette sampler from the earlier lattice example is not used on the torus.

    For a map FF, compare F(V′,ϕ′)F(V',\phi') with the transformed F(V,ϕ)F(V,\phi). The reported normalized difference is

    ϵF=max⁡∣F(V′,ϕ′)−G⋅F(V,ϕ)∣1+max⁡∣G⋅F(V,ϕ)∣,(9)\epsilon_F= \frac{\max|F(V',\phi')-G\cdot F(V,\phi)|} {1+\max|G\cdot F(V,\phi)|}, \tag{9}

    with the two-endpoint action for links. The implementation also checks unit modulus, angle lifts by 2π2\pi, the explicit phase transformation and the independent plaquette formula.

    CheckLargest retained defect
    Transported feature χ\chi2.99×10−162.99\times10^{-16}
    Radial feature ψ\psi1.86×10−161.86\times10^{-16}
    Invariant readout1.78×10−161.78\times10^{-16}
    Link output, either direction5.56×10−165.56\times10^{-16}
    Plaquette orientation comparison8.72×10−168.72\times10^{-16}
    Link unit modulus2.23×10−162.23\times10^{-16}

    The small differences are floating-point evidence for identities already derived above. By contrast, replacing (2) by untranslated neighbors gives defects from 0.1560.156 to 0.4090.409 over the retained inputs. Applying separate real and imaginary ReLU functions to the transported feature gives defects from 0.2730.273 to 0.6840.684. Both failures survive although the same gauge transformations and fields are used.

    A deterministic check makes the normalization transparent. With identity links and constant ϕ=1\phi=1, the coefficients in (4) sum to one, giving χ=1\chi=1 and ψ=1/2\psi=1/2. Apply a nonconstant gauge transformation to that configuration: the transformed links are no longer identity, but the output is still G(x)/2G(x)/2. This isolates transport from accidental agreement on constant phases.

    The companion examples/computational-qft/machine-learning/gauge_map_checks.py retains every selected defect in gauge-map-results.json. Its seed families separate links, matter and site rotations. The checks establish the implemented transformation laws; they do not measure learned accuracy, sampling efficiency or generalization.

    Equivariance is not invertibility

    The radial map in (5) already disproves the inference that a gauge-equivariant layer is automatically a normalizing flow. Along any fixed complex direction its radius changes by

    r⟼r1+r2.(10)r\longmapsto \frac{r}{1+r^2}. \tag{10}

    The radii rr and 1/r1/r have the same image. The map is singular at r=1r=1 and is not globally injective. Gauge covariance does not repair this loss of information.

    Nor does (7) by itself establish an invertible link update: its phase correction depends on the active link through jμj_\mu, and the matter amplitudes are unbounded. One must separately control the derivative and solve the inverse if a density transformation is intended. The relevant Jacobian is defined relative to Haar measure for gauge links and the chosen matter measure.

    Gauge-equivariant coupling flows solve this different problem by making an active update depend on carefully frozen context. Kanwar et al., Eqs. (3)–(5) and the coupling-layer discussion explicitly require the staple to omit active links. The next article implements that condition in a small SU(2)SU(2) map and computes its Haar Jacobian.

    Summary

    Transport charged neighbors to a common site, mix only compatible representations, and build nonlinearities from invariant information. A link output must preserve both endpoint transformations and the group constraint. These algebraic requirements can be tested on arbitrary gauge-transformed inputs. Probability-density transport requires additional invertibility and measure arguments, which the covariant feature layer need not satisfy.

    Exercises

    1. Paths, charges and biases

    For a path x0→x1→⋯→xnx_0\to x_1\to\cdots\to x_n, prove the endpoint law for its ordered transporter. Use it to construct a transported charge-two U(1)U(1) field. Can a fixed nonzero complex bias be added to a charge-one feature while preserving arbitrary local gauge transformations?

    Solution

    Write Vj:xj−1→xjV_j:x_{j-1}\to x_j, using the inverse transporter for a traversed link with opposite orientation. The total transporter is T=Vn⋯V1T=V_n\cdots V_1. Its transformed product is

    T′=G(xn)VnG(xn−1)†G(xn−1)Vn−1⋯V1G(x0)†=G(xn)TG(x0)†.T'=G(x_n)V_nG(x_{n-1})^\dagger G(x_{n-1})V_{n-1} \cdots V_1G(x_0)^\dagger =G(x_n)TG(x_0)^\dagger.

    Each internal transformation cancels its adjacent inverse. For a charge-two scalar φ′(x)=G(x)2φ(x)\varphi'(x)=G(x)^2\varphi(x), the charge-two transporter is T2T^2 in U(1)U(1). Thus (T†)2φ(xn)(T^\dagger)^2\varphi(x_n) transforms by G(x0)2G(x_0)^2. Using only T†T^\dagger leaves an uncancelled phase at the distant endpoint.

    A fixed additive bias bb would need G(x)χ(x)+b=G(x)[χ(x)+b]G(x)\chi(x)+b=G(x)[\chi(x)+b] for every G(x)G(x), implying b=G(x)bb=G(x)b for all phases. Hence b=0b=0. A neutral-channel bias is possible, or a charged bias can be treated as an additional transforming input, but an arbitrary fixed charged number is not equivariant.

    2. Compute the radial Jacobian

    Treat z↦z/(1+∣z∣2)z\mapsto z/(1+|z|^2) as a map of R2\mathbb R^2. Derive its real Jacobian determinant and explain why an invariant denominator is insufficient for an invertible flow.

    Solution

    The output radius is s(r)=r/(1+r2)s(r)=r/(1+r^2) and the angle is unchanged. The radial derivative and angular scale are

    s′(r)=1−r2(1+r2)2,s(r)r=11+r2.s'(r)=\frac{1-r^2}{(1+r^2)^2},\qquad \frac{s(r)}r=\frac1{1+r^2}.

    Their product gives

    det⁡Dψ=1−r2(1+r2)3,\det D\psi=\frac{1-r^2}{(1+r^2)^3},

    with value one at the origin by continuity. The determinant vanishes at r=1r=1 and changes sign across it. More decisively, s(r)=s(1/r)s(r)=s(1/r) for positive rr, so generic output radii below 1/21/2 have two preimages. The map remains phase-equivariant throughout; equivariance and global one-to-one behavior are logically separate.

    References

    • R. Abbott et al., “Gauge-equivariant flow models for sampling in lattice field theories with pseudofermions,” arXiv:2207.08945v2. See §II, Eq. (6), for the source link convention and §III.3, Eqs. (24)–(27), for parallel transport and matter coupling layers. The commuting scalar example here is a separate algebra test.
    • G. Kanwar et al., “Equivariant flow-based sampling for lattice gauge theory,” arXiv:2003.06413. The linked HTML displays v1; see Eqs. (3)–(5) and the frozen-staple requirement in the gauge-equivariant coupling-layer discussion. Translate its inverse-oriented links to (1).

    Further reading

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.