The invention discloses a cross-instrument Raman spectrum data alignment method based on a Cycle-GAN network, and the method comprises the following steps: S1, collecting sample data through different Raman spectrometers, and obtaining a first
data set and a second
data set which have systematic differences and have no
paired samples; s2, carrying out denoising, baseline removal and normalization preprocessing on the
data set; s3, constructing a Cycle-GAN
network model containing structure-symmetric double generators and double discriminators, the generators being used for data set bidirectional mapping, and the discriminators discriminating the authenticity of
spectral data; s4, using the data set to
train a
network model in a self-supervision form; and S5, inputting the to-be-aligned
spectral data into the trained corresponding generator to obtain alignment data consistent with the spectral characteristics of the other data set. According to the method, a self-supervised bidirectional Cycle-GAN
network architecture is adopted, the method has an automatic optimizing capability, does not depend on a standard spectrum, is compatible with non-paired training data, can also retain differentiated spectrum characteristics of
tumor heterogeneity, and can realize accurate alignment of cross-instrument Raman spectra.