[KongchangAI]
· 3 min read· 1,743 words

Teaching Pretrained Language Models to Say "No" to Unseen Radio Signals

Teaching Pretrained Language Models to Say "No" to Unseen Radio Signals

OSCAL uses complementary candidate list instruction fine-tuning of a frozen language model to achieve open-set abstention for radio signals without unknown samples.

This paper addresses the supervision gap in open-set radio signal recognition—where training cannot access unknown-class samples, causing closed-set classifiers to be overconfident and unstable across data splits—and proposes OSCAL. Via complementary candidate-conditioned instruction fine-tuning (OpenSFT), a frozen pretrained language model is adapted to continuous waveforms: supervise selection when the correct class is in the candidate list and output UNKNOWN when omitted, all within the model's native vocabulary space. Combined with native likelihood margin scoring and known-class standardization, it aligns confidence scales across modulation families. Cross-protocol robustness is validated on four open-set protocols and 18 baselines, and mechanism analysis shows language pretraining turns list-based abstention from a shortcut into genuine unseen-class transfer capability.

Open-set radio signal recognition requires models to classify known modulation types while actively abstaining on unseen ones. But here lies a fundamental supervision gap: the training, model selection, and calibration stages only have access to known classes, and no samples directly teach the model to reject unknown classes. The result is that closed-set classifiers tend to produce overconfident errors and perform unstably across different data splits—acceptable under one split, but liable to collapse under another.

To address this, researchers propose OSCAL (Open-Set Candidate-conditioned Abstention Learning), an abstention learning framework that adapts a frozen pretrained language model to continuous waveforms via complementary candidate-conditioned instruction fine-tuning (OpenSFT). The related paper is titled "Teaching Pretrained Language Models to Abstain on Unseen Radio Signals via Complementary Candidate Lists."

Paper source screenshot

The Supervision Gap: The Core Pain Point of Open-Set Recognition

In traditional closed-set classification, the model only needs to choose among classes seen during training. But radio signals in real-world scenarios often contain modulation types that did not appear during training, and the model must be able to recognize "this is not a class I know." The problem is that the training data contains no samples labeled "unknown," so the model receives no direct signal telling it when to reject.

This missing supervision has two consequences. First, the model's predictions on unknown classes are often overconfident—it forces a never-before-seen signal into some known class and assigns it high confidence. Second, performance varies dramatically across data splits: the model may do acceptably under some splits but collapse under others. This shows that the model has not truly learned to "abstain" but has merely fit statistical shortcuts specific to a given split.

The design philosophy of OSCAL confronts this gap head-on: since "rejection" cannot be supervised directly, construct complementary candidate lists so that the model learns to judge between "listed" and "not listed."

Open-Set Recognition (OSR) is a classic problem setting in machine learning: categories never seen during training may appear at test time, and the model must not only correctly classify known classes but also reject or flag unknown classes in some way. Its counterpart is closed-set recognition, where test classes fall entirely within the training class set. The core difficulty of open-set recognition is that the model has no samples of unknown classes during training, so it cannot directly learn a decision boundary for "unknown." Common approaches include distance-based rejection, density estimation with generative models, and threshold calibration based on extreme value theory. In radio signal recognition scenarios, modulation types are numerous and continuously evolving, and new modulation types appearing only at deployment time is the norm, so the open-set setting is closer to practical needs than the closed-set one.

The OSCAL Framework: Teaching Models to Abstain with Complementary Candidate Lists

The core of OSCAL is OpenSFT—complementary candidate-conditioned instruction fine-tuning. It does not change the weights of the pretrained language model (keeping them frozen), but instead uses instruction fine-tuning to teach the model to make a choice when given a candidate list.

Specifically, OpenSFT pairs each known waveform with disjoint candidate subsets. When the correct modulation class appears in the candidate list, the model is supervised to select it; when the correct class is deliberately omitted from the list, the model is supervised to output UNKNOWN. The key point is that this process takes place entirely within the language model's native vocabulary space, requiring no additional classification head or modification of the output layer.

This "select if listed, abstain if not listed" supervision turns abstention behavior into a language task the model can learn. The model does not need to understand the physical meaning of "unknown"; it only needs to learn to output UNKNOWN when no match is found in the candidate list.

To construct the input representation, the method adopts dual-view signal tokens and initializes them via masked reconstruction. In this way, continuous radio waveforms are converted into discrete token sequences that the language model can process, while preserving key structural information of the signal.

Instruction Tuning is a technique for adapting pretrained language models to downstream tasks: the task description and input are organized as natural language instructions into a prompt, and the model is fine-tuned on a small amount of labeled data so that it learns to execute the task as instructed. Unlike the traditional approach of adding a classification head and retraining, instruction tuning preserves the model's original output space and generative capability. The OpenSFT in this paper further transfers this paradigm to non-textual continuous waveform data: first the radio signal is converted into discrete token sequences, and then the supervision signal is organized in an instruction format of "candidate list + select/abstain." The advantage is that abstention behavior naturally falls within the language model's native vocabulary space (outputting the UNKNOWN token), requiring no modification to the model architecture and no additional rejection classifier.

Native Likelihood Margin Scoring: Aligning Scales Across Modulation Families

Abstention supervision alone is not enough. Confidence scales differ greatly across modulation families, and without calibration the model may be overly sensitive to some families and overly conservative toward others.

OSCAL introduces native likelihood margin scoring, combined with predicted-class standardization based only on known classes. The margin score measures the likelihood difference between the candidate class and alternative classes, while the standardization step uses statistics from known classes to align margin scales across modulation families. This makes the abstention threshold comparable across different modulation types and reduces misjudgments caused by family differences.

This design also explains why the model remains robust across different open-set protocols: the scoring mechanism does not depend on the statistical properties of a particular split but standardizes based on the model's own likelihood structure.

Likelihood Margin refers to the difference in log-likelihood between the candidate class and alternative classes. Compared with directly using the model's absolute confidence for a certain class, the margin score focuses on "relative preference"—how much better the model considers the correct class than other candidates. This approach is insensitive to drift in the model's overall confidence scale, because the absolute likelihood may be uniformly high or low due to factors such as input length and token distribution, whereas the difference can offset this shift to some extent. Combined with standardization based on statistics of known classes (e.g., computing the mean and variance of margins per class and then normalizing), abstention thresholds become comparable across modulation families. This idea is often called "relative confidence calibration" in open-set recognition, and its advantage is that threshold setting can be completed without any unknown-class samples.

Experimental Validation: Cross-Protocol Robustness and Mechanism Analysis

The researchers conducted extensive experiments on four open-set protocols and 18 baselines. The results show that OSCAL exhibits strong robustness in cross-protocol scenarios, with no performance collapse under any particular split. This contrasts with baseline methods, which often perform well on one protocol but drop sharply on another.

Further mechanism analysis revealed several interesting phenomena. Language pretraining transforms partial list-based abstention from a "shortcut" into genuine unseen-class transfer capability. That is, the model does not simply learn the surface rule "output UNKNOWN if not present in the list," but leverages prior knowledge acquired from language pretraining to generalize abstention capability to truly unseen classes.

The analysis also characterizes how signal reconstruction, score standardization, and modulation proximity jointly affect rejection behavior. The quality of signal reconstruction affects the fidelity of token representations, score standardization determines the fairness of abstention thresholds, and modulation proximity explains why certain unknown classes are more easily misclassified as known ones—when an unknown modulation is close to a known modulation in feature space, rejection becomes harder.

Open-Set Protocol refers to a set of conventions in open-set recognition experiments for how to partition known and unknown classes and how to construct the test set. Different protocols may adopt different ways of partitioning known/unknown classes (e.g., by modulation family, random splits, by sample difficulty), and they also affect the degree of distribution difference between training and test sets. If a method performs well on one protocol but collapses on another, it suggests the method may have overfit to specific statistical characteristics of that protocol rather than truly learning abstention capability. Therefore, evaluating robustness across multiple open-set protocols is an important criterion for judging whether an open-set method is reliable. Comparing against 18 baselines on four protocols in this paper is precisely to test whether OSCAL has escaped dependence on a particular split.

Implications and Boundaries

The value of OSCAL lies in providing an abstention learning paradigm that does not depend on unknown-class samples. It does not try to make the model "imagine" what unknown categories look like; instead, by constructing candidate lists, it transforms open-set recognition into a conditional selection task. This idea also has reference value for other domains that need to reject unknown inputs—such as anomaly detection and open-set image classification.

Of course, the method still has its boundaries. The construction strategy of complementary candidate lists affects the quality of supervision signals, and the size and distribution of candidate subsets need careful design. In addition, the method relies on a frozen language model, and the quality of signal tokenization directly determines the upper limit. The paper's analysis also points out that modulation proximity remains one of the main challenges for rejection behavior; when unknown signals are highly similar to known signals in features, abstention judgment remains difficult.

Overall, this work demonstrates the transfer potential of pretrained language models in the field of continuous signal processing and provides an actionable solution path for the supervision gap problem in open-set recognition.

One-line Summary

OSCAL uses complementary candidate list instruction fine-tuning of a frozen language model to achieve open-set abstention for radio signals without unknown samples.

Paragraph Summary

This paper addresses the supervision gap problem in open-set radio signal recognition—where the training stage cannot access unknown-class samples, causing closed-set classifiers to be overconfident and unstable across data splits—and proposes the OSCAL framework. The method adapts a frozen pretrained language model to continuous waveforms via complementary candidate-conditioned instruction fine-tuning (OpenSFT): when the correct class appears in the candidate list, the model is supervised to select it; when omitted, it is supervised to output UNKNOWN, all within the language model's native vocabulary space. Combined with native likelihood margin scoring and known-class standardization, it aligns confidence scales across modulation families. Cross-protocol robustness is validated on four open-set protocols and 18 baselines, and mechanism analysis shows that language pretraining transforms list-based abstention from a shortcut into genuine unseen-class transfer capability.

#open-set recognition#radio signal recognition#instruction fine-tuning#pretrained language models#abstention learning#OSCAL
Share:

Related articles