Power multi-modal data semantic consistency augmentation method for small sample scenarios

By extracting the original features of multimodal power data, determining the discriminative features to be augmented, and performing data augmentation within the target feature range, the problem of semantic distortion and conflict of physical laws caused by small sample characteristics in key power scenarios is solved, and semantically consistent augmentation is achieved.

CN123178986APending Publication Date: 2026-11-27CHINA SOUTHERN POWER GRID ARTIFICIAL INTELLIGENCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611698370.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The small sample size in critical power scenarios leads to insufficient labeled samples. Traditional data augmentation methods lack in-depth modeling of the semantic associations of multimodal power data, resulting in semantic distortion and conflicts in physical laws in the augmented samples.

Method used

By acquiring multimodal power sample data, extracting the original data features of each mode, determining the discriminative features to be amplified, and performing data augmentation within the target feature range, the semantic consistency of the amplified samples is ensured, key features are avoided, and the physical laws of the power system are satisfied.

Benefits of technology

It achieves semantic consistency augmentation of power multimodal data in small sample scenarios, ensuring semantic and physical consistency of augmented samples and avoiding the risk of samples deviating from the real environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178986A_ABST
    Figure CN123178986A_ABST
Patent Text Reader

Abstract

The application relates to a power multi-modal data semantic consistency augmentation method for a small sample scene. The method comprises the following steps: extracting original features corresponding to each mode in power multi-modal sample data; determining, according to feature range information of the original features, to-be-augmented discriminant features for which data changes do not cause changes in sample types or physical constraints of the data; obtaining scene information of a rare sample scene, and determining an initial feature range of the to-be-augmented discriminant features according to the scene information; determining a target feature range of the to-be-augmented discriminant features according to sample types corresponding to the original features and the initial feature range; and performing data enhancement on power multi-modal sample data corresponding to the to-be-augmented discriminant features in the target feature range to obtain augmented samples with semantic consistency. The method can improve the semantic consistency of power multi-modal data for a small sample scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power data processing technology, and in particular to a method for semantic consistency augmentation of multimodal power data for small sample scenarios. Background Technology

[0002] With the deepening of the intelligent transformation of the power system, deep learning models have been widely used in scenarios such as power load forecasting, equipment fault diagnosis, and inspection image recognition.

[0003] However, critical power scenarios (such as equipment failures under extreme weather conditions, lightning overvoltage, and wind-induced discharge) have inherently small sample characteristics and occur very infrequently in actual operation, resulting in a severe shortage of collectable labeled samples, making it difficult to support the training of high-quality AI models.

[0004] Traditional data augmentation methods often target single modalities (such as image flipping and text synonym replacement) or use general generative adversarial networks to generate samples. They lack in-depth modeling of the semantic relationships between multimodal power data (text, images, audio, and video) and do not fully consider the inherent physical laws of the power system (such as Kirchhoff's laws and energy conservation) and spatiotemporal logical constraints. As a result, the augmented samples generally suffer from semantic distortion, conflicting physical laws, and broken spatiotemporal relationships. Summary of the Invention

[0005] Therefore, it is necessary to provide a semantic consistency augmentation method for power multimodal data in small sample scenarios to address the above-mentioned technical problems, in order to improve the semantic consistency of power multimodal data in small sample scenarios.

[0006] This application provides a method for semantic consistency augmentation of multimodal power data in small-sample scenarios, the method comprising the following steps:

[0007] Acquire power multimodal sample data and extract the original power data features corresponding to each mode in the power multimodal sample data;

[0008] Based on the feature range information of the original power data features, a discriminant feature to be amplified is determined from the original power data features; the feature range information is the value range of the same original power data feature in different modalities; the discriminant feature to be amplified is a feature whose data changes will not cause changes in the data sample type or physical constraints; the sample type is a type label corresponding to different power business needs.

[0009] Obtain scenario information of scarce sample scenarios, and determine the initial feature range of the discriminative features to be amplified based on the scenario information; the scarce sample scenarios are key business scenarios in the power system where the number of samples is less than a preset threshold.

[0010] Based on the sample type corresponding to the original power data features and the initial feature range, the target feature range of the discriminative features to be amplified is determined; the target feature range is used to characterize the range of values ​​that ensures the semantic consistency of the discriminative features to be amplified.

[0011] Within the target feature range, data augmentation is performed on the power multimodal sample data corresponding to the feature to be augmented to obtain semantically consistent augmented samples.

[0012] The aforementioned semantic consistency augmentation method for power multimodal data in small-sample scenarios acquires power multimodal sample data and extracts the original power data features corresponding to each mode. Based on the feature range information of the original power data features, it identifies the discriminant features to be augmented that will not change the sample type or physical constraints of the data due to data changes. This systematically identifies fixed discriminant features that cannot be changed during the augmentation process, ensuring that subsequent augmentation operations are performed only on the discriminant features to be augmented. Furthermore, based on the scenario information of the small-sample scenario, it determines the initial feature range of the discriminant features to be augmented. This approach enables augmented samples to accurately match the business characteristics of small-sample scenarios while satisfying the physical laws of the power system, effectively avoiding the risk of augmented samples deviating from the real physical environment. Based on the sample type and initial feature range corresponding to the original power data features, the target feature range of the discriminant features to be augmented is determined. Within the target feature range, data augmentation is performed on the power multimodal sample data corresponding to the discriminant features to be augmented, resulting in semantically consistent augmented samples. This ensures a semantically consistent value range during the augmentation of power multimodal data, avoiding the problem of sample semantic distortion caused by arbitrarily changing key features, thereby ensuring the semantic consistency of the augmented samples. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 This is an application environment diagram of a method for semantic consistency augmentation of multimodal power data in a small-sample scenario, as shown in one embodiment.

[0015] Figure 2 This is a flowchart illustrating a method for semantic consistency augmentation of multimodal power data for small sample scenarios in one embodiment.

[0016] Figure 3This is a flowchart illustrating the steps of determining the discriminative features to be amplified from the features of raw power data in one embodiment.

[0017] Figure 4 This is a flowchart illustrating the steps for determining the initial feature range of the features to be amplified and discriminated in one embodiment.

[0018] Figure 5 This is a flowchart illustrating the steps for obtaining the scene feature range of the feature to be amplified and discriminated in one embodiment;

[0019] Figure 6 This is a flowchart illustrating the steps for obtaining the range of collaborative features of the discriminative features to be amplified in one embodiment;

[0020] Figure 7 This is a flowchart illustrating the steps for determining the target feature range of the feature to be amplified and discriminated in one embodiment;

[0021] Figure 8 This is a flowchart illustrating the steps for refining the initial feature range in one embodiment;

[0022] Figure 9 This is a flowchart illustrating a method for semantic consistency augmentation of multimodal power data in a small-sample scenario, as described in another embodiment.

[0023] Figure 10 This is a structural block diagram of a power multimodal data semantic consistency augmentation device for small sample scenarios in one embodiment;

[0024] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0026] The semantic consistency augmentation method for power multimodal data in small-sample scenarios provided in this application can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. Server 104 can acquire multimodal power sample data and extract the original power data features corresponding to each modality in the multimodal power sample data. Server 104 can determine the discriminant features to be amplified from the original power data features based on the feature range information of the original power data features. Server 104 can acquire scene information of scarce sample scenarios and determine the initial feature range of the discriminant features to be amplified based on the scene information. Server 104 can determine the target feature range of the discriminant features to be amplified based on the sample type and initial feature range corresponding to the original power data features. Server 104 can perform data augmentation on the multimodal power sample data corresponding to the discriminant features to be amplified within the target feature range to obtain semantically consistent amplified samples. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, etc. Server 104 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.

[0027] In one exemplary embodiment, such as Figure 2 As shown, a semantic consistency augmentation method for power multimodal data in small sample scenarios is provided, and this method is applied to... Figure 1 Taking server 104 as an example, the explanation includes the following steps S202 to S210. Wherein:

[0028] Step S202: Obtain power multimodal sample data and extract the original power data features corresponding to each mode in the power multimodal sample data.

[0029] In practical implementation, the sample data originates from multimodal data in the power system, including but not limited to: time-series data such as voltage, current, frequency, and power values; visual data such as near-infrared images, monitoring images, and monitoring videos; and acoustic data such as sound and vibration signals. Feature extraction from the multimodal power sample data can be performed as follows: for time-series data, wavelet packet decomposition is used to extract high-frequency feature sets; for image data, a ResNet residual neural network model is used to extract image features; for text data, an M3E model is used to extract semantic features; and for audio data, Mel-frequency cepstral coefficients (MFCC) are used for feature extraction. After the above feature extraction is completed, the feature vectors of different modes are mapped to the same semantic space to form a unified feature representation, i.e., the original power data features, also known as the original features.

[0030] Step S204: Based on the feature range information of the original power data features, determine the discriminant features to be amplified from the original power data features.

[0031] Among them, the feature range information is the value range of the same original power data feature in different modes. The feature to be augmented and discriminated, also known as the non-discriminatory feature, can be a feature that will not cause changes in the data sample type or physical constraints due to data changes. It refers to the feature that can be augmented. The sample type is the type label corresponding to different power business needs.

[0032] Step S206: Obtain scene information of scarce sample scenarios, and determine the initial feature range of the discriminative features to be amplified based on the scene information.

[0033] Among them, the scarce sample scenario, or small sample scenario, refers to the key business scenario in the power system where the number of samples is less than a preset threshold.

[0034] Step S208: Determine the target feature range of the features to be amplified based on the sample type and initial feature range corresponding to the original power data features.

[0035] The target feature range, also known as the defined feature range, is used to characterize the range of values ​​that ensure the semantic consistency of the discriminative features to be amplified.

[0036] Step S210: Within the target feature range, perform data augmentation on the power multimodal sample data corresponding to the features to be amplified to obtain semantically consistent amplified samples.

[0037] In practical applications, when varying the values ​​of the discriminant features to be augmented within a defined feature range, techniques such as time warping and amplitude scaling can be used for time-series data; random rotation, cropping, and color dithering can be used for image data; synonym replacement and back-translation can be used for text data; and speed perturbation and noise addition can be used for audio data. The augmented sample maintains consistency with the original sample in terms of fixed discriminant features, differing only in the discriminant features to be augmented, thus ensuring semantic consistency of the augmented sample.

[0038] In the aforementioned method for semantic consistency augmentation of power multimodal data for small sample scenarios, the method acquires power multimodal sample data and extracts the original power data features corresponding to each mode. Based on the feature range information of the original power data features, it identifies the discriminant features to be augmented that will not change the sample type or physical constraints of the data due to data changes. This systematically identifies fixed discriminant features that cannot be changed during the augmentation process, ensuring that subsequent augmentation operations are performed only on the discriminant features to be augmented. Furthermore, based on the scenario information of the small sample scenario, it determines the initial feature range of the discriminant features to be augmented. This allows the augmented samples to accurately match the business characteristics of small sample scenarios while satisfying the physical laws of the power system, effectively avoiding the risk of the augmented samples deviating from the real physical environment. Based on the sample type and initial feature range corresponding to the original power data features, the target feature range of the discriminant features to be augmented is determined. Within the target feature range, data augmentation is performed on the power multimodal sample data corresponding to the discriminant features to be augmented to obtain semantically consistent augmented samples. This ensures the semantically consistent value range in the augmentation of power multimodal data, avoiding the problem of sample semantic distortion caused by arbitrarily changing key features, thereby ensuring the semantic consistency of the augmented samples.

[0039] In one exemplary embodiment, such as Figure 3 As shown, step S204 involves determining the features to be amplified from the original power data features based on the feature range information of the original power data features, including the following steps S301 to S305:

[0040] Step S301: Determine the value range of the original power data features based on the feature range information.

[0041] Among them, the original power data features refer to the initial features extracted from the power multimodal data, i.e., the original features, and the sample type refers to the category labels pre-divided according to the power business needs, such as "normal operation", "mild overload", "serious fault", "lightning fault", "wind discharge", etc.

[0042] Optionally, it can be determined whether changes in the characteristics of the original power data lead to changes in the sample type. If changes in the sample type are caused, it can be determined whether the original power data characteristics are fixed values ​​when they do not lead to changes in the sample type, based on the feature range information.

[0043] The specific method for determining whether changes in the original power data characteristics lead to changes in sample types is as follows: Based on historical labeled samples, statistically analyze the distribution differences of sample type labels for the same original power data characteristic across different value intervals. Specifically, after sorting the values ​​of the original power data characteristic from smallest to largest, divide it into several value intervals (the number of intervals can be determined based on the total sample size, for example, by taking the square root of the sample size). Statistically analyze the frequency of each sample type within each value interval, and calculate the change in the frequency distribution of sample types between adjacent intervals. If the change in a pair of adjacent intervals exceeds a preset threshold (this threshold can be determined based on the mean and standard deviation of the changes in all interval pairs, for example, by taking the mean plus twice the standard deviation), then it is determined that the change in this feature will lead to a change in the sample type.

[0044] A fixed value refers to a feature whose value is physically or semantically constrained to a specific numerical value or a very narrow range without causing a change in the sample type. Examples include equipment rated voltage and protection settings. If a change in a feature would cause a change in the sample type, further judgment is needed: if the feature's value is fixed without causing a change in the sample type, it means that the feature has no room for change while maintaining the sample type, and it should be marked as a fixed discriminant feature in subsequent steps. If it does not cause a change in the sample type, the original power data feature is directly recorded as a discriminant feature to be expanded.

[0045] Step S302: When the value range of the original power data features is a fixed interval, the original power data features are used as fixed discrimination features.

[0046] Among them, fixed discriminant features are those features that cause changes in data sample type or physical constraints to change.

[0047] Fixed discriminant features refer to the original power data features that remain unchanged during the amplification process. Changes in these features can directly alter the category of a sample or violate the physical constraints of the power system.

[0048] For example, in a lightning strike fault sample, the faulty phase of the three-phase current (e.g., phase A grounding) is a fixed discriminant feature. If it is changed from phase A to phase B, the sample type changes from "phase A grounding fault" to "phase B grounding fault," resulting in a fundamental semantic change. The original power data features that satisfy the fixed value condition in step S21 are marked as fixed discriminant features. The marking method can be achieved by adding a Boolean identifier field to the feature vector, where a value of True indicates a fixed discriminant feature, and False indicates a non-fixed discriminant feature.

[0049] Step S303: When the value range of the original power data feature is not a fixed interval, determine the number of modes corresponding to the same original power data feature in the power multimodal data.

[0050] In the specific implementation, if it is not a fixed value, the server 104 can determine whether there is only one unique power mode data in the same sample to extract the original power data features.

[0051] When a change in a feature leads to a change in the sample type, but is not a fixed value when it doesn't cause a change, it indicates that the feature has a certain range of variation but is limited by the singularity of its modal source. In this case, it's necessary to determine whether the feature originates from a single power modal data source. Power modal data includes time-series data (such as voltage and current waveforms), image data (such as infrared thermal images and visible light inspection photos), text data (such as maintenance records and fault reports), and audio data (such as equipment operating sounds). The determination method is as follows: iterate through the feature extraction results of all modal data, count the number of modes containing the original power data feature, and if the count is 1, it is recorded as "obtained from only one unique power modal data source"; otherwise, it is recorded as "not unique".

[0052] Step S304: When there are at least two modes, obtain feature range information; based on the feature range information, determine the intersection of the value range of the original power data features between different modes, obtain the range intersection, and use the range intersection as the original power data features of a fixed interval as fixed discrimination features.

[0053] Among them, the feature range information can refer to the value range of the same original power data feature in different modal data.

[0054] For example, if the original power data features are not extracted from only one power mode data, then it is determined whether the intersection of the ranges of the original power data features extracted from different power mode data is a fixed value.

[0055] When the same original power data feature can be extracted from multiple power mode data (e.g., "temperature" can be extracted from both infrared images and text inspection records), it is necessary to examine the value range of this feature under different modes. The calculation method for the intersection of cross-modal ranges is as follows: count the minimum and maximum values ​​of the feature under each mode to form an interval, and then find the intersection of all intervals. If the intersection is not empty and is a definite value or an extremely narrow interval (e.g., the temperature points to 45℃±0.5℃ in all modes), that is, the range intersection is a fixed value, it indicates that the feature has consistent discriminative ability under multiple modes, and the original power data feature is marked as a fixed discriminative feature.

[0056] Step S305: When there is only one modality, the original power data features are used as unique features, and the correlation information between the unique features and the fixed discriminant features is obtained; based on the correlation information, the fixed discriminant features are determined from the unique features; the original power data features that are not fixed discriminant features are used as discriminant features to be amplified.

[0057] Among them, the discriminative features to be amplified, i.e. non-discriminative features, can refer to those original power data features that, when changed, will not cause a fundamental change in the sample type and do not violate the physical laws of the power system. Subsequent amplification operations will only be performed on the non-discriminative features.

[0058] As one possibility, if only a single power mode data point yields the original power data feature, then that feature is designated as a unique feature. When a certain original power data feature can only be extracted from a single power mode data point (e.g., hotspot distribution features in an infrared image exist only in the image mode, with no corresponding description in the text mode), that feature is designated as a unique feature. A unique feature implies that it lacks cross-modal mutual verification; whether it is a fixed discriminant feature requires further determination through correlation information.

[0059] Then, the association information of the unique features is obtained, and the unique features are used to determine whether they are fixed discriminant features. If the unique features are fixed discriminant features, they are marked as fixed discriminant features, and all original power data features other than fixed discriminant features are recorded as non-discriminant features (discriminant features to be expanded).

[0060] In this embodiment, it first determines whether feature changes will lead to changes in sample type. Then, it combines the cross-modal range intersection with a fixed value and the correlation verification relationship between unique features and fixed discriminant features to screen out the fixed discriminant features that cannot be changed during the amplification process. Traditional techniques usually apply random changes to all features equally or rely solely on single-modal data for judgment, lacking the ability to verify cross-modal interactions. This can easily lead to key features being incorrectly included in the range of changes, resulting in semantic distortion of the amplified samples. This scheme first selects to perform initial screening through "differences in sample type labels before and after changes in statistical feature values"—the principle being that if the frequency distribution of sample types shifts significantly when a feature value changes, it indicates that the feature has strong discriminative power for sample types, and its changes should be treated with caution. Then, it performs secondary verification through "whether the cross-modal range intersection is a fixed value"—because a fixed cross-modal range intersection means that the feature points to the same physical meaning in different modal data, possessing the reliability of cross-modal consistency verification. Finally, a supplementary judgment is made through "association verification relationship" to ensure that the unique features are logically consistent with the fixed discriminant features in terms of physical or semantics.

[0061] In an exemplary embodiment, step S305, determining a fixed discriminant feature from unique features based on the association information, includes: determining whether there is an association verification relationship between the unique feature and the fixed discriminant feature based on the comparison relationship between the association information and a preset correlation coefficient threshold; if the unique feature does not have an association verification relationship, using unique features whose value range is a fixed interval as fixed discriminant features; if the unique feature has an association verification relationship, obtaining the sensitivity of the value change of the unique feature to the value of the fixed discriminant feature remaining unchanged; if the sensitivity characterizes that the association verification relationship cannot be successfully verified, using the unique feature as a fixed discriminant feature.

[0062] In practical applications, the correlation information is used to determine whether the unique feature and the fixed discriminant feature have a correlation verification relationship. If not, it is determined whether the unique feature is a fixed value when it does not cause a change in the sample type. If it is a fixed value, the unique feature is determined to be a fixed discriminant feature; otherwise, it is determined to be a non-discriminative feature. If a correlation verification relationship exists, it is determined whether changes in the unique feature, when the fixed discriminant feature remains unchanged, would cause both the fixed discriminant feature and the unique feature to fail verification. If they would cause verification to fail, the unique feature is determined to be a fixed discriminant feature; otherwise, it is determined to be an auxiliary discriminant feature and classified as a non-discriminative feature.

[0063] Association information refers to the correlation data between unique features and other features (especially labeled fixed discriminant features). It is obtained by calculating the correlation coefficient between the unique feature and each fixed discriminant feature, using either the Pearson correlation coefficient (suitable for linear relationships) or the distance correlation coefficient (suitable for nonlinear relationships). Association verification relationships refer to the mutually verifiable physical or semantic constraints between unique features and fixed discriminant features. Specifically, this manifests as either both participating in the same electrical physics equation (e.g., voltage, current, and resistance satisfying Ohm's law), or both semantically describing different aspects of the same fault phenomenon (e.g., "phase A grounding" and "phase A current surge" both describe the same fault).

[0064] As an example, the method for determining whether an association verification relationship exists can be as follows: if the absolute value of the correlation coefficient between a unique feature and a certain fixed discriminant feature exceeds a preset threshold (this threshold can be set according to business needs, for example, 0.7), then it is determined that the two have an association verification relationship; otherwise, they do not. When there is no association verification relationship, it is further determined whether the unique feature is a fixed value without causing a change in the sample type. The determination method is the same as the method for determining fixed values ​​in step S21.

[0065] When a unique feature does not have a valid correlation with a fixed discriminant feature, and it remains a fixed value without causing a change in the sample type (e.g., inherent attributes such as equipment number or rated voltage level), then the unique feature should be marked as a fixed discriminant feature and remain unchanged during amplification. If it is not a fixed value without causing a change in the sample type, it indicates that the feature is independent of the existing fixed discriminant feature system, and even if it changes, it will not cause semantic distortion or physical conflict. Therefore, it is classified as a non-discriminant feature and is allowed to change during amplification.

[0066] When a correlation verification relationship exists between a unique feature and a fixed discriminant feature, it is necessary to further examine the collaborative constraint relationship between the two. Specifically, the value of the fixed discriminant feature can be fixed to its true value in the original sample. Then, the unique feature can be varied within its physically permissible range. Each variation is then verified by inputting the correlation verification relationship (e.g., physical formulas or semantic correspondence rules) into the relationship between the two features. This determines the sensitivity of the unique feature's value variation to the fixed discriminant feature's value remaining constant. The criterion for determining whether verification is "unsuccessful" is: if, after substituting the varied unique feature value into the verification relationship, the deviation between the calculated physical quantity and the theoretical value of the fixed discriminant feature exceeds a preset tolerance range (this tolerance can be set according to the measurement accuracy and physical fluctuation range, for example, three times the equipment's measurement accuracy), or if there is a semantic mismatch (e.g., "phase A fault" and "phase B current surge" cannot correspond), then verification is deemed unsuccessful.

[0067] If the sensitivity characterization association verification fails to be verified, that is, when the change of the unique feature causes it to fail to be verified with the fixed discriminant feature, it indicates that there is a strong coupling relationship between the unique feature and the fixed discriminant feature. Its change will destroy the physical or semantic consistency between the two. Therefore, the unique feature should be marked as the fixed discriminant feature and remain unchanged during amplification.

[0068] If a unique feature can still be successfully verified after changes are made while keeping the fixed discriminant feature unchanged, it indicates that although the unique feature is related to the fixed discriminant feature, its value has a certain margin of variation and will not disrupt the overall physical or semantic consistency. In this case, the unique feature is determined as an auxiliary discriminant feature and classified as a non-discriminant feature (discriminant feature to be expanded). This auxiliary discriminant feature will subsequently be used in the step of obtaining the co-feature range of the non-discriminant feature. The initial feature range will be determined based on its associated fixed discriminant feature.

[0069] The technical solution of this embodiment first determines whether the unique feature and the fixed discriminant feature have an association verification relationship. If not, it directly determines the relationship based on the fixed value standard. If they do have an association verification relationship, it further examines the coupling strength between the two by checking whether the change of the unique feature can be successfully verified when the fixed discriminant feature remains unchanged. This avoids incorrectly classifying features with strong coupling relationships as non-discriminant features, which would lead to physical inaccuracies in the amplified sample. At the same time, features with weak coupling relationships are identified as auxiliary discriminant features and their variation space is preserved. Traditional technologies usually lack this refined judgment capability based on association verification relationships, often directly classifying unique features as variable or immutable features, lacking intermediate-level refined processing. This solution chooses to first determine whether an association verification relationship exists—because the existence of an association verification relationship means that there is a physical or semantic mutual constraint between the two, and their variability cannot be determined independently. Then, the boundary of change is determined by the "can it be verified successfully" test. Because even if there are constraints, unique features may change safely within a certain range. Only when the change exceeds the tolerance and causes the verification to fail does it need to be locked. This two-step progressive judgment strategy can effectively preserve the change space of auxiliary discriminative features to increase sample diversity, while ensuring that coupled features are not mistakenly modified.

[0070] In one exemplary embodiment, such as Figure 4 As shown, step S206 determines the initial feature range of the features to be amplified and discriminated based on the scene information, including the following steps S402 to S406:

[0071] Step S402: Extract scarce sample scene features from scene information, and obtain the scene feature range of the features to be amplified based on the value range of scarce sample scene features.

[0072] Among them, scarce sample scenarios refer to key scenarios in the power system that occur infrequently and have a small number of collectable samples, such as lightning strikes, wind-induced discharges, and tower collapses caused by extreme weather. Information on scarce sample scenarios, i.e., small sample scenario information, comes from weather records from meteorological departments, operation logs of power dispatching systems, and environmental markers in fault waveform files.

[0073] Scene features can refer to quantifiable parameters that characterize scene attributes, such as wind speed, temperature, humidity, lightning density, and rainfall.

[0074] In practical applications, scene feature extraction can be achieved by: reading the corresponding environmental parameter values ​​from small sample scene information and using them as small sample scene features, i.e., scarce sample scene features. Then, the feature range of the small sample scene features can be obtained and recorded as the sample feature range. Based on the sample feature range, the scene feature range of non-discriminative features can be derived.

[0075] Step S404: Obtain the range of collaborative features of the discriminant features to be amplified; the range of collaborative features is used to characterize the range of values ​​that satisfy the basic physical law constraints of the power system.

[0076] Step S406: Based on the intersection between the scene feature range and the collaborative feature range, an initial feature range for the discriminative features to be amplified is formed.

[0077] In the specific implementation, the intersection of the scene feature range obtained in step S402 and the collaborative feature range obtained in step S404 is taken. The intersection interval is the initial feature range of the non-discriminative feature, which is also the initial feature range of the discriminative feature to be expanded. If the intersection of the two is an empty set, it means that the physical feasible interval of the non-discriminative feature in the current scene does not coincide with the actual constraints of the small sample scene. At this time, the collaborative feature range is used as the standard and an abnormal scene parameter warning is issued.

[0078] The technical solution of this embodiment constructs a dual constraint mechanism for ordinary non-discriminative features (non-auxiliary discriminative features, i.e., discriminative features to be amplified): first, it detects whether there is a physical conflict between multiple features and generates a collaborative feature range; then, it superimposes the scene feature range constraint of a small sample scenario; finally, it forms an initial feature range through intersection. Traditional techniques usually directly use physical limits as amplification boundaries, or rely solely on data-driven methods to statistically analyze the value range from samples. This lacks both systematic verification of the basic physical constraints between multiple features (for example, Kirchhoff's laws require the sum of the three-phase current phasors to be zero, while existing data amplification methods may independently change the currents of each phase, leading to physically impossible combinations of values), and it ignores the fine modeling of scene features (such as wind speed and temperature), making the amplified samples physically infeasible. This solution chooses to perform physical conflict detection first—because power systems are governed by basic physical laws, and independently changing each feature will inevitably violate the inherent constraints of these laws. This solution, by substituting the feature ranges into the physical equations for joint verification, can effectively filter out physically impossible combinations of values. Furthermore, the scenario feature range constraint is superimposed—because the small sample scenario itself has clear environmental attributes, the amplified sample must fall within this environmental range to have business relevance—this dual constraint mechanism can ensure that the amplified sample is physically real and reliable and accurately matched in the scenario.

[0079] In one exemplary embodiment, such as Figure 5 As shown, in step S401, the scene feature range of the features to be amplified is obtained based on the value range of the scene features of the scarce samples, including the following steps S501 to S506:

[0080] Step S501: From the discriminant features to be amplified, obtain the discriminant features that have a physical relationship with the scene features of the scarce samples, and use them as scene influence features.

[0081] Among them, scene-affected features can refer to non-discriminatory features whose values ​​are affected by changes in scene characteristics, such as the wind deflection angle of a conductor being affected by wind speed, the sag of a conductor being affected by ambient temperature, and the heat dissipation efficiency of equipment being affected by ambient humidity.

[0082] In the specific implementation, server 104 can collect non-discriminative features affected by small sample scene features and record them as scene-influencing features, and find the feature range of scene-influencing features corresponding to the range of sample features and record it as scene feature range. The collection method can be: based on the physical model of the power system (such as the relationship model between conductor wind deflection angle and wind speed, and the relationship model between sag and temperature), determine the non-discriminative features that have a physical correlation with the scene features and record them as scene-influencing features.

[0083] Step S502: If there is a corresponding standard range for the scarce sample scene features, the standard range shall be used as the sample feature range corresponding to the scarce sample scene features.

[0084] The scope of the standard refers to the range of values ​​specified in relevant standards, operating procedures or technical specifications in the power industry. It can be the range of values ​​for scenario characteristics that are clearly specified in power industry standards, power grid operating procedures or equipment manufacturer technical parameters, such as the wind force range corresponding to each wind speed level specified in the "Operating Procedures for Overhead Transmission Lines" or the range of ambient temperature for equipment operation specified in the national standard GB / T 11022.

[0085] In practical applications, the specific method for determining whether a small sample scenario has a defined range can be as follows: based on the name and type of the scenario feature, query the power industry standard library or the power grid enterprise procedure library. If a corresponding standard value exists, it is determined that there is a defined range. If there is a defined range, then the minimum and maximum values ​​of the scenario feature are directly read from the corresponding standard or procedure as the sample feature range.

[0086] Step S503: Obtain the feature range corresponding to the scene influence feature from the sample feature range, and use it as the scene feature range.

[0087] Optionally, after collecting non-discriminative features affected by small sample scene features and recording them as scene-affected features, the feature range of the scene-affected features corresponding to the sample feature range can be found and recorded as the scene feature range. Specifically, the scene feature values ​​within the sample feature range can be substituted into the corresponding physical model or fitting formula to calculate the corresponding value range of the scene-affected features, which is the scene feature range.

[0088] Step S504: In the case that there is no corresponding standard range for the features of the scarce sample scene, obtain other sample scenes outside the scarce sample scene from the historical database as reference scenes.

[0089] If no specific range is defined, other sample scenarios can be obtained and recorded as reference scenarios. When the value range of small sample scenario features is not clearly defined by industry standards or regulations (e.g., micro-meteorological conditions unique to a certain region, environmental parameters under non-standard operating conditions), the range of scenario features cannot be directly obtained from the standards, and it is necessary to infer it using historical data. In this case, other previously occurring sample scenarios are obtained from the historical database as reference scenarios. A reference scenario refers to an actual operating scenario recorded in history that contains the value of that scenario feature. The acquisition method can be: in the power dispatching system or fault information system, search for historical scenario data containing records of the same type of scenario features, and use all the retrieved scenarios as reference scenarios.

[0090] Step S505: Obtain the feature range of scene influence features in the reference scene as the reference range, and count the range frequency corresponding to the reference range.

[0091] The reference range can refer to the actual value range of the same scene-influencing feature in each reference scenario. The range frequency can refer to the proportion of the number of times the same reference range appears in all reference scenarios out of the total number of reference scenarios.

[0092] For example, for each reference scenario, the minimum and maximum values ​​of the influencing features of that scenario can be extracted to form a reference range; and the reference ranges of all reference scenarios can be classified (same or similar ranges can be merged into one category), the frequency of occurrence of each category of reference range can be counted, and divided by the total number of reference scenarios to obtain the range frequency corresponding to that reference range.

[0093] Step S506: The reference range whose range frequency is less than the preset frequency threshold and is within the range of physical features is taken as the scene feature range of the feature to be amplified and discriminated.

[0094] Among them, the physical characteristic range is the range of values ​​of the discriminant feature to be amplified under the constraints of the basic physical laws of the power system.

[0095] One possible implementation is to determine the preset frequency threshold by: using the corresponding statistical significance level value based on the total number of reference scenarios (e.g., taking the reciprocal of the total number of reference scenarios as a benchmark and multiplying it by a set significance coefficient); or by using an empirical rule to take a certain quantile of the frequencies of all reference ranges (e.g., the 30th percentile). Find reference ranges that meet two conditions: first, their range frequency is less than the preset frequency threshold (indicating that the range is rarely seen in history, consistent with the low-frequency characteristics of small sample scenarios); second, the reference range falls within the physical feature range (ensuring no violation of basic physical laws). Use the reference ranges that meet the above conditions as the scene feature range for this non-discriminative feature. If multiple reference ranges that meet the conditions are found, take the union of these reference ranges as the final scene feature range.

[0096] The technical solution of this embodiment constructs an adaptive scene feature range determination mechanism: for scene features with clearly defined industry standards or procedures, the sample feature range is directly extracted from the standard and mapped through a physical model to obtain the scene feature range. For scene features without a defined range, the reference range with low frequency and within the physical range is selected as the scene feature range by statistically analyzing the frequency of scene influence features in historical reference scenes. Traditional techniques typically use the entire historical value range of scene features as the amplification boundary, without distinguishing which are frequently occurring regular values ​​and which are low-frequency values ​​that truly belong to small sample scenes. This results in the amplification range being diluted by a large number of regular values, making it impossible to focus on the core scarce areas of small sample scenes.

[0097] This approach first determines whether a defined range exists—because standard values ​​are authoritative and universally applicable, prioritizing those that ensure the standardization of the scene's characteristic range. When no defined range exists, a frequency threshold is used for filtering—because the essential characteristic of small-sample scenes is their low frequency of occurrence, a frequency threshold can accurately pinpoint the range of values ​​that also occur at low frequencies in the reference scene, focusing the expanded range on truly scarce areas. Simultaneously, the physical characteristic range constraint eliminates physically infeasible values ​​from historical data due to measurement errors or abnormal records—this dual filtering mechanism ensures that the scene's characteristic range conforms to both the low-frequency characteristics of small-sample scenes and satisfies physical realism.

[0098] In one exemplary embodiment, such as Figure 6 As shown, obtaining the collaborative feature range of the discriminative feature to be amplified in step S402 includes the following steps S601 to S605:

[0099] Step S601: When the discriminant feature to be amplified is an auxiliary discriminant feature, the fixed discriminant feature that has an association verification relationship with the auxiliary discriminant feature is used as the associated fixed feature.

[0100] Among them, auxiliary discriminant features are unique features that are successfully verified when the sensitivity characterization of the correlation verification relationship is successful. That is, unique features that are judged to have a correlation verification relationship with fixed discriminant features, but can still be successfully verified after changes. They are classified as non-discriminant features (discriminant features to be amplified) but are constrained by the associated fixed features.

[0101] In practical applications, if a non-discriminative feature (the discriminative feature to be amplified) is an auxiliary discriminative feature, then fixed discriminative features that have a correlation verification relationship with the auxiliary discriminative features are collected and recorded as associated fixed features. A correlation verification relationship refers to a mutually verifiable physical or semantic constraint relationship between the auxiliary discriminative feature and the fixed discriminative feature. Specifically, this manifests as both participating in the same electrical physics equation (e.g., Ohm's law, Joule's law) or semantically describing different aspects of the same fault phenomenon. The collection method is as follows: traverse all labeled fixed discriminative features, calculate the correlation coefficient between the auxiliary discriminative feature and each fixed discriminative feature, and record fixed discriminative features whose absolute correlation coefficient exceeds a preset threshold (this threshold can be set according to business needs, for example, 0.7) as associated fixed features.

[0102] Step S602: Obtain fixed feature values, and based on the fixed feature values, obtain the initial feature range of the auxiliary discriminant features, which serves as the initial feature range of the discriminant features to be amplified.

[0103] Among them, the fixed feature value is the specific value of the associated fixed feature in the power multimodal sample data, such as the fault phase being "phase A" and the voltage level being "10kV".

[0104] For example, server 104 can obtain the fixed feature value of the associated fixed feature and combine it with the association verification relationship to obtain the initial feature range of the auxiliary discriminant feature. The specific method for obtaining the initial feature range of the auxiliary discriminant feature by combining the association verification relationship is as follows: the value of the associated fixed feature is fixed to its original value, and then, based on the physical or semantic constraint relationship between the two (such as Joule's law Q=I²Rt, or the semantic correspondence rule "A-phase fault → A-phase temperature increase"), the value range of the auxiliary discriminant feature that can satisfy the verification relationship under this constraint is deduced in reverse. For example, if the associated fixed feature is "fault phase = A-phase", the auxiliary discriminant feature is "A-phase conductor temperature", and the association verification relationship is the Joule heating effect, then the reasonable fluctuation range of the A-phase temperature under the premise of satisfying the physical characteristics of the A-phase fault is deduced in reverse; this range is the initial feature range of the auxiliary discriminant feature.

[0105] Step S603: If the discriminant feature to be amplified is not an auxiliary discriminant feature, determine the range of physical features of the discriminant feature to be amplified based on the sample type of the original power data features.

[0106] Among them, the physical characteristic range is the range of values ​​of non-discriminative features (discriminative features to be expanded) under the constraints of the basic physical laws of the power system. It is also the range of values ​​that non-discriminative features naturally possess under the constraints of the physical laws of the power system. For example, the amplitude of the three-phase current satisfies the three-phase balance relationship during steady-state operation. The operating state of the same equipment can only correspond to one state at a certain moment (it cannot be in the "closed" and "open" states at the same time). There is a strict physical proportional relationship between frequency and speed.

[0107] If the non-discriminative feature is not an auxiliary discriminative feature, the physical feature range of the non-discriminative feature can be determined based on the sample type corresponding to the original power data features. This allows for the determination of whether there is a physical conflict between the physical feature ranges of all non-discriminative features. For example, the determination method can be: substituting the physical feature ranges of all non-discriminative features into the basic physical equations of the power system (including Kirchhoff's current law, Kirchhoff's voltage law, the law of conservation of energy, the power balance equation, etc.) and logical constraints (such as mutual exclusion constraints for the same device), checking whether there is at least one set of values ​​that makes the physical equations invalid or the logical constraints violated. If such a set exists, a physical conflict is determined to exist.

[0108] Step S604: If there is no physical conflict between the physical feature ranges of each discriminant feature to be amplified, the physical feature range of each discriminant feature to be amplified is taken as the cooperative feature range.

[0109] Among them, physical conflict is used to characterize that when the physical feature ranges of at least two discriminant features to be amplified are simultaneously established, they violate the basic physical laws of the power system. It can refer to the fact that when the physical feature ranges of two or more discriminant features to be amplified are simultaneously established, they violate the basic physical laws or logical constraints of the power system, that is, these feature combinations are physically impossible to occur at the same time.

[0110] For example, in a power distribution network, if characteristic A is "phase A current = 2000A", characteristic B is "phase B current = 0A", and characteristic C is "phase C current = 2000A", then in a three-phase three-wire system, the phasor sum of the three-phase currents must be zero (Kirchhoff's Current Law). The phasor sum of the above combination is 4000A ≠ 0, which is physically impossible to occur simultaneously, constituting a physical conflict. Similarly, if characteristic D is "circuit breaker status = closed", characteristic E is "current in the line where the circuit breaker is located = 0A", and characteristic F is "load demand at the end of the line = 100kW", then the line current is 0A in the closed state, yet there is a load demand, violating the law of conservation of energy. This is also physically impossible to occur simultaneously, constituting a physical conflict.

[0111] In the specific implementation, if there is no physical conflict, the physical feature range of each non-discriminative feature is directly used as the collaborative feature range.

[0112] Step S605: In the case of physical conflicts between the physical feature ranges of each discriminant feature to be amplified, determine the cooperative feature range under the physical conflict based on the physical feature range.

[0113] In the specific implementation, if there is a physical conflict, the feature range is obtained based on the physical feature range and recorded as the cooperative feature range.

[0114] In an exemplary embodiment, step S605 includes: dividing the physical feature range of the discriminant feature to be amplified into multiple range segments according to a preset granularity to obtain a unit feature range; for any current discriminant feature to be amplified, obtaining other physical feature ranges corresponding to the discriminant feature to be amplified, excluding the current discriminant feature; if the unit feature range of the current discriminant feature to be amplified and other physical feature ranges both satisfy the basic physical law constraints, then the unit feature range is taken as a fully coordinated range; if the unit feature range of the current discriminant feature to be amplified and some sub-intervals in other physical feature ranges satisfy the basic physical law constraints, then the unit feature range is taken as a partially coordinated range, and some sub-intervals in other physical feature ranges are taken as the range prerequisites corresponding to the unit feature range; forming a range set of the discriminant feature to be amplified based on the fully coordinated range, the partially coordinated range, and the corresponding range prerequisites, as the coordinated feature range.

[0115] A unit feature range refers to several sub-intervals obtained by dividing the continuous physical feature range of a single feature to be amplified and discriminated into segments according to a preset granularity. The division method can be equal-interval (dividing the physical range into N equal segments, where N can be set according to business needs, for example, 10) or adaptive division based on data distribution (segmenting according to the quantile of the feature value in historical samples). The choice of granularity directly affects the precision of subsequent collaborative discrimination—the finer the granularity, the more accurate the characterization of the collaborative range, but the computational load increases accordingly. The coarser the granularity, the higher the computational efficiency, but some collaborative information may be lost.

[0116] In practical applications, the physical feature range of non-discriminative features can be divided into multiple range segments and denoted as unit feature ranges. The granularity of the division can be determined comprehensively based on the width of the physical feature range and the accuracy requirements of the business. For example, for features with a wide range of variation (such as current 0 to 5000A), a finer granularity (each segment of 100A) can be used, while for features with a narrow range of variation (such as temperature 20℃ to 80℃), a coarser granularity (each segment of 5℃) can be used.

[0117] Subsequently, for any current non-discriminative feature among the non-discriminative features, other physical feature ranges corresponding to non-discriminative features other than the current non-discriminative feature are obtained from the physical feature range. The unit feature range that coexists with the complete physical feature ranges of all other non-discriminative features is denoted as the fully cooperative range. The complete physical feature range refers to the physically allowed global maximum interval of a certain non-discriminative feature, that is, the physical feature range itself determined by that feature.

[0118] For example, the determination of a fully coordinated range can be as follows: For a unit feature range of a non-discriminative feature, traverse the complete physical feature ranges of all other non-discriminative features, and check whether any combination of any value within the unit feature range and any value within the complete ranges of all other features satisfies the basic physical equations and logical constraints of the power system. If so, meaning that the unit feature range of the current non-discriminative feature satisfies the basic physical constraints of all other physical feature ranges, then there are no coordinated restrictions between the unit feature range and the complete ranges of all other features, and this range is safe under all circumstances; it is denoted as a fully coordinated range. The feature values ​​within the fully coordinated range can change freely in subsequent expansions without requiring additional attention to the value states of other features.

[0119] Then, the unit feature range that coexists with the partial physical feature ranges of all other non-discriminative features is denoted as the partial co-existent range, and the partial physical feature ranges of all other non-discriminative features are denoted as the range preconditions. When a unit feature range of a certain non-discriminative feature cannot coexist with the complete physical feature ranges of all other non-discriminative features, but can coexist with its partial physical feature ranges, the unit feature range is denoted as the partial co-existent range.

[0120] A partial physical feature range refers to a sub-interval of the complete physical feature range of a certain non-discriminative feature. Range preconditions refer to the specific sub-intervals into which other non-discriminative features must fall for the validity of this partial cooperative range.

[0121] For example, the determination of a partial cooperative range can be as follows: For the values ​​within the unit feature range, check the complete ranges of other non-discriminative features one by one, and determine which sub-intervals can simultaneously satisfy the physical constraints with the unit feature range. That is, the unit feature range of the current non-discriminative feature satisfies the basic physical law constraints of some sub-intervals in other physical feature ranges, and use some sub-intervals in other physical feature ranges as the range prerequisites corresponding to the unit feature range. The feature values ​​in the partial cooperative range cannot change freely in subsequent expansions and can only be used if their corresponding range prerequisites are satisfied.

[0122] Furthermore, a set of non-discriminative feature ranges is formed based on the fully collaborative range, partially collaborative ranges, and their corresponding range preconditions, serving as the collaborative feature range. The obtained fully collaborative ranges and partially collaborative ranges, along with their corresponding range preconditions, are integrated to form the complete collaborative feature range set for the non-discriminative feature. The collaborative feature range is expressed in the form of condition intervals: for fully collaborative ranges, there are no additional conditions, and they are directly usable. For partially collaborative ranges, a list of range preconditions is attached, indicating under what conditions the range is usable. The collaborative feature range is the basic data for intersecting with the scene feature range in step S37.

[0123] The technical solution of this embodiment refines the physical feature range into two levels: a fully cooperative range and a partially cooperative range. Its core advantage lies in that it no longer treats the physical feature range as a single, coarsely constrained interval, but instead performs a refined division based on the cooperative relationship between each feature's value range and other features. For portions that can coexist with the complete ranges of all other features, this is marked as a fully cooperative range, allowing for free variation. For portions that can only coexist with the partial ranges of other features under specific conditions, this is marked as a partially cooperative range, and its dependent preconditions are recorded. Traditional techniques typically simply take the intersection of all feature physical ranges or directly use the physical boundary as the expanded range. The former leads to the incorrect exclusion of many originally valid feature values ​​due to over-pruning, while the latter introduces infeasible combinations by ignoring the cooperative relationships between features. This solution chooses to first perform refined segmentation and then determine the cooperative attributes segment by segment—because the cooperative relationships between different value ranges of the same feature and other features may differ significantly. If these differences are not distinguished and simply processed, the expanded space will be unnecessarily reduced or incorrectly expanded. This refined processing maximizes the retention of effective feature variation space while ensuring that all value combinations satisfy the physical constraints.

[0124] In one exemplary embodiment, such as Figure 7 As shown, step S208 determines the target feature range of the features to be amplified and discriminated based on the sample type and initial feature range corresponding to the original power data features, including the following steps S701 to S704:

[0125] Step S701: For any current original power data feature in the original power data features, according to the sample type corresponding to the current original power data feature, take the sample corresponding to the current original power data feature as the original power data feature sample, and obtain samples with different sample types from the historical database as reference feature samples.

[0126] Among them, the original power data feature sample can refer to the labeled sample that is currently being processed and contains the original power data feature. The corresponding sample type (such as "normal operation", "mild overload", "serious fault" etc.) is labeled by power field experts or directly read from the classification label in the fault recording file.

[0127] Reference feature samples can refer to other labeled samples in the historical database that contain the same original power data features but have a different sample type from the original power data feature samples.

[0128] In practical applications, server 104 can obtain the sample types corresponding to the original power data features and record them as original power data feature samples, and obtain other sample types containing the original power data features as reference feature samples. Using the name or identifier of the sample type corresponding to the original power data features as search criteria, it can search the historical sample database for all samples containing that feature, and filter out samples whose sample types differ from the original power data feature sample types as reference feature samples. The reference feature samples are used for comparative analysis with the original power data feature samples to determine whether changes in sample types are caused solely by fixed discriminant features.

[0129] Step S702: Perform attribution analysis on the changes in sample types between the original power data feature samples and the reference feature samples to obtain the attribution analysis results.

[0130] As one possible implementation, it is possible to determine whether the change in the sample type of the reference feature sample and the original power data feature sample is caused solely by a fixed discriminant feature.

[0131] Comparing all fixed discriminant features in the original power data feature sample with those in the reference feature sample, if all fixed discriminant feature values ​​are exactly the same, but the sample type has changed, then the change in sample type cannot be caused by the fixed discriminant features (because the fixed discriminant features have not changed), and the result is "not caused solely by the fixed discriminant features." If there are differences in the fixed discriminant features, further examination is conducted: after the differences in the fixed discriminant features are eliminated (i.e., the fixed discriminant features of the reference feature sample are replaced with the values ​​corresponding to the original power data feature sample), will the sample type still change? If the sample type is restored to be consistent with the original power data feature sample after the fixed discriminant features are adjusted, then the change in sample type is determined to be caused solely by the fixed discriminant features. If the sample type is still different from the original power data feature sample after the fixed discriminant features are adjusted, then other factors (i.e., joint changes of non-discriminant features) cause the change in sample type, and the result is "not caused solely by the fixed discriminant features." The "fixed discriminant feature replacement" involved in the judgment method is only used for change attribution analysis and does not change the original sample data.

[0132] Step S703: If the attribution analysis results indicate that the change in sample type is caused by a fixed discriminant feature, the initial feature range of the discriminant feature to be amplified is taken as the target feature range.

[0133] In practical implementation, if the change is solely caused by a fixed discriminant feature, the initial feature range of the non-discriminant feature (the discriminant feature to be expanded) is used as the target feature range. When the change in sample type between the reference feature sample and the original power data feature sample is caused solely by the fixed discriminant feature, it indicates that the change in the non-discriminant feature itself will not cause a change in the sample type, and arbitrary values ​​of the non-discriminant feature within the initial feature range will not cause a jump in the sample type. Therefore, in this case, there is no need to further shrink the initial feature range; the initial feature range can be directly used as the target feature range for the non-discriminant feature.

[0134] Step S704: If the change in sample type characterized by the attribution analysis results is not caused by fixed discriminant features, the initial feature range is refined to obtain the target feature range of the discriminant features to be amplified.

[0135] In practical implementation, if the change in the sample type is not solely caused by the fixed discriminant features, the target feature range for the non-discriminative features is determined based on the initial feature range. When the change in the sample type is not solely caused by the fixed discriminant features, it indicates that the joint change of the non-discriminative features may also lead to sample type drift, requiring further refinement of the initial feature range.

[0136] The technical solution in this embodiment constructs a change attribution mechanism, the core of which lies in: before determining the final range of non-discriminative features, it first determines whether the change in sample type is caused solely by the fixed discriminative feature—if so, it means that the change in non-discriminative features will not alone cause a jump in sample type, and the initial feature range can be used directly. If not, it means that the change in non-discriminative features may also synergistically cause type drift, requiring further refined processing. Traditional techniques typically do not distinguish the cause of sample type changes, directly applying global constraints to the variable range of non-discriminative features and sample type changes. This results in unnecessary range contraction being imposed on non-discriminative features even when the fixed discriminative feature has already changed, unnecessarily reducing the expansion space.

[0137] This approach prioritizes attribution analysis. In actual power system operation, changes in sample types can stem from alterations in fixed discriminant features (e.g., a change in fault phase from A to B, a semantically fundamental difference) or from the combined cumulative effect of multiple non-discriminant features (e.g., simultaneous increases in wind speed, load, and temperature causing equipment to shift from normal to overload). The safe range of non-discriminant feature changes differs in these two scenarios. If the type change is caused by a fixed discriminant feature, the change in the non-discriminant feature itself does not have the capacity to cause a type transition, allowing the preservation of the complete initial range to maximize amplification diversity. If the type change is caused by the synergy of non-discriminant features, the initial range needs to be narrowed to prevent combined drift. This differentiated approach maximizes the preservation of effective amplification space while ensuring semantic consistency of the amplified samples.

[0138] In one exemplary embodiment, such as Figure 8 As shown, step S704 refines the initial feature range to obtain the target feature range of the feature to be amplified and discriminated, including the following steps S801 to S806:

[0139] Step S801: The discriminant features to be amplified that exist simultaneously in the original power data feature samples and the reference feature samples are taken as the same sample features.

[0140] Among them, the same discriminant feature to be amplified refers to the set of non-discriminant features that exist simultaneously in the reference feature sample and the original power data feature sample.

[0141] In practical applications, server 104 can collect the same non-discriminative features from the reference feature sample and the original power data feature sample and record them as identical sample features. It then iterates through all non-discriminative features in the original power data feature sample and checks whether each feature also exists in the feature list of the reference feature sample. If it does, it is recorded as an identical sample feature. Identical sample features are used to subsequently determine whether there is a joint trend.

[0142] Step S802: Based on the value changes of the same sample features in the original power data feature samples and the reference feature samples, determine whether there is a joint change trend of the same sample features.

[0143] The joint variation trend is used to characterize the difference in sample type between the original power data feature sample and the reference feature sample for the same sample feature. It can refer to the joint value change of multiple identical sample features in the reference feature sample relative to the original power data feature sample, so that the comprehensive feature value obtained after substituting the two sets of values ​​into the aggregation function can reflect the systematic difference in the degree or state of the sample type.

[0144] In practical implementation, it can be determined whether the joint values ​​of the same sample features indicate a joint trend of change pointing to a reference feature sample. The specific determination method is as follows: Substitute the values ​​of the same sample features in the original power data feature samples into the aggregation function to obtain the original comprehensive feature value. Substitute the values ​​of the same sample features in the reference feature samples into the same aggregation function to obtain the reference comprehensive feature value. If the difference between the reference comprehensive feature value and the original comprehensive feature value exceeds a preset deviation threshold (this threshold can be determined based on the statistical distribution of the change in comprehensive feature value when the sample type changes, for example, taking the 25th percentile of the change in comprehensive feature value among all types of changed samples), and the direction of this difference is consistent with the direction of sample type change of the reference sample relative to the original sample (i.e., if the reference sample type is more advanced, the comprehensive feature value increases; if the reference sample types are different but of similar severity, the comprehensive feature value falls in different intervals), then it is determined that there is a joint trend of change pointing to the reference feature sample. Otherwise, it is determined that there is no trend. Changes in sample type may not show a clear pattern from a single feature, but the combined effect of multiple features, through the mapping of the aggregation function, can present a traceable systematic change at the comprehensive level.

[0145] Step S803: When there is a joint trend of change in the same sample features, the same sample features are input into a pre-constructed aggregation function to determine the feature range of the same sample features of the original power data feature samples, which is used as the benchmark range.

[0146] The aggregation function is obtained by fitting historical data corresponding to the same sample features. It is used to map the current values ​​of multiple identical sample features to a comprehensive feature value. The comprehensive feature value is used to characterize the degree of joint contribution of multiple identical sample features to the sample type under the joint effect.

[0147] The benchmark range can refer to the range of comprehensive feature values ​​corresponding to the sample type to which the original power data feature sample belongs.

[0148] When a joint trend of change is determined, an aggregation function for the same sample features is constructed based on historical data fitting. An aggregation function is needed to quantify the overall contribution of multiple non-discriminatory features to the sample type. The aggregation function takes the form y = f(x1, x2, ..., xn), where x1 to xn are the current values ​​of each of the same sample features, and y is the comprehensive feature value. The aggregation function can be constructed by extracting the features of each of the same samples and their corresponding sample type labels from labeled samples in a historical database, and then fitting the specific expression of the aggregation function using multiple linear regression or multinomial regression. The fitted aggregation function can combine the values ​​of multiple features into a single value, which can reflect the overall state of the sample under the combined effect of multiple features, ensuring that the comprehensive feature value of samples of the same type falls within a specific interval, and the comprehensive feature values ​​of samples of different types fall within different intervals. The weighting coefficients are automatically determined by the regression algorithm based on historical data, and the coefficient of determination R² of the regression model should be greater than a preset goodness-of-fit threshold (e.g., 0.85) to ensure that the aggregation function has sufficient fitting accuracy. Each feature has been normalized before being substituted into the aggregation function, and the coefficients are dimensionless weight coefficients.

[0149] Furthermore, based on the aggregation function, the total range of identical sample features among the original power data feature samples can be determined and recorded as the baseline range. All labeled samples belonging to the same sample type as the original power data feature samples can be obtained from the historical database. The values ​​of the identical sample features in these samples are substituted into the constructed aggregation function to calculate the comprehensive feature value corresponding to each sample. The minimum and maximum values ​​of all calculated results constitute the comprehensive feature value interval, which is the baseline range. The baseline range represents the legal fluctuation range of the comprehensive feature value corresponding to the joint values ​​of identical sample features while maintaining the original sample type unchanged.

[0150] Step S804: The range of the same sample features that satisfies the corresponding initial feature range and is within the benchmark range is taken as the feature range of the same sample features.

[0151] For example, the combinations of values ​​for the same sample features within the initial feature range can be substituted into the aggregation function to calculate the corresponding comprehensive feature value. All combinations of comprehensive feature values ​​falling within the benchmark range are then selected. The feature value boundaries corresponding to these combinations are the feature ranges for the same sample features. Specifically, an enumeration sampling or constraint propagation method is used to search for combinations of values ​​for the same sample features within the initial feature range. All combinations satisfying the aggregation function value falling within the benchmark range are retained. Then, the minimum and maximum values ​​of each feature among the retained combinations are taken as the final value boundaries for that feature. For other non-discriminatory features not involved in the aggregation function, their initial feature ranges remain unchanged.

[0152] Step S805: Based on the feature range of the same sample features and the initial feature range of other discriminant features to be amplified, obtain the target feature range of the discriminant features to be amplified.

[0153] The characteristic range of the same sample after the above constraints can be merged with the initial characteristic range of other discriminant features to be amplified to form the target characteristic range of all discriminant features to be amplified.

[0154] Step S806: When there is no joint change trend in the features of the same sample, the initial feature range is set to obtain the target feature range of the feature to be amplified.

[0155] For identical sample features that do not exhibit a joint trend of change, the initial feature range can be assigned values ​​to obtain the target feature range for non-discriminative features.

[0156] The technical solution of this embodiment constructs a multi-feature joint constraint mechanism based on aggregation functions. Its core advantage lies in the following: First, the joint values ​​of multiple identical sample features are mapped to a comprehensive feature value through aggregation functions. These aggregation functions are obtained by fitting historical data and can quantify the comprehensive effect of multiple features into a single value. This allows changes that are not apparent at the level of individual features to exhibit traceable systematic characteristics at the comprehensive level. Then, the benchmark range corresponding to the sample type of the original power data feature sample is used as the constraint boundary to filter out feature value combinations whose comprehensive feature value falls within the benchmark range. This eliminates value combinations that are individually within the initial range but whose combined comprehensive feature value exceeds the benchmark range, causing a change in the sample type. Traditional techniques typically apply changes to each feature independently during multi-feature amplification, without considering the comprehensive impact of multiple features on the sample type. Changes in some sample types may not have an obvious correspondence from the perspective of a single feature, but they exhibit a regular trend from the perspective of the comprehensive effect of multiple features.

[0157] This scheme explicitly models this potential pattern and uses it to constrain the amplification process by quantifying the comprehensive eigenvalues ​​of the aggregation function and comparing them with the benchmark range. It effectively identifies and eliminates value combinations that "go out of bounds" while retaining value combinations that are "safe," thus maximizing amplification diversity while ensuring semantic consistency.

[0158] As a possible example, step S806 assigns values ​​to the initial feature range to obtain the target feature range of the feature to be amplified, including: assigning values ​​to the feature to be amplified within the initial feature range to form multiple feature value combinations; inputting the feature value combinations into a pre-trained sample type discrimination model to obtain sample type labels for the feature value combinations; taking the feature value combinations corresponding to the sample type labels that are consistent with the sample types of the original power data feature samples as qualified feature combinations; and obtaining the target feature range based on the value range of the qualified feature combinations.

[0159] In practical implementation, when no joint trend is observed in the determination of the same sample features, it indicates that there is no consistent collaborative change relationship among the non-discriminative features, and there is no need to use an aggregation function for overall constraint. However, to prevent unexpected type changes from occurring after combining single feature values, sampling verification is still required. Specifically, within the initial feature range of each non-discriminative feature, multiple sets of feature values ​​can be selected using random sampling or grid sampling methods. Each set of values ​​contains a specific value from each of the non-discriminative features, and these values ​​are combined to form a feature value combination. The sampling density can be determined based on the feature dimension and computational resources. For example, 10 to 20 equally spaced sampling points can be taken for each feature for full combination, or 500 to 1000 combinations can be uniformly extracted in the feature space using the Latin hypercube sampling method. After sampling, a candidate set composed of multiple feature value combinations is obtained.

[0160] Then, for each feature value combination, it can be determined whether the sample type corresponding to the feature value combination is consistent with the sample type of the original sample. The feature value combination can be input into a pre-trained sample type discrimination model, which can use a classifier such as a support vector machine or a lightweight gradient boosting tree, trained from historical labeled samples, and can output the corresponding sample type label based on the input feature values. The output label of the discrimination model is compared with the sample type label of the original power data feature sample. If they match, they are marked as qualified; if they do not match, they are marked as unqualified. Feature value combinations with consistent sample types are selected and recorded as qualified feature combinations, that is, the feature value combinations marked as qualified are those feature combinations whose output sample type is consistent with the original sample after being substituted into the discrimination model.

[0161] Furthermore, the target feature range for non-discriminative features is formed based on the values ​​of qualified feature combinations. For all qualified feature combinations, the values ​​of each non-discriminative feature are extracted separately, and the minimum and maximum values ​​of each feature across all qualified combinations are taken to constitute the target feature range for that feature. If a qualified combination covers the boundary of the initial range, the target feature range is consistent with the initial range. If certain boundary regions do not appear in any qualified combinations (i.e., the values ​​in these regions would cause type changes), the target feature range shrinks accordingly. In this way, when there is no joint trend of change, all value intervals that will not cause type changes are selected through sampling verification, forming the final target feature range for non-discriminative features.

[0162] The technical solution of this embodiment provides an alternative method for determining the target feature range when there is no joint change trend. This is achieved by sampling multiple feature combinations within an initial feature range, using a pre-trained discriminative model to verify the type consistency of each combination, and filtering out combinations with unchanged types. The minimum and maximum values ​​of each feature are then taken as the final range. When no joint change trend is determined, it indicates that there is no consistent collaborative change relationship between the multiple features, and no significant type drift will occur due to joint effects. Therefore, it is not necessary to use an aggregation function for overall constraint. However, extreme combinations of single feature values ​​may still occasionally lead to type changes. Sampling verification can filter out such occasional out-of-bounds combinations. Traditional techniques typically directly use the initial range as the final range without further verification, or perform verification by exhaustively searching all combinations—the former may miss occasional out-of-bounds risks, and the latter is computationally too expensive when the feature dimension is high.

[0163] This scheme achieves a balance between computational efficiency and security through sampling verification. It can effectively screen out extreme combinations that lead to type changes without significantly increasing computational overhead, thereby improving the semantic consistency of amplified samples.

[0164] For the convenience of those skilled in the art, Figure 9 The example provides an illustration of a semantic consistency augmentation method for power multimodal data in small-sample scenarios. See below for reference. Figure 9 This paper describes in detail a method for semantic consistency augmentation of multimodal power data for small sample scenarios, using a specific embodiment. It is important to understand that the following description is merely illustrative and not intended to limit the scope of the application.

[0165] Taking a lightning trip fault on a 10kV distribution network line as a specific application scenario, the complete implementation process of this method is explained.

[0166] Step S901: Sample Data Acquisition and Feature Extraction

[0167] A 10kV distribution line experienced a lightning strike tripping fault during a summer thunderstorm. Multimodal sample data was collected before and after the fault: three-phase current time-series data recorded by a fault recording device (sampling frequency of 2000Hz, recording duration of 5 cycles before and after the fault), infrared thermal images taken on-site by maintenance personnel (pixel count of 320×240, temperature resolution of 0.05℃), and fault description text (including information such as fault phase, weather conditions, and protection action status). Wavelet packet decomposition was used to extract high-frequency component energy values ​​and fundamental amplitude values ​​from the three-phase current time-series data as time-series features. A ResNet model was used to extract the highest temperature and hotspot area ratio of the infrared thermal images as image features. An M3E model was used to extract keyword vectors from the fault description text as text features. These feature vectors from different modes were mapped to the same semantic space to form the original power data feature set.

[0168] Step S902: Fixed discriminative feature screening

[0169] Taking the "fault phase" feature in the original power data as an example, based on 100 labeled samples in the historical database, the values ​​of this feature (phase A, phase B, phase C) and sample types were statistically analyzed: When the fault phase is phase A, the corresponding sample type "phase A ground fault" accounts for 96%, "phase B ground fault" accounts for 0%, "phase C ground fault" accounts for 0%, and "normal operation" accounts for 4%. When the fault phase changes to phase B, the sample type distribution shifts significantly, and the change exceeds the preset threshold (mean 0.25 plus twice the standard deviation 0.18, i.e., 0.61), indicating that the change in this feature will cause a change in the sample type. Further analysis is conducted to determine whether this feature is a fixed value when it does not cause a change in the sample type—statistically, in samples where the fault phase is phase A and the sample type is "phase A ground fault," the fault phase value is always phase A, with no room for change. Therefore, it is determined to be a fixed value, and "fault phase" is recorded as a fixed discrimination feature.

[0170] Taking "phase A current amplitude" as an example, its change, as determined by the same method, will lead to a change in the sample type, but it is not a fixed value when it does not cause a change. The range of phase A current amplitude calculated in the time-series mode is 800A to 3000A, while the range recorded in the text mode is 780A to 2900A. The intersection of the two is 800A to 2900A, which is not a fixed value. Therefore, this feature is not marked as a fixed discriminant feature and is classified into the non-discriminant feature set, i.e., the discriminant feature set to be expanded.

[0171] Taking the "maximum temperature of the infrared hotspot" as an example, this feature can only be extracted from infrared images and is denoted as a unique feature. The Pearson correlation coefficient between this feature and the fixed discriminant feature "fault phase" is calculated to be 0.82, exceeding the preset threshold of 0.7, thus indicating a valid correlation. With the "fault phase" fixed as phase A, the maximum temperature of the hotspot is gradually varied from 75℃ in the original sample to 70℃, 65℃, 60℃, 55℃, and 50℃. Substituting this into the Joule heating effect verification relationship, the verification fails when the temperature drops to 55℃. However, the verification succeeds within the range of 75℃ to 60℃, therefore it is determined to be an auxiliary discriminant feature and classified as a non-discriminant feature, i.e., a discriminant feature to be amplified.

[0172] Thus far, the fixed discrimination features include "fault phase" (value is A phase), and the non-discrimination features include "A phase current amplitude" (initial physical range is 800A~2900A), "maximum temperature of infrared hot spot" (auxiliary discrimination feature), "ambient temperature", "load power", "conductor wind deflection angle", "conductor sag", etc.

[0173] Step S903: Determine the initial feature range

[0174] For the auxiliary discrimination feature "maximum temperature of infrared hot spot", its associated fixed feature "fault phase = phase A" is collected. Combined with the correlation verification relationship of Joule heating effect, after fixing the fault phase as phase A, the initial feature range of the maximum temperature of hot spot is derived in reverse, which is 60℃~75℃.

[0175] For the common non-discriminatory features "conductor wind deflection angle" and "conductor sag": based on the sample type "A-phase ground fault", the physical characteristic range of the conductor wind deflection angle is determined to be 0°~30°, and the physical characteristic range of the conductor sag is 0.5m~3.0m. To determine if there is a physical conflict between the two, an interval constraint propagation algorithm is used, with the conductor tension balance equation as the constraint condition, to perform dimension-by-dimensional contraction, resulting in the following cooperative feature ranges: wind deflection angle 0°~20°, sag 0.8m~2.5m.

[0176] Small sample scenario information, i.e., scarce sample scenario information, was collected: the lightning strike occurred during a summer thunderstorm, with an ambient temperature of 32℃ and no specified range. Fifty other lightning strike scenarios were obtained from the historical database as reference scenarios, and the range of conductor sag values ​​in each scenario was statistically analyzed. In the 50 reference scenarios, the sag range of 1.2m–2.4m occurred 35 times (70% frequency), 0.8m–1.2m occurred 10 times (20% frequency), and 2.4m–3.0m occurred 3 times (6% frequency). The preset frequency threshold was set to the 30th percentile of 8%, and the reference range of 2.4m–3.0m with a frequency less than 8% was identified. The intersection of this reference range and the co-feature range of 0.8m–2.5m was calculated, and the intersection result of 2.4m–2.5m was taken as the scenario feature range for sag. For the wind deflection angle, based on the formula for calculating the wind deflection angle of the conductor, the wind speed during summer thunderstorms is level 8 (17.2m / s~20.7m / s). Substituting this into the calculation, the characteristic range of the wind deflection angle is 3°~15°.

[0177] The intersection of the collaborative feature range and the scene feature range is used to form the initial feature range of the non-discriminatory features: wind deflection angle is 3° to 15°, sag is 2.4m to 2.5m. The initial feature range of phase A current amplitude is 800A to 2900A, ambient temperature is 30℃ to 35℃, and load power is 70MW to 100MW.

[0178] Step S904: Refinement of target feature range

[0179] The following explanation uses non-discriminatory features "A-phase current amplitude", "ambient temperature", and "load power" as examples. The sample type for obtaining the original power data feature samples is "slight overload" (the original sample was in an overloaded operating state before the lightning strike, but had not yet developed into a fault). Samples of other sample types, such as "A-phase ground fault", containing the above original power data features are obtained as reference feature samples.

[0180] In the reference feature sample, the current amplitude of phase A is 2500A, the ambient temperature is 35℃, and the load power is 95MW. Both have the same fixed discrimination feature: "fault phase = phase A". Although the fixed discrimination features are identical, the sample types are different (the original is "slight overload", the reference is "phase A ground fault"). Therefore, the change in sample type cannot be caused by the fixed discrimination feature, and it is determined that "it is not solely caused by the fixed discrimination feature," requiring further refinement of the initial feature range.

[0181] Non-discriminatory features "A-phase current amplitude", "ambient temperature", and "load power" that are identical in the original power data feature samples and the reference feature samples are recorded as identical sample features. Based on 500 labeled samples in the historical database, a multiple linear regression was used to fit the aggregate function y = 0.004 × I_norm + 0.02 × T_norm + 0.01 × P_norm, where I_norm, T_norm, and P_norm are the normalized values ​​of each feature (normalization is achieved by subtracting the minimum value from each feature and dividing by the range), with a determination coefficient R² = 0.91. Substituting the normalized values ​​of each feature in the original samples (I_norm = 0.35, T_norm = 0.6, P_norm = 0.5) into the function, the original comprehensive feature value is 0.004 × 0.35 + 0.02 × 0.6 + 0.01 × 0.5 = 0.0184. Substituting the normalized values ​​of the reference samples (I_norm=0.85, T_norm=0.7, P_norm=0.9) into the equation, we obtain the reference comprehensive feature value as 0.004×0.85+0.02×0.7+0.01×0.9=0.0264. The difference of 0.008 exceeds the preset deviation threshold, indicating that there is a joint change trend pointing to the reference feature samples.

[0182] The normalized values ​​of the three features mentioned above for all "mild overload" type samples were obtained from the historical database. These values ​​were then substituted into the aggregation function to calculate the comprehensive feature value. The minimum and maximum values ​​were taken to obtain a baseline range of 0.012 to 0.022. A value combination search was performed within the initial feature range, and combinations whose comprehensive feature values ​​fell within the baseline range were selected. When the normalized current value I_norm = 0.35, temperature T_norm = 0.6, and power P_norm = 0.5, the comprehensive feature value was 0.0184, falling within the baseline range and retained. When the normalized current value I_norm = 0.85, temperature T_norm = 0.7, and power P_norm = 0.9, the comprehensive feature value was 0.0264, exceeding 0.022 and was discarded (the sample type corresponding to this combination might be "phase A ground fault," which should not appear in the amplified results of "mild overload"). The search determined that when the normalized current value was within the range of 0.25–0.55 (corresponding to an actual current of approximately 1000A–1900A), the normalized temperature value was within the range of 0.5–0.7 (corresponding to 30℃–33℃), and the normalized power value was within the range of 0.4–0.7 (corresponding to 72MW–85MW), the comprehensive characteristic value fell within the benchmark range and was retained. Combinations outside this range were discarded. The final target characteristic ranges were determined to be 1000A–1900A for current, 30℃–33℃ for temperature, and 72MW–85MW for power. For "conductor wind deflection angle" and "conductor sag," which were not involved in the aggregation function, their initial characteristic ranges remained unchanged at 3°–15° and 2.4m–2.5m, respectively. The initial characteristic range for the auxiliary discrimination feature "maximum infrared hotspot temperature" was 60℃–75℃, which was directly used as the target characteristic range.

[0183] Step S905: Amplification Sample Generation

[0184] Within the target characteristic range, 10 variants were generated by sampling phase A current amplitude at 100A intervals between 1000A and 1900A; 4 variants were generated by sampling ambient temperature at 1℃ intervals between 30℃ and 33℃; and 7 variants were generated by sampling load power at 2MW intervals between 72MW and 85MW. These three samples combined to generate 10 × 4 × 7 = 280 amplified samples. Seven variants were generated by sampling conductor wind deflection angle at 2° intervals between 3° and 15°; and 6 variants were generated by sampling conductor sag at 0.02m intervals between 2.4m and 2.5m. These samples combined to generate 42 amplified samples. For all amplified samples, the fixed discrimination feature "fault phase = phase A" remained unchanged. Eight variants were generated by sampling infrared hotspot temperatures at 2℃ intervals between 60℃ and 75℃. Theoretically, the maximum sample space that can be generated is 280 × 42 × 8 = 94080 augmented samples. In actual engineering, 2000 samples are selected from this space using a random sampling method as the training set. The augmented samples maintain consistency with the original samples in fixed discriminative features, differing only in non-discriminative features, thus ensuring the semantic consistency of the augmented samples.

[0185] Therefore, by systematically identifying "what features cannot change" (fixed discriminant features) and "what features can change and by how much" (target feature range of non-discriminant features), this approach maximizes sample diversity while ensuring the physical authenticity and semantic consistency of the augmented samples. Traditional techniques typically apply changes to all features indiscriminately or only augment a single modality, lacking in-depth modeling of semantic relationships between multimodal data and failing to consider the potential collaborative drift effect that may occur when multiple features are combined. This approach first selects fixed discriminant features through cross-modal range intersection judgment and association verification, then limits the initial range through dual constraints of collaborative feature range (complete and partial collaborative range) and small sample scenario constraints, and finally determines the final range through aggregation functions or combined sampling—this progressive constraint strategy effectively avoids semantic distortion and physical law conflicts in the augmented samples.

[0186] In summary, the technical solution of this application includes at least one of the following beneficial technical effects:

[0187] 1. By constructing a fixed discriminant feature screening mechanism based on multimodal cross-modal verification, we first determine whether changes in the original power data features lead to changes in the sample type. Then, by combining whether the intersection of the ranges of the same feature in different power modal data is a fixed value, and the correlation verification relationship between unique features and fixed discriminant features, we systematically identify fixed discriminant features that cannot be changed during the amplification process. This ensures that subsequent amplification operations are only performed on non-discriminant features, avoiding the problem of semantic distortion of samples caused by arbitrarily changing key features, and ensuring the semantic consistency of amplified samples.

[0188] 2. By introducing a dual constraint mechanism of collaborative feature range and small sample scenario constraints, on the one hand, the physical feature range of non-discriminative features is divided into fully collaborative range and partially collaborative range, and the range preconditions are identified to eliminate value combinations with physical conflicts. On the other hand, the scenario feature range is adaptively extracted according to whether there is a specified range for the small sample scenario or a low-frequency reference range is screened based on a frequency threshold. The intersection of the collaborative feature range and the scenario feature range is taken to form the initial feature range. This allows the amplified sample to accurately match the business characteristics of the small sample scenario while satisfying the physical laws of the power system, effectively avoiding the risk of the amplified sample deviating from the real physical environment.

[0189] 3. By constructing an aggregation function for non-discriminative features and setting sample type boundary constraints, when multiple identical sample features are identified as exhibiting a joint trend pointing towards a reference feature sample, the joint values ​​of multiple non-discriminative features are mapped to a comprehensive feature value and compared with the benchmark range corresponding to the original sample type. Combined with the initial feature range, the joint values ​​exceeding the benchmark range are boundary-shrinked until convergence. Simultaneously, when no joint trend exists, combined sampling is used to screen qualified feature combinations, effectively controlling sample type drift caused by the superposition of non-discriminative features. This solves the problem that existing methods cannot handle sample type transitions caused by the superposition of multiple features, significantly improving the physical authenticity of the augmented samples and the reliability of downstream power AI model training.

[0190] It should be noted that the specific limitations of the above steps can be found in the above description of the specific limitations of a semantic consistency augmentation method for power multimodal data in small sample scenarios.

[0191] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0192] Based on the same inventive concept, this application also provides a device for semantic consistency augmentation of power multimodal data in small-sample scenarios, which implements the above-described method for semantic consistency augmentation of power multimodal data in small-sample scenarios. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the device for semantic consistency augmentation of power multimodal data in small-sample scenarios provided below can be found in the limitations of the method for semantic consistency augmentation of power multimodal data in small-sample scenarios described above, and will not be repeated here.

[0193] In one exemplary embodiment, such as Figure 10 As shown, a semantic consistency augmentation device for power multimodal data in small sample scenarios is provided. The device includes:

[0194] The raw power data feature extraction module 1010 is used to acquire power multimodal sample data and extract the raw power data features corresponding to each mode in the power multimodal sample data.

[0195] The module 1020 for determining the discriminant feature to be amplified is used to determine the discriminant feature to be amplified from the original power data features based on the feature range information of the original power data features. The feature range information is the value range of the same original power data feature in different modes. The discriminant feature to be amplified is a feature that will not cause changes in the data sample type or physical constraints due to data changes. The sample type is the type label corresponding to different power business needs.

[0196] The initial feature range determination module 1030 is used to obtain scenario information of scarce sample scenarios and determine the initial feature range of the features to be amplified based on the scenario information. The scarce sample scenario is a key business scenario in the power system where the number of samples is less than a preset threshold.

[0197] The target feature range determination module 1040 is used to determine the target feature range of the discriminant feature to be amplified based on the sample type and initial feature range corresponding to the original power data features; the target feature range is used to characterize the range of values ​​that ensure the semantic consistency of the discriminant feature to be amplified.

[0198] The semantic consistency augmentation module 1050 is used to perform data augmentation on the power multimodal sample data corresponding to the features to be augmented within the target feature range, so as to obtain semantically consistent augmented samples.

[0199] The modules in the aforementioned power multimodal data semantic consistency augmentation device for small sample scenarios can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0200] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media to run. The database stores data involved in the semantic consistency augmentation method for power multimodal data in small-sample scenarios. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a semantic consistency augmentation method for power multimodal data in small-sample scenarios.

[0201] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0202] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the various embodiments of the above-described method for semantic consistency augmentation of power multimodal data for small sample scenarios.

[0203] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps described in the embodiments of the above-described method for semantic consistency augmentation of power multimodal data for small sample scenarios.

[0204] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps described in the embodiments of the above-described method for semantic consistency augmentation of multimodal power data for small sample scenarios.

[0205] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0206] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are 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 application.

[0207] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for semantic consistency augmentation of multimodal power data in small-sample scenarios, characterized in that, The method includes: Acquire power multimodal sample data and extract the original power data features corresponding to each mode in the power multimodal sample data; Based on the feature range information of the original power data features, a discriminant feature to be amplified is determined from the original power data features; the feature range information is the value range of the same original power data feature in different modalities; the discriminant feature to be amplified is a feature whose data changes will not cause changes in the data sample type or physical constraints; the sample type is a type label corresponding to different power business needs. Obtain scenario information of scarce sample scenarios, and determine the initial feature range of the discriminative features to be amplified based on the scenario information; the scarce sample scenarios are key business scenarios in the power system where the number of samples is less than a preset threshold. Based on the sample type corresponding to the original power data features and the initial feature range, the target feature range of the discriminative features to be amplified is determined; the target feature range is used to characterize the range of values ​​that ensures the semantic consistency of the discriminative features to be amplified. Within the target feature range, data augmentation is performed on the power multimodal sample data corresponding to the feature to be augmented to obtain semantically consistent augmented samples.

2. The method according to claim 1, characterized in that, The step of determining the discriminant features to be amplified from the original power data features based on the feature range information of the original power data features includes: Based on the feature range information, determine the value range of the original power data features; When the value range of the original power data features is a fixed interval, the original power data features are used as fixed discrimination features; the fixed discrimination features are those features that cause changes in data sample type or physical constraints to change. When the value range of the original power data feature is not a fixed interval, determine the number of modes corresponding to the same original power data feature in the power multimodal data; When the number of modes is at least two, the feature range information is obtained; based on the feature range information, the intersection of the value range of the original power data feature between different modes is determined to obtain the range intersection, and the range intersection is taken as the original power data feature of a fixed interval as the fixed discrimination feature; When the number of modes is one, the original power data features are taken as unique features, and the correlation information between the unique features and the fixed discriminant features is obtained; based on the correlation information, the fixed discriminant features are determined from the unique features; the original power data features that are not the fixed discriminant features are taken as the discriminant features to be amplified.

3. The method according to claim 2, characterized in that, The step of determining the fixed discriminant feature from the unique features based on the association information includes: Based on the comparison between the association information and the preset correlation coefficient threshold, it is determined whether there is an association verification relationship between the unique feature and the fixed discriminant feature; If the unique feature does not have the associated verification relationship, the unique feature whose value range is a fixed interval shall be used as the fixed discriminant feature. When the unique feature has the aforementioned association verification relationship, obtain the sensitivity of the value change of the unique feature to the value of the fixed discriminant feature remaining unchanged; If the sensitivity characterization of the association verification relationship fails to verify successfully, the unique feature is used as the fixed discriminant feature.

4. The method according to claim 3, characterized in that, Determining the initial feature range of the feature to be amplified based on the scene information includes: Extract scarce sample scene features from the scene information, and obtain the scene feature range of the discriminant feature to be amplified based on the value range of the scarce sample scene features. Obtain the range of collaborative features of the discriminant features to be amplified; the range of collaborative features is used to characterize the range of values ​​that satisfy the basic physical law constraints of the power system; The initial feature range of the discriminative feature to be amplified is formed based on the intersection between the scene feature range and the collaborative feature range.

5. The method according to claim 4, characterized in that, The step of obtaining the scene feature range of the discriminant feature to be amplified based on the value range of the scene features of the scarce samples includes: From the features to be amplified, obtain the features that are physically related to the scene features of the scarce samples, and use them as scene influence features; If a corresponding standard range exists for the scarce sample scenario features, the standard range shall be taken as the sample feature range corresponding to the scarce sample scenario features; the standard range shall be the value range specified in relevant standards, operating procedures or technical specifications in the power industry. From the sample feature range, obtain the feature range corresponding to the scene influence feature, and use it as the scene feature range; If the scarce sample scene features do not have a corresponding standard range, other sample scenes outside the scarce sample scene are obtained from the historical database as reference scenes. Obtain the feature range of scene influence features in the reference scene as the reference range, and count the range frequency corresponding to the reference range; The reference range whose frequency is less than a preset frequency threshold and is within the physical feature range is taken as the scene feature range of the discriminant feature to be amplified; the physical feature range is the value range of the discriminant feature to be amplified under the constraints of the basic physical laws of the power system.

6. The method according to claim 4, characterized in that, The acquisition of the collaborative feature range of the discriminant feature to be amplified includes: When the discriminant feature to be amplified is an auxiliary discriminant feature, the fixed discriminant feature that has the association verification relationship with the auxiliary discriminant feature is taken as the associated fixed feature; the auxiliary discriminant feature is the unique feature corresponding to the case where the sensitivity characterizes the successful verification of the association verification relationship; Obtain fixed feature values, and based on the fixed feature values, obtain the initial feature range of the auxiliary discriminant feature, which serves as the initial feature range of the discriminant feature to be amplified; the fixed feature values ​​are the specific values ​​of the associated fixed features in the power multimodal sample data. If the discriminant feature to be amplified is not the auxiliary discriminant feature, the physical feature range of the discriminant feature to be amplified is determined according to the sample type of the original power data feature; the physical feature range is the value range of the discriminant feature to be amplified under the constraints of the basic physical laws of the power system. If there is no physical conflict between the physical feature ranges of the various discriminant features to be amplified, the physical feature ranges of the various discriminant features to be amplified are taken as cooperative feature ranges; the physical conflict is used to characterize that when the physical feature ranges of at least two discriminant features to be amplified are simultaneously true, they violate the basic physical law constraints of the power system. In the event of a physical conflict between the physical feature ranges of the various discriminant features to be amplified, the cooperative feature range under the physical conflict is determined based on the physical feature range.

7. The method according to claim 6, characterized in that, The step of determining the range of cooperative features under physical conflict based on the range of physical features includes: According to the preset granularity, the physical feature range of the feature to be amplified and discriminated is divided into multiple range segments to obtain the unit feature range; For any current discriminant feature to be amplified among the discriminant features to be amplified, obtain other physical feature ranges corresponding to the discriminant features to be amplified, excluding the current discriminant feature to be amplified, from the physical feature range; If the unit feature range of the current discriminant feature to be amplified and the range of other physical features both satisfy the constraints of the basic physical laws, the unit feature range is taken as the completely cooperative range. When the unit feature range of the current discriminant feature to be amplified and some sub-intervals in the other physical feature ranges satisfy the basic physical law constraints, the unit feature range is taken as a partial cooperative range, and some sub-intervals in the other physical feature ranges are taken as the range prerequisites corresponding to the unit feature range; The range set of discriminative features to be amplified is formed based on the complete collaborative range, the partial collaborative range, and the corresponding range preconditions, and serves as the collaborative feature range.

8. The method according to claim 1, characterized in that, The step of determining the target feature range of the features to be amplified based on the sample type corresponding to the original power data features and the initial feature range includes: For any current original power data feature among the original power data features, according to the sample type corresponding to the current original power data feature, the sample corresponding to the current original power data feature is taken as the original power data feature sample, and samples with different sample types from the historical database are obtained as reference feature samples. Attribution analysis is performed on the changes in sample types between the original power data feature samples and the reference feature samples to obtain the attribution analysis results; When the attribution analysis results indicate that the change in the sample type is caused by a fixed discriminant feature, the initial feature range of the discriminant feature to be amplified is taken as the target feature range; If the attribution analysis results indicate that the change in the sample type is not caused by a fixed discriminant feature, the initial feature range is refined to obtain the target feature range of the discriminant feature to be amplified.

9. The method according to claim 8, characterized in that, The refinement of the initial feature range to obtain the target feature range of the feature to be amplified includes: The discriminant features that exist simultaneously in the original power data feature samples and the reference feature samples are taken as the same sample features. Based on the value changes of the same sample feature in the original power data feature sample and the reference feature sample, it is determined whether the same sample feature has a joint variation trend; the joint variation trend is used to characterize the difference in sample type of the same sample feature in the original power data feature sample and the reference feature sample. When the same sample features exhibit the joint trend of change, the same sample features are input into a pre-constructed aggregation function to determine the feature range of the same sample features in the original power data feature samples, which serves as a benchmark range. The aggregation function is obtained by fitting historical data corresponding to the same sample features and is used to map the current values ​​of multiple same sample features to a comprehensive feature value. The comprehensive feature value is used to characterize the degree of joint contribution of multiple same sample features to the sample type under joint action. The range within which the same sample features satisfy the corresponding initial feature range and are within the benchmark range is taken as the feature range of the same sample features. Based on the feature range of the same sample features and the initial feature range of other features to be amplified, the target feature range of the features to be amplified is obtained; If the joint variation trend does not exist for the same sample features, the initial feature range is set to obtain the target feature range of the discriminant feature to be amplified.

10. The method according to claim 9, characterized in that, The step of taking values ​​from the initial feature range to obtain the target feature range of the feature to be amplified includes: The features to be amplified and discriminated are selected within the initial feature range to form multiple feature value combinations; The combination of feature values ​​is input into a pre-trained sample type discrimination model to obtain the sample type label of the combination of feature values; The combination of feature values ​​corresponding to the sample type label that is consistent with the sample type of the original power data feature sample is taken as a qualified feature combination; The target feature range is obtained based on the value range of the qualified feature combination.