Further development of the approach to the study of relativistic nuclear interactions in the space of four-dimensional velocities using the similarity principle is reported. In essence, the approach is modified by including quark–gluon dynamics in hadron generation during nucleus–nucleus interactions in the central rapidity region. Inclusive spectra of pions and kaons produced in pp and nucleus–nucleus, collisions are studied as a function of their transverse momentum pT in the central rapidity region calculated within the modified approach based on the assumption of similarity of inclusive hadron spectra. A satisfactory description is given of the NA61/SHINE data for the yield ratios K+/π+ and K−/π− as a function of (sqrt s ) in pp and BeBe collisions. Calculations of antiparticle-to-particle yield ratios (({{bar {p}} mathord{left/ {vphantom {{bar {p}} p}} right. kern-0em} p}), ({{bar {d}} mathord{left/ {vphantom {{bar {d}} d}} right. kern-0em} d}), ({{{{{overline {{text{He}}} }}^{3}}} mathord{left/ {vphantom {{{{{overline {{text{He}}} }}^{3}}} {{text{H}}{{{text{e}}}^{3}}}}} right. kern-0em} {{text{H}}{{{text{e}}}^{3}}}})) in proton–proton and nucleus–nucleus reactions are presented.