CICA-GLM-4.1V-9B-Thinking
multimodal model for multi-image analysis
2 min readupdated
A multimodal model by author seul77 based on zai-org/GLM-4.1V-9B-Thinking (10.29B parameters), fine-tuned using the CICA method (cross-image credit assignment for reinforcement learning with verifiable rewards RLVR). Standard vision-language models often rely on only a single image from a prompt while ignoring the rest, whereas CICA forces the AI model to actually compare all provided images. The model produces detailed text responses with reasoning (Thinking) across a group of images and is useful for developers building services to compare visual data.
Key features
- The CICA method shifts training focus to tokens that require information from multiple images simultaneously to generate.
- Trained on the ASTERISM-Train dataset without adding new parameters or complicating the inference stage.
- Shows an increase in the ASTERISM benchmark up to 61.3 points compared to 58.7 for the original GLM-4.1V-9B-Thinking.
- Supports standard execution via the
transformerslibrary and is distributed under the open MIT license.
What you can do
- Integrate into a service or bot to find the exact same object captured from different angles across multiple photos.
- Automate verification and the search for differences between multiple images or frames.
- Use as a VLM engine in tasks where the answer depends on comparing a set of images within a single dialogue.
Example
from transformers import AutoProcessor, Glm4vForConditionalGeneration
path = "seul77/CICA-GLM-4.1V-9B-Thinking"
processor = AutoProcessor.from_pretrained(path)
model = Glm4vForConditionalGeneration.from_pretrained(path, torch_dtype="auto", device_map="auto")
messages = [{"role": "user", "content": [{"type": "image", "url": "image_1.jpg"}, {"type": "image", "url": "image_2.jpg"}, {"type": "text", "text": "Which image shows the same object from a different side?"}]}]
inputs = processor.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=16384, do_sample=False)Read more
DetailsBenchmark: ASTERISM — 61.3 (base GLM-4.1V-9B-Thinking — 58.7, measured with greedy decoding)
Requirements: running the example requires the
accelerate packageDetails: configuration and tokenizer are fully inherited from GLM-4.1V-9B-Thinking, MIT license










Comments