PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Computational Physics · High-performance and data-driven computational physics
Scientific Computing for Physicists, Ch Neural networks on physical data: backpropagation, convolution and symmetry
Problem
A periodic spin chain of N=6 sites has s=(s0,…,s5)=(1,−1,1,1,−1,1). A convolutional layer with kernel weight +1 at offset −1 and −1 at offset +1, z(r)=s(r−1)−s(r+1) (indices mod 6), is applied to it and, separately, to the cyclically shifted chain s′(r)=s(r−1mod6).
((a)) Compute z(r) for r=0,…,5 from s.
((b)) Compute z′(r) for r=0,…,5 from s′, and check that z′(r)=z(r−1mod6) for every r, the translation equivariance a circular convolution has by the Fourier shift theorem: shifting a signal multiplies every Fourier coefficient by a phase, leaving convolution with a fixed kernel commuting with the shift.
((c)) On the 13-atom Lennard-Jones cluster (39 inputs) the chapter measured a forward-to-reverse cost ratio of about 5.5. If the reverse sweep cost the same fixed multiple of one evaluation at every size, the ratio would grow in proportion to the number of inputs. On that assumption, estimate the ratio for a cluster with 200 inputs, and say whether the chapter's 38-atom measurement grew faster or more slowly than this rule predicts.
((d)) The ten square-lattice networks from L=32 are applied, without retraining, to triangular-lattice configurations, and their mean output crosses 21 at S=3.61J/kB. The ten seeds' crossings have a standard deviation of 0.059J/kB; take unum as the standard error of their mean, and take an input uncertainty uinput=0.01J/kB (from the coupling J used to generate the configurations). The comparison value is the triangular lattice's exact D=4/ln3=3.641J/kB (Houtappel 1950), known exactly so uD=0. Using E=S−D and uval=unum2+uinput2+uD2, compute E and uval, state whether the comparison passes at k=2, and say what a pass does and does not show about what the network has learned.