The mass transfer in heterogeneous materials under irradiation with high-intensity beams of charged particles was discussed. The dislocation model of the grain boundary diffusion was applied for the description of the observable mass transfer in heterogeneous materials at the high-dose ion implantations. The density of dislocations and their spatial distributions depend upon the properties of the irradiated material, ions energy, irradiation dose and impurity concentration.