arXiv:2610.34156cs.SDOct 2026

Manuscript Offprint

arXiv:2610.34156

ASR-Protected Fusion and Reference-Anchored Policy Optimization for Joint ASR and Word-Level Speech Anti-Spoofing

Xueping Zhang, Xiaoxiao Miao, Tiantian Feng, Ming Li

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^{1}.

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-

1^{1}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.

References (20)