FMLR-8B
A multimodal model with latent reasoning
2 min readupdated
The FMLR-8B model is built on the Qwen/Qwen3-VL-8B-Instruct architecture and handles visual-text analysis tasks. Instead of outputting hundreds of explicit reasoning text tokens or iterating over pixels, it performs adaptive thinking steps directly in a continuous latent space. This approach enables more precise processing of complex images and faster response generation. The new release is tailored for developers and researchers who need efficient multimodal LLMs with an enhanced logic framework.
Key features
- Two-stage training includes hidden state alignment and policy optimization (MSL-GRPO).
- The average number of latent reasoning steps per prompt is 1.74.
- Improved scores on the MMVP, AI2D, and TextVQA benchmarks compared to the base model.
- Use of custom boundary tokens to separate the latent phase from the final response.
What you can do
- Perform advanced visual analysis of images and answer detailed questions about graphics.
- Integrate the model into multimodal data processing pipelines using Python scripts.
- Research the behavior of hidden states and latent trajectories when solving visual tasks.
Example
Running inference in Python using the helper class LatentActor:
import torch
from PIL import Image
from transformers import AutoModelForImageTextToText, AutoProcessor
from fmlr.latent_policy import LatentActor, LatentPolicyConfig
model_id = "tinnel123/FMLR-8B"
device = "cuda:0"
processor = AutoProcessor.from_pretrained(model_id)
tokenizer = processor.tokenizer
model = AutoModelForImageTextToText.from_pretrained(
model_id, dtype=torch.bfloat16, attn_implementation="sdpa"
).to(device).eval()
Read more
DetailsMacro-8 metrics: Qwen3-VL-8B-Instruct — 69.94, FMLR-8B (Stage 1) — 71.53, FMLR-8B (Full) — 73.95.
Architecture: Qwen3VLForConditionalGeneration with bfloat16 safetensors support (4 shards).
License: Apache-2.0.










Comments