arXiv:2610.25892cs.SDOct 2026

Manuscript Offprint

arXiv:2610.25892

Manifold-Constrained Residual Adaptation with Frame-Adaptive Layer Aggregation for Speaker Verification

Zezhong Jin, Xiaoyu Wang, Zhe Li, Chong-Xin Gan, Siqing Qin, Man-Wai Mak, Kong Aik Lee

Zezhong Jin ID^{ID}, Xiaoyu Wang ID^{ID}, Zhe Li ID^{ID}, Chong-Xin Gan ID^{ID}, Siqing Qin ID^{ID}, Man-Wai Mak ID^{ID}, Senior Member, IEEE, and Kong Aik Lee ID^{ID}, Senior Member, IEEE

Abstract—Large self-supervised speech models provide powerful representations for speaker verification, but full fine-tuning is expensive. Most conventional adapters insert small trainable modules to modify the output of each layer, while keeping the original residual connections unchanged. Building on our preliminary study of manifold-constrained Hyper-Connections in speaker encoders, we explore parameter-efficient adaptation of both residual paths and feature selection across layers. We first propose a Manifold-Constrained Residual Adapter (MCRA), which splits the hidden dimensions of each Transformer residual state into N groups and uses a small Sinkhorn-normalized matrix to exchange information among them. A learnable gate controls the balance between the original and mixed residual paths. The gate initially favors the original path, allowing the model to adapt gradually with only one additional parameter at each residual connection. We further propose Frame-Adaptive Layer Aggregation (FALA), an attention-based aggregation method that uses a single learned query shared across all utterances to compute layer weights separately for each speech frame. Because the layer representations depend on the input, the resulting weights vary across both utterances and frames, unlike the fixed weights of a conventional layer-weighted sum. Compared with a frozen WavLM baseline using a fixed layer-weighted sum, our method achieves relative EER reductions of 22.4% on VoxCeleb1-O and 2.9% on CN-Celeb, while training only 0.0009% and 0.0016% of the WavLM-Large parameters, respectively.

Index Terms—Speaker verification, parameter-efficient fine-tuning, residual connection, layer aggregation.

I. INTRODUCTION

AUTOMATIC speaker verification (ASV) determines whether a test utterance was produced by a claimed speaker. Modern systems map variable-length enrollment and test utterances to fixed-dimensional speaker embeddings and compare them to provide a similarity score [1]. Their performance has advanced through improvements in network architecture, training objective, and temporal aggregation. Speaker encoders have evolved from x-vector TDNNs to ResNet- and Res2Net-based models, ECAPA-TDNN, and MFA-Conformer [2]–[5]. Margin-based and metric-learning objectives improve the separation between speakers [6], [7]. Pooling methods have also progressed from statistics pooling to attentive and multi-head aggregation [8], [9]. These developments have produced increasingly discriminative speaker embeddings from supervised training data, including phonetic-aware far-field verification by Jin et al. [10], attentive spectral aggregation by Tu and Mak [11], and within-global-view knowledge transfer by Jin et al. [12].

Self-supervised learning (SSL) provides another source of performance gains [13], [14]. Models such as wav2vec 2.0, HuBERT, and WavLM are pretrained on large unlabeled speech corpora to learn representations that can be transferred to downstream tasks [15]–[17]. Their hidden representations can be transferred to speaker verification by fine-tuning the SSL encoder or by freezing it and training a speaker-specific backend. Full fine-tuning offers broad adaptation capacity, but updating hundreds of millions of parameters is computationally demanding. Freezing the encoder reduces the training cost, but limits task-specific adaptation.

Parameter-efficient fine-tuning (PEFT) seeks a balance between these two settings. Bottleneck adapters insert small trainable transformations into the pretrained encoder [18]. LoRA represents weight updates in a low-rank subspace [19]. Speaker prompt tuning introduces trainable tokens, while UniPET-SPK combines prompts and adapters through learnable gates [20], [21]. A recent unified study has further analyzed several PEFT methods for speaker verification [22]. Although these methods use different parameterizations, they mainly adapt layer transformations, model weights, or task-specific inputs. The residual paths that propagate pretrained features through the Transformer usually remain unchanged.

Our preliminary work reported in [23] investigated the residual-path problem from the perspective of manifold-constrained Hyper-Connections (mHC). It replaced the residual shortcuts of ResNet-34, Res2Net, and ECAPA-TDNN encoders with multiple full-width residual streams. A Sinkhorn-normalized, doubly stochastic matrix is used to control information exchange among the streams [24]. The results established the effectiveness of constrained residual mixing across several speaker encoders. However, this study considered only models trained end to end. It did not address whether residual mixing can be used for PEFT of a frozen SSL encoder. The original mHC is also difficult to apply directly because it maintains

Z. Jin and X. Wang contributed equally. M.-W. Mak and K. A. Lee are the corresponding authors. This work was supported in part by the Research Grants Council of the Hong Kong SAR under Grant 15228223 and by The Hong Kong Polytechnic University under Project P0049192.

Z. Jin, C.-X. Gan, S. Qin, M.-W. Mak, and K. A. Lee are with the Department of Electronic and Information Engineering, The Hong Kong Polytechnic University, Hong Kong SAR (e-mail: zezhong.jin@connect.polyu.hk; man.wai.mak@polyu.edu.hk; kong-aik.lee@polyu.edu.hk).

X. Wang is with Baidu Inc. Z. Li is with the Department of Electrical Engineering, Stanford University, Stanford, CA 94305, USA (e-mail: zhelee@stanford.edu).

multiple full-width residual streams, which expands the hidden state. In addition, PEFT should preserve the pretrained model at the start of adaptation.

To address this gap, we reformulate constrained residual mixing as a Manifold-Constrained Residual Adapter (MCRA). MCRA divides the existing hidden dimension into N feature groups instead of creating N full-width streams. An N×NN \times N Sinkhorn-normalized matrix mixes information among the groups. Its parameter count depends on N, rather than on the hidden dimension. A learnable gate interpolates between the original and mixed residuals. The gate initially favors the original path and gradually introduces the adapted path during training. MCRA can thus modify residual information propagation while retaining the frozen backbone and its original hidden width.

Another challenge is how to combine the intermediate layers of an SSL model. The conventional layer-weighted sum learns one scalar per layer and uses the same layer weights for every utterance and speech frame [25]. MHFA adds input-dependent temporal attention, but its layer weights are still fixed across utterances and frames [9]. LAP computes dynamic layer weights for each frame, but requires feature projections, multiple attention heads, and a specialized pooling network [26]. We propose Frame-Adaptive Layer Aggregation (FALA) as a lightweight alternative. FALA uses one learned query to compute a different layer distribution for each speech frame. It requires no query, key, value, or output projection matrix.

This paper substantially extends our preliminary mHC work [23]. The main contributions are summarized as follows:

  • We extend manifold-constrained residual mixing from end-to-end training of speaker encoders to parameter-efficient fine-tuning of frozen SSL models. This study explores residual information propagation as a new adaptation target for SSL-based speaker verification.

  • We propose MCRA, which divides the original hidden state into feature groups and mixes information among them without increasing the hidden dimension. A learnable gate preserves the original residual path at initialization and controls the contribution of the mixed path during adaptation.

• We propose FALA, which assigns frame-dependent weights to the SSL layers using a single task-specific query. It replaces the fixed layer-weighted sum and adds only a small number of parameters to WavLM-Large.

  • Extensive experiments with different pretrained models and evaluation datasets show that the proposed methods improve speaker verification performance while introducing only a few thousand trainable parameters.

References (44)