We analysed the SOKOL space experiment results. Proton and deuteron showers in the calorimeter were simulated. High energy deuterons and protons were separated by means of neural network. The deuterium to proton ratio in cosmic rays above 500 GeV/n was determined. The significant increase of deuterium to hydrogen ratio was discovered.