betaFeedback

WorksComputer Science

Cif-query bridging for audio-native asr transfer to visual speech recognition

Abstract

Audio-native automatic speech recognition (ASR) models provide strong speech-language priors, but their compact acoustic interfaces are mismatched with long, frame-level visual features. We propose CIF-Query Bridge, a lightweight connection from a Paraformer visual speech recognition (VSR) encoder to Qwen3-ASR. The existing visual continuous integrate-and-fire (CIF) predictor produces an input-dependent number of token-rate queries; a two-layer cross-attention bridge refines them against the complete frame sequence, and a linear adapter feeds the pretrained ASR projector and decoder. This design preserves access to uncompressed visual context while avoiding direct autoregressive processing of hundreds of video frames. On CMLR, the complete visual-only transfer system achieves 7.97% character error rate, compared with 11.78% for native Paraformer under the same test split and scoring protocol—a 3.81-point absolute and 32.3% relative reduction. Controlled ablations characterize bridge depth, projector initialization, adapter capacity, and CTC supervision. The results show that CIF-derived adaptive queries provide a compact interface for transferring audio-native ASR capability to VSR.

Introduction

Visual speech recognition (VSR), also known as lip reading, transcribes speech from visible mouth motion alone. It is valuable when audio is unavailable or corrupted and for silent or privacy-sensitive interaction. VSR is nevertheless intrinsically ambiguous: distinct phonemes can share similar visemes, while coarticulation makes a visual unit dependent on surrounding context. Early end-to-end systems such as LipNet demonstrated joint visual feature extraction and sentence prediction [1]. Mandarin presents an additional challenge because visually similar pronunciations can correspond to different characters and meanings. CMLR was introduced to study this large-vocabulary, sentence-level setting [2].

Recent VSR advances combine stronger sequence modeling, multimodal pretraining, and data scaling. Conformers established strong supervised baselines [3]; AV-HuBERT learns masked audio-visual units [4]; VATLM unifies visual, audio, and text pretraining [5]; RAVEn transfers raw audio-video supervision [6]; and Auto-AVSR scales training with automatic transcripts [7]. These methods learn strong visual encoders, but their task-specific decoders provide less linguistic capacity for resolving visual ambiguity.

LLMs offer stronger linguistic priors. VSP-LLM maps compressed visual speech units to an LLM [8]; VALLR reconstructs text from predicted phonemes [9], and VALLR-Pin adds Pinyin-guided Mandarin refinement [10]. Llama-AVSR uses modality projectors and LoRA to connect audio-visual encoders to a generic LLM [11, 12], while MMS-LLaMA uses rate-aware Q-Former queries [13]. Dynamic query allocation is therefore not unique to our approach; here, an existing visual CIF predictor supplies both query content and length. Unlike a generic text LLM, an audio-native ASR model expects a compact sequence of acoustic representations. Frame-level visual features differ in modality, dimension, and length, so the ASR decoder’s linguistic capability cannot be used directly without a dedicated connection.

We investigate how an audio-native ASR input interface can instead be preserved and reused for visual-only recognition. Our CIF-Query Bridge connects a pretrained Paraformer VSR encoder to Qwen3-ASR [14]. We reuse, rather than redesign, the VSR model’s continuous integrate-and-fire predictor [15, 16] to produce an input-dependent number of token queries. Cross-attention refines these queries against the complete frame-level visual memory before a small adapter and the original ASR projector. This construction retains the speech interface and avoids presenting hundreds of video frames directly to the autoregressive decoder.

Our contributions are threefold. First, we propose a compact CIF-Query Bridge that connects a pretrained VSR front end to the Qwen3-ASR projector and decoder. Second, we use existing CIF outputs as input-dependent queries that can attend to the complete visual sequence, combining token-rate compression with frame-level memory. Third, we report 7.97% CER on CMLR and study bridge depth, projector initialization, adapter capacity, and CTC supervision under controlled schedules.

Proposed Method

Architecture overview

As illustrated in Figure 1, given a lip video V\mathbf{V} with TT frames, a pretrained visual encoder EvE_{\mathrm{v}} produces

Overview of CIF-Query Bridge architecture and staged adaptation

Figure 1. Overview of CIF-Query Bridge. CIF produces token-rate queries C, while the complete visual sequence H remains cross-attention memory. The linear adapter is used in the main system; the residual variant is ablated. Module labels show the staged schedule.

H=Ev(V)∈RT′×dv,dv=512,(1)\mathbf{H}=E_{\mathrm{v}}(\mathbf{V})\in\mathbb{R}^{T^{\prime}\times d_{\mathrm{v}}},\qquad d_{\mathrm{v}}=512, \tag*{(1)}

where padding positions are excluded by a binary mask. The system retains H\mathbf{H} as frame-level memory. A frozen CIF predictor produces a shorter sequence C\mathbf{C}; a two-layer bridge uses C\mathbf{C} as queries and H\mathbf{H} as keys and values. A visual adapter maps the bridge output to the expected acoustic feature dimension. The resulting features pass through the original Qwen3-ASR projector and replace the native speech placeholder in its prompt. The tokenizer, prompt template, projector, and autoregressive decoder therefore remain paired with their original ASR model. No audio or audio-derived feature is required at inference.

CIF-query cross-attention bridge

We adopt the CIF predictor from the pretrained Paraformer VSR model without changing its architecture. It estimates a weight αt\alpha_t at each encoder step and integrates consecutive weighted features until the accumulated mass reaches one. This produces

C=[cu]u=1U∈RU×dv,U=⌈∑t=1T′αt+τ⌉.(2)\begin{aligned} \mathbf{C}&=[\mathbf{c}_u]_{u=1}^{U}\in\mathbb{R}^{U\times d_{\mathrm{v}}},\\ U&=\left\lceil\sum_{t=1}^{T^{\prime}}\alpha_t+\tau\right\rceil. \tag*{(2)} \end{aligned}

Here τ=0.45\tau=0.45 is the inherited tail mass appended with a zero feature; implementation guards clip the count to the available output length and at least one position. Both adaptation and inference use predicted lengths, without reference-length scaling. CIF supplies query content and count, not Qwen text-token boundaries: the original predictor was trained with a character-plus-EOS length target. Its outputs serve as queries with access to uncompressed visual memory.

Let Z0=C\mathbf{Z}^{0}=\mathbf{C}. Bridge layer ll applies token self-attention, cross-attention to the visual memory, and a feed-forward network:

Z~l=LN⁡(Zl−1+MHSA⁡(Zl−1)),(3)\widetilde{\mathbf{Z}}^{l}=\operatorname{LN}\left(\mathbf{Z}^{l-1}+\operatorname{MHSA}(\mathbf{Z}^{l-1})\right), \tag*{(3)}
Z^l=LN⁡(Z~l+MHA⁡(Z~l,H,H)),(4)\widehat{\mathbf{Z}}^{l}=\operatorname{LN}\left(\widetilde{\mathbf{Z}}^{l}+\operatorname{MHA}(\widetilde{\mathbf{Z}}^{l},\mathbf{H},\mathbf{H})\right), \tag*{(4)}
Zl=LN⁡(Z^l+FFN⁡(Z^l)).(5)\mathbf{Z}^{l}=\operatorname{LN}\left(\widehat{\mathbf{Z}}^{l}+\operatorname{FFN}(\widehat{\mathbf{Z}}^{l})\right). \tag*{(5)}

We use two layers, eight attention heads, GELU activations, and a fourfold FFN expansion, with dropout 0.1 (omitted from the equations). We use no CIF-interval distance bias. Predictor parameters remain frozen, but its predicted integration weights and firing boundaries can change when the visual encoder is updated.

Visual-to-ASR interface projection

The bridge produces 512-dimensional visual tokens, whereas the Qwen3-ASR projector expects 1024-dimensional acoustic features. We resolve this mismatch with a visual adapter GvG_{\mathrm{v}}. Its minimal form is a linear map,

a=WvZ2+bv,(6)\mathbf{a} = W_{\mathrm{v}}Z^{2} + \mathbf{b}_{\mathrm{v}}, \tag*{(6)}

followed by the retained two-layer ASR projector (biases omitted below)

A=W2GELU⁡(W1a).(7)A = W_{2}\operatorname{GELU}(W_{1}\mathbf{a}). \tag*{(7)}

The main system uses this linear adapter. The ablation also considers a gated residual MLP (1024 → 2048 → 1024, dropout 0.1), whose sigmoid gate is initialized with g=−2g=-2.

Objective and staged adaptation

The autoregressive decoder is optimized with teacher-forced cross-entropy LAR\mathcal{L}_{\mathrm{AR}}; prompt tokens and inserted visual positions are masked from supervision. During final visual-encoder adaptation, its output also receives CTC supervision:

L=LAR+λCTCLCTC,λCTC=0.1.(8)\mathcal{L} = \mathcal{L}_{\mathrm{AR}} + \lambda_{\mathrm{CTC}}\mathcal{L}_{\mathrm{CTC}}, \qquad\lambda_{\mathrm{CTC}} = 0.1. \tag*{(8)}

No CIF quantity loss is used. Freezing predictor parameters does not guarantee invariant output lengths during visual-encoder adaptation.

Optimization proceeds in three stages. Stage 1 trains only the bridge and visual adapter, while both pretrained backbones and the ASR projector are frozen. Stage 2 additionally enables the original projector and rank-16 LoRA modules in the language decoder. Stage 3 performs a short adaptation of all visual encoder blocks at a much smaller learning rate and activates CTC. This ordering first establishes the cross-modal interface before modifying either pretrained backbone.

Experiments

Dataset and implementation

We use the official CMLR split (61 hours, 11 speakers; 71,448/10,206/20,418 train/validation/test utterances) [2], grayscale 88 × 88 mouth crops, and CER. All our reported inputs are visual-only. Corpus CER is the summed character edit distance divided by the summed reference length; validation and test contain 145,832 and 292,180 reference characters. Following M2MeT, references are normalized for spaces, annotations, punctuation, and Latin characters, while hypotheses only have special tokens and ASR/thinking prefixes removed.

The 50-block Paraformer encoder/CIF predictor and Qwen3-ASR-1.7B initialize the visual and language components. Training uses AdamW with zero weight decay, bfloat16 on four GPUs, two-step gradient accumulation, clipping at 1.0, cosine decay to 0.05 of the peak rate, and a 500-frame/GPU batch budget. Stages 1–3 run for 8 + 4 + 1 epochs. Stage 1 uses bridge/adapter LR 2×10−42 \times10^{-4} and 1,000 warm-up updates. Stage 2 uses LR 2×10−52 \times10^{-5} for the bridge, adapter, projector, and LoRA, with 400 warm-up updates. Stage 3 uses LRs 10−710^{-7}, 10−610^{-6}, 10−510^{-5}, and 5×10−65 \times10^{-6} for the encoder, CTC head, LoRA, and remaining trainable modules, respectively, with 400 warm-up updates; it executes one epoch of an eight-epoch cosine plan. Rank-16 LoRA uses scaling 32, dropout 0.05, and q/k/v/o plus gate/up/down projections. Brightness, contrast, gamma, and partition-mean temporal masking are applied only in Stage 3. Beam-8 decoding generates at most 64 tokens, without sampling or CTC rescoring.

Controlled variants use seed 42, the fixed schedule, and stage-end checkpoints. Validation selects the two-layer linear model and chooses the random-projector Stage 1 LR from {10−4,2×10−4,5×10−4}\{10^{-4}, 2 \times10^{-4}, 5 \times10^{-4}\}; its later stages match the pretrained-projector run. The no-CTC run branches from the residual model’s Stage 2 checkpoint.

Comparison with prior work

Table 1 compares prior work with our native baseline. “External” denotes knowledge beyond the 61-hour CMLR training set. Our visual encoder and CIF predictor use only CMLR. The only external source is Qwen3-ASR, whose audio encoder is unused. The best listed result using only CMLR is 9.10% CER; 1,459 hours of AV pretraining gives 8.00%. Our 7.97% is not a data-matched claim of superiority.

Table 1. Official CMLR test CER (%); all systems use visual-only inference. External: pretraining beyond CMLR; AV: audio-visual.

MethodExternalCMLR hCER ↓\downarrow
CSSMCM [2]–6132.48
LIBS [17]ASR teacher6131.27
CTCH [18]–6122.01
JEP-KD [19]ASR teacher6114.26
Ma et al. [20]–619.10
Ma et al. [20]818-h AV618.10
Ma et al. [20]1459-h AV618.00
Native Paraformer (ours)–6111.78
Ours (linear adapter)Qwen3-ASR617.97

Table 1.

The native Paraformer baseline uses the same visual initialization checkpoint with its original decoder, evaluated on the same test set with the same video preprocessing and scoring protocol. It obtains 11.78% CER with beam size one, compared with 7.97% for our transferred system with beam size eight. This is an absolute reduction of 3.81 percentage points (approximately 32.3% relative). The comparison measures the complete transfer system, including decoder, adaptation, and search changes; it does not isolate the CIF-query bridge.

Qwen3-ASR reports 40 million hours for AuT and 3 trillion tokens for Omni pretraining [14]. The stages are distinct, and their corpus inventory and overlap with CMLR are unknown; our result therefore measures foundation-model transfer rather than a data-matched comparison.

Ablation study

Table 2 reports validation and test CER under the fixed schedule. For a fair residual-model control, the random projector is trained from the first Stage 1 update; validation selects 2×10−42 \times10^{-4} from {10−4,2×10−4,5×10−4}\{10^{-4}, 2 \times10^{-4}, 5 \times10^{-4}\}, and Stages 2–3 match the pretrained run. Pretraining lowers test CER from 8.2196% to 7.9923% (paired 95% CI [−0.3270-0.3270, −0.1282-0.1282]).

Table 2. Controlled CMLR ablation, CER (%). Proj.: projector initialization; Res.: gated residual adapter. All rows use one training seed.

Proj.LayersAdapterCTCValTest
Random2Res.Yes8.14648.2196
Pretr.0LinearYes8.12108.0820
Pretr.1LinearYes8.01407.9971
Pretr.2LinearYes7.88587.9721
Pretr.2Res.Yes8.07027.9923
Pretr.2Res.No8.10188.0776

Table 2.

With a linear adapter, depth 0-to-2 monotonically lowers validation/test CER by 0.2352/0.1099 points; the test CI [−0.223, +0.005] includes zero. Linear versus residual has no clear test advantage (−0.0202; [−0.106, +0.069]), whereas CTC lowers residual-model test CER by 0.0852 points ([−0.154, −0.014]). Figure 2 reports paired utterance-bootstrap CIs for fixed models; they exclude seed variability, and validation remains model-selection rather than independent evidence.

Figure 2. Paired test-CER differences with 95% utterance-bootstrap CIs (10,000 samples); negative values favor the first configuration.

Discussion

The 3.81-point complete-system gain likely reflects primarily the Qwen3-ASR decoder and its linguistic prior. This does not make the connection secondary: the ASR backend expects a short sequence of 1024-dimensional acoustic representations, whereas the visual front end emits a much longer sequence of 512-dimensional features. Without adaptive rate compression, dimensional alignment, and access to frame-level memory, the decoder’s pretrained capability cannot be applied to visual input. Our contribution is this connection rather than the decoder itself. Moreover, the native comparison changes the decoder, adaptation, and beam search, so it measures the complete transfer system and does not isolate the bridge’s causal contribution.

Within the controlled runs, the monotonic depth trend

on both splits is consistent with full-memory retrieval recovering context that token-rate CIF integration may discard. The test interval nevertheless includes zero, and depth also changes capacity and optimization. Equal-length pooled or learned queries and a matched-capacity no-memory control are needed to identify the source of the trend. Although CIF parameters remain frozen, Stage 3 changes their encoder inputs and can shift firing weights, boundaries, and predicted lengths; measuring this drift and its relation to CER is another useful test.

Evidence remains limited to one seed, CMLR, and one Paraformer–Qwen3-ASR pairing. Historical test feedback weakens independent confirmation, and the overlap between foundation-model pretraining and CMLR is unknown. Multiple seeds, a matched text-LLM baseline, and independent datasets are needed to establish stability and generalization.

Conclusion

We proposed CIF-Query Bridge, which uses adaptive CIF outputs as token-rate queries over complete visual memory before the original audio-native ASR interface. Combining content-adaptive compression with full-memory retrieval avoids presenting one LLM token per video frame while retaining fine temporal evidence. It also preserves the model-specific tokenizer, prompt, and projector rather than learning an unrelated text-LLM input space. The resulting visual-only Paraformer–Qwen3-ASR system achieves 7.97% CER on CMLR, compared with 11.78% for native Paraformer under the same split and scoring protocol. Controlled results show a consistent bridge-depth trend and delimit the smaller effects of auxiliary components. They establish the feasibility of the connection; future work should add multiple seeds, matched-query controls, and evaluation on unseen datasets and languages.

References

References

  1. [1]Yannis M. Assael, Brendan Shillingford, Shimon Whiteson, and Nando de Freitas, “LipNet: End-to-end sentence-level lipreading,” arXiv preprint arXiv:1611.01599, 2016.arxiv.org/abs/1611.01599
  2. [2]Ya Zhao, Rui Xu, and Mingli Song, “A cascade sequence-to-sequence model for chinese mandarin lip reading,” in Proc. ACM Multimedia Asia, 2019, pp. 1–6.arxiv.org/abs/1908.04917
  3. [3]Pingchuan Ma, Stavros Petridis, and Maja Pantic, “End-to-end audio-visual speech recognition with conformers,” in Proc. IEEE International Conference on Acoustics, Speech and Signal Processing, 2021, pp. 7613–7617.arxiv.org/abs/2102.06657
  4. [4]Bowen Shi, Wei-Ning Hsu, Kushal Lakhotia, and Abdelrahman Mohamed, “Learning audio-visual speech representation by masked multimodal cluster prediction,” in Proc. International Conference on Learning Representations, 2022.arxiv.org/abs/2201.02184
  5. [5]Qiushi Zhu, Long Zhou, Ziqiang Zhang, Shujie Liu, Binxiang Jia, Jie Zhang, Lirong Dai, Daxin Jiang, Jinyu Li, and Furu Wei, “VATLM: Visual-audio-text pre-training with unified masked prediction for speech representation learning,” IEEE Transactions on Multimedia, vol. 26, pp. 1055–1064, 2024.DOI
  6. [6]Alexandros Haliassos, Pingchuan Ma, Rodrigo Mira, Stavros Petridis, and Maja Pantic, “Jointly learning visual and auditory speech representations from raw data,” in Proc. IEEE/CVF International Conference on Computer Vision, 2023, pp. 10006–10017.
  7. [7]Pingchuan Ma, Alexandros Haliassos, Adriana Fernandez-Lopez, Honglie Chen, Stavros Petridis, and Maja Pantic, “Auto-AVSR: Audio-visual speech recognition with automatic labels,” in Proc. IEEE International Conference on Acoustics, Speech and Signal Processing, 2023, pp. 1–5.DOI
  8. [8]Jeong Hun Yeo, Seunghee Han, Minsu Kim, and Yong Man Ro, “Where visual speech meets language: VSP-LLM framework for efficient and context-aware visual speech processing,” in Findings of the Association for Computational Linguistics: EMNLP 2024, 2024, pp. 11391–11406.arxiv.org/abs/2402.15151
  9. [9]Marshall Thomas, Edward Fish, and Richard Bowden, “VALLR: Visual ASR language model for lip reading,” arXiv preprint arXiv:2503.21408, 2025.arxiv.org/abs/2503.21408
  10. [10]Chang Sun, Dongliang Xie, Bo Qin, and Hong Yang, “VALLR-Pin: Dual-decoding visual speech recognition for mandarin with pinyin-guided LLM refinement,” arXiv preprint arXiv:2512.20032, 2025.
  11. [11]Umberto Cappellazzo, Minsu Kim, Honglie Chen, Pingchuan Ma, Stavros Petridis, Daniele Falavigna, Alessio Brutti, and Maja Pantic, “Large language models are strong audio-visual speech recognition learners,” in Proc. IEEE International Conference on Acoustics, Speech and Signal Processing, 2025, pp. 1–5.arxiv.org/abs/2409.12319
  12. [12]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen, “LoRA: Low-rank adaptation of large language models,” in Proc. International Conference on Learning Representations, 2022.arxiv.org/abs/2106.09685
  13. [13]Jeong Hun Yeo, Hyeongseop Rha, Se Jin Park, and Yong Man Ro, “MMS-LLAMA: Efficient LLM-based audio-visual speech recognition with minimal multimodal speech tokens,” in Findings of the Association for Computational Linguistics: ACL 2025, 2025, pp. 20724–20735.arxiv.org/abs/2503.11315
  14. [14]Xian Shi, Xiong Wang, Zhifang Guo, Yongqi Wang, Pei Zhang, Xinyu Zhang, Zishan Guo, Hongkun Hao, Yu Xi, Baosong Yang, Jin Xu, Jingren Zhou, and Junyang Lin, “Qwen3-ASR technical report,” arXiv preprint arXiv:2601.21337, 2026.arxiv.org/abs/2601.21337
  15. [15]Linhao Dong and Bo Xu, “CIF: Continuous integrate-and-fire for end-to-end speech recognition,” in Proc. IEEE International Conference on Acoustics, Speech and Signal Processing, 2020, pp. 6079–6083.arxiv.org/abs/1905.11235
  16. [16]Zhifu Gao, Shiliang Zhang, Ian McLoughlin, and Zhijie Yan, “Paraformer: Fast and accurate parallel transformer for non-autoregressive end-to-end speech recognition,” in Proc. Interspeech, 2022, pp. 2063–2067.arxiv.org/abs/2206.08317
  17. [17]Ya Zhao, Rui Xu, Xinchao Wang, Peng Hou, Haihong Tang, and Mingli Song, “Hearing lips: Improving lip reading by distilling speech recognizers,” in Proc. AAAI Conference on Artificial Intelligence, 2020, vol. 34, pp. 6917–6924.arxiv.org/abs/1911.11502
  18. [18]Shihui Ma, Shilin Wang, and Xiang Lin, “A transformer-based model for sentence-level chinese mandarin lipreading,” in Proc. IEEE International Conference on Data Science in Cyberspace, 2020, pp. 78–81.DOI
  19. [19]Chang Sun, Hong Yang, and Bo Qin, “JEP-KD: Joint-embedding predictive architecture based knowledge distillation for visual speech recognition,” IEEE Open Journal of Signal Processing, 2024.arxiv.org/abs/2403.18843
  20. [20]Pingchuan Ma, Stavros Petridis, and Maja Pantic, “Visual speech recognition for multiple languages in the wild,” Nature Machine Intelligence, vol. 4, no. 11, pp. 930–939, 2022.DOI

Paper details

vlnc:W_8hqarwu7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents