Manuscript Offprint
arXiv:2610.34156ASR-Protected Fusion and Reference-Anchored Policy Optimization for Joint ASR and Word-Level Speech Anti-Spoofing
Abstract
Existing anti-spoofing systems report either an utterance-level score or a time-based spoof interval: the former cannot show which words are spoofed, while the latter does not directly match the transcript and must be post-aligned with words, so alignment errors can lead to wrong word-level labels. Standard ASR model outputs only text; spoof information in the audio is lost after recognition and is not passed with the transcript. Yet changing only a few words can change the meaning of a sentence, leaving downstream systems to use incorrect text without knowing which words are spoofed. We therefore treat partial anti-spoofing as tagged ASR: the model transcribes speech and marks spoofed words at the same time, directly linking spoof labels to output words. We adopt the audio LLM and use ASR-Protected Subspace Gated Fusion (APSGF) to fuse spoof cues with ASR features. Spoof cues are added only outside an ASR-protected subspace, so they do not disturb recognition features. After cross-entropy training, we fine-tune the model with Reference-Anchored Policy Optimization (RAPO). Since the SFT policy is already concentrated, multiple samples from the same input tend to receive similar rewards, resulting in weak group-wise advantages. RAPO instead generates a single sample with low sampling randomness and anchors its advantage to the reward of a reference model. This allows the model to reinforce responses that outperform the reference while suppressing those that underperform it. Experiments on five datasets demonstrate the effectiveness of our approach in jointly detecting spoofed words and preserving ASR accuracy. The code is publicly available .
1 Introduction
Speech deepfakes refer to synthetic or manipulated speech(Li et al., 2025; Yamagishi et al., 2021). Such manipulation may affect an entire utterance or only a small portion of it (Zhang et al., 2023, 2025b). In partially spoofed speech, an attacker can replace a few critical words while leaving the surrounding speech intact, potentially changing the meaning of an utterance while retaining much of its original acoustic context. An utterance-level detector can flag the presence of manipulation, but cannot identify which words are unreliable. This motivates fine-grained localization of manipulated content. Existing approaches localize manipulated speech through frame-level classification(Cai and Li, 2024), the detection of inconsistencies between neighboring frames, or manipulation-boundary detection Zhang et al. (2026). These methods produce predictions along the audio timeline. To identify unreliable words in a transcript, their temporal predictions must be mapped to recognized words using word-level timestamps. Errors in transcription or word-boundary estimation can affect the resulting word-level spoof labels. Jointly generating a transcript and its spoof labels offers a way to associate authenticity predictions directly with the recognized content.
Recent studies jointly generate ASR transcripts and word-level spoof labels (Tran et al., 2026; Zhang et al., 2026). This tagged ASR formulation attaches spoof predictions directly to recognized words, avoiding a separate temporal-to-word mapping at inference. It also carries authenticity information into the transcript, allowing downstream systems to identify potentially manipulated content when using the recognized text. However, joint generation alone does not ensure accurate transcription or reliable localization. Zhang et al. (2026) report transcription difficulties in some settings and sensitivity to dataset-specific editing patterns. We therefore investigate two questions: how can spoof-related acoustic features be incorporated while preserving representations useful for ASR, and how can the feedback on both tasks guide the optimiza-
https://anonymous.4open.science/r/asr_word_antispoofing_anon-38C6/ tion of their joint output?
The first question concerns feature fusion. ASR emphasizes linguistic and phonetic information, whereas spoof detection also requires acoustic evidence of synthesis or manipulation. An auxiliary spoof encoder can provide complementary cues, but directly mixing its features with pretrained ASR representations may interfere with information used for transcription. We propose ASR-Protected Subspace Gated Fusion (APSGF) to constrain this interaction. APSGF constructs a protected subspace from the leading singular directions of bona fide ASR features and restricts gated fusion to its orthogonal complement. This preserves the original feature within the selected subspace while allowing spoof-related information to enter through the remaining directions.
The second question concerns joint optimization. After supervised fine-tuning with token-level cross-entropy, we use a sequence-level reward that evaluates both transcription and spoof-label errors to guide further optimization. Group-based methods can provide weak learning signals when low-temperature samples receive similar rewards, while increasing sampling randomness may lead to undesirable policy updates. We propose Reference-Anchored Policy Optimization (RAPO), which samples one response per input and compares its reward with that of a greedy response from a frozen post-SFT model. The advantage reinforces responses that outperform the reference and suppresses those that underperform it, while KL regularization constrains policy drift. This provides joint reward guidance without relying on within-group reward differences.
We evaluate the framework on five public English speech datasets: VCTK(Yamagishi et al., 2019), PartialEdit(Zhang et al., 2025b), AV-Deepfake1M (Cai et al., 2024), SCDF (Staněk et al., 2025), and LlamaPartialSpoof (Luong et al., 2025). These datasets cover bona fide speech, partially manipulated speech, and fully synthetic speech, with LlamaPartialSpoof reserved for out-of-domain evaluation. We consider a two-task setting that jointly generates transcripts and word-level spoof tags, and a multi-task setting that additionally predicts the utterance-level spoof scope. The complete framework improves average ASR and word-level detection performance over the corresponding SFT baselines. Ablation studies examine the contributions of feature fusion and policy optimization under both in-domain and out-of-domain conditions. Our contributions are summarized as follows:
• We propose APSGF, which incorporates complementary spoof features through gated fusion in the orthogonal complement of a protected ASR feature subspace.
• We propose RAPO, which uses a frozen reference reward to guide transcription and spoof localization without group-wise sampling.
• We evaluate both components across five datasets and analyze their effects on transcription, word-level spoof detection, and out-of-domain generalization.
2.1 Word-level anti-spoofing and ASR
Research on partially spoofed speech has extended detection from utterance-level decisions to fine-grained localization. PartialSpoof (Zhang et al., 2023) studies manipulated segments embedded in genuine speech, with frame- or segment-level predictions. HoliAntiSpoof (Xu et al., 2026) generates information about spoof presence, type, temporal location, and semantic impact. Xue et al. (2026) formulate speech-editing analysis as structured generation of edit types and edited content. These outputs are not necessarily transcripts with authenticity labels attached to individual words.
Tran et al. (2026) fine-tune Whisper(Radford et al., 2023) to generate transcriptions and fake-word markers, while Zhang et al. (2026) investigate speech LLMs that produce transcripts with word-level spoof tags. Such outputs avoid a separate timestamp-to-word mapping at inference. However, Zhang et al. (2026) also report transcription difficulties and sensitivity to dataset-specific editing patterns. We build on tagged ASR to investigate complementary spoof features and joint reward feedback.
2.2 Feature Fusion and Subspace Constraints
Audio language models often combine multiple encoders to capture complementary properties of speech. SALMONN (Tang et al., 2024) combines Whisper and BEATs(Chen et al., 2023) features through a window-level Q-Former, while WavLLM
(Hu et al., 2024) uses Whisper and WavLM(Chen et al., 2022) to incorporate linguistic and speaker-related information. Other approaches adapt the encoder combination to the input or prompt. MoWE-Audio (Zhang et al., 2025a) augments a base encoder with selected lightweight encoders, and PaM (Shan et al., 2025) uses a prompt-aware mixture of audio encoders. These methods illustrate different strategies for selecting and integrating complementary representations.
Gated fusion controls the contribution of different representations. Gao et al. (2024) combine acoustic and ASR-derived semantic features using cross-attention and a temporal-aware gate for speech emotion recognition. Wang et al. (2025) apply gated fusion to Whisper encoder-layer features for multi-task speech learning. Subspace constraints and orthogonal projection can help preserve existing representations. GPM (Saha et al., 2021) protects important activation subspaces by constraining parameter updates to their orthogonal complements, while SOP (Cheng and Liu, 2026) restricts feature modifications to orthogonal directions to preserve visual context. In contrast, APSGF constrains spoof-feature fusion to the orthogonal complement of selected ASR representation directions.
2.3 Sequence Policy Optimization
Regardless of the pipeline, RL was found to be an essential step in improving LLM performance across tasks and domains (Guo et al., 2025) and better preserving the prior knowledge acquired during pre-training (Shenfeld et al., 2026). In RL, sequence generation can be optimized using several forms of feedback beyond token-level supervision. DPO (Rafailov et al., 2023) learns from preferred and rejected responses, while SimPO (Meng et al., 2024) uses length-normalized sequence log-probabilities in a reference-free preference objective. PPO (Schulman et al., 2017) estimates advantages using a learned value function. GRPO (Shao et al., 2024) instead uses relative rewards among responses sampled for the same input, and DAPO (Yu et al., 2026) develops this approach with decoupled clipping and dynamic sampling, differing in both their feedback and baseline construction.
On-policy distillation (Agarwal et al., 2024) provides token-level teacher guidance on responses sampled from the current policy. ReMax (Li et al., 2024) uses the reward of the current policy's greedy response as a baseline for a sampled response,

Figure 1: Overview of our framework for joint ASR and word-level spoof detection. ASR and spoof features from two frozen audio encoders are aligned and fused by APSGF, followed by unified transcript generation with spoof tags.
without group-wise sampling. RAPO instead uses the reward of a low-stochasticity response from a frozen post-SFT model, computed once before optimization. It evaluates sampled responses against a fixed reference rather than a baseline that changes with the current policy.
3 Method
3.1 Overall Framework Structure
As illustrated in Figure 1, our framework combines pretrained ASR features with auxiliary spoof-related features through APSGF, generates a transcript with word-level spoof tags, and is trained through supervised fine-tuning followed by RAPO.
Task Formulation. As shown in Figure 1, given a speech waveform , our goal is to generate its transcript while identifying spoofed words. The model produces a token sequence . Every detected spoofed word is enclosed by and , while a bona fide word is generated without these tags. Thus, transcription and word-level spoof detection are formulated as a unified sequence generation task.
Audio Feature Extraction. The input waveform x is processed by two audio encoders: the Qwen2.5-Omni (Xu et al., 2025) audio encoder and a spoof encoder . The spoof encoder is pretrained on the PartialSpoof dataset by the MultiReso (Zhang et al., 2023) method; it can extract frame-level spoof cues from the input audio
Get Protected Subspace

Figure 2: Overview of ASR-Protected Subspace Gated Fusion (APSGF). It first constructs a protected subspace and then performs gated fusion in the complementary subspace. denotes the Hadamard product, and + denotes element-wise addition.
waveform. The input waveform is converted into a log-mel spectrogram before being fed into the Qwen2.5-Omni audio encoder, while the spoof encoder directly takes the input waveform.
The Qwen2.5-Omni audio encoder provides the pretrained audio representation for the LLM, while the spoof encoder provides complementary spoof-related acoustic information. Here, and denote the temporal lengths of the two feature sequences, while and denote their feature dimensions. Since the two encoders use different temporal resolutions, we align to the Omni audio-token positions as follows:
This alignment only matches the temporal resolutions of the two feature streams; it does not require word timestamps or map spoof predictions to transcript words. We divide into N temporal segments, where N is the number of Qwen2.5-Omni audio tokens. We then use integer-truncated boundaries and average each segment to obtain token-aligned features .
Feature Fusion and Generation. We fuse the aligned features using APSGF as defined in Eq. (4). The fusion mechanism is detailed in Section 3.2.
We then feed the fused representation into the language model to generate the tagged transcript. Given and a text prompt , the output sequence is generated as follows:
where denotes the token generated at step t. The output sequence contains both the transcript and word-level spoof tags.
The model is trained in two stages. We first perform Supervised Fine-Tuning (SFT) using the target transcription and spoof tags. We then apply Reference-Anchored Policy Optimization (RAPO) to further optimize the generation behavior. The detailed design of RAPO is described in Section 3.3.
3.2 ASR-Protected Subspace Gated Fusion
ASR-Protected Subspace Gated Fusion (APSGF) first constructs a protected subspace V in the Omni representation and then injects spoof information only into its remaining orthogonal complement B. Because , fusion leaves the projection onto the selected protected subspace unchanged. For simplicity, we describe APSGF for a single temporal position; the same operation is applied independently to all T positions.
Get Protected Subspace. As shown in the upper part of Figure 2, given a set of bona fide utterances from the VCTK(Yamagishi et al., 2019) training set, we extract their audio features from the Omni audio encoder and collect the resulting feature vectors into a matrix , where M is the number of collected feature vectors and H is the feature dimension. We compute the Singular Value Decomposition as follows:
where contains the singular values , and the columns of are the corresponding right singular vectors. We define the protected basis as follows:
which consists of the first right singular vectors and captures the largest variance in the bona fide Omni features. We then compute an orthonormal basis of its orthogonal complement as follows:
Thus, the subspace spanned by the rows of V is the protected subspace, while the subspace spanned by the columns of B contains the remaining directions where spoof information can be injected.
Mapping Spoof Features to the Complement. As shown in the lower part of Figure 2, the spoof features have a different dimension from the Omni features . Therefore, they cannot be directly represented in the H-dimensional Omni space or projected onto B. Instead, we use a two-layer MLP to map the spoof features into the coordinate space of the complementary subspace as follows:
For the Omni features, their coordinates in the same subspace are obtained as follows:
Thus, and are in the same complementary coordinate space and can be fused directly.
Gated Fusion. We predict two gates from the Omni and spoof features as follows:
where , and and have independent parameters. The gate controls how much of the Omni features is retained in the complementary subspace, while controls the amount of spoof information injected into the same subspace. The fused representation is given as follows:
where denotes the Hadamard product, and + denotes element-wise addition.
The final features input into the LLM is . This formulation preserves the components of the original Omni representation in the protected subspace while allowing both representations to be adaptively fused in span(B). To preserve the original Omni representation at the beginning of training, we initialize the last layer of the spoof MLP to zero and set the bias of the Omni gate such that . Thus, the initial fused representation satisfies , and APSGF starts from the original Omni representation.
3.3 Reference-Anchored Policy Optimization
For each training example , we sample a single completion from the current policy .
We first remove the spoof tags and use JiWER to align the reference and predicted transcripts at the word level and compute WERasr. We then assign binary spoof labels to words based on the tags and define WERspoof as the proportion of alignment steps with mismatched spoof labels. We evaluate each completion using the sentence-level reward as follows:
We use the post-cross-entropy model as a frozen reference policy . Before policy optimization, we generate a greedy completion for each training example and precompute its reward . The reference reward remains fixed throughout training. For each sampled completion y, we define the reference-anchored advantage as follows:
Let L denote the number of tokens in the completion y. We optimize the completion by the length-normalized sequence log-probability as follows:
yielding the policy-gradient loss as follows:
A positive advantage reinforces the sampled completion, whereas a negative advantage suppresses it. Moreover we use Kullback–Leibler divergence regularization to constrain policy updates. The final loss is as follows:
We update by minimizing L.
4 Experiments and Results
4.1 Experimental Setup
Datasets We use four English datasets for training: the training set of VCTK(Yamagishi et al., 2019), PartialEdit(Zhang et al., 2025b), AV-Deepfake1M(Cai et al., 2024), and SCDF(Staněk
https://jitsi.github.io/jiwer et al., 2025), with more than 330,000 utterances in total. VCTK provides bona fide speech, while PartialEdit and AV-Deepfake1M provide word-level partial spoofing speech. SCDF provides fully synthetic speech.
We include bona fide VCTK speech to reduce the risk of learning speaker- or content-dependent spoofing cues, as VCTK speakers and read-speech texts have been widely used as source material for synthetic speech generation and spoofing datasets(Staněk et al., 2026). In PartialEdit and AV-Deepfake1M, an LLM selects specific semantic words for replacement to generate partial spoofing speech. This design may introduce semantic shortcuts that allow the model to associate certain words with spoofing. To reduce this risk, we include fully synthetic speech from SCDF to diversify the relationship between lexical content and spoof labels, with the aim of reducing reliance on word-specific editing patterns.
For evaluation, we use the eval sets of VCTK, PartialEdit, AV-Deepfake1M, SCDF, and Llama-PartialSpoof(Luong et al., 2025). LlamaPartialSpoof is reserved for out-of-domain evaluation. LlamaPartialSpoof contains more than 30,000 utterances, with partial edits generated by six TTS systems. This provides a broader evaluation of generalization to unseen partial-spoofing conditions. Detailed dataset split and statistics are given in Appendix A.
Data Processing All audio is converted to mono and resampled to 16 kHz. Utterances longer than 40 s are truncated to the first 40 s, and the reference transcripts are truncated to the corresponding leading portion while preserving the spoof labels. We apply RawBoost(Tak et al., 2022) for waveform augmentation during training. During ASR-Protected Subspace Gated Fusion, we retain the leading singular vectors whose cumulative explained variance reaches 0.95, which gives , to construct the ASR-protected subspace.
Training Training consists of two stages: supervised fine-tuning (SFT) and reinforcement learning (RL). We use AdamW with , , and weight decay 0.01. The audio encoder is frozen during training, while the language model is updated using DoRA(Liu et al., 2024). DoRA is applied with rank 64, , and dropout 0.05. During feature fusion, both gating networks remain trainable and are updated jointly with the language model. SFT is performed for 5 epochs with token-level cross-entropy loss. The learning rate is with a cosine decay schedule and a warmup ratio of 0.05. RL is initialized from the epoch-5 SFT checkpoint with a fresh AdamW optimizer state. The learning rate is with a cosine decay schedule and a warmup ratio of 0.03. Training is performed for 1 epoch. Temperature is set to 0.5, top-p is 0.95, and top-k is 50. The low temperature and truncated candidate set keep the sample close to greedy decoding while leaving a small amount of stochasticity.
We consider two training settings. The two-task setting jointly performs ASR and word-level spoof detection, where spoofed words are marked with <TOF> and <EOF>. The multi-task setting additionally predicts the utterance-level spoof scope, namely none, partial, or all, before generating the tagged transcript. The detailed training prompts are provided in Appendix B.
Evaluation Metrics We evaluate the performance of ASR, word-level spoof detection, and utterance-level spoof detection. JiWER is used to align words from the reference and the hypothesis based on Levenshtein distance. A word is considered correct when the reference and prediction have the same spoof-tag wrapping, and incorrect otherwise. For ASR, we report corpus-level Word Error Rate (WER). For word-level spoof detection, we report macro WordF1, calculated as the average of the F1 scores for the spoof and non-spoof classes. For utterance-level spoof detection, we report classification accuracy over the three spoof scopes: none, partial, and all. In the multi-task setting, the spoof scope is directly predicted by the model. In the two-task setting, the spoof scope is inferred from the predicted word-level spoof tags. WordF1 is not reported on VCTK because it contains no spoofed words.
4.2 Experimental Results
Comparative experiment We compare two variants of our model with three open-source models. SLM-A is from Zhang et al. (2026), which uses a WavLM-based speech encoder(Chen et al., 2022) and TinyLlama(Zhang et al., 2024) to jointly transcribe speech and localize fake words, trained separately on the training splits of PartialEdit and AV-Deepfake1M. HoliAS is HoliAntiSpoof(Xu et al., 2026). It predicts whether an utterance is real or fake, the spoofing method, the fake region,
https://jitsi.github.io/jiwer/
Table 1: Comparison of different methods for word-level spoof detection on AV-Deepfake1M (AV), PartialEdit (PE), SCDF (SC), VCTK (VC), and LlamaPartialSpoof (LPS). Each entry is WER↓ / WordF1↑. The Avg. column is the five-set mean of WER and the four-set mean of WordF1.
| Models | AV | PE | SC | VC | LPS | Avg. |
|---|---|---|---|---|---|---|
| SLM-A | 0.116/0.947 | 0.629/0.541 | ——/—— | ——/—— | ——/—— | 0.373/0.744 |
| HoliAS | ——/0.210 | ——/0.827 | ——/0.222 | ——/—— | ——/0.254 | ——/0.378 |
| W_TTS* | 0.159/0.131 | 0.050/0.287 | 0.214/0.884 | 0.032/—— | 0.067/0.886 | 0.104/0.547 |
| W_VT | 0.141/0.223 | 0.043/0.321 | 0.218/0.746 | 0.023/—— | 0.068/0.884 | 0.099/0.543 |
| Ours_T | 0.081/0.969 | 0.032/0.853 | 0.114/0.934 | 0.010/—— | 0.110/0.838 | 0.069/0.898 |
| Ours_M | 0.065/0.975 | 0.024/0.907 | 0.089/0.964 | 0.004/—— | 0.086/0.759 | 0.054/0.901 |
*Finetuned on LlamaPartialSpoof.
Table 2: Comparison of different methods for utterance-level spoof scope classification on AV-Deepfake1M (AV), PartialEdit (PE), SCDF (SC), VCTK (VC), and LlamaPartialSpoof (LPS). Each entry denotes the utterance-level classification accuracy (U-ACC↑), and the Avg. reports the average across the five datasets.
| Models | AV | PE | SC | VC | LPS | Avg. |
|---|---|---|---|---|---|---|
| HoliAS | 0.666 | 0.981 | 0.866 | 0.866 | 0.615 | 0.799 |
| W_TTS | 0.859 | 0.269 | 0.688 | 0.004 | 0.947 | 0.553 |
| W_VT | 0.888 | 0.568 | 0.403 | 0.561 | 0.946 | 0.673 |
| Ours_T | 0.960 | 0.811 | 0.904 | 0.993 | 0.454 | 0.824 |
| Ours_M | 1.000 | 0.974 | 0.983 | 1.000 | 0.805 | 0.952 |
and a natural-language description of the semantic influence, rather than a transcript, so WER is left blank. But we can capture the detected spoof words in its semantic influence sentence to compute the WordF1. Following the training setup of HoliAntiSpoof, among the five evaluation sets, PartialEdit and VCTK are in-domain. AV-Deepfake1M, SCDF, and LlamaPartialSpoof are out-of-domain. W_TTS (Tran et al., 2026) is Whisper-large (Radford et al., 2023) fine-tuned for next-token word detection on LlamaPartialSpoof. LlamaPartialSpoof is therefore in-domain for W_TTS, and the other four sets are out-of-domain. W_VT is Whisper-large fine-tuned on vocoded Multilingual LibriSpeech mixed with TTS spoofs. None of the five evaluation sets is in our training mixture. Ours_T is the two-task model and Ours_M is the multi-task model. Both are trained on AV-Deepfake1M, PartialEdit, SCDF, and VCTK, so LlamaPartialSpoof is out-of-domain.
Table 1 compares different methods for word-level spoof detection. W_TTS achieves 0.886 WordF1 on the in-domain LlamaPartialSpoof set but drops to 0.131–0.287 on the OOD datasets. Similarly, HoliAS reaches 0.827 WordF1 on the in-domain PartialEdit set but drops to 0.210–0.254 on the OOD datasets. Our models achieve strong average performance across the five evaluation sets. However, multi-task training does not consistently improve out-of-domain word-level detection; it decreases from 0.838 for the two-task model to 0.759 for the multi-task model. One possible explanation is that scope prediction errors affect subsequent word tags, although this requires further analysis. On VCTK, Ours_M achieves a very low WER of 0.004. This low WER should be interpreted with caution given the repeated text in VCTK and its overlap with existing spoofing corpora.
Table 2 compares different methods for utterance-level spoof scope classification. Ours_M achieves the best average U-ACC of 0.952, with near-perfect accuracy on the in-domain datasets and 0.805 on the OOD LlamaPartialSpoof. In contrast, Ours_T averages 0.824 and drops to 0.454 on LlamaPartialSpoof, showing the benefit of directly predicting the spoof scope in the multi-task setting. Among the baselines, HoliAS achieves 0.799 on average, while W_VT and W_TTS reach only 0.673 and 0.553. Notably, HoliAS obtains 0.866 U-ACC on SCDF despite a WordF1 of only 0.222, indicating that correct utterance-level scope prediction does not guarantee accurate word-level localization. On PartialEdit, W_TTS achieves a low WER of 0.050 but a WordF1 of only 0.287, illustrating that accurate transcription alone does not ensure reliable spoof localization.
Ablation Study Table 3 presents the ablation results of APSGF and RAPO. Compared with the baseline, APSGF reduces the average WER from 0.069 to 0.058 and improves the average WordF1
Table 3: Ablation of the APSGF and RAPO under the multi-task settings on AV-Deepfake1M (AV), PartialEdit (PE), SCDF (SC), VCTK (VC), and LlamaPartialSpoof (LPS). Each entry is WER↓ / WordF1↑. The Avg. column is the five-set mean of WER and the four-set mean of WordF1.
| APSGF | RAPO | AV | PE | SC | VC | LPS | Avg. |
|---|---|---|---|---|---|---|---|
| ✕ | ✕ | 0.086/0.967 | 0.026/0.873 | 0.136/0.938 | 0.007/— | 0.088/0.720 | 0.069/0.874 |
| ✓ | ✕ | 0.061/0.977 | 0.033/0.907 | 0.096/0.961 | 0.006/— | 0.093/0.719 | 0.058/0.891 |
| ✕ | ✓ | 0.072/0.976 | 0.026/0.905 | 0.093/0.962 | 0.007/— | 0.086/0.760 | 0.057/0.901 |
| ✓ | ✓ | 0.065/0.975 | 0.024/0.907 | 0.089/0.964 | 0.004/— | 0.086/0.759 | 0.054/0.901 |
Table 4: Comparison of APSGF and RAPO with alternative optimization methods under the multi-task setting on AV-Deepfake1M (AV), PartialEdit (PE), SCDF (SC), VCTK (VC), and LlamaPartialSpoof (LPS). Each entry is WER↓ / WordF1↑. The Avg. column reports the five-dataset mean of WER and the four-dataset mean of WordF1.
| Exp. No. | Method | AV | PE | SC | VC | LPS | Avg. |
|---|---|---|---|---|---|---|---|
| 0 | Base | 0.086/0.967 | 0.026/0.873 | 0.136/0.938 | 0.007/— | 0.088/0.720 | 0.069/0.874 |
| 1 | Aux. Enc. | 0.077/0.972 | 0.025/0.873 | 0.137/0.951 | 0.006/— | 0.081/0.726 | 0.065/0.880 |
| 2 | APSGF | 0.061/0.977 | 0.033/0.907 | 0.096/0.961 | 0.006/— | 0.093/0.719 | 0.058/0.891 |
| 3 | +GRPO | 0.084/0.969 | 0.025/0.901 | 0.139/0.901 | 0.008/— | 0.086/0.717 | 0.068/0.872 |
| 4 | +RAPO | 0.065/0.975 | 0.024/0.907 | 0.089/0.964 | 0.004/— | 0.086/0.759 | 0.054/0.901 |
from 0.874 to 0.891. This shows that APSGF integrates spoof features while preserving ASR performance. RAPO alone further improves the average WordF1 to 0.901. Combining both modules achieves the lowest average WER of 0.054 while maintaining a WordF1 of 0.901. These results show APSGF and RAPO improve transcription accuracy while maintaining strong word-level spoof detection performance.
Table 4 compares the auxiliary encoder, APSGF, and different policy optimization methods. Exp. No. 0 is the baseline without an auxiliary encoder, APSGF, or RAPO. Exp. No. 1 adds an auxiliary encoder with simple gated fusion, using the same number of gates as APSGF but without ASR protection. It reduces the average WER from 0.069 to 0.065, showing the value of additional acoustic features. Exp. No. 2 uses APSGF and further reduces the average WER to 0.058 while improving WordF1 to 0.891. This comparison shows that APSGF's gains come not only from the auxiliary feature extractor but also from its ASR-protected subspace fusion mechanism. Exp. No. 3 and 4 apply GRPO and RAPO, respectively, on top of APSGF. Compared with GRPO, RAPO reduces the average WER from 0.068 to 0.054 and improves WordF1 from 0.872 to 0.901, while GRPO brings no clear overall improvement. These results sug- gest that RAPO is more effective than GRPO for further optimizing an SFT-initialized policy. Details of fusion of the auxiliary encoder, GRPO, and model sizes are provided in Appendices C, D, and E, respectively.
5 Conclusion and Discussion
We explored tagged ASR for joint ASR and word-level speech anti-spoofing. APSGF incorporates spoof cues while preserving ASR representations, and RAPO provides stable policy optimization anchored to the post-SFT model. Experiments on five datasets demonstrate improvements in average ASR and word-level spoof detection performance. However, the results on LlamaPartialSpoof indicate that further improvements in out-of-domain word-level detection remain challenging. Ablations show complementary gains from the auxiliary encoder, APSGF, and RAPO in spoof representation, localization, and transcription.
The framework can extend to other acoustic-semantic tasks, such as speech understanding and fine-grained audio analysis. RAPO may also benefit tasks where the model changes little after SFT, using the reference output as a stable optimization anchor. Together, these methods offer a way to add acoustic objectives to well-trained audio-language models while preserving their existing capabilities.
Limitations
Our study has several limitations. First, we evaluate the proposed framework only on word-level speech anti-spoofing and do not validate its applicability to other acoustic-semantic tasks. Second, experiments are conducted with a single audio-language model, so the generality of APSGF and RAPO across different model architectures remains unclear. Third, the current tagged ASR formulation mainly identifies spoofed words and cannot detect deletion-based edits. Finally, the experiments use limited hyperparameter tuning, and further optimization may lead to additional gains.
6 Ethical Considerations
The datasets used in this work are publicly available and are used in accordance with their licenses and terms. Large Language Models (LLMs) were used solely for manuscript polishing to improve clarity and readability. The LLMs were not used for ideation, methodology, experimental design, data analysis, or result interpretation. All scientific content was produced and verified by the authors.
References
Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos Garea, Matthieu Geist, and Olivier Bachem. 2024. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, volume 2024, pages 21246–21263.
Zexin Cai and Ming Li. 2024. Integrating frame-level boundary detection and deepfake detection for locating manipulated regions in partially spoofed audio forgery attacks. Computer Speech & Language, 85:101597.
Zhixi Cai, Shreya Ghosh, Aman Pankaj Adatia, Munawar Hayat, Abhinav Dhall, Tom Gedeon, and Kalin Stefanov. 2024. Av-deepfake1m: A large-scale llm-driven audio-visual deepfake dataset. In ACM International Conference on Multimedia, pages 7414–7423.
Sanyuan Chen, Chengyi Wang, Zhengyang Chen, Yu Wu, Shujie Liu, Zhuo Chen, Jinyu Li, Naoyuki Kanda, Takuya Yoshioka, Xiong Xiao, et al. 2022. Wavlm: Large-scale self-supervised pre-training for full stack speech processing. IEEE Journal of Selected Topics in Signal Processing, 16(6):1505–1518.
Sanyuan Chen, Yu Wu, Chengyi Wang, Shujie Liu, Daniel Tompkins, Zhuo Chen, Wanxiang Che, Xiangzhan Yu, and Furu Wei. 2023. BEATs: Audio pre-training with acoustic tokenizers. In Proceedings
of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 5178–5193.
Su Cheng and Guoyang Liu. 2026. Sop: Selective orthogonal projection for composed image retrieval. Sensors, 26(5).
Yuan Gao, Hao Shi, Chenhui Chu, and Tatsuya Kawahara. 2024. Speech emotion recognition with multilevel acoustic and semantic information extraction and interaction. In Interspeech, pages 1060–1064.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. 2025. Deepseek-r1 incentivizes reasoning in llms through reinforcement learning. Nature, 645(8081):633–638.
Shujie Hu, Long Zhou, Shujie Liu, Sanyuan Chen, Lingwei Meng, Hongkun Hao, Jing Pan, Xunying Liu, Jinyu Li, Sunit Sivasankaran, Linquan Liu, and Furu Wei. 2024. WavLLM: Towards robust and adaptive speech large language model. In Findings of Empirical Methods in Natural Language Processing, pages 4552–4572.
Menglu Li, Yasaman Ahmadiadli, and Xiao-Ping Zhang. 2025. A survey on speech deepfake detection. ACM Computing Surveys, 57(7):1–38.
Ziniu Li, Tian Xu, Yushun Zhang, Zhihang Lin, Yang Yu, Ruoyu Sun, and Zhi-Quan Luo. 2024. ReMax: A simple, effective, and efficient reinforcement learning method for aligning large language models. In International Conference on Machine Learning, volume 235, pages 29128–29163.
Shih-Yang Liu, Chien-Yi Wang, Hongxu Yin, Pavlo Molchanov, Yu-Chiang Frank Wang, Kwang-Ting Cheng, and Min-Hung Chen. 2024. Dora: weight-decomposed low-rank adaptation. In International Conference on Machine Learning, volume 235, pages 32100–32121.
Hieu-Thi Luong, Haoyang Li, Lin Zhang, Kong Aik Lee, and Eng Siong Chng. 2025. Llamapartialspoof: An llm-driven fake speech dataset simulating disinformation generation. In IEEE International Conference on Acoustics, Speech and Signal Processing, pages 1–5.
Yu Meng, Mengzhou Xia, and Danqi Chen. 2024. Simpo: Simple preference optimization with a reference-free reward. Advances in Neural Information Processing Systems, 37:124198–124235.
Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. 2023. Robust speech recognition via large-scale weak supervision. In International Conference on Machine Learning, pages 28492–28518.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems, 36:53728–53741.
Gobinda Saha, Isha Garg, and Kaushik Roy. 2021. Gradient projection memory for continual learning. In International Conference on Learning Representations.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.
Weiqiao Shan, Yuang Li, Yuhao Zhang, Yingfeng Luo, Chen Xu, Xiaofeng Zhao, Long Meng, Yunfei Lu, Min Zhang, Hao Yang, Tong Xiao, and JingBo Zhu. 2025. Enhancing speech large language models with prompt-aware mixture of audio encoders. In Empirical Methods in Natural Language Processing, pages 19305–19320.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Idan Shenfeld, Jyothish Pari, and Pulkit Agrawal. 2026. RI's razor: Why online reinforcement learning forgets less. In International Conference on Learning Representations, volume 2026, pages 59839–59864.
Vojtěch Staněk, Karel Srna, Anton Firc, and Kamil Malinka. 2025. Scdf: A speaker characteristics deepfake speech dataset for bias analysis. In International Conference of the Biometrics Special Interest Group, pages 1–6.
Vojtěch Staněk, Eva Trnovská, Kamil Malinka, and Anton Firc. 2026. Ethical and Technical Limits of Deepfake Speech Datasets. In Interspeech, pages 2340–2345.
Hemlata Tak, Madhu Kamble, Jose Patino, Massimiliano Todisco, and Nicholas Evans. 2022. Rawboost: A raw data boosting and augmentation method applied to automatic speaker verification anti-spoofing. In IEEE International Conference on Acoustics, Speech and Signal Processing, pages 6382–6386.
Changli Tang, Wenyi Yu, Guangzhi Sun, Xianzhao Chen, Tian Tan, Wei Li, Lu Lu, Zejun Ma, and Chao Zhang. 2024. Salmonn: Towards generic hearing abilities for large language models. In International Conference on Learning Representations, volume 2024, pages 16607–16629.
Hoan My Tran, Xin Wang, Wanying Ge, Xuechen Liu, and Junichi Yamagishi. 2026. Deepfake Word Detection by Next-token Prediction using Fine-tuned Whisper. In Interspeech, pages 1042–1046.
Guitao Wang, Jinming Zhao, Hao Yang, Guilin Qi, Tongtong Wu, and Gholamreza Haffari. 2025. Continual Speech Learning with Fused Speech Features. In Interspeech, pages 1793–1797.
Jin Xu, Zhifang Guo, Jinzheng He, Hangrui Hu, Ting He, Shuai Bai, Keqin Chen, Jialin Wang, Yang Fan, Kai Dang, Bin Zhang, Xiong Wang, Yunfei Chu, and Junyang Lin. 2025. Qwen2.5-omni technical report. Preprint, arXiv:2503.20215.
Xuenan Xu, Yiming Ren, Liwei Liu, Wen Wu, Baoxiang Li, Chaochao Lu, Shuai Wang, and Chao Zhang. 2026. Holiantispoof: Audio llm for holistic speech anti-spoofing. arXiv preprint arXiv:2602.04535.
Jun Xue, Yi Chai, Yanzhen Ren, Jinshen He, Zhiqiang Tang, Zhuolin Yi, Yihuan Huang, Yuankun Xie, and Yujie Chen. 2026. Unifying speech editing detection and content localization via prior-enhanced audio llms. arXiv preprint arXiv:2601.21463.
Junichi Yamagishi, Christophe Veaux, and Kirsten MacDonald. 2019. CSTR VCTK corpus: English multi-speaker corpus for CSTR voice cloning toolkit.
Junichi Yamagishi, Xin Wang, Massimiliano Todisco, Md Sahidullah, Jose Patino, Andreas Nautsch, Xuechen Liu, Kong Aik Lee, Tomi Kinnunen, Nicholas Evans, et al. 2021. Asvspoof 2021: accelerating progress in spoofed and deepfake speech detection. arXiv preprint arXiv:2109.00537.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. 2026. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38:113222–113244.
Lin Zhang, Thomas Thebaud, Zexin Cai, Sanjeev Khusdanpur, Daniel Povey, Leibny Paola García-Perera, Matthew Wiesner, and Nicholas Andrews. 2026. Can llms help localize fake words in partially fake speech? arXiv preprint arXiv:2603.11205.
Lin Zhang, Xin Wang, Erica Cooper, Nicholas Evans, and Junichi Yamagishi. 2023. The partialspoof database and countermeasures for the detection of short fake speech segments embedded in an utterance. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 31:813–825.
Peiyuan Zhang, Guangtao Zeng, Tianduo Wang, and Wei Lu. 2024. Tinyllama: An open-source small language model. Preprint, arXiv:2401.02385.
Wenyu Zhang, Shuo Sun, Bin Wang, Xunlong Zou, Zhuohan Liu, Yingxu He, Geyu Lin, Nancy F Chen, and Ai Ti Aw. 2025a. Mowe-audio: Multitask audiollms with mixture of weak encoders. In IEEE International Conference on Acoustics, Speech and Signal Processing, pages 1–5.
You Zhang, Baotong Tian, Lin Zhang, and Zhiyao Duan. 2025b. PartialEdit: Identifying Partial Deepfakes in the Era of Neural Speech Editing. In Interspeech, pages 5353–5357.
Table 5: Statistics of the training and evaluation datasets. “Partial” and “Full” denote partially and fully spoofed utterances, respectively.
| Dataset | Sub Set | Split | # Utt. | Bona fide | Partial | Full | Role |
|---|---|---|---|---|---|---|---|
| VCTK | Full | Train | 76,849 | 76,849 | – | – | Training |
| PartialEdit | E1, E2 | Train | 16,524 | – | 16,524 | – | Training |
| AV-Deepfake1M | Fake audio | Train | 199,895 | – | 199,895 | – | Training |
| SCDF | EN | 4/5 | 37,960 | – | – | 37,960 | Training |
| VCTK | Full | Val. | 4,028 | 4,028 | – | – | Evaluation |
| PartialEdit | E1, E2 | Eval | 55,976 | – | 55,976 | – | Evaluation |
| AV-Deepfake1M | Fake audio | Val | 27,837 | – | 27,837 | – | Evaluation |
| SCDF | EN | 1/5 | 9,490 | – | – | 9,490 | Evaluation |
| LlamaPartialSpoof | R01TTS.0.b | Dev | 32,194 | – | 32,194 | – | Evaluation-OOD |
A Dataset Details
Table 5 summarizes the datasets used for training and evaluation. We use only English data with available transcriptions; therefore, only a subset of some datasets is included. For VCTK, we use the data and splits provided in the public Hugging Face repository. For PartialEdit, we use only the publicly available E1 and E2 subsets. For AV-Deepfake1M, we select only audio samples containing speech deepfakes. Since SCDF does not provide official training and test splits, we randomly assign four-fifths of the data to training and the remaining one-fifth to testing. The training set comprises VCTK, PartialEdit, AV-Deepfake1M, and SCDF, covering bona fide, partially spoofed, and fully spoofed utterances. For evaluation, we use the corresponding held-out splits, while the R01TTS.0.b subset of LlamaPartialSpoof serves as the out-of-domain (OOD) test set.
B Training Prompts
B.1 Two-Task Setting
Prompt.
Transcribe the audio and identify which words are spoofed. Wrap spoofed words with <TOF> and <EOF>. Only wrap spoofed words. Do not explain. If none, output plain transcription.
Reference answers.
none: Please call Stella.
partial: Please <TOF>ignore<EOF> Stella.
all: <TOF>Please<EOF> <TOF>ignore<EOF>
<TOF>Stella<EOF>.
https://huggingface.co/datasets/badayvedat/VCTK

Figure 3: Overview of Additional Spoof Encoder Gate Fusion Details. Two independent gates control the contributions of Omni and spoof features. The gated features are then added across the full Omni feature space to obtain the fused representation.
B.2 Multi-Task Setting
Prompt.
Classify the audio's spoof level. Then transcribe the audio and identify which words are spoofed. Wrap spoofed words with <TOF> and <EOF>.
Reference answers.
none:
Spoof level: none
Transcript: Please call Stella.
partial:
Spoof level: partial
Transcript: Please <TOF>ignore<EOF> Stella.
all:
Spoof level: all
Transcript: <TOF>Please<EOF> <TOF>ignore
<EOF> <TOF>Stella<EOF>.
C Auxiliary Spoof Encoder Gate Fusion Details
As a baseline for comparison, we replace APSGF with a simple gated fusion mechanism. As shown in 3, the aligned spoof features re denoted by and the Omni features by . At each temporal position , we first map the spoof feature to the Omni feature dimension using an MLP:
We then predict two independent gates from the concatenated Omni and spoof features:
where . The two gating networks have independent parameters. The gate controls the contribution of the Omni features, while controls the contribution of the projected spoof features.
The fused feature at position is computed as
The final representation for the entire utterance is obtained by concatenating the fused features across all temporal positions:
To initialize the model with the original Omni representations, we initialize the final layer of to zero and set the bias of the Omni gate such that . Consequently, the initial fused representation satisfies .
Compared with APSGF, this baseline retains the same dual-gate fusion mechanism but removes the ASR-protected subspace constraint, allowing both Omni and spoof features to be adaptively fused across the full Omni feature space. This comparison isolates the effect of subspace protection on joint ASR and word-level spoof detection.
D GRPO Implementation Details
GRPO is initialized from the epoch-5 SFT checkpoint with a fresh AdamW optimizer state. The learning rate is , with a cosine decay schedule and a warmup ratio of 0.03. Training is performed for one epoch.
Table 6: Parameter counts of the ablation models. Total parameters include all instantiated model parameters, while trainable parameters include the DoRA weights and their associated modules.
| APSGF | RAPO | Total (M) | Trainable (M) |
|---|---|---|---|
| ✕ | ✕ | 4731.7 | 28.2 |
| ✓ | ✕ | 5065.5 | 46.6 |
| ✕ | ✓ | 4731.7 | 28.2 |
| ✓ | ✓ | 5065.5 | 46.6 |
For each prompt, GRPO samples 8 responses. The sampling temperature is 0.90, with top- set to 0.95 and top- set to 50. The maximum generation length is 1024 tokens. GRPO uses the same reward function and KL regularization settings as RAPO, with a KL coefficient of 0.04. The remaining GRPO-specific settings follow the configuration used in our experiments.
E Parameter Counts of Ablation Models
Table 6 reports the total and trainable parameter counts of the ablation models. The total count includes all instantiated parameters, including the frozen Qwen2.5-Omni Thinker and the additional frozen Wav2Vec2-XLS-R-300M encoder where applicable. Trainable parameters comprise the DoRA weights and their associated modules. RAPO introduces no additional model parameters. APSGF increases the parameter count by introducing an auxiliary feature extractor and additional gating networks for feature fusion.