Method and device for determining stacking velocity, equipment and medium
By using agents and experience pools to optimize the picking method of superposition speed in the iterative process, the problem of low picking accuracy in unsupervised clustering and deep learning methods is solved, and fast and accurate picking of superposition speed is achieved.
Patent Information
- Application Number
- CN202410960529.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-29
AI Technical Summary
In the existing technology, unsupervised clustering methods and deep learning methods fail to effectively consider whether the common center point gathers are flattened during the superposition speed picking process, resulting in low picking accuracy. Moreover, due to the difficulty of producing label data, deep learning methods are difficult to use. Insufficient data during training results in low picking accuracy.
During the iterative process, an agent is used to obtain the state and action from the energy group in the superimposed velocity spectrum, store it in the experience pool, update the action network and evaluation network, and optimize the picking up of the superimposed velocity according to the reward value to ensure that the energy group is correctly corrected. , thereby improving the picking accuracy.
It achieves fast and accurate acquisition of stacking speed, improves picking accuracy, avoids the influence of human experience, and is suitable for wide-azimuth and high-density seismic data processing.
Smart Images

Figure CN118859321A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of seismic data processing, and in particular to a method, device, equipment and medium for determining stacking velocity. Background Art
[0002] In seismic exploration, seismic data is obtained through a detector, and data of the same center point is extracted from the common shot point gather to obtain a common center point gather, and a stacking velocity spectrum is obtained based on the common center point gather, and stacking velocity is obtained based on the stacking velocity spectrum. Through stacking velocity analysis, velocity information of underground oil and gas layers can be obtained, providing important geological parameters for oil and gas exploration, and it can also reveal faults and underground structures in the crust, providing a reference for earthquake disaster monitoring and prediction. Therefore, the picking of stacking velocity is particularly important.
[0003] In order to obtain the stacking velocity, the common midpoint gathers are scanned at different speeds to obtain the stacking velocity spectrum, and the stacking velocity is picked up from the energy cluster in the stacking velocity spectrum. The suitability of the picked stacking velocity is judged by manually measuring whether the common midpoint gathers are flattened. Picking the stacking velocity in this way is easily affected by human experience and has low efficiency, which is particularly prominent when processing wide-azimuth, high-density seismic data.
[0004] In the prior art, the unsupervised clustering method only considers the energy cluster characteristics in the stacking velocity spectrum, without considering whether the common center point gather is flattened. It is a data analysis process, and when the signal-to-noise ratio of the seismic data is low, the accuracy of the method is easily reduced by noise interference. The stacking velocity picking according to the deep learning method requires a large amount of labeled seismic data, and the labeling of seismic data is difficult and costly. Therefore, the deep learning method uses less labeled data to train the model, resulting in low picking accuracy in other seismic data. In summary, the unsupervised clustering method and the deep learning method can improve the stacking velocity picking speed to a certain extent, but there is a technical problem of low stacking velocity picking accuracy. Summary of the invention
[0005] The present application provides a method, device, equipment and medium for determining stacking velocity, which are used to solve the technical problem that in the process of stacking velocity picking based on unsupervised clustering method and deep learning method, the unsupervised clustering method does not consider whether the center point gather is flattened, and in deep learning, the training data is small due to the difficulty in data production, resulting in low picking accuracy.
[0006] In a first aspect, the present application provides a method for determining a stacking velocity, comprising:
[0007] According to the common center point gather, a superposition velocity spectrum is obtained, and according to the superposition velocity spectrum, a plurality of energy groups are obtained; wherein each energy group corresponds to an intelligent agent, and the energy group is the exploration environment where the intelligent agent is located;
[0008] In the iterative process of any round, for each energy group among the multiple energy groups, the first coordinate is obtained from the energy group as the state of the current round and input into the action network of the intelligent agent to obtain the action, and the next state and reward value are obtained according to the action, and the state, the action, the reward value and the next state are stored in the experience pool; wherein each experience data stored in the experience pool includes the action set, state set, reward value set and next state set corresponding to the multiple energy groups in one iteration process; according to the reward value set, the average reward value is obtained;
[0009] Acquire the experience data of the current round from the experience pool, and input the next state set in the experience data into the target action network of the agent to obtain the next action set, and input the next action set and the next state set into the target evaluation network of the agent to obtain a first reward value, and input the state set and action set in the experience data into the evaluation network of the agent to obtain a second reward value;
[0010] According to the first reward value and the second reward value, updating the evaluation network, the action network, the target evaluation network and the target action network;
[0011] When the iteration stop condition is met, the last state set corresponding to the round with the largest average reward value is obtained, and the stacking velocity corresponding to the common center point gather is obtained based on the state set.
[0012] Optionally, in the above method, obtaining the next state and reward value according to the action includes:
[0013] According to the action, a next state is obtained, and according to the next state, a second coordinate is obtained; wherein the first coordinate and the second coordinate are in the same energy group;
[0014] According to the second coordinate, correcting the current common center point gathers to obtain corrected common center point gathers;
[0015] A reward value is obtained according to the current common-center point gather, the corrected common-center point gather, and a preset correction value.
[0016] Optionally, in the method as described above, the correcting the current common-center point gather according to the second coordinate to obtain a corrected common-center point gather comprises:
[0017] Obtaining a correction time length according to the second coordinate, a preset offset, and a time corresponding to the second coordinate in the stacking velocity spectrum; wherein the preset offset is the distance between a shot point and a detector when collecting the common center point gather;
[0018] The current common-center point gather is corrected according to the correction time to obtain a corrected common-center point gather.
[0019] Optionally, in the method as described above, the common-center point gathers are a sequence that changes over time; and obtaining the reward value according to the current common-center point gathers, the corrected common-center point gathers, and the preset correction value comprises:
[0020] Dividing the current common center point gather of the current round into first gather data and second gather data with partial overlap, and obtaining a first correlation coefficient according to the first gather data and the second gather data;
[0021] Dividing the corrected common center point gather of the current round into first corrected gather data and second corrected gather data with partial overlap, and obtaining a second correlation coefficient according to the first corrected gather data and the second corrected gather data;
[0022] A reward value is obtained according to the difference between the first correlation coefficient, the second correlation coefficient and the preset correction value corresponding to the agent.
[0023] Optionally, in the above method, the preset correction value corresponding to the agent is obtained by:
[0024] According to the second coordinate corresponding to the current energy group and the second coordinate corresponding to the previous energy group, the difference of the coordinates is obtained;
[0025] If it is determined that the difference is less than a preset difference threshold, a preset correction value is obtained;
[0026] If it is determined that the second coordinate corresponding to the current energy group is greater than the second coordinates corresponding to the next two energy groups, a preset correction value is obtained.
[0027] Optionally, in the method as described above, obtaining a plurality of energy clusters according to the superposition velocity spectrum comprises:
[0028] Determine an energy value in the stacking velocity spectrum that is greater than a preset energy threshold to obtain a high energy value set;
[0029] The high energy value set is divided according to the adjacent relationship to obtain multiple energy groups.
[0030] Optionally, in the method as described above, obtaining the stacking velocity spectrum according to the common center point gathers includes:
[0031] According to a preset velocity set, the gather data in the common center point gather are corrected respectively to obtain a plurality of corrected gather data;
[0032] The plurality of corrected gather data are stacked to obtain a stacked velocity spectrum.
[0033] In a second aspect, the present application provides a device for confirming a stacking speed, comprising:
[0034] An acquisition module is used to obtain a stacked velocity spectrum according to the common center point gather, and obtain multiple energy groups according to the stacked velocity spectrum; wherein each energy group corresponds to an intelligent agent, and the energy group is the exploration environment where the intelligent agent is located;
[0035] The analysis module is used for obtaining the first coordinate from each of the multiple energy groups as the state of the current round and inputting it into the action network of the agent in any round of iteration, and obtaining the action, and obtaining the next state and reward value according to the action, and storing the state, the action, the reward value and the next state in the experience pool; wherein each experience data stored in the experience pool includes the action set, state set, reward value set and next state set corresponding to the multiple energy groups in one iteration process; and obtaining the average reward value according to the reward value set;
[0036] The analysis module is further used to obtain the experience data of the current round from the experience pool, and input the next state set in the experience data into the target action network of the agent to obtain the next action set, and input the next action set and the next state set into the target evaluation network of the agent to obtain a first reward value, and input the state set and action set in the experience data into the evaluation network of the agent to obtain a second reward value;
[0037] The analysis module is further used to update the evaluation network, the action network, the target evaluation network and the target action network according to the first reward value and the second reward value;
[0038] The analysis module is further used to obtain the last state set corresponding to the round with the largest average reward value when the iteration stop condition is met, and obtain the stacking velocity corresponding to the common center point gather based on the state set.
[0039] In a third aspect, the present application provides an electronic device, comprising: a memory and a processor; wherein:
[0040] The memory is used to store computer-executable instructions;
[0041] The processor is used to read the computer program stored in the memory and execute the method described in any one of the first aspects above according to the computer program in the memory.
[0042] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0043] The present application provides a method, device, equipment and medium for determining stacking velocity, which obtains a stacking velocity spectrum based on a common center point gather, and obtains multiple energy groups based on the stacking velocity spectrum; wherein each energy group corresponds to an intelligent agent, and the energy group is the exploration environment where the intelligent agent is located; in the iteration process of any round, for each energy group in the multiple energy groups, the first coordinate is obtained from the energy group as the state of the current round and input into the action network of the intelligent agent to obtain an action, and the next state and reward value are obtained based on the action, and the state, the action, the reward value and the next state are stored in an experience pool; wherein each experience data stored in the experience pool includes an action set, a state set, a reward value set and a next state set corresponding to multiple energy groups in one iteration process; based on the reward value set The present invention relates to a method for obtaining a first round of experience data from the experience pool, and inputting the next state set in the experience data into the target action network of the agent to obtain the next action set, and inputting the next action set and the next state set into the target evaluation network of the agent to obtain the first reward value, and inputting the state set and the action set in the experience data into the evaluation network of the agent to obtain the second reward value; according to the first reward value and the second reward value, updating the evaluation network, the action network, the target evaluation network and the target action network; when the iteration stop condition is met, obtaining the last state set corresponding to the round with the largest average reward value, and according to the state set, obtaining the stacking velocity corresponding to the common center point gather, so as to obtain an accurate stacking velocity. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of a flow chart of a second embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of a flow chart of a third embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0048] Figure 4 A schematic flow chart of a fourth embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of a flow chart of a fifth embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0050] Figure 6 A schematic flow chart of a sixth embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0051] Figure 7 A flow chart of Embodiment 7 of a method for determining a stacking velocity provided in an embodiment of the present application;
[0052] Figure 8 A schematic diagram of a flow chart of an eighth embodiment of a method for determining a stacking velocity provided in an embodiment of the present application;
[0053] Fig. 9 A schematic diagram of the reinforcement learning model structure provided in the embodiment of the present application;
[0054] Fig.10 A schematic diagram of the average reward value during the training process provided by an embodiment of the present application;
[0055] Fig.11 This is a structural schematic diagram of a first embodiment of a stacking speed confirmation device provided in an embodiment of the present application.
[0056] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0058] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0059] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0060] First, the terms involved in this application are explained:
[0061] Common center point gather: In seismic data collection, if the underground interface is a horizontal interface, the projection of the common reflection point on the ground must be the center point of the common reflection point acceptance distance in the shot set, which is called the common center point. The traces with common center points in different shot sets are extracted to form a new set, which is called the common center point gather.
[0062] Agent: In reinforcement learning, the agent is the decision-making entity that learns by interacting with its environment.
[0063] Environment: The environment in which the agent is located, providing state information that the agent can observe.
[0064] State: The position of the agent in the environment, which is the basis for the agent to make decisions.
[0065] Actions: Actions that the agent can take in a particular state.
[0066] Reward: The feedback that the agent receives from the environment after taking an action, which is the key to optimizing the strategy.
[0067] Preset offset: The distance between the shot point and the receiver point in the observation system when collecting data for seismic exploration.
[0068] The propagation velocity of seismic waves in underground media is a very important parameter in the field of seismic data processing and interpretation and drilling engineering. The velocity parameter is directly related to many seismic data processing links. Therefore, velocity analysis is a crucial link in the seismic data processing process. It is a necessary process for conventional stacking processing and time migration of seismic data. It is also the basis for the establishment of initial velocity models such as tomographic inversion, pre-stack migration, impedance inversion and full waveform inversion. Under inclined formation conditions, relatively accurate stacking velocity is the basis for accurate root mean square velocity. Therefore, stacking velocity picking is crucial.
[0069] In the prior art, unsupervised clustering and deep learning methods can be used to improve the stacking velocity picking speed. For example, an unsupervised automatic velocity picking method based on a K-means clustering algorithm can automatically identify the peak of the energy cluster in the velocity spectrum, and use the velocity at the peak position to represent the picked stacking velocity. Based on a hybrid neural network composed of a convolutional neural network and a long short-term memory network, the common center point gather is used as input, and the reflection coefficient, root mean square velocity and layer velocity are used as output supervision. Each output can help and restrict each other, and the root mean square velocity and layer velocity of a complex one-dimensional and gently inclined two-dimensional model can be accurately estimated directly from the seismic waveform. However, since the unsupervised clustering method only considers the energy cluster characteristics in the stacking velocity spectrum, and does not consider whether the center point gather is flattened, it is a data analysis process. Picking stacking velocity according to the deep learning method requires a large amount of labeled seismic data, and the labeling of seismic data is difficult and costly. Therefore, the use of unsupervised clustering and deep learning methods leads to technical problems of low picking accuracy.
[0070] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0071] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for determining a stacking velocity provided in an embodiment of the present application, as shown in FIG. Figure 1 As shown, specifically, the method includes:
[0072] S101: Obtain a stacked velocity spectrum based on the common center point gathers, and obtain multiple energy clusters based on the stacked velocity spectrum.
[0073] In this embodiment, one energy group corresponds to one intelligent agent, and the energy group is the exploration environment where the intelligent agent is located. The intelligent agent is trained in this environment to obtain the optimal superposition speed in each energy group.
[0074] In this embodiment, the common center point gather is processed according to the preset velocity set to obtain the stacking velocity spectrum of the common center point gather, and the data in the stacking velocity spectrum is analyzed to obtain multiple energy clusters in the stacking velocity spectrum. In one energy cluster, there is an optimal stacking velocity.
[0075] S102: During any round of iteration, for each of the multiple energy groups, the first coordinate is obtained from the energy group as the state of the current round and input into the action network of the intelligent agent to obtain the action, and the next state and reward value are obtained according to the action, and the state, action, reward value and next state are stored in the experience pool.
[0076] In this embodiment, multiple iterations are required to train the intelligent agent. In any round of iterations, experience data is first obtained. For each energy group among multiple energy groups, the first coordinate is randomly obtained from an energy group as the state input to the action network corresponding to the intelligent agent to obtain an action. The intelligent agent performs the action in the environment to obtain the next state and the reward value corresponding to the action, and stores the state, action, reward value and next state in the experience pool, and combines them according to the reward values in the experience pool to obtain the average reward value.
[0077] In this embodiment, during any round of iteration, experience data is obtained according to the coordinates in multiple energy groups, and one experience data includes a state set, an action set, a reward value set and a next state set, and the experience data includes multiple state combinations, action sets, reward value sets and next state sets.
[0078] S103: Obtain the current round of experience data from the experience pool, and input the next state set in the experience data into the target action network of the intelligent agent to obtain the next action set, and input the next action set and the next state set into the target evaluation network of the intelligent agent to obtain the first reward value, and input the state set and action set in the experience data into the evaluation network of the intelligent agent to obtain the second reward value.
[0079] In this embodiment, multiple state sets, action sets, reward value sets, and next state sets are obtained from multiple agents, and a preset amount of experience data is obtained from the experience pool, and the next state set in the experience data is input into the target action network corresponding to the agent to obtain the next action set, and the next action set and the next state set are input into the target evaluation network of the agent to obtain the first reward value, and then the state set and action set in the experience data are input into the evaluation network of the agent to obtain the second reward value. The first reward value is used to evaluate the reward value of the agent executing the next action set under the next state set, and the second reward value is used to evaluate the reward value of the agent executing the action set under the state set.
[0080] In this embodiment, for example, the next action set and the next state set are input into the target evaluation network of the agent, using formula (1):
[0081]
[0082] Get the first return value Among them, j represents the serial number of the empirical data, represents the reward value corresponding to the jth experience data of the ith agent, r is a constant, a′ N represents the action of the Nth agent in the experience data, is the state of the Nth agent in the experience data with sequence number j, β′ i (s′ i ) is the target action network in the agent in state s′ i The following strategy, Represents the target evaluation network for action a′ i The evaluation value.
[0083] S104: Update the evaluation network, the action network, the target evaluation network, and the target action network according to the first reward value and the second reward value.
[0084] In this embodiment, a first loss value is obtained based on the first reward value and the second reward value, and based on the first loss value, the parameters of the evaluation network are updated to obtain an updated evaluation network, and a second loss value is obtained based on the second reward value, and based on the second loss value, the parameters of the action network are updated to obtain an updated action network, and based on the updated evaluation network, the target evaluation network is updated to obtain the target evaluation network for the next round, and based on the updated action network, the target action network is updated to obtain the target action network for the next round.
[0085] In this embodiment, for example, according to the first reward value Second return value Using formula (2):
[0086]
[0087] Get the first loss value L(θ i ). Where x represents the number of experience data, j represents the sequence number of experience data, and i represents the sequence number of the agent.
[0088] According to the first loss value, the evaluation network is updated to obtain an updated evaluation network.
[0089] According to the updated evaluation network w′ and the evaluation network w, formula (3) is used:
[0090] w′←τw+(1-τ)w′ (3)
[0091] The target evaluation network is obtained, where τ is the update parameter.
[0092] In this embodiment, for example, according to the second reward value Using formula (4):
[0093]
[0094] Get the second loss value Among them, x represents the number of empirical data, j represents the sequence number of empirical data, is the target action network in the agent in state The next action, Indicates the gradient of the action network. Indicates the gradient of the evaluation network.
[0095] According to the second loss value, the action network is updated to obtain an updated action network.
[0096] According to the updated action network θ and action network θ′, formula (5) is used:
[0097] θ′←τθ+(1-τ)θ′ (5)
[0098] The target action network is obtained. Among them, τ is the update parameter.
[0099] In this embodiment, each agent corresponds to an action network, an evaluation network, a target action network, and a target evaluation network.
[0100] S105: When the iteration stop condition is met, the last state set corresponding to the round with the largest average reward value is obtained, and the stacking velocity corresponding to the common center point gather data is obtained according to the state set.
[0101] In this embodiment, for example, when the preset number of iterations is reached, the average reward values in all rounds are sorted to obtain the maximum average reward value, and the stacking velocity corresponding to the common center point gather is obtained based on the last state set of the round corresponding to the maximum average reward value.
[0102] In this embodiment, a stacked velocity spectrum is obtained based on the common center point gather, and multiple energy groups are obtained based on the stacked velocity spectrum; in the iteration process of any round, for each of the multiple energy groups, the first coordinate is obtained from the energy group as the state of the current round and input into the action network of the intelligent agent to obtain the action, and the next state and reward value are obtained based on the action, and the state, action, reward value and next state are stored in the experience pool; the experience data of the current round is obtained from the experience pool, and the next state set in the experience data is input into the target action network of the intelligent agent to obtain the next action set, and the next action set is stored in the experience pool. The state set and the next state set are input into the target evaluation network of the intelligent agent to obtain the first reward value, and the state set and action set in the experience data are input into the evaluation network of the intelligent agent to obtain the second reward value; according to the first reward value and the second reward value, the evaluation network, the action network, the target evaluation network and the target action network are updated; when the iteration stop condition is met, the last state set corresponding to the round with the largest average reward value is obtained, and according to the state set, the stacking velocity corresponding to the common center point gather is obtained. Compared with the unsupervised clustering method in the prior art, which only considers the energy group characteristics in the stacking velocity spectrum, the center point is not considered. Whether the gather is flattened, and picking up the stacking velocity according to the deep learning method requires a large amount of labeled seismic data, and the labeling of seismic data is difficult and costly. Therefore, the use of unsupervised clustering and deep learning methods leads to low picking accuracy. In this application, based on the common center point gather, a stacking velocity spectrum is obtained, and based on the stacking velocity spectrum, multiple energy groups are obtained. In any round of iteration, no labeled data is required, but the first coordinate is obtained from the energy group as a state input to the action network to obtain an action, and the next state and reward value are obtained according to the action, and the state, action, reward value and next state are combined. The state is stored in the experience pool, and then the experience data is obtained from the experience pool, and the first reward value and the second reward value are obtained according to the experience data; according to the first reward value and the second reward value, the evaluation network, the action network, the target evaluation network, and the target action network are updated, and when the iteration stop condition is met, the last state set corresponding to the round with the largest average reward value is obtained, and according to the state set, the stacking velocity corresponding to the common center point gather is obtained, so as to realize fast and accurate acquisition of the stacking velocity of the common center point gather, and, through the method provided in this embodiment, the idea of manually picking up the stacking velocity is imitated, and the interpretability of this embodiment is improved.
[0103] Figure 2 The flowchart of the second embodiment of the method for determining the stacking velocity provided in the present application is based on the above embodiment. Figure 2 As shown, in step S102, the next state and reward value are obtained according to the action, including:
[0104] S201: According to the action, a next state is obtained, and according to the next state, a second coordinate is obtained.
[0105] In this embodiment, the agent performs the action in the environment and obtains a next state corresponding to the action, and the next state is the second coordinate.
[0106] In this embodiment, for example, since the exploration environment of the agent is a matrix, each data in the matrix includes time and speed, and the action is to move up, down, left, and right in the matrix. After the agent moves to the right in the environment, it obtains the data to the right of the current coordinate in the energy group, and this data is the next state, that is, the second coordinate.
[0107] In this embodiment, the first coordinate and the second coordinate are in the same energy group.
[0108] S202: Correct the current common-center point gather according to the second coordinate to obtain a corrected common-center point gather.
[0109] In this embodiment, a dynamic correction amount is obtained according to the second coordinate, and according to the dynamic correction amount, dynamic correction processing is performed on the gather data in the current common center point gather to obtain a corrected common center point gather.
[0110] S203: Obtain a reward value according to the current common-center point gather, the corrected common-center point gather, and the preset correction value.
[0111] In this embodiment, the reward value is obtained according to the correlation coefficient of the gather data in the current common-center point gather, the correlation coefficient of the gather data in the corrected common-center point gather, and the preset correction value.
[0112] In this embodiment, according to the action, the next state is obtained, and according to the next state, the second coordinate is obtained; according to the second coordinate, the current common center point gather is corrected to obtain the corrected common center point gather; according to the current common center point gather, the corrected common center point gather, and the preset correction value, the reward value is obtained to evaluate the obtained second coordinate, and then determine whether the second coordinate selected in the current energy group is more accurate than the first coordinate.
[0113] Figure 3 The flowchart of the third embodiment of the method for determining the stacking velocity provided in the present application is based on the above embodiment. Figure 3 As shown, a specific implementation of step S202 is:
[0114] S301: Obtain a correction duration according to a second coordinate, a preset offset, and a time corresponding to the second coordinate in a stacking velocity spectrum.
[0115] In this embodiment, the time corresponding to the second coordinate is obtained from the stacking velocity spectrum. According to the second coordinate v, the preset offset x, and the time t0 corresponding to the second coordinate in the stacking velocity spectrum, formula (6) is used:
[0116]
[0117] The correction time Δt is obtained.
[0118] In this embodiment, the preset offset distance is the distance between the shot point and the detector when collecting the common center point gather.
[0119] S302: Correct the current common-center point gather according to the correction time to obtain a corrected common-center point gather.
[0120] In this embodiment, each gather data in the current common center point gather is corrected according to the correction time to obtain a corrected common center point gather.
[0121] In this embodiment, the correction time is obtained according to the second coordinate, the preset offset, and the time corresponding to the second coordinate in the stacking velocity spectrum; the current common center point gather is corrected according to the correction time to obtain a corrected common center point gather.
[0122] Figure 4 The flowchart of the fourth embodiment of the method for determining the stacking velocity provided in the present application is based on the above embodiment. Figure 4 As shown, one implementation of step S203 is:
[0123] S401: Divide the current common center point gather of the current round into first gather data and second gather data with partial overlap, and obtain a first correlation coefficient based on the first gather data and the second gather data.
[0124] In this embodiment, the current common center point gather of the current round is divided into first gather data and second gather data, wherein the first gather data and the second gather data have some data in common. The higher the first correlation coefficient is, the higher the degree to which the current common center point gather is flattened is.
[0125] In this embodiment, for example, there are 10 gather data in the current common center point gather, then the 1st to 9th gather data are divided into the first gather data, and the 2nd to 10th gather data are divided into the second gather data.
[0126] In this embodiment, for example, according to the first trace gather data X and the second trace gather data Y, formula (7) is used:
[0127]
[0128] The first mutual correlation coefficient N1(X,Y) is obtained, where Cov(X,Y) is the covariance of the first track data X and the second track data Y, Var(X) is the variance of the first track data X, Var(Y) is the variance of the second track data Y, and n is the amount of data in the energy group.
[0129] S402: Divide the current round of corrected common center point gathers into first corrected gather data and second corrected gather data with partial overlap, and obtain a second correlation coefficient based on the first corrected gather data and the second corrected gather data.
[0130] In this embodiment, the current round of corrected common center point gathers is divided into first corrected gather data and second corrected gather data with partial overlap, and the second correlation coefficient is obtained based on the first corrected gather data and the second corrected gather data.
[0131] In this embodiment, for example, according to the first correction gather data M and the second correction gather data K, formula (8) is used:
[0132]
[0133] The first correlation coefficient N2(M,K) is obtained, wherein Cov(M,K) is the covariance of the first correction gather data M and the second correction gather data K, Var(M) is the variance of the first correction gather data M, and Var(K) is the variance of the second correction gather data K.
[0134] S403: Obtain a reward value according to the difference between the first correlation coefficient and the second correlation coefficient and a preset correction value corresponding to the agent.
[0135] In this embodiment, if the superposition speed corresponding to the second coordinate obtained from the energy group according to the next state is better than the superposition speed corresponding to the first coordinate, the second correlation coefficient is greater than the first correlation coefficient. At this time, the first correlation coefficient is subtracted from the second correlation coefficient to obtain a reward value greater than 0.
[0136] In this embodiment, for example, according to the first correlation coefficient N1(X, Y), the second correlation coefficient N2(M, K) and the preset correction value Φ corresponding to the agent, formula (9) is used:
[0137] reward=N1(X,Y)-N2(M,K)+Φ (9)
[0138] Get the reward value reward.
[0139] In this embodiment, the current common-center point gather of the current round is divided into first gather data and second gather data with partial overlap, and a first correlation coefficient is obtained based on the first gather data and the second gather data; the corrected common-center point gather of the current round is divided into first corrected gather data and second corrected gather data with partial overlap, and a second correlation coefficient is obtained based on the first corrected gather data and the second corrected gather data; a reward value is obtained based on the difference between the first correlation coefficient and the second correlation coefficient and the preset correction value corresponding to the intelligent agent, so that the maximum reward value can be obtained according to the degree of gather flattening, and then the most accurate stacking velocity can be obtained.
[0140] Figure 5 The flowchart of Embodiment 5 of a method for determining a stacking velocity provided in the present application is based on the above embodiment. Figure 5 As shown, in step S403, obtaining a preset correction value corresponding to the agent includes:
[0141] S501: Obtain the difference in coordinates according to the second coordinate corresponding to the current energy group and the second coordinate corresponding to the previous energy group.
[0142] In this embodiment, in the experience data acquisition stage of any round of training, each agent obtains the second coordinate according to the next state, and the energy group is time series data, and multiple energy groups are arranged in chronological order. Therefore, in the experience acquisition stage, each energy group obtains the corresponding second coordinate.
[0143] In this embodiment, for example, according to the second coordinate (v i ,t i ), the second coordinate corresponding to the previous energy group (v i-1 ,t i-1 ) using formula (10):
[0144] r=v i -v i-1 (10)
[0145] The coordinate difference r is obtained, where i is the number of the energy group.
[0146] S502: If it is determined that the difference is less than a preset difference threshold, a preset correction value is obtained.
[0147] In this embodiment, when the rate of change is less than 0, it is determined that the second coordinate corresponding to the previous energy group is greater than the second coordinate corresponding to the current energy group, and the second coordinate corresponding to the forward energy group should be smaller than the second coordinate corresponding to the current energy group. At this time, a preset correction value less than 0 is obtained.
[0148] S503: If it is determined that the second coordinate corresponding to the current energy group is greater than the second coordinates corresponding to the next two energy groups, a preset correction value is obtained.
[0149] In this embodiment, the second coordinate corresponding to the current energy group should be smaller than the second coordinates corresponding to the last two energy groups. However, at this time, the second coordinate corresponding to the current energy group is larger than the second coordinates corresponding to the last two energy groups, resulting in a preset correction value less than 0.
[0150] In this embodiment, the difference in coordinates is obtained based on the second coordinate corresponding to the current energy group and the second coordinate corresponding to the previous energy group; if it is determined that the difference is less than the preset difference threshold, a preset correction value is obtained; if it is determined that the second coordinate corresponding to the current energy group is greater than the second coordinates corresponding to the last two energy groups respectively, a preset correction value is obtained, so as to drive the intelligent body to move to a better state according to the preset correction value.
[0151] Figure 6 The flowchart of the sixth embodiment of a method for determining a stacking velocity provided in the present application is based on the above embodiment. Figure 6 As shown, in step S101, multiple energy groups are obtained according to the superposition velocity spectrum, including:
[0152] S601: Determine energy values in the stacking velocity spectrum that are greater than a preset energy threshold, and obtain a high energy value set.
[0153] In this embodiment, for example, the stacking velocity spectrum is a two-dimensional matrix, and each energy value in the stacking velocity spectrum is compared with a preset energy threshold. When it is determined that the energy value in the stacking velocity spectrum is greater than the preset energy threshold, the energy value is retained, otherwise, the energy value is set to zero, and each energy value in the stacking velocity spectrum is processed to obtain a high energy value set.
[0154] S602: Divide the high energy value set according to the adjacent relationship to obtain multiple energy groups.
[0155] In this embodiment, adjacent high energy values in the high energy value set are divided into an energy cluster, and the data of the high energy value set are sorted according to the adjacent relationship of the high energy values to obtain multiple energy clusters.
[0156] In this embodiment, energy values greater than a preset energy threshold in the stacking velocity spectrum are determined to obtain a high energy value set; the high energy value set is divided according to the adjacent relationship, and then multiple energy clusters are determined from the stacking velocity spectrum.
[0157] Figure 7 The flowchart of Embodiment 7 of a method for determining a stacking velocity provided in the present application is based on the above embodiment. Figure 7As shown, in step S101, a stacking velocity spectrum is obtained according to the common center point gather data, including:
[0158] S701: According to a preset velocity set, the gather data in the common center point gather are corrected respectively to obtain a plurality of corrected gather data.
[0159] In this embodiment, the preset speed set includes different preset speeds. According to the preset speeds in the preset speed set, the gather data in the common center point gather are corrected respectively to obtain a plurality of corrected data corresponding to different preset speeds.
[0160] S702: Stacking multiple corrected gather data to obtain a stacked velocity spectrum.
[0161] In this embodiment, a plurality of correction data corresponding to the same preset speed are superimposed to obtain superimposed speeds corresponding to different preset speeds, and then the superimposed speeds corresponding to different preset speeds are superimposed to obtain a superimposed speed spectrum.
[0162] In this embodiment, according to a preset velocity set, the gather data in the common center point gather are corrected respectively to obtain a plurality of corrected gather data; and the plurality of corrected gather data are stacked to obtain a stacked velocity spectrum.
[0163] Figure 8 A schematic diagram of a flow chart of Embodiment 8 of a method for determining a stacking velocity provided in an embodiment of the present application, as shown in FIG. Figure 8 As shown, the method comprises the following steps:
[0164] S801: Obtain common center point gathers.
[0165] S802: According to a preset velocity set, the common center point gathers are corrected to obtain a stacked velocity spectrum.
[0166] S803: Obtain multiple energy clusters from the superposition velocity spectrum.
[0167] S804: Obtain data in the energy group from multiple energy groups as the state.
[0168] In this embodiment, during the first round of training, the state is the initial state, and during other rounds of training, the state is the optimized superposition speed.
[0169] S805: Perform training according to the state to obtain an optimized superposition speed.
[0170] S806: Processing the common center point gather data according to the optimized stacking velocity to obtain a first correlation coefficient and a second correlation coefficient, and obtaining a reward value according to the first correlation coefficient and the second correlation coefficient.
[0171] S807: looping through steps S805 and S806. When it is determined that the iteration stop condition is met, the average reward value of each round is obtained, and according to the average reward value of each round, the last state set corresponding to the round with the largest average reward value is obtained, and according to the state set, the stacking velocity set corresponding to the common center point gather data is obtained. In this embodiment, the common center point gather is obtained; according to the preset velocity set, the common center point gather is corrected to obtain a stacking velocity spectrum; from the stacking velocity spectrum, multiple energy clusters are obtained; from the multiple energy clusters, data in the energy clusters are obtained as states; training is performed according to the states to obtain an optimized stacking velocity; according to the optimized stacking velocity, the common center point gather data is processed to obtain a first correlation coefficient and a second correlation coefficient, and a reward value is obtained according to the first correlation coefficient and the second correlation coefficient; when it is determined that the iteration stop condition is met, the average reward value of each round is obtained, and according to the average reward value of each round, the last state set corresponding to the round with the largest average reward value is obtained, and according to the state set, the stacking velocity corresponding to the common center point gather data is obtained.
[0172] Fig. 9 A schematic diagram of the reinforcement learning model structure provided in the embodiment of the present application is shown in FIG. Fig. 9 shown.
[0173] The reinforcement learning model structure includes the components of reinforcement learning and the interaction process between the intelligent agent and the environment. Among them, the action network and the evaluation network are composed of 3-4 fully connected layers. The action network is responsible for learning strategies and outputting actions, and the evaluation network is responsible for evaluating the actions output by the action network.
[0174] Fig.10 A schematic diagram of the average reward value during the training process provided by the embodiment of the present application, such as Fig.10 shown.
[0175] The horizontal axis is the number of training times, and the vertical axis is the reward value. In the early exploration process, the agent does not conduct training, but accumulates experience data. At this time, the reward value is zero. When the experience data accumulates to a preset amount, the agent begins to extract experience data for training, and the reward value generally shows an upward trend. When the agent continues to explore while learning the optimal strategy, the reward value will decrease.
[0176] Fig.11 This is a structural diagram of a first embodiment of a device for confirming a stacking speed provided in an embodiment of the present application, such as Fig.11 As shown, it includes: an acquisition module 111 and an analysis module 112. Among them,
[0177] The acquisition module 111 is used to obtain a stacked velocity spectrum based on the common center point gather data, and obtain multiple energy groups based on the stacked velocity spectrum; wherein each energy group corresponds to an intelligent agent, and the energy group is the exploration environment where the intelligent agent is located.
[0178] The analysis module 112 is used to obtain the first coordinate from each energy group in the multiple energy groups during the iteration process of any round as the state of the current round and input it into the action network of the intelligent agent to obtain the action, and obtain the next state and reward value according to the action, and store the state, action, reward value and next state in the experience pool; wherein each experience data stored in the experience pool includes the action set, state set, reward value set and next state set corresponding to the multiple energy groups in one iteration process; according to the reward value set, the average reward value is obtained; the analysis module 112 is also used to obtain the experience data of the current round from the experience pool, and the next state in the experience data is obtained. The state set is input into the target action network of the intelligent agent to obtain the next action set, and the next action set and the next state set are input into the target evaluation network of the intelligent agent to obtain the first reward value, and the state set and action set in the experience data are input into the evaluation network of the intelligent agent to obtain the second reward value; the analysis module 112 is also used to update the evaluation network, the action network, the target evaluation network and the target action network according to the first reward value, the second reward value and the reward value set; the analysis module 112 is also used to obtain the last state set corresponding to the round with the largest average reward value when the iteration stop condition is met, and obtain the stacking velocity corresponding to the common center point data according to the state set.
[0179] The stacking velocity confirmation device provided in this embodiment can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be described in detail here.
[0180] This embodiment also provides an electronic device, which includes a memory and a processor, wherein the memory is used to store computer execution instructions; the processor is used to read the computer program stored in the memory and execute the embodiment shown in the above method according to the computer program in the memory, which will not be repeated here.
[0181] This embodiment further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the embodiment shown in the above method is implemented, which will not be described in detail here.
[0182] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0183] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0184] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0185] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0186] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0187] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0188] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0189] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0190] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for determining stacking velocity, characterized in that: include: According to the common center point gather, a superposition velocity spectrum is obtained, and according to the superposition velocity spectrum, a plurality of energy groups are obtained; wherein each energy group corresponds to an intelligent agent, and the energy group is the exploration environment where the intelligent agent is located; In the iterative process of any round, for each energy group among the multiple energy groups, the first coordinate is obtained from the energy group as the state of the current round and input into the action network of the intelligent agent to obtain the action, and the next state and reward value are obtained according to the action, and the state, the action, the reward value and the next state are stored in the experience pool; wherein each experience data stored in the experience pool includes the action set, state set, reward value set and next state set corresponding to the multiple energy groups in one iteration process; according to the reward value set, the average reward value is obtained; Acquire the experience data of the current round from the experience pool, and input the next state set in the experience data into the target action network of the agent to obtain the next action set, and input the next action set and the next state set into the target evaluation network of the agent to obtain a first reward value, and input the state set and action set in the experience data into the evaluation network of the agent to obtain a second reward value; According to the first reward value and the second reward value, updating the evaluation network, the action network, the target evaluation network and the target action network; When the iteration stop condition is met, the last state set corresponding to the round with the largest average reward value is obtained, and the stacking velocity corresponding to the common center point gather is obtained based on the state set.
2. The method according to claim 1, characterized in that The obtaining of the next state and reward value according to the action comprises: According to the action, a next state is obtained, and according to the next state, a second coordinate is obtained; wherein the first coordinate and the second coordinate are in the same energy group; According to the second coordinate, correcting the current common center point gathers to obtain corrected common center point gathers; A reward value is obtained according to the current common-center point gather, the corrected common-center point gather, and a preset correction value.
3. The method according to claim 2, characterized in that The step of correcting the current common-center point gather according to the second coordinate to obtain a corrected common-center point gather comprises: Obtaining a correction time length according to the second coordinate, a preset offset, and a time corresponding to the second coordinate in the stacking velocity spectrum; wherein the preset offset is the distance between a shot point and a detector when collecting the common center point gather; The current common-center point gather is corrected according to the correction time to obtain a corrected common-center point gather.
4. The method according to claim 2, characterized in that: The common center point gather is a sequence that changes over time; the reward value is obtained according to the current common center point gather, the corrected common center point gather, and the preset correction value, including: Dividing the current common center point gather of the current round into first gather data and second gather data with partial overlap, and obtaining a first correlation coefficient according to the first gather data and the second gather data; Dividing the corrected common center point gather of the current round into first corrected gather data and second corrected gather data with partial overlap, and obtaining a second correlation coefficient according to the first corrected gather data and the second corrected gather data; A reward value is obtained according to the difference between the first correlation coefficient, the second correlation coefficient and the preset correction value corresponding to the agent.
5. The method according to claim 4, characterized in that The preset correction value corresponding to the agent is obtained in the following way: According to the second coordinate corresponding to the current energy group and the second coordinate corresponding to the previous energy group, the difference of the coordinates is obtained; If it is determined that the difference is less than a preset difference threshold, a preset correction value is obtained; If it is determined that the second coordinate corresponding to the current energy group is greater than the second coordinates corresponding to the next two energy groups, a preset correction value is obtained.
6. The method according to any one of claims 1 to 5, characterized in that: According to the superposition velocity spectrum, a plurality of energy groups are obtained, including: Determine an energy value in the stacking velocity spectrum that is greater than a preset energy threshold to obtain a high energy value set; The high energy value set is divided according to the adjacent relationship to obtain multiple energy groups.
7. The method according to any one of claims 1 to 5, characterized in that: The stacking velocity spectrum is obtained according to the common center point gather, including: According to a preset velocity set, the gather data in the common center point gather are corrected respectively to obtain a plurality of corrected gather data; The plurality of corrected gather data are stacked to obtain a stacked velocity spectrum.
8. A device for confirming stacking speed, characterized in that: include: An acquisition module is used to obtain a stacked velocity spectrum according to the common center point gather, and obtain multiple energy groups according to the stacked velocity spectrum; wherein each energy group corresponds to an intelligent agent, and the energy group is the exploration environment where the intelligent agent is located; The analysis module is used for obtaining the first coordinate from each of the multiple energy groups as the state of the current round and inputting it into the action network of the agent in any round of iteration, and obtaining the action, and obtaining the next state and reward value according to the action, and storing the state, the action, the reward value and the next state in the experience pool; wherein each experience data stored in the experience pool includes the action set, state set, reward value set and next state set corresponding to the multiple energy groups in one iteration process; and obtaining the average reward value according to the reward value set; The analysis module is further used to obtain the experience data of the current round from the experience pool, and input the next state set in the experience data into the target action network of the agent to obtain the next action set, and input the next action set and the next state set into the target evaluation network of the agent to obtain a first reward value, and input the state set and action set in the experience data into the evaluation network of the agent to obtain a second reward value; The analysis module is further used to update the evaluation network, the action network, the target evaluation network and the target action network according to the first reward value and the second reward value; The analysis module is further used to obtain the last state set corresponding to the round with the largest average reward value when the iteration stop condition is met, and obtain the stacking velocity corresponding to the common center point gather based on the state set.
9. An electronic device, characterized in that: include: A memory and a processor; wherein, The memory is used to store computer-executable instructions; The processor is used to read the computer program stored in the memory and execute the method according to any one of claims 1 to 7 according to the computer program in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
