A process for reducing a content of water-soluble salts of an aqueous solution of a polymer containing vinylamine groups by ultrafiltration to achieve a residual salt content of 1 to 10% by weight based on total solution solids in the polymer solution, which comprises a step of feeding an aqueous salt-containing solution of a vinylamine group containing polymer at a polymer concentration of at least 7% by weight to an ultrafiltration unit and removing the water-soluble salts with a permeate from the feed solution by adding thereto less than 4 parts by weight of water per one part by weight of the feed solution, wherein the efficiency of the ultrafiltration unit, which is defined as the passage of salt across the membrane, is greater than 100%.