Learning in PINNs: Phase transition, total diffusion, and generalization | Synapse