Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Lie-Group Flows and Matter Fields

    An invertible map of a real vector can be used to change a probability density. A gauge link requires more: the output must remain on the group, respect its endpoint transformations, and carry the correct volume factor. Even a perfectly invertible change of an SU(2)SU(2) eigenangle has the wrong density if its Haar-measure factor is omitted.

    We construct a small map for which all these questions can be answered explicitly. A monotone eigenangle map becomes a gauge-equivariant link update through a frozen alternate path. A transported matter update then supplies a second, ordinary real Jacobian. The resulting construction is a complete change of variables, although it is not trained to approximate a particular field-theory distribution.

    Preparation. Gauge-equivariant features, unitary matrices and change of variables. The generators retain the site convention Ta=σa/2T^a=\sigma^a/2.

    A conjugation-equivariant map of SU(2)

    Write a group element in quaternion coordinates,

    U=cos⁡χ I+isin⁡χ n⋅σ,0≤χ≤π,∣n∣=1.(1)U=\cos\chi\,I+i\sin\chi\,\mathbf n\cdot\boldsymbol\sigma, \qquad 0\leq\chi\leq\pi,\qquad |\mathbf n|=1. \tag{1}

    The Pauli matrices in (1) are twice the default generators. At χ=0,π\chi=0,\pi, the axis n\mathbf n is irrelevant and U=±IU=\pm I.

    For a real parameter ∣ϵ∣<1|\epsilon|<1, define

    fϵ(χ)=χ+ϵsin⁡χ,Fϵ(U)=cos⁡fϵ(χ)I+isin⁡fϵ(χ) n⋅σ.(2)f_\epsilon(\chi)=\chi+\epsilon\sin\chi, \qquad F_\epsilon(U)=\cos f_\epsilon(\chi)I +i\sin f_\epsilon(\chi)\,\mathbf n\cdot\boldsymbol\sigma. \tag{2}

    The endpoint values are fixed and fϵ′=1+ϵcos⁡χ>0f'_\epsilon=1+\epsilon\cos\chi>0. Therefore fϵf_\epsilon is a bijection of [0,π][0,\pi] with a unique bracketed inverse. It induces a smooth group diffeomorphism: near either pole the ratio sin⁡fϵ(χ)/sin⁡χ\sin f_\epsilon(\chi)/\sin\chi has a smooth even expansion in the distance from that pole. In implementation one uses these limiting ratios rather than dividing by a numerically tiny vector norm.

    Conjugation rotates n\mathbf n while leaving χ\chi fixed. Consequently

    Fϵ(GUG†)=GFϵ(U)G†.(3)F_\epsilon(GUG^\dagger)=G F_\epsilon(U)G^\dagger. \tag{3}

    This is the appropriate law for a loop based at one site. It is not the independent two-endpoint law of a link: generally F(GyVGx†)≠GyF(V)Gx†F(G_yVG_x^\dagger)\ne G_yF(V)G_x^\dagger when Gx≠GyG_x\ne G_y.

    Eigenvalue maps with permutation compatibility and fixed interval endpoints are developed in Boyda et al., §§III.1–III.2, including the Haar factor in Eq. (19). The elementary sinusoidal map (2) is the particular example used here; no trained spline result from that work is being reproduced.

    Let the active bottom link V=Vμ(x)V=V_\mu(x) run from xx to y=x+μ^y=x+\hat\mu. The other three links of a square form an alternate forward transporter from xx to yy:

    S=Vν(x+μ^)†Vμ(x+ν^)Vν(x).(4)S=V_\nu(x+\hat\mu)^\dagger V_\mu(x+\hat\nu)V_\nu(x). \tag{4}

    The rightmost factor acts first: go upward, across, then downward. Under independent gauge transformations at the four vertices,

    V′=GyVGx†,S′=GySGx†,W=S†V⟼GxWGx†.(5)V'=G_yVG_x^\dagger,\qquad S'=G_ySG_x^\dagger, \qquad W=S^\dagger V\longmapsto G_xWG_x^\dagger. \tag{5}

    The update

    Vout=SFϵ(S†V)(6)V^{\rm out}=S F_\epsilon(S^\dagger V) \tag{6}

    therefore has the required law Vout′=GyVoutGx†V^{{\rm out}\prime}=G_yV^{\rm out}G_x^\dagger. Its inverse, with the same SS, is V=SFϵ−1(S†Vout)V=S F_\epsilon^{-1}(S^\dagger V^{\rm out}).

    The words “with the same SS” matter. The three context links are frozen and omit the active bottom link. The derivative of the full transformation has a triangular active/context structure, so the active Jacobian suffices. Simultaneously updating a collection of links whose contexts contain one another does not inherit this argument. One must choose a suitable active/frozen partition or derive the joint inverse and determinant afresh. See Boyda et al., §II.1, Eqs. (8)–(9), and §II.2.

    The source's inverse-oriented gauge links are translated to the forward convention (5). This is why product order should be derived from endpoints rather than copied from a diagram or from a source with the opposite link convention.

    The angle derivative is only part of the Haar Jacobian

    Normalized Haar measure in (1) is

    dμH(U)=12π2sin⁡2χ dχ dΩ(n).(7)d\mu_H(U)=\frac1{2\pi^2}\sin^2\chi\,d\chi\,d\Omega(\mathbf n). \tag{7}

    Its integral is one because ∫dΩ=4π\int d\Omega=4\pi and ∫0πsin⁡2χ dχ=π/2\int_0^\pi\sin^2\chi\,d\chi=\pi/2. The map fixes the axis, so

    dμH(Fϵ(U))=JH(U)dμH(U),JH(U)=fϵ′(χ)[sin⁡fϵ(χ)sin⁡χ]2.(8)d\mu_H(F_\epsilon(U))=J_H(U)d\mu_H(U),\qquad J_H(U)=f'_\epsilon(\chi) \left[\frac{\sin f_\epsilon(\chi)}{\sin\chi}\right]^2. \tag{8}

    The two powers arise from the shrinking area of the conjugacy spheres near the poles. Continuity gives

    JH(+I)=(1+ϵ)3,JH(−I)=(1−ϵ)3.(9)J_H(+I)=(1+\epsilon)^3,\qquad J_H(-I)=(1-\epsilon)^3. \tag{9}

    Multiplication by a fixed group element preserves Haar measure, so the link update (6) has precisely this factor evaluated at W=S†VW=S^\dagger V.

    If pp is an input density with respect to Haar measure, the output density is

    q(Vout)=p(V)JH(S†V),V=SFϵ−1(S†Vout).(10)q(V^{\rm out})= \frac{p(V)}{J_H(S^\dagger V)}, \qquad V=S F_\epsilon^{-1}(S^\dagger V^{\rm out}). \tag{10}

    For Haar input p=1p=1, this is already nonuniform. Replacing JHJ_H by the flat angle derivative f′f' gives a particularly transparent wrong answer. Its total Haar integral is

    ∫dμH(U′) 1f′(f−1(χ′))=2π∫0πsin⁡2(χ+ϵsin⁡χ)dχ=1−J2(2ϵ),(11)\int d\mu_H(U')\,\frac1{f'(f^{-1}(\chi'))} =\frac2\pi\int_0^\pi\sin^2(\chi+\epsilon\sin\chi)d\chi =1-J_2(2\epsilon), \tag{11}

    where J2J_2 is the ordinary Bessel function. At ϵ=0.35\epsilon=0.35 the result is 0.94121305560.9412130556, not one. The missing factor is geometrical; increasing the precision of a Euclidean derivative would not repair it. The Haar-density ratio also appears explicitly in Boyda et al., Appendix B's spectral-map Jacobian.

    Monotone SU(2) angle maps and their Haar Jacobians, together with the finite-difference tangent-volume error as the step is refined.

    The angle map remains monotone for ϵ=0,±0.35\epsilon=0,\pm0.35. The Haar Jacobian includes both the angle derivative and conjugacy-sphere volume. The independent three-direction tangent check reaches its smallest retained error at step 10−510^{-5}, then shows roundoff at 10−610^{-6}.

    Add matter with a different measure

    Take commuting fundamental fields ϕx,ϕy∈C2\phi_x,\phi_y\in\mathbb C^2, transforming as Gxϕx,GyϕyG_x\phi_x,G_y\phi_y. Perform the gauge update first and hold its outputs fixed during the matter update. Set

    Wout=S†Vout,a(Wout)=exp⁡ ⁣[0.1Re⁡tr⁡Wout2],b=0.2,(12)W^{\rm out}=S^\dagger V^{\rm out},\qquad a(W^{\rm out})=\exp\!\left[0.1\frac{\operatorname{Re}\operatorname{tr}W^{\rm out}}2\right], \qquad b=0.2, \tag{12}

    and define

    ϕxout=aϕx+b(Vout)†ϕy,ϕyout=ϕy.(13)\phi_x^{\rm out}=a\phi_x+b(V^{\rm out})^\dagger\phi_y, \qquad \phi_y^{\rm out}=\phi_y. \tag{13}

    The coefficient aa is invariant and positive. The second term is transported to xx, so (13) transforms as a fundamental at xx. Its inverse subtracts that term and divides by aa.

    The active matter field has four real coordinates. Relative to d4ϕxd^4\phi_x, its determinant is

    Jmatter=a4.(14)J_{\rm matter}=a^4. \tag{14}

    Dependence of aa and the translation term on gauge outputs contributes off-diagonal derivative blocks, but not an additional determinant: gauge outputs depend on gauge inputs only. The complete forward volume factor is thus JHa4J_Ha^4. This is a product of a Haar Jacobian and a real Lebesgue Jacobian, not a single determinant obtained by treating group entries as independent complex variables.

    Transported matter coupling layers are discussed in Abbott et al., §III.3. Here the fields are commuting coordinates of a small explicit map. We have not integrated Grassmann variables, reproduced a pseudofermion target, or evaluated a dynamical-fermion determinant.

    Check group geometry, inverse and measure separately

    The retained test uses 128 independent Haar squares and independent Haar transformations at their four vertices, for each ϵ=0,±0.35\epsilon=0,\pm0.35. Haar SU(2)SU(2) draws are normalized four-component standard-normal vectors. Matter components are independent complex normals. Seven prescribed angles include both poles and points 10−410^{-4} from them.

    CheckLargest retained absolute defect
    Group unitarity6.30×10−166.30\times10^{-16}
    Determinant one5.56×10−165.56\times10^{-16}
    Conjugation law1.60×10−151.60\times10^{-15}
    Group inverse4.42×10−154.42\times10^{-15}
    Link endpoint law1.26×10−151.26\times10^{-15}
    Matter covariance9.75×10−169.75\times10^{-16}
    Matter inverse4.59×10−164.59\times10^{-16}

    Matrix defects use the Frobenius norm. Directly applying FF to the active link, omitting the staple construction, gives endpoint-law defects between 0.03170.0317 and 0.9370.937 for the nonzero deformations. This is a failed transformation law, although the output still belongs to SU(2)SU(2).

    An independent Jacobian check perturbs the input along the three left tangent directions exp⁡(±ihσa)U\exp(\pm ih\sigma_a)U. Output displacements are translated back to the identity and resolved in the same tangent basis; the determinant of the three central-difference columns is compared with (8). The maximum errors over all random inputs are

    Tangent step hhMaximum Jacobian error
    10−310^{-3}2.32×10−62.32\times10^{-6}
    10−410^{-4}2.32×10−82.32\times10^{-8}
    10−510^{-5}2.30×10−102.30\times10^{-10}
    10−610^{-6}4.31×10−104.31\times10^{-10}

    The initial second-order convergence and final rounding floor are both retained. Angle quadratures of orders 64 and 128 independently integrate (10) to within 4×10−154\times10^{-15} of one, while reproducing the wrong normalization (11). These checks are implemented in examples/computational-qft/machine-learning/su2_map_checks.py, with selected inputs and outcomes in su2-map-results.json.

    The example has no target-action fit or performance comparison. It establishes that an explicitly chosen local group map, frozen link context and transported matter update define the stated invertible change of variables. A useful learned sampler would still need a target distribution, a training objective and separate sampling diagnostics.

    Summary

    A conjugation-equivariant group map becomes a link-equivariant map only after its endpoints are handled. A frozen alternate path supplies both the correct law and a tractable inverse. Haar volume contributes a factor beyond the eigenangle derivative, while a commuting fundamental matter update contributes its own real-coordinate determinant. All three structures are needed for a valid density transformation.

    Exercises

    1. Recover the pole factors and the wrong normalization

    Derive (8)–(9) from normalized Haar measure. Then prove (11) using the integral representation of the ordinary Bessel function.

    Solution

    Keeping the axis fixed gives sin⁡2f(χ)f′(χ)dχ dΩ\sin^2 f(\chi)f'(\chi)d\chi\,d\Omega, whose ratio to (7) is (8). At χ→0\chi\to0, f(χ)=(1+ϵ)χ+O(χ3)f(\chi)=(1+\epsilon)\chi+O(\chi^3), so the ratio of sines tends to 1+ϵ1+\epsilon. At χ=π−u\chi=\pi-u, f(χ)=π−(1−ϵ)u+O(u3)f(\chi)=\pi-(1-\epsilon)u+O(u^3), giving the other pole. In each case the two angular scales and one radial scale produce the cube.

    For the wrong density, substitute χ′=f(χ)\chi'=f(\chi) to cancel the only retained derivative. Since 2sin⁡2f=1−cos⁡(2f)2\sin^2f=1-\cos(2f),

    2π∫0πsin⁡2f(χ)dχ=1−1π∫0πcos⁡(2χ+2ϵsin⁡χ)dχ.\frac2\pi\int_0^\pi\sin^2f(\chi)d\chi =1-\frac1\pi\int_0^\pi\cos(2\chi+2\epsilon\sin\chi)d\chi.

    The integer-order representation Jn(z)=π−1∫0πcos⁡(nχ−zsin⁡χ)dχJ_n(z)=\pi^{-1}\int_0^\pi\cos(n\chi-z\sin\chi)d\chi identifies the last integral as J2(−2ϵ)=J2(2ϵ)J_2(-2\epsilon)=J_2(2\epsilon). It vanishes at ϵ=0\epsilon=0 but not generically. Endpoint regularity therefore does not justify dropping the Haar factor.

    2. Matter volume and frozen context

    Derive the joint Jacobian of (6) and (13), and state what fails if a=0a=0 or if the staple is allowed to contain the active link.

    Solution

    At fixed gauge outputs and ϕy\phi_y, write ϕx\phi_x as four real components. Its derivative block is aI4aI_4, hence determinant a4a^4. The full derivative, ordered as gauge variables followed by matter variables, has the block form

    DF=(DFg0∗DFm).D\mathcal F=\begin{pmatrix}D\mathcal F_g&0\\ *&D\mathcal F_m\end{pmatrix}.

    The gauge determinant is computed using Haar volume, giving JHJ_H, and the matter block gives a4a^4. The off-diagonal block does not change their product. If a=0a=0, the active input ϕx\phi_x disappears and no inverse exists.

    If SS depends on the active VV, it is no longer fixed when differentiating or inverting V↦SF(S†V)V\mapsto SF(S^\dagger V). Derivatives of S(V)S(V) enter, and the proposed inverse cannot in general reuse the old context. Such a map could be invertible for other reasons, but neither the triangular proof nor the determinant JHJ_H follows from the argument given here.

    References

    • R. Abbott et al., “Gauge-equivariant flow models for sampling in lattice field theories with pseudofermions,” arXiv:2207.08945v2. See §II for conventions and §III.3 for transported matter and active/frozen coupling layers.
    • D. Boyda et al., “Sampling using SU(N)SU(N) gauge equivariant flows,” arXiv:2008.05456v2. See §§II.1–II.2 for triangular gauge maps, §§III.1–III.2 for Haar eigenvalue measure and SU(2)SU(2) spectral maps, and Appendix B for the Haar-density contribution to the Jacobian. Equations (2) and (12) specify the separate elementary map tested here.

    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.