Lattice training