LLM Learning Roadmap
✨ Awesome-Anything
🖼️ Digital Image Processing
🍃 LLM Components
🌱 LLM Pre-training
☘️ LLM Post-Training
🍀 LLM Popular Models
🪴 LLM Applications
🌿 LLM Optimization
🌾 LLM Compression
🌵 LLM Hands-on Practice
🌴 LLM Must-read Papers
🌳 LLM Q&A
🐝 VLM Image Encoders
📝 MISC.
🔗9.1.7 Seed1.5-VL
Model Architecture
Seed1.5-VL consists of three main modules: visual encoder, MLP adapter, and LLM.
Image/Video Input →
Seed-ViT → MLP Adapter → Multimodal Token → MoE LLM.
Seed-ViT
Built upon the Vision Transformer architecture, with 532M parameters.
- Seed-ViT can accept images with dynamic resolutions and uses 2D RoPE (Rotary Position Embedding), which is more suitable for 2D visual structures than 1D.
- The input image is first downsampled to a scale of 28×, and then divided into patches of size .
- Patches from multiple images can be concatenated into a single sequence, with attention masks used to prevent cross-image attention.
- After Transformer encoding, 2×2 average pooling is applied to reduce the number of tokens and improve efficiency.
MLP Adapter
This module projects the visual tokens output by Seed-ViT into the multimodal token space required by the LLM. Key features include:
- A two-layer MLP.
- Acts as a modality adapter, allowing visual features to serve as input to the language model.
- The adapter is independently fine-tuned during the early stage of pretraining (Stage-0 only trains the adapter) to ease modality misalignment.
LLM
Uses an MoE (Mixture of Experts) architecture with 20B activated parameters. At each layer, only a subset of experts is activated. The model is trained on tens of billions of tokens. It supports mixed inputs of
<image_token> and text. Pretraining starts with a sequence length of 32k tokens, later expanded to 131k tokens, enabling support for long-form content and video analysis tasks.Dynamic Frame-Resolution Sampling for Video Input
Video input adopts a dynamic frame-resolution sampling mechanism. The frame rate is adjusted according to the task (1 FPS ~ 5 FPS), and each frame can be sampled at different resolutions (640 / 512 / 384 / 256 / 160 / 128). The total number of video tokens is limited to no more than 81,920. Each frame is prepended with a timestamp token (e.g.,
[3.5 second]) to help the model construct the temporal sequence.Pretraining Data
Seed1.5-VL’s pretraining data covers a vast amount of multimodal content.
The pretraining dataset contains approximately 3 trillion tokens, encompassing various types such as image-text pairs and video–audio–text triplets.
Detailed Process:
- General Image-Text Pairs and Knowledge Data: Large-scale image-text pairs are collected from the web.
- Filtering techniques (image-text similarity scoring, image-based criteria, text-based criteria, deduplication, URL/domain-based filtering) are applied to enhance the data quality.
- A targeted pre-processing framework is proposed to balance the common and rare visual knowledge acquisition from image-alt-text pairs, which includes:
- Automatically annotating the data with relevant semantic domains and associated named entities
- To reduce data sparsity, this study finds domains that appear less than 50% as often as the average. Then, this study copies their image descriptions (alt-texts) to give them more weight in the dataset.
- Optical Character Recognition (OCR) Data: Constructed an OCR training set with 1 billion samples, covering documents, scene text, tables, charts, flowcharts, and other diverse types.
- Techniques like font variation (artistic font, handwritten font, and non-Latin scripts), image blur, moiré pattern (a visual distortion that appears when two grids or patterns overlap, creating a new wavy or rippled pattern not present in either original), and image distortions are used for data augmentation, helping the model better understand image text content.
- Conditional prompts are also generated to produce VQA (Visual Question Answering) and QA pairs, further enhancing the model’s reasoning capability over visual and textual information.

- Visual Grounding & Counting: Object grounding, essential for multimodal models, means interpreting user instructions to locate specific objects in images. This study leveraged open-source datasets and automated annotation pipelines to construct a dataset containing bounding box data, point data, and counting data. All data are normalized, making predictions independent of input resolution.
- 3D Spatial Understanding: to enhance the model’s 3D spatial understanding capabilities from a single image, three categories of data are generated using publicly available datasets:
- Relative depth sorting
- Absolute depth estimation
- 3D grounding: the data are processed and converted to question-answering (QA) pairs
- Video Understanding: Collected short, long, and streaming video data. Employed dynamic frame-resolution sampling to balance semantic richness and computational efficiency, enabling the model to process video input at varying frame rates and resolutions effectively. The data and tasks include:
- General video understanding data: tasks like video captioning, video question answering, action recognition, action grounding, and multi-image understanding
- Video temporal grounding and moment retrieval: task includes predicting the start and end timestamp
- Video streaming data: This type of data is further classified into three classes:
- Interleaved Caption/QA Data
- Proactive Reasoning Data
- Realtime Commentary Data
- STEM Domain: To enhance professional reasoning, a large-scale STEM question set is constructed. Data was cleaned and format-standardized to ensure diversity and accuracy, which included:
- Image comprehension data
- Problem-solving data
- Graphical User Interface (GUI): Collect GUI datasets including web pages, apps, and desktop environments.
- Perception: Tasks included element descriptions, dense captioning, and state transition captioning
- Grounding: Predict element coordinates from textual descriptions
- Reasoning: multi-step task trajectories were collected, and each was annotated with observations, intermediate thoughts, and actions.
Scaling Laws
In Stage 1 of Seed1.5-VL, a frozen architecture is used (model parameters do not change). The simplified guidance formula only relates to the token quantity:
That is, the loss follows a power-law form, showing linearity in log-log coordinates.

OCR Tasks

The OCR training loss decreases as the token count increases, satisfying (Figure (a) above):
The accuracy of ChartQA is negatively correlated with OCR loss (Figure (b)):
Similarly, the accuracy of InfographicVQA is also negatively correlated (Figure (c)):
Grounding Tasks

The grounding loss also decreases with increasing tokens (Figure (d)):
Conclusion: Experimental results show that by recording training losses of different subtasks, one can predict model performance on related downstream tasks during pretraining.
Post-training
Seed1.5-VL's post-training consists of SFT, RLHF, RLVR (Reinforcement Learning with Verifiable Reward), and RSFT (Rejection Sampling Fine-tuning).
SFT Stage
- Training Data: Approximately 50,000 carefully selected multimodal samples. Sources include:
- Crowdsourced data (about 13,000 samples)
- 30,000 high-quality instruction samples were selected from 1.5 million open-source samples, using image-text clustering, LLM-as-a-judge filtering, and reward model scoring.
- Self-enhancement: complex instructions were synthesized using self-instruct methods by combining simpler prompts into multi-step reasoning tasks.
Focus is placed on covering multimodal capabilities such as OCR, chart understanding, video analysis, and spatial reasoning.
- Training Strategy
- Freeze the visual encoder, and train only the Adapter and language model.
- Uses long context (131,072 tokens) to handle video/long-text scenarios.
RLHF Stage
- Preference Data
- Multiple answers are synthesized using instructions and ground truth. Then automatically ranked based on content accuracy and adherence to the required format.
- Inspired by FeedQuill, image captioning preference pairs were generated, which helps in reducing hallucinations
- Preference strength is introduced to refine synthetic preference data.
- Reward Model: A generative reward model is built based on Seed1.5-VLM. Given the prompt , it compares the two responses and with the formulation:
Reversing input order ( and ) is added to prevent positional bias.
- Reinforcement Training Strategy: Uses the PPO algorithm, with KL divergence regularization to avoid strategy drift. Data selection includes:
- A tagging model was trained to assign capability category labels to prompts
- Then, stratified sampling is applied to ensure a balanced representation across ability levels.
- Prompts with strong discriminative power are selected based on the high variance between max and mean reward scores across generated responses.
- In early RL stages, easily solved prompts are downsampled to prioritize harder tasks.
Reinforcement Learning with Verifiable Rewards
Reinforcement Learning with Verifiable Rewards (RLVR) trains models using rule-based rewards derived from verifiable correctness signals. This enables efficient learning in tasks where outputs can be automatically validated, such as math, coding, or visual reasoning.
Visual STEM tasks use clear, verifiable answers found in STEM fields to help train RLVR. Over one million hard math problems with images were chosen and filtered to make sure they could be solved just through visual reasoning alone. The answers were checked using math expressions to give accurate rewards.
Building a verifier:
- Rule-based template matching (e.g., “Final Answer: X”);
- Structural verifiers (e.g., LaTeX table, JSON format validation);
The verifier is used for automatic labeling + reward scoring + fine-tuning. This approach can partially replace human preference data and improve alignment capability at a lower cost.

Iterative Update by Rejection Sampling Fine-tuning
After RL, multiple candidate answers are generated using RL.
- The reward model is used to rank and score these answers;
- The top-1 and top-2 high-quality samples are selected and fed back for fine-tuning;
- A new round of supervised training is then conducted for a feedback loop: “SFT ← RL”.
Prev
CivitAI’s Payment Issue
Next
Awesome-AI-Tutorials
Loading...