An earth observation data prediction method, device, equipment and storage medium
By using a self-attention model (ST-transformer) to encode and decode Earth observation data, the complexity caused by multi-model processing in existing technologies is solved, and efficient data incompleteness and prediction are achieved.
Patent Information
- Application Number
- CN202310421058.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-04-19
AI Technical Summary
When using existing technologies to predict Earth observation data, missing data requires multiple models to fill in the gaps and make predictions, which is a complex and inefficient process.
A self-attention model (ST-transformer) is used for data encoding and decoding. Missing observations and index data are processed by an observation imputation decoder, an index estimation decoder, and a data prediction decoder, respectively, to achieve data imputation and prediction.
It simplifies the data forecasting process, improves the efficiency of Earth observation data forecasting, and enables accurate prediction of future indicator data even when data is missing.
Smart Images

Figure CN116579464B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and more specifically, to a method, apparatus, device, and storage medium for predicting Earth observation data. Background Technology
[0002] Earth observation data refers to the observed values of various indicators on Earth, such as rainfall and snowfall, obtained through various means. With the rapid development and application of artificial intelligence and deep neural network models, neural network models are being used to predict Earth observation data. This involves using existing Earth observation data to predict various observation indicators over a future period. In real-world scenarios, the collected observation data and specific indicator data are often incomplete, requiring data completion and estimation to achieve accurate predictions. Related technologies utilize targeted training of data completion and estimation models to fill in missing data and estimate missing indicators, which are then used to predict Earth observation data using a data prediction model.
[0003] In related technologies, when predicting Earth observation data, if data is missing, it is necessary to fill in the missing data using specific models and then use data prediction models to make predictions. This requires training multiple models to achieve different functions, making the training and prediction process quite complex. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for predicting Earth observation data, aiming to improve the efficiency of Earth observation data prediction.
[0005] A first aspect of this application provides a method for predicting Earth observation data, the method comprising: Receive Earth observation data to be predicted; The Earth observation data to be predicted is encoded by an encoder to obtain the encoded Earth observation data to be predicted. The missing observation data in the Earth observation data to be predicted is filled in by the observation value filling decoder to obtain the filled prediction data. The missing indicator data in the filled-in data to be predicted is estimated by using the indicator estimation decoder to obtain the complete data to be predicted. The target prediction data is obtained by performing data inference based on the complete data to be predicted using a data prediction decoder.
[0006] Optionally, the method is implemented based on an Earth observation data prediction model, the training steps of which include: Collect complete Earth observation data within the first preset time period to obtain an Earth observation dataset; Input the Earth observation dataset into the untrained Earth observation data prediction model; The various types of Earth observation data in the Earth observation dataset are masked to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset. The Earth observation data prediction model is trained using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model.
[0007] Optionally, the step of masking various types of Earth observation data in the Earth observation dataset to obtain a first Earth observation dataset, a second Earth observation dataset, and a third Earth observation dataset includes: Randomly mask the observed data in the Earth observation dataset to obtain the first Earth observation dataset. Mask all data for any one indicator in the Earth observation dataset to obtain a second Earth observation dataset. The tail data of any indicator in the Earth observation dataset, starting from a specified position, is masked to obtain a third Earth observation dataset.
[0008] Optionally, training the Earth observation data prediction model using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model includes: The observation value filling decoder in the Earth observation data prediction model is trained using the first Earth observation dataset to obtain the trained observation value filling decoder. The index estimation decoder in the Earth observation data prediction model is trained using the second Earth observation dataset to obtain the trained index estimation decoder. The data prediction decoder in the Earth observation row data prediction model is trained using the third Earth observation dataset to obtain the trained data prediction decoder.
[0009] Optionally, the step of using an observation imputation decoder to impute missing observations in the Earth observation data to be predicted, to obtain imputed data to be predicted, includes: Identify the missing observation data in the Earth observation data to be predicted; The observation filler decoder estimates the value of the missing observation data based on the existing data in the Earth observation data. The missing observation data is added to the Earth observation data to be predicted to obtain the filled-in data to be predicted.
[0010] Optionally, the step of estimating the missing indicator data in the imputed data to be predicted using an indicator estimation decoder to obtain the complete data to be predicted includes: Determine the missing indicators in the imputed data to be predicted; The missing indicator is estimated using the indicator estimation decoder based on the imputed data to be predicted. The missing indicators are added to the filled-in data to obtain the complete data to be predicted.
[0011] Optionally, the step of obtaining target prediction data by performing data inference based on the complete data to be predicted using a data prediction decoder includes: The complete data to be predicted is input into the data prediction decoder; The data prediction decoder predicts the value of the indicator data within a second preset time period based on the value of the indicator data in the complete data to be predicted, thereby obtaining the target prediction data.
[0012] A second aspect of this application provides an Earth observation data prediction apparatus, the apparatus comprising: The data receiving module is used to receive Earth observation data to be predicted; The encoding module is used to encode the Earth observation data to be predicted through an encoder to obtain the encoded Earth observation data to be predicted. The data imputation module is used to impute missing observation data in the Earth observation data to be predicted by using the observation imputation decoder, so as to obtain the imputed data to be predicted. The indicator estimation module is used to estimate the missing indicator data in the filled-in data to be predicted by using the indicator estimation decoder, so as to obtain the complete data to be predicted. The data prediction module is used to perform data inference based on the complete data to be predicted through the data prediction decoder to obtain the target prediction data.
[0013] Optionally, the method is implemented based on an Earth observation data prediction model, the training steps of which include: Collect complete Earth observation data within the first preset time period to obtain an Earth observation dataset; Input the Earth observation dataset into the untrained Earth observation data prediction model; The various types of Earth observation data in the Earth observation dataset are masked to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset. The Earth observation data prediction model is trained using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model.
[0014] Optionally, the step of masking various types of Earth observation data in the Earth observation dataset to obtain a first Earth observation dataset, a second Earth observation dataset, and a third Earth observation dataset includes: Randomly mask the observed data in the Earth observation dataset to obtain the first Earth observation dataset. Mask all data for any one indicator in the Earth observation dataset to obtain a second Earth observation dataset. The tail data of any indicator in the Earth observation dataset, starting from a specified position, is masked to obtain a third Earth observation dataset.
[0015] Optionally, training the Earth observation data prediction model using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model includes: The observation value filling decoder in the Earth observation data prediction model is trained using the first Earth observation dataset to obtain the trained observation value filling decoder. The index estimation decoder in the Earth observation data prediction model is trained using the second Earth observation dataset to obtain the trained index estimation decoder. The data prediction decoder in the Earth observation row data prediction model is trained using the third Earth observation dataset to obtain the trained data prediction decoder.
[0016] Optionally, the data filling module includes: The missing observation data determination submodule is used to determine the missing observation data in the Earth observation data to be predicted; The missing observation estimation submodule is used to estimate the value of the missing observation data based on the existing data in the Earth observation data by using the observation filling decoder. The data imputation submodule is used to add the missing observation data to the Earth observation data to be predicted, so as to obtain the imputed data to be predicted.
[0017] Optionally, the indicator estimation module includes: The missing indicator determination submodule is used to determine the missing indicators in the imputed data to be predicted; The indicator estimation submodule is used to estimate the value of the missing indicator based on the filled-in data to be predicted using the indicator estimation decoder. The missing indicator addition submodule is used to add the missing indicator to the filled-in data to obtain the complete data to be predicted.
[0018] Optionally, the data prediction module includes: The data input submodule is used to input the complete data to be predicted into the data prediction decoder; The target prediction data acquisition submodule is used to predict the value of the indicator data in the future second preset time period based on the value of the indicator data in the complete data to be predicted by the data prediction decoder, so as to obtain the target prediction data.
[0019] A third aspect of this application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps described in the first aspect of this application.
[0020] A fourth aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method described in the first aspect of this application.
[0021] Using the Earth observation data prediction method provided in this application, receive the Earth observation data to be predicted; The Earth observation data prediction method provided in this application, upon receiving Earth observation data, first fills in missing observations using an observation filler decoder, then estimates missing indicators in the filled-in Earth observation data using an indicator estimation decoder, resulting in complete predicted data. Finally, a data prediction decoder performs data inference based on the complete predicted data to obtain the target predicted data. This method enables data prediction of future indicator data even with missing data, eliminating the need for separately training multiple neural network models for data fill, indicator estimation, and prediction, thus improving the efficiency of Earth observation data prediction. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the structure of an Earth observation data prediction model proposed in one embodiment of this application; Figure 2 This is a schematic diagram of a data prediction model structure. Figure 3 This is a flowchart of an embodiment of the Earth observation data prediction method proposed in this application; Figure 4 This is a schematic diagram of an Earth observation data prediction device according to an embodiment of this application. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] The Earth observation data prediction method in this embodiment is based on the Earth observation data prediction model, which is trained on the ST-transformer (Self attention Transformer). This model can uniformly encode the input data, decode the data, and obtain the corresponding prediction value according to the task being performed.
[0026] In this embodiment, the training steps of the Earth observation data prediction model include: S11: Collect complete Earth observation data within the first preset time period to obtain the Earth observation dataset.
[0027] In this embodiment, Earth observation data refers to geographic data observed through various means. The observation data consists of the observed values of various indicators. The Earth observation dataset is a dataset obtained by putting various geographic indicator data into a dataset, which is specifically used to train the Earth observation data prediction model. The first preset time period is a period of time from the past to the present time.
[0028] In this embodiment, when training the Earth data prediction model, complete Earth observation data over a period of time is first collected, and there is no missing data in the complete Earth observation data.
[0029] For example, the first preset time period can be set according to the actual situation. For example, the observation data collected in the past week can be the daily temperature, air humidity, air pressure, wind direction, precipitation and other indicators data of the past week. Each indicator data can be specified as a specific indicator, which can be set according to the actual situation. For example, the specific indicator can be set as precipitation.
[0030] S12: Input the Earth observation dataset into the untrained Earth observation data prediction model.
[0031] In this embodiment, reference Figure 1 , Figure 1This is a schematic diagram of the structure of an Earth observation data prediction model proposed in an embodiment of this application. The Earth observation data prediction model is an ST-transformer (Self attention Transformer). The data is encoded by a unified ST-transformer Encoder and then decoded by three different Decoders to obtain the corresponding task results. The three decoders are Decoder_for_mask (observation filling decoder), Decoder_for_target (index estimation decoder), and Decoder_for_forcast (data prediction decoder). T represents the current day, and T-7 represents 7 days ago. The wider cuboid on the left represents the observation value, and the narrower cuboid on the right represents the specific index.
[0032] The observation imputation decoder is used to fill in missing observations, the index estimation decoder is used to estimate the corresponding index values based on existing observations, and the data prediction decoder is used to predict index data for a future period based on existing complete data. Untrained Earth observation data prediction models are not yet well-suited for data imputation, index estimation, and data prediction; therefore, training data is needed to train the model and optimize its parameters.
[0033] refer to Figure 2 , Figure 2 This is a schematic diagram of a data prediction model structure. The wider cuboid on the left represents the observed values, and the narrower cuboid on the right represents specific indicators. The diagram requires inputting complete data (T-7, ..., T) from the past week into the ST-Transformer Encoder to predict the data for day T+1, where T represents the current day and T-7 represents 7 days ago. The data is then decoded by a single Decoder.
[0034] In this embodiment, after the Earth observation dataset is collected, the collected Earth observation dataset is input into the untrained Earth prediction model to train the Earth observation data prediction model.
[0035] S13: Mask the various types of Earth observation data in the Earth observation dataset to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset.
[0036] In this embodiment, random masking only randomly masks a portion of the data in the dataset. The first Earth observation dataset is a dataset with some observations masked, used to train the observation filling decoder. The second Earth observation dataset is a dataset with specific important indicator data masked, used to train the indicator estimation decoder. The third Earth observation dataset is a dataset with some end indicator data masked, used to train the data prediction decoder.
[0037] In this embodiment, the pre-collected Earth observation data is a complete dataset. In order to train the Earth observation data prediction model, some data needs to be masked. The masked data is calculated by the observation data filling decoder, index estimation decoder and data prediction decoder. Then, the model parameters are adjusted according to the difference between the actual data and the calculated data to achieve the training effect.
[0038] In this embodiment, after inputting the Earth observation dataset into the Earth observation data prediction model, the Earth observation data prediction model performs random masking on various types of Earth observation data in the Earth observation dataset to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset. The specific steps include: S13-1: Randomly mask the observation data in the Earth observation dataset to obtain the first Earth observation dataset.
[0039] In this embodiment, in order to train the observation value filling decoder, the observation value data in the Earth observation dataset is randomly masked to obtain the first Earth observation dataset.
[0040] For example, a 15% random mask can be set. If the collected data are the average daily temperature, humidity, air pressure, and wind direction data over the past week, then 15% of the data will be masked, leaving only 85% of the data in the first Earth observation dataset.
[0041] S13-2: Mask all data for any one indicator in the Earth observation dataset to obtain a second Earth observation dataset.
[0042] In this embodiment, in order to train the index estimation decoder, all data of any index in the Earth observation dataset are randomly masked to obtain a second Earth observation dataset.
[0043] For example, if the collected data includes the average daily temperature, humidity, air pressure, wind direction, and precipitation over the past week, then specific data indicators will be masked. For instance, if the precipitation data for the first day of the past week is masked, then the second Earth observation dataset will be missing the precipitation data for the first day of the past week.
[0044] S13-3: Mask the tail data of any index in the Earth observation dataset starting from a specified position to obtain a third Earth observation dataset.
[0045] In this embodiment, for any index data in the Earth observation dataset, the tail data starting from the specified position refers to the observation data of that index from the specified position to the last observation value.
[0046] In this embodiment, in order to train the data prediction decoder, the observation data from a specified position to the last observation in any index of the Earth observation dataset is masked to obtain a third Earth observation dataset.
[0047] For example, if the collected data are the average daily temperature, humidity, air pressure, wind direction, precipitation, etc. over the past week, and the specified location is the precipitation data for the 5th day, then the precipitation data for the 3 days from the 5th to the 7th day of the past week will be masked, and only the precipitation data for the first 4 days of the past week will remain in the third Earth observation dataset.
[0048] S14: The Earth observation data prediction model is trained using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model.
[0049] In this embodiment, after obtaining the first Earth observation dataset and the second Earth observation dataset, the Earth observation data prediction model is trained using the Earth observation dataset, the second Earth observation dataset, and the Earth observation dataset to obtain the trained Earth observation data prediction model.
[0050] In this embodiment, the specific steps for training the Earth observation data prediction model using the first Earth observation dataset, the second Earth observation dataset, and the Earth observation dataset to obtain the trained Earth observation data prediction model include: S14-1: Train the observation value filling decoder in the Earth observation data prediction model using the first Earth observation dataset to obtain the trained observation value filling decoder.
[0051] In this embodiment, the Earth observation data prediction model inputs the first Earth observation dataset into the observation value imputation decoder. The observation value imputation decoder first imputes the missing data in the first Earth observation dataset, then compares the imputation results with the actual obscured observation values, and then adjusts the parameters of the observation value imputation decoder until the parameters are adjusted to the optimal level, thus obtaining the trained observation value imputation decoder.
[0052] S14-2: Train the index estimation decoder in the Earth observation data prediction model using the second Earth observation dataset to obtain the trained index estimation decoder.
[0053] In this embodiment, the Earth observation data prediction model inputs the second Earth observation dataset into the index estimation decoder. The index estimation decoder estimates the missing specific index data based on the existing observation data in the second Earth observation dataset. Then, it compares the estimation results with the actual occluded index values and adjusts the parameters of the index estimation decoder until the parameters are adjusted to the optimal level, thus obtaining the trained observation value filling decoder.
[0054] S14-3: Train the data prediction decoder in the Earth observation row data prediction model using the third Earth observation dataset to obtain the trained data prediction decoder.
[0055] In this embodiment, the third Earth observation data prediction model inputs the complete Earth observation dataset into the data prediction decoder. The data prediction decoder predicts the subsequent occluded index data based on the existing index data, and then adjusts the parameters of the data prediction decoder based on the difference between the actual index data and the predicted data until the parameters are adjusted to the optimal level, thus obtaining the trained data prediction decoder.
[0056] In this embodiment, after the numerical imputation decoder, index estimation decoder and data prediction decoder are all trained, a trained Earth observation data prediction model is obtained.
[0057] In this embodiment, the loss function of the Earth observation data prediction model during the training phase is:
[0058] in, To train the loss function of decoder_for_mask, To train the loss function of the decoder_for_target decoder, To train the loss function of the decoder_for_forecast decoder, As a monotonically decreasing inverse proportional function, it can be understood that the smaller the weight of the loss function as the number of predicted days moves forward, the less weight is given to the predicted values of later time nodes when predicting specific indicators for more than a few days in the future. This allows the model to focus on predicting specific indicators for more recent days and to allocate the model's computing resources reasonably.
[0059] In this embodiment, a multi-task learning method is used to simultaneously train three decoders in the Earth observation data prediction model. This enables the trained model to perform data imputation, index estimation, and data prediction simultaneously, effectively enhancing the synergy between multiple tasks in the network. The self-attention mechanism of the self-attention model is fully applied to various tasks involving spatiotemporal data. Multiple data points are coupled to construct a unified feature encoder, which is then decoded by different decoders to obtain different task results. The training effect is good, ensuring the accuracy and efficiency of Earth observation data prediction.
[0060] refer to Figure 3 , Figure 3 This is a flowchart of an embodiment of the Earth observation data prediction method proposed in this application. Figure 3 As shown, the method includes the following steps: S21: Receive Earth observation data to be predicted.
[0061] In this embodiment, the Earth observation data to be predicted is Earth observation data from the most recent time period, and some of the data may be missing.
[0062] For example, the Earth observation data to be predicted includes the average temperature, air humidity, air pressure, wind direction, precipitation, etc., over the past week. Any one of these indicators can be used as a specific indicator, such as precipitation.
[0063] S22: The Earth observation data to be predicted is encoded by an encoder to obtain the encoded Earth observation data to be predicted.
[0064] In this embodiment, the encoder is used to uniformly encode the data, transforming it into features that the neural network model can process. The encoded Earth observation data to be predicted is Earth observation data that has been transformed from its original form into feature vectors.
[0065] In this embodiment, after the Earth observation data to be predicted is input into the Earth observation data prediction model, the Earth observation data prediction model encodes the input Earth observation data to be predicted into an intermediate tensor (memory) through an encoder.
[0066] S23: By using the observation filler decoder, missing observation data in the Earth observation data to be predicted is filled to obtain the filled prediction data.
[0067] In this embodiment, the missing observation data refers to the missing observation data in the Earth observation data. The imputed data to be predicted is the data to be predicted after data imputation by the observation imputation decoder.
[0068] In this embodiment, when the observation filler decoder receives the encoded Earth observation data to be predicted, it decodes the intermediate tensor to obtain various index data, and fills in the missing observation data based on the existing index data to obtain the filled prediction data.
[0069] In this embodiment, the specific steps for imputing missing observation data in the Earth observation data to be predicted using an observation imputation decoder to obtain the imputed data to be predicted include: S23-1: Determine the missing observation data in the Earth observation data to be predicted.
[0070] In this embodiment, after receiving the Earth observation data to be predicted, the observation value filling decoder determines the missing observation data in the Earth observation data.
[0071] For example, the received Earth observation data to be predicted consists of hourly temperature and precipitation data for each day of the past week. Some temperature data is missing, and precipitation data for day 5 is also missing. The missing observation data refers to the missing temperature data.
[0072] S23-2: The missing observation data is estimated based on the existing data in the Earth observation data using the observation fill decoder.
[0073] In this embodiment, when missing observation data is determined, the observation filling decoder estimates the value of the missing observation data based on the existing data in the Earth observation data.
[0074] For example, the received Earth observation data to be predicted consists of hourly temperature and precipitation data for each day of the past week. Some temperature data is missing, and the observation-filling decoder estimates the missing temperature data based on the available temperature data.
[0075] S23-3: Add the missing observation data to the Earth observation data to be predicted to obtain the filled-in data to be predicted.
[0076] In this embodiment, the estimated missing observation data is added to the Earth observation data to be predicted to obtain the incomplete prediction data.
[0077] For example, the received Earth observation data to be predicted consists of hourly temperature and precipitation data for each day of the past week. Some temperature data is missing. The observation imputation decoder estimates the missing temperature data based on the existing temperature data and adds the missing temperature data to the Earth observation data to be predicted, resulting in the imputed prediction data.
[0078] S24: Using an indicator estimation decoder, the missing indicator data in the filled-in data to be predicted is estimated to obtain the complete data to be predicted.
[0079] In this embodiment, the missing indicator data refers to a specific indicator data that is missing from the Earth observation data. The complete data to be predicted is the geographic observation data after the missing indicator data has been supplemented.
[0080] In this embodiment, the Earth observation data prediction model inputs the filled-in data to be predicted into the index estimation decoder. The index estimation decoder decodes the intermediate tensor, estimates the missing index data in the filled-in data to be predicted, and estimates the missing index data based on the existing indexes to obtain the complete data to be predicted.
[0081] In this embodiment, the specific steps of estimating the missing indicator data in the imputed data to be predicted using an indicator estimation decoder to obtain the complete data to be predicted include: S24-1: Determine the missing indicators in the imputed data to be predicted.
[0082] In this embodiment, when the index estimation decoder receives the filled-in data to be predicted, it determines the missing index.
[0083] For example, the received Earth observation data to be predicted includes daily temperature, humidity, wind speed, wind direction, and precipitation for the past week. Precipitation data for days 1 and 3 is missing; the missing data refers to the precipitation data for days 1 and 3.
[0084] S24-2: Estimate the value of the missing indicator based on the imputed data to be predicted using the indicator estimation decoder.
[0085] In this embodiment, after the index estimation decoder determines the missing index, it estimates the missing index data based on the existing index data in the filled-in predictable data, and obtains the value of the missing index.
[0086] For example, the received Earth observation data to be predicted includes daily temperature, humidity, wind speed, wind direction, and precipitation for the past week. Precipitation data for days 1 and 3 is missing. The missing indicators are the precipitation data for days 1 and 3. The indicator estimation decoder estimates the precipitation data for day 1 based on the temperature, humidity, wind speed, and wind direction of day 1, and estimates the precipitation data for day 3 based on the temperature, humidity, wind speed, and wind direction of day 3.
[0087] S24-3: Add the missing index to the filled-in data to obtain the complete data to be predicted.
[0088] In this embodiment, after estimating the missing indicators, the indicator estimation decoder adds the missing indicators to the filled-in data to be predicted, thus obtaining the complete data to be predicted.
[0089] S25: Using a data prediction decoder, perform data inference based on the complete data to be predicted to obtain the target prediction data.
[0090] In this embodiment, the target prediction data is a specific indicator data that needs to be predicted for a future period of time.
[0091] In this embodiment, the Earth observation data prediction model inputs the complete data to be predicted into the data prediction decoder. The data prediction decoder decodes the intermediate tensor and performs data inference based on the complete data to be predicted to obtain the target prediction data.
[0092] In this embodiment, the specific steps of obtaining the target prediction data by performing data inference based on the complete data to be predicted using a data prediction decoder include: S25-1: Input the complete data to be predicted into the data prediction decoder.
[0093] In this embodiment, after obtaining the complete data to be predicted, the Earth observation data prediction model inputs the complete data to be predicted into the data prediction decoder.
[0094] S25-2: Using the data prediction decoder, based on the value of the indicator data in the complete data to be predicted, predict the value of the indicator data in the future second preset time period to obtain the target prediction data.
[0095] In this embodiment, the second preset time period is a time period starting from the current time, which can be set according to the actual situation.
[0096] In this embodiment, after receiving the complete data to be predicted, the data prediction decoder predicts the value of the indicator data in the second preset time period based on the value of the indicator data in the complete data to be predicted, and obtains the target prediction data.
[0097] For example, the second preset time period is the next 3 days, and the received Earth observation data to be predicted are the daily temperature, humidity, wind speed, wind direction, and precipitation over the past week. The data prediction decoder predicts the precipitation for the next 3 days based on the daily precipitation over the past week.
[0098] In this embodiment, when Earth observation data is incomplete, the Earth observation data prediction model can use a data completion decoder to fill in the missing observation data based on existing observation data, an index estimation decoder to fill in the missing index data based on existing index data, and a data prediction decoder to predict index data for a future period based on existing index data. This achieves future data prediction even when Earth observation data is incomplete. Through a multi-task coupled spatiotemporal big data deep learning architecture, the speed of Earth observation data prediction is improved. When processing data, a unified feature encoder encodes the data, and then different decoders decode it, which not only fills in the missing data but also accurately predicts future index data, further improving the accuracy and speed of Earth observation data prediction.
[0099] Based on the same inventive concept, one embodiment of this application provides an Earth observation data prediction device. (Reference) Figure 4 , Figure 4 This is a schematic diagram of an Earth observation data prediction device 400 according to an embodiment of this application. Figure 4 As shown, the device includes: Data receiving module 401 is used to receive Earth observation data to be predicted; Encoding module 402 is used to encode the Earth observation data to be predicted by an encoder to obtain the encoded Earth observation data to be predicted. The data imputation module 403 is used to impute missing observation data in the Earth observation data to be predicted by using the observation imputation decoder, so as to obtain the imputed data to be predicted. The indicator estimation module 404 is used to estimate the missing indicator data in the filled-in data to be predicted by using the indicator estimation decoder to obtain the complete data to be predicted. The data prediction module 405 is used to perform data inference based on the complete data to be predicted through the data prediction decoder to obtain the target prediction data.
[0100] Optionally, the method is implemented based on an Earth observation data prediction model, the training steps of which include: Collect complete Earth observation data within the first preset time period to obtain an Earth observation dataset; Input the Earth observation dataset into the untrained Earth observation data prediction model; The various types of Earth observation data in the Earth observation dataset are masked to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset. The Earth observation data prediction model is trained using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model.
[0101] Optionally, the step of masking various types of Earth observation data in the Earth observation dataset to obtain a first Earth observation dataset, a second Earth observation dataset, and a third Earth observation dataset includes: Randomly mask the observed data in the Earth observation dataset to obtain the first Earth observation dataset. Mask all data for any one indicator in the Earth observation dataset to obtain a second Earth observation dataset. The tail data of any indicator in the Earth observation dataset, starting from a specified position, is masked to obtain a third Earth observation dataset.
[0102] Optionally, training the Earth observation data prediction model using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model includes: The observation value filling decoder in the Earth observation data prediction model is trained using the first Earth observation dataset to obtain the trained observation value filling decoder. The index estimation decoder in the Earth observation data prediction model is trained using the second Earth observation dataset to obtain the trained index estimation decoder. The data prediction decoder in the Earth observation row data prediction model is trained using the third Earth observation dataset to obtain the trained data prediction decoder.
[0103] Optionally, the data filling module includes: The missing observation data determination submodule is used to determine the missing observation data in the Earth observation data to be predicted; The missing observation estimation submodule is used to estimate the value of the missing observation data based on the existing data in the Earth observation data by using the observation filling decoder. The data imputation submodule is used to add the missing observation data to the Earth observation data to be predicted, so as to obtain the imputed data to be predicted.
[0104] Optionally, the indicator estimation module includes: The missing indicator determination submodule is used to determine the missing indicators in the imputed data to be predicted; The indicator estimation submodule is used to estimate the value of the missing indicator based on the filled-in data to be predicted using the indicator estimation decoder. The missing indicator addition submodule is used to add the missing indicator to the filled-in data to obtain the complete data to be predicted.
[0105] Optionally, the data prediction module includes: The data input submodule is used to input the complete data to be predicted into the data prediction decoder; The target prediction data acquisition submodule is used to predict the value of the indicator data in the future second preset time period based on the value of the indicator data in the complete data to be predicted by the data prediction decoder, so as to obtain the target prediction data.
[0106] Based on the same inventive concept, another embodiment of this application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the Earth observation data prediction method as described in any of the above embodiments of this application.
[0107] Based on the same inventive concept, another embodiment of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps of the Earth observation data prediction method described in any of the above embodiments of this application.
[0108] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0109] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0110] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0111] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0112] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0114] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0115] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0116] The above provides a detailed description of the Earth observation data prediction method, apparatus, equipment, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for predicting Earth observation data, characterized in that, The method includes: Receive Earth observation data to be predicted; The Earth observation data to be predicted is encoded by an encoder to obtain the encoded Earth observation data to be predicted. The missing observation data in the Earth observation data to be predicted is filled in by the observation value filling decoder to obtain the filled prediction data. The missing indicator data in the filled-in data to be predicted is estimated by using the indicator estimation decoder to obtain the complete data to be predicted. The target prediction data is obtained by performing data inference based on the complete data to be predicted using a data prediction decoder. The method is based on an Earth observation data prediction model. This model encodes the data using a unified self-attention encoder, then decodes it using three different decoders to obtain the corresponding self-attention model for the task result. The training steps of the Earth observation data prediction model include: Collect complete Earth observation data within the first preset time period to obtain an Earth observation dataset; Input the Earth observation dataset into the untrained Earth observation data prediction model; The various types of Earth observation data in the Earth observation dataset are masked to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset. The Earth observation data prediction model is trained using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model.
2. The method according to claim 1, characterized in that, The process involves masking various types of Earth observation data in the Earth observation dataset to obtain a first Earth observation dataset, a second Earth observation dataset, and a third Earth observation dataset, including: Randomly mask the observed data in the Earth observation dataset to obtain the first Earth observation dataset. Mask all data for any one indicator in the Earth observation dataset to obtain a second Earth observation dataset. The tail data of any indicator in the Earth observation dataset, starting from a specified position, is masked to obtain a third Earth observation dataset.
3. The method according to claim 2, characterized in that, The step of training the Earth observation data prediction model using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model includes: The observation value filling decoder in the Earth observation data prediction model is trained using the first Earth observation dataset to obtain the trained observation value filling decoder. The index estimation decoder in the Earth observation data prediction model is trained using the second Earth observation dataset to obtain the trained index estimation decoder. The data prediction decoder in the Earth observation row data prediction model is trained using the third Earth observation dataset to obtain the trained data prediction decoder.
4. The method according to claim 1, characterized in that, The process of using an observation imputation decoder to impute missing observations in the Earth observation data to be predicted, resulting in imputed data to be predicted, includes: Identify the missing observation data in the Earth observation data to be predicted; The observation filler decoder estimates the value of the missing observation data based on the existing data in the Earth observation data. The missing observation data is added to the Earth observation data to be predicted to obtain the filled-in data to be predicted.
5. The method according to claim 1, characterized in that, The step of estimating missing indicator data in the imputed data to be predicted using an indicator estimation decoder to obtain complete data to be predicted includes: Determine the missing indicators in the imputed data to be predicted; The missing indicator is estimated using the indicator estimation decoder based on the imputed data to be predicted. The missing indicators are added to the filled-in data to obtain the complete data to be predicted.
6. The method according to claim 1, characterized in that, The step of obtaining target prediction data by performing data inference based on the complete data to be predicted using a data prediction decoder includes: The complete data to be predicted is input into the data prediction decoder; The data prediction decoder predicts the value of the indicator data within a second preset time period based on the value of the indicator data in the complete data to be predicted, thereby obtaining the target prediction data.
7. An Earth observation data prediction device, characterized in that, The device includes: The data receiving module is used to receive Earth observation data to be predicted; The encoding module is used to encode the Earth observation data to be predicted through an encoder to obtain the encoded Earth observation data to be predicted. The data imputation module is used to impute missing observation data in the Earth observation data to be predicted by using the observation imputation decoder, so as to obtain the imputed data to be predicted. The indicator estimation module is used to estimate the missing indicator data in the filled-in data to be predicted by using the indicator estimation decoder, so as to obtain the complete data to be predicted. The data prediction module is used to perform data inference based on the complete data to be predicted through the data prediction decoder to obtain the target prediction data; The device is based on an Earth observation data prediction model. This model encodes the data using a unified self-attention model encoder, then decodes it using three different decoders to obtain the corresponding self-attention model for the task results. The training steps of the Earth observation data prediction model include: Collect complete Earth observation data within the first preset time period to obtain an Earth observation dataset; Input the Earth observation dataset into the untrained Earth observation data prediction model; The various types of Earth observation data in the Earth observation dataset are masked to obtain the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset. The Earth observation data prediction model is trained using the first Earth observation dataset, the second Earth observation dataset, and the third Earth observation dataset to obtain a trained Earth observation data prediction model.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Data prediction method and device, electronic equipment and medium
CN113360486A
