A gated contrast neural network learning method for radio frequency signal sorting detection

By employing a gated contrastive neural network learning method, physical gating and multi-branch coding networks are used to filter difficult negative samples. Combined with composite loss and graph consistency loss, the problem of difficult separation of sources with similar parameters in radio frequency signal sorting and detection is solved, and the stability and accuracy of event embedding are improved.

CN123180260APending Publication Date: 2026-11-27RUILIAN ZHIHUI (ANHUI) TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611422712.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing radio frequency signal sorting and detection methods struggle to effectively distinguish radio frequency events from different sources when multiple radiation sources are active simultaneously and their parameters are similar. Furthermore, they are susceptible to missing data and differences in data quality, leading to incorrect sorting and difficulty in adapting to new sources.

Method used

A gated contrastive neural network learning method is adopted. Candidate hard negative samples are screened through physical gating. Event embeddings are trained using a multi-branch coding network and composite loss. By combining effective field masking and quality information, the impact of missing inputs and data quality differences is reduced. Source relationships are constrained through graph consistency loss.

Benefits of technology

It improves the ability to distinguish RF events with similar physical parameters but different sources, reduces missorting and false tag accumulation, and can adapt to RF environments with varying numbers of sources, maintaining the stability and accuracy of event embedding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180260A_ABST
    Figure CN123180260A_ABST
Patent Text Reader

Abstract

The application discloses a kind of gated contrast neural network learning methods for radio frequency signal sorting detection, comprising the following steps: S1, obtaining radio frequency event training data, each radio frequency event includes pulse description word, field effective mask, adjacent event sequence, short IQ or time-frequency segment, quality information and source relationship;S2, according to the source relationship constructs positive sample pair and ordinary negative sample.The gated contrast neural network learning method for radio frequency signal sorting detection, through physical gating screening candidate difficult negative sample, using current multi-branch coding network selects online difficult negative sample, and combines field effective mask, quality gating, multi-branch event coding and composite loss training event embedding, so that network pays more attention to radio frequency event with close physical parameters but different sources, while reducing the influence of input missing and data quality difference on sorting learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of neural network technology, specifically to a gated contrastive neural network learning method for radio frequency signal sorting and detection. Background Technology

[0002] Radio frequency (RF) signal sorting and detection is used to determine the source of each RF event from continuously acquired RF events by a receiving device. RF monitoring equipment typically detects RF events from channelized data or time-frequency plots and extracts pulse descriptor information such as arrival time, center frequency, bandwidth, pulse width, amplitude, and angle of arrival. When multiple radiation sources are active simultaneously, events from different sources will interleave in time. Sorting requires grouping events from the same source together. Existing methods mainly include sorting methods based on parameter difference thresholds and pulse repetition interval rules, clustering methods such as K-means or DBSCAN, and methods that utilize classification networks, Siamese networks, or triplet networks to learn event features or sample distances.

[0003] For example, application number 202110238027.4 discloses a method for identifying unknown radiation sources based on triplet loss. It selects anchor points, positive examples with the same label, and negative examples with different labels from labeled radiation source samples, and trains triplet pairs based on the distance between the embedding vectors generated by the network. This makes samples from the same source close to each other in the feature space and samples from different sources far apart. Then, it determines whether the sample to be tested belongs to a known source or an unknown source by the distance between the sample to be tested and the feature vectors in the known database. This provides a distance learning-based implementation method for identifying radiation sources in open scenarios.

[0004] However, when multiple radiation sources are active simultaneously and their center frequencies, bandwidths, pulse widths, or angles of arrival are relatively similar, the conventionally extracted negative samples contain many easily distinguishable samples. The network can easily learn significant parameter differences but struggles to fully learn the boundaries between different sources with similar physical parameters. When some pulse descriptor fields are missing, the angle of arrival quality is low, or short IQ is unavailable, the network may incorrectly treat missing states as source features. Optimizing only the distance between individual sample pairs also fails to guarantee consistent association results across a batch of events. Furthermore, fixed-category classification models rely on source numbers from the training phase and cannot directly adapt to new sources; generating pseudo-labels solely based on model confidence easily accumulates errors, while continuing training with only new data may reduce the ability to distinguish existing sources. Summary of the Invention

[0005] The purpose of this invention is to provide a gated contrastive neural network learning method for radio frequency signal sorting and detection, so as to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a gated contrastive neural network learning method for radio frequency signal sorting and detection, comprising the following steps: S1, acquire radio frequency event training data, each radio frequency event includes pulse descriptor, field valid mask, adjacent event sequence, short IQ or time-frequency segment, quality information and source relationship; S2, construct positive sample pairs and ordinary negative samples based on the source relationship; S3, perform physical gating on heterogeneous event pairs, and add heterogeneous event pairs whose time intervals are within a comparable range, whose center frequency intervals overlap or are close, whose pulse widths and bandwidths are of the same order of magnitude, and whose arrival angle differences do not exceed a preset upper limit to the candidate hard-to-bear sample pool. S4, input the radio frequency event into a multi-branch coding network, and fuse the outputs of each branch according to the effective mask of the field and the quality information to obtain the event embedding and uncertainty; S5, using the current multi-branch coding network to filter online hard negative samples with high cosine similarity or high predicted homology probability but different origins from the candidate hard negative sample pool, and forming a training batch from the positive sample pairs, ordinary negative samples and online hard negative samples; S6, Based on the training batch, establish a relationship graph and calculate the quality-weighted contrast loss. Figure 1 Induced loss; S7. Combine the losses to obtain a composite loss, and update the parameters of the multi-branch coding network in reverse according to the composite loss; S8, update the candidate hard-to-bear sample pool based on the sorting errors in the verification data.

[0007] Preferably, in step S1, the pulse descriptor includes at least arrival time, center frequency, bandwidth, pulse width, amplitude, and angle of arrival; the field validity mask is used to identify valid fields; and the quality information is used to adjust the loss weight and branch weight corresponding to the radio frequency event.

[0008] Preferably, in step S2, the positive sample pairs consist of manually confirmed homogeneous events, or, in the absence of manual labels, candidate positive sample pairs consist of stable tracks spanning multiple processing frames, and the ordinary negative samples consist of confirmed heterogeneous events; in step S5, the training batches are stratified according to their source and quality range.

[0009] Preferably, in step S4, the multi-branch coding network includes a pulse descriptor branch, a sequence branch, and a short IQ branch. The branch weights of each branch are determined by a quality gating layer. When the short IQ branch is invalid, the branch weights of the short IQ branch are reset to zero and the weights of the remaining branches are renormalized.

[0010] Preferably, in step S6, the loss weight of the sample pair is determined based on the label confidence, quality information, and difficulty of negativeing, so that the loss weight of the online difficult-to-negative sample is greater than the loss weight of the ordinary negative sample.

[0011] Preferably, in step S6, the relationship graph includes edges of the same origin, edges of different origin, and candidate edges. Figure 1 Consistency loss is used to constrain the transmission consistency of the same-origin edges, different-origin edges, and same-origin relationships. The composite loss also includes time consistency loss and missing branch consistency loss.

[0012] Preferably, the method involves using teacher model confidence, physical consistency, and cross-frame stability to filter pseudo-labels for unlabeled data, and then combining newly added samples with the pseudo-labels with replay samples from old sources for incremental learning.

[0013] Preferably, the process involves maintaining event embedding prototypes with confirmed sources, and determining whether the radio frequency event belongs to a known or unknown source based on the distance between the radio frequency event and each event embedding prototype and the uncertainty.

[0014] Preferably, in S2, the heterogeneous relationship is determined by heterogeneous relationship evidence independent of the current multi-branch coding network output and the current round of sorting results to be corrected; event pairs with missing evidence, insufficient evidence reliability, or conflicting evidence between homogeneous and heterogeneous sources are marked as undetermined evidence relationships and do not participate in the current round of supervised training; the physical gating in S3 and S5 and the output of the current multi-branch coding network are used to determine the confusion level and screening priority of event pairs.

[0015] Preferably, the same confirmed heterogeneous relationship is simultaneously registered as a difficult-to-negative relationship and a conflicting edge in the relationship graph. The conflicting edge is used to prevent the establishment or continued propagation of conflicting homogeneous relationships, and the corresponding heterogeneous event pairs that are still judged as homogeneous in the verification are re-added to the candidate difficult-to-negative sample pool.

[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: This gated contrastive neural network learning method for radio frequency signal sorting and detection filters candidate hard-to-bear samples through physical gating, selects online hard-to-bear samples using the current multi-branch coding network, and combines field effective masking, quality gating, multi-branch event coding and composite loss to train event embedding, so that the network pays more attention to radio frequency events with similar physical parameters but different sources, while reducing the impact of missing input and data quality differences on sorting learning, as detailed below.

[0017] 1. By considering factors such as time interval, center frequency, bandwidth, pulse width, and angle of arrival, candidate hard negative samples with similar physical characteristics are selected from heterogeneous event pairs. Then, online hard negative samples with high cosine similarity or high predicted homogeneity probability are selected using the current multi-branch coding network. The loss weight of online hard negative samples is made greater than that of ordinary negative samples. This allows the training to focus more on heterogeneous events that are currently difficult to distinguish, helps the network learn the boundaries between different sources with similar physical parameters, reduces the impact of a large number of easily distinguishable ordinary negative samples on the training process, and makes the obtained event embedding applicable to radio frequency environments where the number of sources varies.

[0018] 2. By identifying valid inputs through field validity masks and determining the participation levels of pulse descriptor branches, sequence branches, and short IQ branches based on quality information, the interference of missing fields, unavailable short IQs, or low observation quality on event embedding and network parameter updates can be reduced; Figure 1 Consistency loss and temporal consistency loss constrain the source relationships and temporal changes among a batch of events. Missing branch consistency loss maintains the closeness between the event embeddings obtained from complete inputs and missing inputs, which can reduce the contradictions between pairwise judgments. Teacher model confidence, physical consistency and cross-frame stability are used to jointly screen pseudo-labels. Incremental learning is carried out by combining new samples and old source replay samples, which helps to reduce the accumulation of pseudo-label errors and the decline in the ability to distinguish existing sources. At the same time, unknown source candidates are retained based on the distance and uncertainty of the event embedding prototype.

[0019] 3. Furthermore, by identifying heterogeneous relationships independently of the current multi-branch coding network output and the sorting results to be corrected in this round, and excluding event pairs with missing, unreliable, or conflicting evidence as undetermined relationships from this round of supervised training, we can prevent the direct use of similar physical parameters or similar model outputs as the basis for heterogeneity. Registering the same confirmed heterogeneous relationship simultaneously as a difficult-to-negative relationship and a conflicting edge in the relationship graph can strengthen heterogeneous separation training while preventing the establishment or continued propagation of conflicting homogeneous relationships. Re-adding corresponding heterogeneous event pairs that are still judged as homogeneous in the verification process to the candidate difficult-to-negative sample pool can enable subsequent training to continue to correct the already exposed erroneous relationships. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the overall process of the present invention; Figure 2 This is a flowchart illustrating the construction process of the physically gated positive and negative samples and the online hard-negative samples of this invention. Figure 3 This is a schematic diagram of the multi-branch event encoding and composite loss calculation of the present invention; Figure 4This is a schematic diagram illustrating the physical consistency pseudo-label, playback buffer, anti-forgetting incremental learning, and known and unknown source judgment of the present invention. Figure 5 This is a schematic diagram of the independent heterogeneous evidence admission, conflict edge constraint, and hard negative sample backflow process in Embodiment 2 of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] Please see Figures 1-5 The present invention provides the following technical solution: Example 1: In radio frequency signal sorting, events generated by different radiation sources may have similar frequencies, pulse widths, or angles of arrival. When training with easily distinguishable ordinary samples, it is difficult to fully learn the boundaries between these similar events. This example provides a gated contrastive neural network learning method for radio frequency signal sorting and detection. It uses the physical parameters of events, changes in adjacent events, and short IQ or time-frequency information together for feature learning. During the training process, it strengthens the distinction between events with similar physical parameters but different sources, so that the obtained event embedding can be used for subsequent event association, source clustering, and unknown source judgment. Specifically, it includes S1 to S8.

[0023] S1: Acquire RF event training data. Each RF event includes a pulse descriptor, field valid mask, adjacent event sequence, short IQ or time-frequency segment, quality information, and source relationship. In S1, the pulse descriptor includes at least arrival time, center frequency, bandwidth, pulse width, amplitude, and angle of arrival. The field valid mask is used to identify valid fields. The quality information is used to adjust the loss weight and branch weight corresponding to the RF event.

[0024] In practice, the continuous detection results output by the radio frequency receiving device are processed into events. A training record is established for each radio frequency event, and the pulse descriptor of the event itself, the parameter changes of adjacent events, the short IQ or time-frequency segments corresponding to the event, and the obtained source relationship are saved as the same event record, so that different types of data can maintain correspondence during training.

[0025] The valid field mask is input into the network along with the pulse descriptor and the sequence of adjacent events. Data normalization is performed only on fields marked as valid. Quality information can be generated based on the signal-to-noise ratio of the event, the integrity of the time-frequency connectivity region, the saturation ratio, the field measurement variance, the event overlap, and the buffer integrity. Lower quality only indicates that the impact of the event on the model update should be appropriately reduced, and does not directly change its source relationship. For data generated by different receiving devices or different acquisition periods, the center frequency, amplitude, and angle of arrival can also be calibrated using the corresponding calibration reference values ​​to reduce the impact of device differences on the learning results.

[0026] S2 constructs positive sample pairs and ordinary negative samples based on source relationships. In S2, positive sample pairs are composed of manually confirmed homologous events, or candidate positive sample pairs are composed of stable tracks spanning multiple processing frames when there are no manual labels. Ordinary negative samples are composed of confirmed heterologous events. In S5, the training batches are stratified according to source and quality range.

[0027] When constructing positive sample pairs, priority is given to selecting two events that have been manually confirmed to originate from the same radiation source. When manual labels are lacking, tracks that maintain stable changes in time, center frequency, and angle of arrival within multiple consecutive processing frames are correlated, and the event pairs obtained from these tracks are used as candidate positive sample pairs. At the same time, the corresponding label confidence is saved to reduce the impact of low-confidence candidate relationships when calculating the loss. For ordinary negative samples, event pairs are selected from events whose source relationships have been confirmed to be different, so that the network can first learn the relatively clear heterogeneous differences. Positive sample pairs and ordinary negative samples together form the basic supervision relationship, providing a reference for further screening of samples that are more likely to be mistaken for homogeneous sources from heterogeneous events.

[0028] S3 performs physical gating on heterogeneous event pairs, adding heterogeneous event pairs whose time intervals are within a comparable range, whose center frequency intervals overlap or are close, whose pulse widths and bandwidths are of the same order of magnitude, and whose arrival angle differences do not exceed a preset upper limit to the candidate hard-to-bear sample pool.

[0029] In practice, it is first determined whether the occurrence times of the two heterogeneous events allow for comparison, then it is determined whether the center frequency intervals of the two events overlap or the interval does not exceed the preset range, and the magnitude of pulse width, bandwidth and angle of arrival are compared; only when all conditions meet the preset gating requirements will the event pair be added to the candidate hard-to-bear sample pool.

[0030] Physical gating employs a loose range that can cover parameter fluctuations. Its purpose is to retain event pairs with similar physical performance and that are more prone to mismergence from a large number of heterogeneous event pairs. This allows subsequent training resources to be concentrated on samples that are truly difficult to distinguish, while avoiding ordinary and easily distinguishable heterogeneous events from occupying too high a proportion in the training batch.

[0031] S4 inputs the radio frequency event into the multi-branch coding network, and fuses the outputs of each branch based on the field effective mask and quality information to obtain the event embedding and uncertainty.

[0032] In S4, the multi-branch coding network includes pulse descriptor branches, sequence branches, and short IQ branches. The branch weights of each branch are determined by a quality gating layer. When the short IQ branch is invalid, the branch weights of the short IQ branch are reset to zero and the weights of the remaining branches are renormalized.

[0033] The pulse descriptor branch receives the pulse descriptor and the effective mask of the field, and can use a multilayer perceptron or a tabular feature network to extract the parametric features of the event itself; the sequence branch receives the arrival time difference, frequency change, pulse width change and corresponding effective mask of adjacent events, and can use a one-dimensional convolutional network, a gated recurrent unit or a lightweight attention network to extract local temporal changes; the short IQ branch receives a fixed-length envelope, phase difference or time-frequency matrix, and can use a convolutional network to extract intra-pulse or local time-frequency features.

[0034] Each branch output is normalized and then fed into the quality gating layer. The quality gating layer assigns branch weights to each branch based on the validity of the fields, the validity of the short IQ, and the quality information. When some pulse description fields are missing, the pulse description word branch is retained and the impact of the missing fields is reduced by masking. After weighted fusion, the projector outputs the normalized event embedding and corresponding uncertainty. Thus, even when a certain type of input is missing or the quality degrades, a stable representation can still be formed mainly by utilizing the remaining valid information.

[0035] S5 utilizes the current multi-branch coding network to screen online hard negative samples with high cosine similarity or high predicted homology probability but different origins from the candidate hard negative sample pool, and forms training batches from positive sample pairs, ordinary negative samples and online hard negative samples.

[0036] In each round of screening, the event embeddings of each event in the candidate hard-to-bear sample pool are calculated using the current multi-branch coding network, and the cosine similarity or homology probability of the candidate event pairs is calculated. Then, the heterogeneous event pairs that are more easily confused are selected as online hard-to-bear samples in order of cosine similarity from high to low or predicted homology probability from high to low, so that the sample difficulty can change dynamically with the current recognition status of the network.

[0037] When forming a training batch, positive sample pairs, ordinary negative samples, and online hard negative samples are loaded simultaneously, and the batches are stratified according to source and quality range. The balance of different data domains can also be maintained by combining the receiving device and the collection date. At the same time, the number of events from a single source in a training batch is limited to prevent sources with long-term activity or large sample sizes from continuously dominating parameter updates.

[0038] Online hard negative samples reflect heterologous relationships that the network is still easily confused in the current training phase. Continuously adding them to the training batches allows the network to correct for subtle differences that it has not yet learned, while ordinary negative samples are used to maintain the overall heterologous separation ability.

[0039] S6, establish a relationship graph based on training batches, and calculate the quality-weighted contrastive loss. Figure 1 In the consistency loss mechanism (S6), the loss weights for sample pairs are determined based on label confidence, quality information, and difficulty of negative assignment, ensuring that the loss weight for online difficult-to-negative samples is greater than that for ordinary negative samples. In S6, the relationship graph includes homogeneous edges, heterogeneous edges, and candidate edges. Figure 1 Consistency loss is used to constrain the propagation consistency of same-origin edges, dissimilar edges, and same-origin relationships. Composite loss also includes time consistency loss and missing branch consistency loss.

[0040] When calculating the quality-weighted contrastive loss, for anchor event i, its positive sample set is denoted as P(i), and its negative sample set is denoted as N(i). The quality scores of events i and j are denoted as q_i and q_j, respectively. The pairwise quality weights are q_ij = sqrt(q_i * q_j). The label confidence level c_ij is stored for the corresponding event pair, where sqrt represents the square root operation, and the symbols *, / , +, and - represent multiplication, division, addition, and subtraction operations, respectively. The symbol - at the beginning of the supervised contrastive loss formula indicates that the subsequent summation result is negative. The pairwise quality weights reflect the common observation reliability of the two events. A decrease in the quality of either event will reduce the impact of that event on the loss calculation.

[0041] One type of supervised contrast loss is: L_con=-sum_isum_(pinP(i))gamma_ip*log[exp(sim(z_i,z_p) / tau) / sum_(ainA(i))omega_ia*exp(sim(z_i,z_a) / tau)].

[0042] Where L_con represents the quality-weighted supervised contrastive loss, i represents the index of the anchor event, p represents the index of the positive sample event, P(i) represents the set of positive samples of anchor event i, A(i) represents the set of events in the current training batch that participate in the contrast with anchor event i, a represents the event index in A(i), sum represents the summation operation according to the corresponding index, z_i, z_p and z_a represent the normalized event embeddings of the corresponding events, sim represents the cosine similarity, tau represents the temperature parameter, exp represents the exponential operation, log represents the logarithmic operation, gamma_ip represents the positive sample weight determined by the pairwise quality weight q_ip of event i and positive sample event p and the label confidence c_ip, and omega_ia represents the contrast weight between event i and event a, and makes the omega_ia corresponding to the online hard negative sample greater than the omega_ia corresponding to the ordinary negative sample.

[0043] By reducing the gradient generated by low-quality or low-confidence positive sample pairs by gamma_ip and improving the heterogeneous separation effect of online hard negative samples by omega_ia, the perturbation of unreliable event relationships on the embedding space can be reduced, while the network can focus on correcting heterogeneous event pairs with similar physical parameters that are still easily judged as homogeneous.

[0044] Alternatively, the triplet loss L_tri=max(0,d(z_i,z_p)-d(z_i,z_n)+margin_i) can be used, where L_tri represents the triplet loss, n represents the index of the negative sample event, z_n represents the normalized event embedding of the negative sample event, max represents the larger value between the calculated result in parentheses and zero, d represents the distance between two event embeddings, and margin_i represents the interval corresponding to the anchor event i. The margin_i is increased with the physical similarity of the negative samples, thus requiring heterogeneous events with closer physical appearance to maintain a more definite distance in the embedding space.

[0045] When constructing the relationship graph, events in the training batch are used as nodes. Same-source edges and different-source edges are set according to their source relationships, and candidate edges are set based on the physical gating results. The predicted similarity of same-source edges is constrained to be higher than a positive edge threshold, and the predicted similarity of different-source edges is constrained to be lower than a negative edge threshold. For events i, j, and k with the same confirmed source, when events i and j, and events j and k are both same-source edges, the similarity between events i and k is further constrained to be no lower than a propagation threshold, thus forming... Figure 1 It reduces consistency loss L_graph and decreases contradictions between pairwise judgments.

[0046] The time consistency loss L_time is used to constrain the changes in the embeddings of events from the same source arranged by time to not exceed the range allowed by the changes in their physical parameters, and relaxes this constraint when there are frequency jumps or working state switching flags; the missing branch consistency loss L_mask improves stability when fields are missing or short IQ is unavailable by comparing the complete input view of the same event with the missing input view after randomly masking a branch, so that the event embeddings obtained by the two views are kept close.

[0047] S7, combining the losses yields the composite loss, and the parameters of the multi-branch coding network are updated in reverse based on the composite loss. The total loss is: L=lambda_c*L_con+lambda_t*L_tri+lambda_g*L_graph+lambda_time*L_time+lambda_m*L_mask+lambda_u*L_unc.

[0048] Where L represents the composite loss, and L_con, L_tri, L_graph, L_time, L_mask, and L_unc represent the quality-weighted supervision contrast loss, triplet loss, and so on, respectively. Figure 1 Consistency loss, temporal consistency loss, missing branch consistency loss, and uncertainty calibration loss are defined by lambda_c, lambda_t, lambda_g, lambda_time, lambda_m, and lambda_u, which represent the combined weights used in the training configuration for the corresponding losses. Backpropagation is performed based on the composite losses to update the parameters of the impulse descriptor branch, sequence branch, short IQ branch, quality gating layer, and projection head.

[0049] In the initial training phase, basic embedding structures can be established primarily using ordinary negative samples, followed by a gradual increase in the use of online hard negative samples. Figure 1 The impact of homogeneity loss can be mitigated, and AdamW, stochastic gradient descent, or equivalent optimizers can be used to update network parameters, enabling the network to first form a basic representation of similar sources being close together and heterogeneous sources being separated, and then strengthen the identification of heterogeneous events with similar physical parameters that are easily confused.

[0050] In one configuration, a training batch can contain events from 64 sources. Each anchor event selects one homologous positive sample, two ordinary negative samples, and two physically gated hard negative samples. The event input includes a 20-dimensional impulse descriptor and field effective mask, differential sequences of adjacent events, and fixed-size time-frequency segments. The multi-branch coding network outputs a 16-dimensional normalized event embedding. The number of sources, the number of samples, and the feature dimensions can all be configured according to the actual training data.

[0051] S8 updates the candidate hard-to-bear sample pool based on sorting errors in the validation data. In practice, validation data that is separate from the training data is used to calculate homogeneous recall, heterogeneous false merger rate, cluster purity, cluster integrity, unknown rejection rate, and cross-frame source identifier stability. The heterogeneous event pairs that are incorrectly merged are analyzed in particular. Based on the analysis results, the event pairs in the candidate hard-to-bear sample pool are supplemented or adjusted so that the next round of training can continue to learn from the heterogeneous false merger problem exposed in the validation stage.

[0052] After completing the basic training and validation from S1 to S8, incremental learning can be performed based on the new data, and the event embeddings and uncertainties obtained from the training can be used to determine whether the source is known or unknown.

[0053] We use teacher model confidence, physical consistency, and cross-frame stability to filter out pseudo-labels in unlabeled data, and then perform incremental learning by combining new samples with pseudo-labels with replay samples from old sources.

[0054] During incremental learning, the deployed teacher model first generates embeddings and candidate clusters for new events. Then, it checks the intra-cluster temporal relationships, changes in center frequency and angle of arrival, the correlation stability of multiple consecutive processing frames, and the cluster consistency before and after slight input perturbations. Only data that meets the screening criteria are generated with pseudo-labels. The incremental training batch can also include manually confirmed new samples, old source anchors, and old hard-to-bear samples. Distillation constraints and prototype preservation constraints are used to reduce the drift of old source representations. The teacher model parameters can be updated by the exponential moving average of the student model parameters. The incremental model is tested on old source validation data and new scenario validation data to balance new scenario learning and old source preservation.

[0055] For events with confirmed sources, maintain event embedding prototypes and determine whether an RF event belongs to a known or unknown source based on the distance and uncertainty between the RF event and each event embedding prototype.

[0056] Each confirmed source can maintain one or more event embedding prototypes. During training, events from the same source are brought close to the corresponding prototypes, while prototypes from different sources are kept at a preset interval. During application, the distance between the event to be judged and all event embedding prototypes is calculated. The event is associated with the corresponding known source only when the minimum distance meets the known source determination condition and the uncertainty is low. Otherwise, it is reserved as an unknown source or a new source candidate to avoid forcibly merging abnormal events without reliable evidence into existing sources.

[0057] Example 2: To address the issue that the current sorting results may mistakenly classify heterogeneous events as homogeneous events and allow erroneous relationships to continue participating in training and propagation, this example follows the overall process of S1 to S8 in Example 1, and further refines the conditions for source relationships to enter supervised training, the uses of physical gating and model output, the collaborative constraints between hard-to-bear relationships and relationship graphs, and the feedback method for verifying errors. This ensures that heterogeneous relationships are first confirmed by independent evidence before being used for hard-to-bear training and relationship graph control. The training data organization, multi-branch encoding, loss combination, and parameter update methods, which are not repeated below, are all performed in accordance with Example 1, specifically including the following content.

[0058] S1 acquires radio frequency (RF) event training data. Each RF event includes a pulse descriptor, field valid mask, adjacent event sequence, short IQ or time-frequency segment, quality information, and source relationship. The event-level training records formed by S1 establish a correspondence between independent heterogeneous evidence and RF events, enabling subsequent evidence admission, difficulty ranking, and verification reflow to locate the same event pair.

[0059] S2 constructs positive sample pairs and ordinary negative samples based on the source relationship. In S2, the heterogeneous relationship is determined by heterogeneous relationship evidence independent of the current multi-branch coding network output and the sorting results to be corrected in this round. Event pairs with missing evidence, insufficient evidence reliability, or conflicting evidence between homogeneous and heterogeneous sources are marked as undetermined evidence relationships and do not participate in this round of supervised training. The physical gating in S3 and S5 and the output of the current multi-branch coding network are used to determine the confusion level and screening priority of event pairs.

[0060] In this embodiment, the source is recorded according to the individual radiation source that generates the monitored radio frequency event. The same radiation source is still recorded as the same source before and after frequency jumps or switching of working states. Evidence of heterogeneous relationship may include at least one of the following: manually verified acquisition tags, multi-station positioning results, independent historical tracks, and spatiotemporal exclusive relationships that can prove that two events cannot be generated by the same radiation source. The evidence type, evidence source, and relationship confidence are recorded for the corresponding event pair. When performing evidence admission in S2, only heterogeneous relationships confirmed by independent heterogeneous relationship evidence are used to construct ordinary negative samples or subsequent difficult negative samples. Event pairs with missing evidence, insufficient reliability, or mutual conflict are uniformly registered as undetermined evidence relationships and excluded from the current round of supervision loss and relationship propagation. Quality information is only used to adjust the impact of confirmed relationships on parameter updates and does not change the same-source or heterogeneous judgment of event pairs, thereby avoiding the current model's own erroneous sorting results being used as heterogeneous labels for training again.

[0061] S3 performs physical gating on heterogeneous event pairs, adding heterogeneous event pairs with comparable time intervals, overlapping or close center frequency intervals, pulse widths and bandwidths of the same order of magnitude, and arrival angle differences not exceeding a preset upper limit to the candidate hard-to-bear sample pool. When performing physical gating in S3, the gating range of each physical field is determined before training based on the measurement error of the receiving device and the field fluctuation range of the confirmed training samples, and is saved together with the corresponding training configuration, so that the candidate hard-to-bear samples and verification data under the same training configuration adopt the same physical confusion judgment range.

[0062] Physical gating only identifies event pairs from confirmed heterogeneous event pairs that are similar in time, frequency, pulse width, bandwidth, and angle of arrival. Its output indicates that the event pair has a high probability of confusion, but does not assume the function of confirming the source relationship. Therefore, the width of the gating conditions will not directly turn the undetermined evidence relationship into a heterogeneous relationship that can be trained under supervision.

[0063] S4 inputs the radio frequency event into the multi-branch coding network, and fuses the outputs of each branch based on the effective mask of the field and the quality information to obtain the event embedding and uncertainty. The event embedding obtained in S4 is used to calculate the cosine similarity or homology probability of heterogeneous event pairs that have passed the evidence admission in the current model, and the calculation result is sent to S5 to determine the degree of confusion and the screening priority. The uncertainty is output along with the event embedding and used for result calibration and judgment of known or unknown sources.

[0064] S5 utilizes the current multi-branch coding network to screen online hard negative samples with high cosine similarity or high predicted homology probability but different origins from the candidate hard negative sample pool, and forms training batches from positive sample pairs, ordinary negative samples and online hard negative samples.

[0065] When screening online hard negative samples in S5, the admission results of heterogeneous relationship evidence are first used to limit the event pairs that can be screened. Then, the cosine similarity or homogeneity probability calculated by the current multi-branch coding network is used to determine the screening order. Priority is given to heterogeneous event pairs that are physically similar and are easily judged as homogeneous by the current model. This ensures that the training batch contains event pairs whose source relationship has been confirmed but are still prone to false mergers.

[0066] S6, establish a relationship graph based on training batches, and calculate the quality-weighted contrastive loss. Figure 1The consistency loss method simultaneously registers the same confirmed heterogeneous relationship as a difficult-to-negative relationship and a conflicting edge in the relationship graph. Conflicting edges are used to prevent the establishment or continued propagation of conflicting homogeneous relationships. Corresponding heterogeneous event pairs that are still judged as homogeneous in the validation are re-added to the candidate difficult-to-negative sample pool. In S6, heterogeneous event pairs registered as difficult-to-negative relationships are used for heterogeneous separation training in quality-weighted contrastive loss or triplet loss. Their training influence is adjusted according to physical proximity, current model similarity, and quality information. The closer the physical proximity and the easier it is for the current model to misjudge them as homogeneous, the stronger the heterogeneous separation constraint is adopted. When the event quality is low, the influence of the event on parameter updates is reduced.

[0067] The same heterogeneous event pair registered as conflict edges is used to check the transmission results of candidate homogeneous edges and homogeneous relations. The homogeneous association set is a set of events formed by connecting the already effective homogeneous edges and their transmission relations. When establishing a candidate homogeneous edge or continuing to propagate the homogeneous relation will cause both ends of the conflict edge to enter the same homogeneous association set, the candidate homogeneous edge will be deactivated and the corresponding propagation will be stopped, thereby preventing the confirmed heterogeneous conflict from being covered by homogeneous relations in the graph reasoning process.

[0068] For event pairs that conflict with each other between different independent pieces of evidence, they are marked as evidence-undetermined relationships. No conflict edges are established, and they are not allowed to participate in the current round of supervision training and relationship propagation, so as to prevent unreliable event relationships from affecting both unbearable training and relationship graph constraints.

[0069] S7. Combine the losses to obtain the composite loss, and update the parameters of the multi-branch coding network in reverse based on the composite loss.

[0070] In S7, the heterogeneous separation loss generated by the hard negative relation participates in backpropagation along with the other losses and updates the parameters of the multi-branch coding network. Conflict edges restrict the establishment and continued propagation of conflicting homogeneous relations during the relation graph processing, thereby ensuring that the heterogeneous separation training of event embedding and the homogeneous association results of the relation graph both conform to the confirmed heterogeneous relations.

[0071] S8 updates the candidate hard-to-bear sample pool based on sorting errors in the validation data. In S8, a validation subset is built from the validation data according to the same physical confusion criteria as in S3, and it is checked whether event pairs with independent evidence of heterogeneity are still classified as homogeneous by the current model. For event pairs that still mismerge, they are added back to the candidate hard-to-bear sample pool and their priority for subsequent screening is increased. Event pairs with insufficient or conflicting evidence are recorded as undetermined relationships and are not used for supervised updates. This creates a closed loop between hard-to-bear screening in the training phase, relationship graph constraints, and error feedback in the validation phase.

[0072] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A gated contrastive neural network learning method for radio frequency signal sorting and detection, characterized in that, Includes the following steps: S1, acquire radio frequency event training data, each radio frequency event includes pulse descriptor, field valid mask, adjacent event sequence, short IQ or time-frequency segment, quality information and source relationship; S2, construct positive sample pairs and ordinary negative samples based on the source relationship; S3, perform physical gating on heterogeneous event pairs, and add heterogeneous event pairs whose time intervals are within a comparable range, whose center frequency intervals overlap or are close, whose pulse widths and bandwidths are of the same order of magnitude, and whose arrival angle differences do not exceed a preset upper limit to the candidate hard-to-bear sample pool. S4, input the radio frequency event into a multi-branch coding network, and fuse the outputs of each branch according to the effective mask of the field and the quality information to obtain the event embedding and uncertainty; S5, using the current multi-branch coding network to filter online hard negative samples with high cosine similarity or high predicted homology probability but different origins from the candidate hard negative sample pool, and forming a training batch from the positive sample pairs, ordinary negative samples and online hard negative samples; S6. Based on the training batch, establish a relationship graph and calculate the quality-weighted contrast loss and graph consistency loss. S7. Combine the losses to obtain a composite loss, and update the parameters of the multi-branch coding network in reverse according to the composite loss; S8, update the candidate hard-to-bear sample pool based on the sorting errors in the verification data.

2. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: In S1, the pulse descriptor includes at least arrival time, center frequency, bandwidth, pulse width, amplitude, and angle of arrival. The field validity mask is used to identify valid fields, and the quality information is used to adjust the loss weight and branch weight corresponding to the radio frequency event.

3. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: In S2, the positive sample pairs are composed of manually confirmed homogeneous events, or, in the absence of manual labels, candidate positive sample pairs are composed of stable tracks spanning multiple processing frames. The ordinary negative samples are composed of confirmed heterogeneous events. In S5, the training batches are stratified according to their source and quality range.

4. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: In step S4, the multi-branch coding network includes pulse descriptor branches, sequence branches, and short IQ branches. The branch weights of each branch are determined by a quality gating layer. When the short IQ branch is invalid, the branch weights of the short IQ branch are reset to zero and the weights of the remaining branches are renormalized.

5. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: In step S6, the loss weight of the sample pair is determined based on the label confidence, quality information, and difficulty of negativeing, so that the loss weight of the online difficult negative sample is greater than the loss weight of the ordinary negative sample.

6. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: In step S6, the relationship graph includes common edges, heterogeneous edges, and candidate edges. The graph consistency loss is used to constrain the transmission consistency of the common edges, heterogeneous edges, and common relationships. The composite loss also includes time consistency loss and missing branch consistency loss.

7. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: The method utilizes teacher model confidence, physical consistency, and cross-frame stability to filter pseudo-labels in unlabeled data, and then performs incremental learning by combining new samples with the pseudo-labels with replay samples from old sources.

8. The gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: The process involves maintaining event embedding prototypes with confirmed sources, and determining whether an RF event belongs to a known or unknown source based on the distance between the RF event and each event embedding prototype, as well as the uncertainty.

9. A gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 1, characterized in that: In S2, the heterogeneous relationship is determined by heterogeneous relationship evidence independent of the current multi-branch coding network output and the sorting results to be corrected in this round; event pairs with missing evidence, insufficient evidence reliability, or conflicting evidence between homogeneous and heterogeneous sources are marked as undetermined evidence relationships and do not participate in this round of supervised training; the physical gating in S3 and S5 and the output of the current multi-branch coding network are used to determine the confusion level and screening priority of event pairs.

10. A gated contrastive neural network learning method for radio frequency signal sorting and detection according to claim 9, characterized in that: The same confirmed heterogeneous relationship is simultaneously registered as a difficult-to-negative relationship and a conflicting edge in the relationship graph. The conflicting edge is used to prevent the establishment or continued propagation of conflicting homogeneous relationships. Corresponding heterogeneous event pairs that are still judged as homogeneous in the verification are re-added to the candidate difficult-to-negative sample pool.

Citation Information

Patent Citations

  • Unknown radiation source identification method based on triple loss

    CN112949720A