We have studied the collective acceleration of protons and deuterons in an electron beam emitted from plasma formed at the surface of a dielectric anode insert. The experiments were performed with a pulsed electron accelerator operating at an accelerating voltage up to 1 MV, current amplitude up to 40 kA, and pulse duration of 50 ns. Reduction of the accelerating voltage pulse front width and optimization of the diode unit and drift region ensured the formation of several annular structures in the electron beam. As a result, up to 50% of the radioactivity induced in a copper target was concentrated in a ring with 4.5-cm diameter and 0.2-cm width. The formation of high energy density in these circular traces and the appearance of an axial component of the self-generated magnetic field of the electron beam are related with the increasing efficiency of acceleration of the most intense group of ions.