/ Модель

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

Лицензия
Apache 2.0
Архитектура
falcon_perception · dense
Библиотека
transformers
Опубликована
22 фев 2026

Falcon-Perception

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

Falcon Perception — модель TII на 0,6 млрд параметров, которая находит объекты по текстовому запросу и выдаёт для них пиксельные маски.

8 935скачиваний за 30 дней146лайковвеса обновлены20 авг 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

  • tiiuae/PBench

    score

    Результат

    57

    Hugging Face Eval Results

    Отчёт автораревизия не подтверждена

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

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

Falcon Perception — модель TII с открытой архитектурой весом 0,6 млрд параметров для визуального grounding и сегментации отдельных объектов по текстовому запросу. Она принимает изображение и описание искомого объекта или признака и возвращает найденные экземпляры с попиксельными масками. Лицензия — Apache 2.0.

Модель использует плотный Transformer с ранним объединением патчей изображения и текстовых токенов в общем стеке. Гибридная маска внимания позволяет строить визуальный контекст и декодировать текстовые и целевые токены с учётом изображения; маски экземпляров формируются параллельно. Falcon Perception рассчитана на поиск объектов в изображениях, в том числе в плотных и перегруженных сценах, и на применение в конвейерах сегментации.

Это специализированная модель, а не универсальный визуальный ассистент: она не предназначена для открытых рассуждений, длинной генерации или многошаговых ответов на вопросы по изображениям. Точность локализации в плотных сценах зависит от разрешения; небольшие или размытые надписи затрудняют запросы, управляемые OCR, а на сложных отрицательных примерах возможны ложные срабатывания.

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

  • поиск объектов на изображении по текстовому описанию
  • сегментация экземпляров объектов в перегруженных сценах
  • выбор объектов по атрибутам, например цвету или форме
  • сегментация объектов по пространственным отношениям в запросе
  • разбор изображений по OCR-запросу для поиска объектов рядом с текстом

Ограничения

В сложных случаях модель может давать ложные срабатывания; точность локализации в плотных сценах зависит от разрешения изображения. Запросы, основанные на OCR, хуже работают с мелким текстом и изображениями низкого качества.

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

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

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

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

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

Открыть на Hugging Face

Falcon Perception

Falcon Perception is a 0.6B parameter early-fusion vision-language model for open-vocabulary grounding and instance segmentation. Given an image and a natural language query, it returns zero, one, or many matching instances with pixel-accurate masks.

The model is built around a simple interface. Image patches and text tokens are processed together in a single Transformer using a hybrid attention mask: image tokens build bidirectional visual context, while text and task tokens decode causally conditioned on the image. For each instance, the model generates a short structured sequence of task tokens in a fixed order, <|coord|> then <|size|> then <|seg|>. The <|seg|> token acts as a mask query whose hidden state is projected and dotted with upsampled image features, producing a full-resolution binary mask without autoregressive mask generation.

Links

  • Code and inference engine: https://github.com/tiiuae/Falcon-Perception
  • Tech report: arXiv link coming soon
  • PBench dataset: tiiuae/PBench
  • OCR model: tiiuae/Falcon-OCR

RL post-training for Falcon Perception

An RL post-trained version of Falcon Perception is available in revision 19-08-2026. It is obtained by reinforcement learning (GRPO) post-training with a simple set-matching reward (a Hungarian-matched count that penalizes false negatives and false positives). This improves recall in high-density scenes (up to 500 instances per image) and removes the need for NMS and coordinate deduplication, at no change to the architecture or tokenizer. For further details read https://arxiv.org/abs/2608.18881.

model = AutoModelForCausalLM.from_pretrained(
    "tiiuae/Falcon-Perception",
    revision="19-08-2026",
    trust_remote_code=True,
    device_map={"": "cuda:0"},
)

Results on PBench (mask F1):

SplitFalcon PerceptionRL post-trainedΔ
L0 Simple objects63.764.9+1.1
L1 Attribute63.864.2+0.5
L2 OCR guided38.340.4+2.1
L3 Spatial understanding53.454.7+1.3
L4 Relation binding49.151.8+2.7
Dense72.380.5+8.2
Average56.859.4+2.6

If you use this version, please cite:

@article{chaybouti2026falcon,
  title={Falcon Perception-HD: High Density Perception via Reinforcement Learning},
  author={Chaybouti, Sofian and Dahou, Yasser and Huynh, Ngoc Dung and Alami, Reda and Kuehne, Hilde},
  journal={arXiv preprint arXiv:2608.18881},
  year={2026}
}

Quickstart

Installation

pip install "torch>=2.5" transformers pillow einops pycocotools

This model requires PyTorch 2.5 or newer for FlexAttention. The first call can be slower because torch.compile may build optimized kernels.

Run open-vocabulary segmentation

import torch
from PIL import Image
from transformers import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    "tiiuae/falcon-perception",
    trust_remote_code=True,
    device_map={"": "cuda:0"},
)

image = Image.open("photo.jpg")
preds = model.generate(image, "cat")[0]

for p in preds:
    print(p["xy"], p["hw"])

Decode masks

import numpy as np
from pycocotools import mask as mask_utils

for p in preds:
    rle = p["mask_rle"]
    # pycocotools expects bytes for counts
    m = {"size": rle["size"], "counts": rle["counts"].encode("utf-8")}
    mask = mask_utils.decode(m).astype(bool)  # H x W
    print(mask.shape, mask.sum())

API

model.generate(images, queries, **kwargs)

ParameterTypeDefaultDescription
imagesPIL.Image or listrequiredSingle image or list of images
queriesstr or list[str]requiredQuery string(s), one per image
max_new_tokensint2048Maximum decoding steps
min_dimensionint256Minimum image side after resize
max_dimensionint1024Maximum image side after resize
compileboolTrueRun torch.compile on first call

Returns: list[list[dict]], one list per image.

Each prediction dict contains:

{
  "xy": {"x": float, "y": float},                    # center in normalized coordinates (0 to 1)
  "hw": {"h": float, "w": float},                    # size in normalized coordinates (0 to 1)
  "mask_rle": {"counts": str, "size": [H, W]},       # COCO RLE at original resolution
}

What the model is for

Falcon Perception is designed for dense grounding regimes where the main difficulty is localization under open vocabulary. That includes:

  • Natural language driven object selection in images
  • Promptable instance segmentation for downstream pipelines
  • Crowded scenes where the number of instances is large and variable

It is not intended as a general-purpose vision-language assistant for open-ended reasoning, long-form generation, or multi-step VQA.

Model details (high level)

The architecture follows a single-stack early-fusion recipe:

  • One dense Transformer backbone processes image patches and text tokens in a shared space from the first layer
  • Hybrid attention masking: bidirectional among image tokens, causal for text and task tokens conditioned on the image
  • Chain-of-Perception decoding: <|coord|> then <|size|> then <|seg|> per instance
  • Specialized heads for coordinates and size, with geometry conditioning via Fourier features
  • Parallel mask decoding: each <|seg|> token becomes a mask query and produces a full-resolution mask via dot product with upsampled image features

Evaluation summary

From the technical report:

  • SA-Co (open-vocabulary segmentation): 68.0 Macro F1 compared to 62.3 for SAM 3, with the main remaining gap being presence calibration (Average MCC 0.64 compared to 0.82 for SAM 3)
  • PBench: a diagnostic benchmark that breaks down performance by capability (attributes, OCR-guided disambiguation, spatial constraints, relations) and includes a dense long-context crowded split

Full tables, setup details, and ablations are in the report.

Limitations

  • Presence calibration remains a key limitation for autoregressive dense interfaces. False positives are more likely on hard negatives than in DETR like segmentation models.
  • OCR-driven prompts depend on text size and image resolution. Small text and degraded scans are challenging.
  • Dense scenes benefit strongly from high resolution inputs. Low resolution can be sufficient to recognize that a concept is present, but insufficient to localize each instance precisely.

Citation

If you use Falcon Perception, please cite:

@article{bevli2026falcon,
  title   = {Falcon Perception},
  author  = {Bevli, Aviraj and Chaybouti, Sofian and Dahou, Yasser and Hacid, Hakim and Huynh, Ngoc Dung and Le Khac, Phuc H. and Narayan, Sanath and Para, Wamiq Reyaz and Singh, Ankit},
  journal = {arXiv preprint arXiv:2603.27365},
  year    = {2026},
  url     = {https://arxiv.org/abs/2603.27365}
}

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
FalconPerceptionForSegmentation
Ревизия весов
a3e21ad

0 моделей