/ Модель

Характеристики

Контекст
1 048 576 токенов
Размер весов
32,8 ГБ
Лицензия
MIT
Архитектура
kimi_vl · dense
Библиотека
transformers
Опубликована
25 янв 2026

SimpleSeg-Kimi-VL

Генерация текстаТекст → текст3 профессии

Мультимодальная модель на базе Kimi-VL, которая сегментирует объекты на изображениях по текстовому запросу, генерируя координаты контуров.

29скачиваний за 30 дней9лайковвеса обновлены28 янв 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

SimpleSeg-Kimi-VL — версия метода SimpleSeg на базе мультимодальной модели Kimi-VL, представленная разработчиками SimpleSeg. Она предназначена для сегментации объектов по текстовому описанию: модель принимает изображение и запрос, затем генерирует последовательность координат точек, описывающих границу объекта. Такой подход представляет сегментацию как генерацию текста и не требует специализированных модулей для построения масок.

В README указана двухэтапная настройка SFT→RL: обучение с подкреплением по награде на основе IoU уточняет контуры. Описаны сценарии сегментации по выражению, пространственной локализации и визуального понимания. Модель основана на архитектуре Kimi-VL; README характеризует её как MoE с 16 млрд параметров, из которых 3 млрд активны. В метаданных указаны класс KimiVLForConditionalGeneration, библиотека Transformers и формат safetensors. Лицензия — MIT.

Сценарии применения

  • Сегментация объекта на изображении по текстовому описанию
  • Выделение границ объекта, на который указывает пользователь
  • Преобразование сгенерированных координат контура в полигон или маску
  • Локализация объекта на изображении по запросу на естественном языке

Ограничения

Модель выдаёт последовательности координат контуров, поэтому для получения масок требуется их декодирование. README не приводит подробных сведений об ограничениях качества или поддерживаемых языках.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Towards Pixel-level VLM Perception via Simple Points Prediction

Introduction

[!Note] This is Kimi-VL version of SimpleSeg, an MoE architecture with 16B-A3B paramters.

We present SimpleSeg, a strikingly simple yet highly effective approach to endow Multimodal Large Language Models (MLLMs) with native pixel-level perception. Our method reframes segmentation as a simple sequence generation problem: the model directly predicts sequence of points (textual coordinates) delineating object boundaries, entirely within its language space. To achieve high fidelity, we introduce a two-stage SFT→RL training pipeline, where Reinforcement Learning with an IoU-based reward refines the point sequences to accurately match ground-truth contours. We find that the standard MLLM architecture possesses a strong, inherent capacity for low-level perception that can be unlocked without any specialized architecture. On segmentation benchmarks, SimpleSeg achieves performance that is comparable to, and often surpasses, methods relying on complex, task-specific designs. This work lays out that precise spatial understanding can emerge from simple point prediction, challenging the prevailing need for auxiliary components and paving the way for more unified and capable VLMs.

Method

In this work, we explore the limits of MLLM pixel-level perception by predicting the next point in a contour with the simplest approach possible. Without introducing any complex architectures or special patterns, we show how even minimalistic point prediction can achieve effective segmentation at the pixel level.

Key Benefits

  • Simplicity: SimpleSeg requires no specialized modules and adheres to the standard MLLM architecture, it can be seamlessly and efficiently integrated as a new, core pre-training task for foundation models, similar to visual grounding.
  • Task Generality: By framing segmentation as a text-generation problem, our approach is inherently flexible. The model can be easily adapted to a wide range of vision-language tasks that require precise spatial localization.
  • Interpretable Output: The model generates explicit, human-readable coordinate sequences instead of dense pixel masks. This transparency simplifies debugging and makes the output directly usable for downstream applications like interactive editing or tool use.

Performance

  • Referring Expression Segmentation results
MethodsrefCOCOrefCOCO+refCOCOgAvg.
valtestAtestBvaltestAtestBvaltest
Decoder-based Models
NEXT-Chat74.778.969.565.171.956.767.067.068.9
LISA74.979.172.365.170.858.167.970.669.9
PixelLM73.076.568.266.371.758.369.370.569.2
AnyRef76.979.974.270.373.561.870.070.772.2
GSVA77.278.973.565.969.659.872.773.371.4
LaSagNA76.878.773.866.470.660.170.671.971.1
Groundhog78.579.975.770.575.064.974.174.674.2
Text4Seg (w/ SAM)79.281.775.672.877.966.574.075.375.4
Decoder-free Models
Text4Seg74.777.471.668.573.662.970.771.671.4
SimpleSeg-Qwen2.5-VL80.977.875.272.477.366.173.374.174.6
SimpleSeg-Kimi-VL80.080.676.270.476.267.172.874.774.8
  • Referring Expression Comprehension results
MethodsrefCOCOrefCOCO+refCOCOgAvg.
valtestAtestBvaltestAtestBvaltest
Decoder-based Models
LISA85.488.882.674.279.568.479.380.479.8
GSVA86.389.283.872.878.868.081.681.880.3
NEXT-Chat85.590.077.977.284.568.080.179.880.4
PixelLM89.892.286.483.287.078.984.686.086.0
Text4Seg (w/ SAM)90.393.487.585.289.979.585.485.487.1
Decoder-free Models
Text4Seg88.391.485.883.588.277.982.482.585.0
SimpleSeg-Qwen2.5-VL90.292.986.184.690.579.084.985.686.7
SimpleSeg-Kimi-VL91.392.187.182.688.379.384.686.386.5

Model Usage

Inference with 🤗 Hugging Face Transformers

It is recommended to use python=3.10, torch>=2.1.0, and transformers=4.48.2 as the development environment.

from PIL import Image
from transformers import AutoModelForCausalLM, AutoProcessor
model_path = "sthui/SimpleSeg-Kimi-VL"
model = AutoModelForCausalLM.from_pretrained(
    model_path,
    torch_dtype="auto",
    device_map="auto",
    trust_remote_code=True,
)
processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
image_path = "./octopus.png"
image = Image.open(image_path)
messages = [
    {"role": "user", "content": [{"type": "image", "image": image_path}, {"type": "text", "text": "Output the polygon coordinates of octopus in the image."}]}
]
text = processor.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
inputs = processor(images=image, text=text, return_tensors="pt", padding=True, truncation=True).to(model.device)
generated_ids = model.generate(**inputs, max_new_tokens=512)
generated_ids_trimmed = [
    out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
response = processor.batch_decode(
    generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)[0]
print(response)

Decode the polygons and masks from the response string

import re
import json
import pycocotools.mask as mask_utils

class RegexPatterns:
    BOXED_PATTERN = r'\\boxed\{([^}]*)\}'
    BLOCK_PATTERN = r'^```$\r?\n(.*?)\r?\n^```$'

    NON_NEGATIVE_FLOAT_PATTERN = (
        r'(?:[1-9]\d*\.\d+|0\.\d+|\d+)'
    )

    BBOX_PATTERN = rf'\[\s*({NON_NEGATIVE_FLOAT_PATTERN})\s*,\s*({NON_NEGATIVE_FLOAT_PATTERN})\s*,\s*({NON_NEGATIVE_FLOAT_PATTERN})\s*,\s*({NON_NEGATIVE_FLOAT_PATTERN})\s*\]'
    POINT_PATTERN = (
        rf'\[\s*({NON_NEGATIVE_FLOAT_PATTERN})\s*,\s*({NON_NEGATIVE_FLOAT_PATTERN})\s*\]'
    )

    POLYGON_PATTERN = rf'\[\s*{POINT_PATTERN}(?:\s*,\s*{POINT_PATTERN})*\s*\]'

polygon_matches = [
    m.group(0) for m in re.finditer(RegexPatterns.POLYGON_PATTERN, response, re.DOTALL)
]
pred_polygons = []
for polygon_match in polygon_matches:
    polygon = json.loads(polygon_match)
    pred_polygons.append(polygon)

pred_masks = []
for pred_polygon in pred_polygons:
    pred_polygon = np.array(pred_polygon) * np.array([width, height])
    rle = mask_utils.frPyObjects(pred_polygon.reshape((1, -1)).tolist(), height, width)
    mask = mask_utils.decode(rle)
    mask = np.sum(mask, axis=2, keepdims=True)
    pred_masks.append(mask)
pred_mask = np.sum(pred_masks, axis=0)
pred_mask = pred_mask.sum(axis=2)
pred_mask = (pred_mask > 0).astype(np.uint8)

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
KimiVLForConditionalGeneration
Ревизия весов
6cbd171

0 моделей