This invention discloses a method and apparatus for
renewable energy power prediction based on time-series discrete labeling, belonging to the field of
renewable energy power prediction; it includes: acquiring historical observation multivariate
time series of target power plants; constructing and training a time-series labeling mapping, dividing the multivariate
time series into blocks and encoding them to obtain a continuous latent representation; normalizing the continuous latent representation and the introduced learnable
codebook respectively, and allocating discrete indices using
nearest neighbor search to obtain a discrete time-series
label matrix; expanding the discrete time-series labels output by the trained time-series labeling mapping and incorporating them into the unified vocabulary of a pre-trained
language model to construct a conditional autoregressive
generative model, and performing fine-tuning training while freezing the
backbone network parameters of the pre-trained
language model; given the environmental
semantic context and the historical time-series
label sequence obtained through the time-series labeling mapping, generating a future discrete
label sequence based on the trained model in an autoregressive manner, and inputting the generated future discrete label sequence into the decoder of the time-series labeling mapping to reconstruct a prediction sequence in the continuous domain.