4 Post-Training
本文为论文《LongCat-Flash-Omni 全模态技术报告》「论文原文」板块的对应章节,按 arXiv 官方全文逐字保留,层级与「中文全文翻译」板块一一对应。
The post-training stage is a critical phase that transforms the pre-trained foundation model into a task-adaptive, human-aligned system with strong instruction-following, multimodal reasoning, and interactive capabilities. While the pre-training phase enhances multimodal perception and world knowledge, post-training focuses on refining response alignment, controllability, and fidelity through a combination of supervised and preference-based optimization. This stage consists of two components: (1) Supervised Fine-Tuning (SFT), which equips the model with multimodal instruction-following, reasoning, and spoken interaction capabilities through high-quality and diverse instruction data, and (2) Reinforcement Learning (RL), which further enhances the model’s behavioral alignment, coherence, and consistency through Direct Preference Optimization (DPO) (Rafailov et al., 2023). Together, these procedures ensure that the final model not only demonstrates robust omni-modal understanding and reasoning capabilities but also generates responses that are semantically accurate, perceptually natural, and contextually coherent across both offline and online interaction scenarios.
4.1 Supervised Fine-Tuning
The SFT stage focuses on two complementary objectives. First, it enhances the model’s multimodal instruction-following and reasoning capabilities by leveraging large-scale, high-quality, and diverse instruction data. Second, it strengthens the model’s multimodal interaction abilities by utilizing curated interaction data, including speech-to-speech conversational data and audio-visual interaction data. In the following parts, we describe how we collect high-quality and diverse instruction data, then elaborate on the construction of multimodal interaction datasets, and finally present the SFT training recipes that unify and optimize these datasets.
4.1.1 High-quality and Diverse Instruction Data Curation
Image-Text SFT Data We curate a high-quality and diverse image-text SFT dataset, covering a wide spectrum of vision-language tasks, including: (1) Fundamental skills: image captioning and visual question answering, provided in both single-image and multi-image settings to capture diverse contextual dependencies. (2) Specialized skills: document and chart comprehension, OCR, visual grounding, agentic task execution, and STEM-related visual reasoning.
To ensure high data quality and strong alignment with human preferences, we employ an LLM-as-a-judge evaluation framework. In this pipeline, a strong multimodal language model evaluates candidate responses against reference answers and produces explanatory rationales. Samples labeled as inconsistent, low-quality, or semantically inaccurate are automatically filtered out, and we finally have approximately 3 million carefully curated datasets with high factual accuracy, stylistic consistency, and comprehensive task diversity.
Video-Text SFT Data We construct a large-scale video data pool of approximately 3 million videos sourced from diverse proprietary and open-source datasets, covering tasks such as general video understanding, classification, reasoning, grounding, temporal localization, segmentation, and highlight detection. From each source, representative subsets are annotated with capability tags using multimodal language models, following a predefined taxonomy encompassing visual perception, temporal and causal reasoning, and domain-specific knowledge.
This taxonomy, consisting of 48 subcategories (e.g., entity attributes, counting, relationship comparison, OCR, anomaly detection, spatial relations, and camera motion), guides targeted sampling to enrich underrepresented capabilities and analyze coverage gaps. For capabilities with insufficient data, we augment annotations using proprietary expert models, and for particularly challenging tasks—such as action counting, relationship comparison, event localization, and attribute change—we incorporate manually annotated samples.
Through iterative sampling, augmentation, and quality refinement, we curate a high-quality video-text SFT dataset comprising approximately 700K samples, with balanced coverage of temporal reasoning, causal inference, and complex real-world visual understanding.
Audio Understanding Data We re-utilize a subset of the comprehensive audio understanding dataset from the previous stage (Audio Encoder Alignment Training) for the SFT phase. This sampled data specifically targets tasks such as ASR, Audio-to-Speech Translation (AST), paralinguistic understanding, and audio-conditioned captioning and question answering. The purpose of integrating this kind of data is to improve the semantic alignment between the continuous audio representations generated by the audio encoder and the language model’s semantic space.
Vision-Speech QA Data Fluent, speech-based question answering grounded in visual inputs represents a core capability of omni-modal models. We designed a new vision-speech QA dataset to enhance this ability. It pairs visual inputs (images or videos) with spoken prompts and requires the model to output its answers in speech. To create this data, we sourced text-based QA pairs from existing SFT datasets, selecting only those suitable for TTS synthesis. The retained samples are then rewritten using an LLM to enhance fluency, naturalness, and stylistic consistency in spoken form. Finally, all text responses are converted into high-fidelity speech using a TTS engine.
Audio-Visual Understanding Data The joint audio-visual understanding capability fundamentally distinguishes an omni model from conventional vision-only or speech-only multimodal language models. To develop this capability, we curate an in-house time-synchronized audio-visual dataset by prompting a strong multimodal language model to generate high-quality text QA pairs that are involved with both audio and visual content in the video. Specifically, the videos are sourced from multiple domains, including multimodal data containing rich music and audio event contents. All samples are organized in an interleaved chunk format, which enables the model to better perceive and reason over temporally aligned audio-visual content, thereby strengthening its capacity for multimodal understanding.
4.1.2 Multimodal Interaction Data Curation
To equip LongCat-Flash-Omni with real-time spoken and audio-visual interaction capabilities, we construct two types of specialized interaction datasets: (1) Speech-to-Speech Interaction Data, designed to enhance the naturalness and expressiveness of voice-based dialogues, and (2) Audio-Visual Interaction Data, aimed at improving the model’s ability to manage multi-turn, context-dependent audio-visual conversations.
Speech-to-Speech Interaction Data We construct a large-scale voice dialogue dataset using a two-stage approach. (1) Text-based dataset adaptation: we filter out contents like formulas, code, markdown and rewrite responses with an LLM to produce speech-friendly conversational language. (2) Voice-oriented dialogue generation: we prompt an LLM to generate diverse topics and create new multi-turn dialogues. To enhance expressiveness and naturalness, professional voice actors record dialogues across a range of emotions, speaking styles, and major Chinese dialects (e.g., Sichuan, Beijing, Northeast). These recordings are then used to fine-tune a specialized TTS engine, ensuring consistent tone, high fidelity, and natural prosody. All dialogues are ultimately synthesized into high-quality speech using this engine.
Audio-Visual Interaction Data Audio-visual speech interaction data plays a crucial role in endowing the omni model with the ability to simultaneously process audio and vision information and perform real-time voice response. Unlike offline video understanding or general audio-visual understanding, online interaction is characterized by bi-directional and multi-turn dialogues, which involve immediate feedback, dynamic barge-in, contextual memorization, logical progression, and co-reference resolution. However, collecting large-scale real-world audio-visual interaction data is resource-intensive and impractical, and synthesizing complex and reasonable interaction data is difficult for existing models that tend to generate hallucination. To address these challenges, we develop a semi-automated data production pipeline that leverages model-driven automation for initial generation, followed by a human-in-the-loop stage for verification and refinement:
- •
Model-Driven Automation To comprehensively cover diverse interaction scenarios, we first establish an ability taxonomy encompassing six major dimensions: memorization, understanding, analysis, creation, application, and entertainment. Guided by this taxonomy, we collect a mixture of public and in-house videos as the source data to ensure balanced coverage across abilities. For each video, we first perform scene segmentation using PySceneDetect (Breakthrough, 2025) to obtain a sequence of clips. For every clip, a powerful multimodal language model generates multiple rounds of progressively deep and context-aware QA pairs. In each round, subsequent queries build upon preceding conversations with logical progression, referential dependency, or anaphoric linkage to earlier turns. Such conversations encourage the model to reason over extended dialogue contexts, maintain entity and reference consistency in a natural, human-like audio-visual interaction setting. We then apply an automatic verification pipeline, employing an LLM-as-a-judge framework to evaluate and discard low-quality or inconsistent QA pairs. The remaining qualified samples are then composed into multi-turn dialogue, enabling the model to learn both intra-scene conversational continuity and inter-scene contextual transitions, thereby better reflecting real-world audio-visual interactions.
To further enhance long-term memory and contextual reasoning in extended dialogue settings, we construct a long-context multi-turn video interaction dataset. In this dataset, dialogue sequences are reordered so that certain queries appear at temporal positions distant from their corresponding visual segments, encouraging the model to retain and retrieve information over extended temporal spans. After reordering, all QA sequences are refined with a strong multimodal language model to resolve anaphoric references, correct temporal inconsistencies, and improve contextual coherence, resulting in natural and logically consistent multi-turn conversations.
- •
Human-in-the-loop Through manual verification, we observe that the generated QA data frequently exhibits several types of errors: factual inconsistency, response insufficiency, referential ambiguity, linguistic infelicity, and semantic irrelevance. It is difficult to reuse a multimodal LLM to automatically correct these errors, as it may introduce new errors. Therefore, we employ human annotation for quality refinement. For factual inconsistency, annotators are required to edit or replace any statement that contradicts the video/audio content. For response insufficiency, we ask annotators to augment the original answer with the missing information, ensuring all sub-questions are answered. For referential ambiguity, we ask annotators to replace ambiguous or incorrect pronouns with specific nouns or corrected pronouns. As a result, we obtain a high-quality interaction dataset that contains meaningful and natural conversations that align with verifiable truth.
Finally, we apply a TTS engine to convert the textual QA pairs into speech and integrate them into the videos to obtain the final audio-visual speech interaction dataset. The resulting data aligns the model’s response style with that of a helpful, interactive assistant and enhances the naturalness of its conversational behavior.
4.1.3 SFT Training Recipe
During SFT, we freeze the audio encoder while updating all other modules. The frozen audio encoder retains robust acoustic representations learned from large-scale audio pre-training (i.e., pre-training stage-5 as introduced in Section 3.2.6), whereas the unfrozen layers allow the model to learn fine-grained multimodal alignment and instruction-following behavior. Empirically, we find this selective fine-tuning strategy stabilizes convergence and avoids catastrophic forgetting of low-level auditory features. Apart from multi-modal SFT data, we also incorporate pure text SFT data used in developing LongCat-Flash, which covers domains ranging from reasoning, mathematics, coding, tool use, and general-purpose dialogue.
We adopt the AdamW optimizer with $\beta_{1}=0.9$, $\beta_{2}=0.95$, and a weight decay of 0.1. The learning rate follows a linear warm-up over the first 4% of steps, followed by cosine decay from a peak value of $1\times 10^{-5}$ to zero. The SFT stage consists of a single training phase conducted for one epoch. The training is performed with a batch size of 1024.
4.2 Reinforcement Learning
To further enhance the model’s multimodal capabilities and improve human alignment, we employ the Direct Preference Optimization (DPO) (Rafailov et al., 2023) during the reinforcement learning stage. The LongCat-Flash-Omni model supports multimodal inputs and enables parallel streaming outputs of both text and speech. However, most existing DPO variants are designed for text-only outputs or optimize text and speech separately. We argue that such decoupled optimization is suboptimal for maintaining coherence between textual and speech responses.
To address this limitation, we extend the DPO to jointly optimize text and speech outputs to improve both alignment and stability across modalities. Specifically, since the LongCat-Flash-Omni includes one text head and multiple audio heads, we modify the DPO objective to optimize all heads simultaneously. The overall loss is defined as:
| | $\mathcal{L}{\text{DPO}}=\alpha\,\mathcal{L}{\text{DPO}}(\text{text}{chosen},\text{text}{rejected})+\beta\sum_{i=1}^{N}\mathcal{L}{\text{DPO}}(\text{audio}^{i}{chosen},\text{audio}^{i}_{rejected})$ | |
where $N$ denotes the number of audio heads. $\mathcal{L}{\text{DPO}}(\text{text}{chosen},\text{text}{rejected})$ focuses on the semantic quality of the text head, while each audio head $\mathcal{L}{\text{DPO}}(\text{audio}^{i}{chosen},\text{audio}^{i}{rejected})$ emphasizes both the linguistic and pronunciation stability of the corresponding speech output. This joint optimization strategy leads to more coherent and natural multimodal responses, further enhancing the expressiveness and human-aligned communication capabilities.
4.2.1 Data Construction
Our DPO training data consists of two components: general DPO data and model-generated DPO data. The general data covers samples focusing on safety, helpfulness, and response style. The model-generated data is sampled from an SFT checkpoint and used to refine broader multimodal capabilities through preference comparisons among model-produced responses. To comprehensively enhance the capability, alignment, and safety of LongCat-Flash-Omni across all modalities, we utilize all prompt types from the SFT datasets described in Section 4.1.1 during DPO training. For each prompt, the model generates 6 rollouts to ensure diverse candidate responses for preference pair construction. To ensure data quality, we employ a hybrid evaluation strategy that combines manual annotation with automatic scoring from a robust multimodal language model, serving as a preference evaluator to assign quality scores and identify distinct and informative preference pairs. This process provides reliable supervisory signals for DPO training, enabling effective refinement of LongCat-Flash-Omni ’s multimodal alignment, behavioral stability, and overall coherence.
4.2.2 Training Details
We train for one epoch with a batch size of 256, sampling each batch to achieve a well-balanced mix of modalities. The learning rate follows a cosine decay schedule, with a warm-up fraction of 0.03, gradually decreasing from $1\times 10^{-6}$ to 0. To balance preference learning between the text head and the speech head, we set their loss weight ratio by setting $\alpha:\beta=1:1$. To mitigate drift from the SFT model, we incorporate a Kullback-Leibler (KL) divergence regularizer with a weighting factor of 0.1.
