paper-with-me

홈 › Papers

AlignFormer: Modality Matching Can Achieve Better Zero-shot Instruction-Following Speech-LLM

2024-12-02 · Ruchao Fan, Bo Ren, Yuxuan Hu, Rui Zhao, Shujie Liu, Jinyu Li

Integrating speech into LLM (speech-LLM) has gaining increased attention recently. The mainstream solution is to connect a well-trained speech encoder and LLM with a neural adapter. However, the length mismatch between the speech and text sequences are not well handled, leading to imperfect modality matching between the speech and text. In this work, we propose a novel neural adapter, AlignFormer, to reduce the length gap between the two modalities. AlignFormer consists of CTC and dynamic-window QFormer layers, where the CTC alignment provides the dynamic window information for qformer layers. The LLM backbone is frozen in training to preserve its text capability, especially the instruction following capability. When training with only the ASR data, the proposed AlignFormer unlocks the instruction following capability for speech-LLM and the model can perform zero-shot speech translation (ST) and speech question answering (SQA) tasks. In fact, speech-LLM with AlignFormer can theoretically perform any tasks that the LLM backbone can deal with in the speech version. To evaluate the effectiveness of the instruction-following speech-LLM, we propose to use instruction following rate (IFR) and offer a systematic perspective for the IFR evaluation. In addition, we find that the audio position in training would affect the instruction following capability of speech-LLM and conduct an in-depth study on it. Our findings show that audio-first training achieves higher IFR than instruction-first training. The AlignFormer can achieve a near 100% IFR with audio-first training and game-changing improvements from zero to non-zero IFR on some evaluation data with instruction-first training. We believe that this study is a big step towards the perfect speech and text modality matching in the LLM embedding space.

📄 PDF Abstract BibTeX arXiv:2412.01145

Code (0)

등록된 구현이 없습니다.

Tasks

Instruction FollowingQuestion Answering

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Symmetrical Bidirectional Knowledge Alignment for Zero-Shot Sketch-Based Image Retrieval

2023-12-16 · Decheng Liu, Xu Luo, Chunlei Peng, Nannan Wang 외

This paper studies the problem of zero-shot sketch-based image retrieval (ZS-SBIR), which aims to use sketches from unseen categories as queries to match the images of the same category. Due to the large cross-modality d…

Image RetrievalKnowledge DistillationRetrievalSketch-Based Image Retrieval

V2M-Zero: Zero-Pair Time-Aligned Video-to-Music Generation

2026-03-11 · Yan-Bo Lin, Jonah Casebeer, Long Mai, Aniruddha Mahapatra 외 arxiv

Generating music that temporally aligns with video events is challenging for existing text-to-music models, which lack fine-grained temporal control. We introduce V2M-ZERO, a video-to-music generation approach that gener…

Music Generation

MIFNet: Learning Modality-Invariant Features for Generalizable Multimodal Image Matching

2025-01-20 · Yepeng Liu, Zhichao Sun, Baosheng Yu, Yitian Zhao 외

Many keypoint detection and description methods have been proposed for image matching or registration. While these methods demonstrate promising performance for single-modality image matching, they often struggle with mu…

Keypoint DetectionZero-shot Generalization

RGB-Infrared Cross-Modality Person Re-Identification

2017-10-01 · ICCV 2017 10 · Ancong Wu, Wei-Shi Zheng, Hong-Xing Yu, Shaogang Gong 외

Person re-identification (Re-ID) is an important problem in video surveillance, aiming to match pedestrian images across camera views. Currently, most works focus on RGB-based Re-ID. However, in some applications, RGB im…

Cross-Modality Person Re-identificationCross-Modal Person Re-IdentificationPerson Re-Identification

EI-Nexus: Towards Unmediated and Flexible Inter-Modality Local Feature Extraction and Matching for Event-Image Data

2024-10-29 · Zhonghua Yi, Hao Shi, Qi Jiang, Kailun Yang 외

Event cameras, with high temporal resolution and high dynamic range, have limited research on the inter-modality local feature extraction and matching of event-image data. We propose EI-Nexus, an unmediated and flexible …

Pose Estimation