Papers
Topics
Authors
Recent
Search
2000 character limit reached

SELF1E: Decoder-Free Segmentation Method

Updated 31 May 2026
  • SELF1E Technique is a segmentation framework that leverages a single learnable [SEG] token to predict dense masks from preserved high-resolution features.
  • It integrates pixel-unshuffle, residual refill, and a dual-perception attention mechanism to fuse visual embeddings and the segmentation token seamlessly.
  • The method outperforms decoder-based models in accuracy and speed, achieving state-of-the-art results on segmentation benchmarks with scalable efficiency.

The SELF1E (Segmentation by External-Less Fusion with 1 Embedding) technique is a decoder-free image segmentation framework for multi-modal LLMs (MLLMs), formulated to predict dense segmentation masks using a single learnable segmentation embedding ([SEG] token). SELF1E operates by preserving and refining spatially high-resolution image features, applying innovative residual refilling and amplification, and enabling comprehensive feature interaction between image tokens and the segmentation token through a redesigned attention scheme. Unlike previous approaches, which typically rely on specialist mask decoders or an array of auxiliary tokens, SELF1E predicts masks directly by computing the similarity between high-resolution visual embeddings and the [SEG] token, demonstrating both high accuracy and computational efficiency (Zhang et al., 19 Mar 2026).

1. Architecture: Single-Token Paradigm and Feature Flow

SELF1E builds upon a standard MLLM architecture, such as InternVL3, consisting of a visual encoder E\mathcal{E} (CNN or ViT) and an autoregressive LLM M\mathcal{M}. For input image xx, the encoder yields uncompressed features FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0} with N0=H0⋅W0N_0 = H_0 \cdot W_0. A pixel-shuffling+MLP operation compresses these to FV1∈RN1×dF_{V_1}\in\mathbb{R}^{N_1 \times d} with N1=N0/αN_1 = N_0/\alpha and d≈αd0d \approx \alpha d_0, incorporating a single [SEG] token into the sequence for LLM processing.

The LLM output consists of FIMG∈RN1×dF_{IMG} \in \mathbb{R}^{N_1 \times d} (visual tokens) and FSEG∈R1×dF_{SEG}\in\mathbb{R}^{1\times d} ([SEG] token embedding). Unlike previous methods, SELF1E predicts the segmentation mask by directly computing the dot product between each (post-fused, high-resolution) per-pixel feature and M\mathcal{M}0, normalized by M\mathcal{M}1:

M\mathcal{M}2

where M\mathcal{M}3 and M\mathcal{M}4 are the post-refined, high-resolution feature representations. No external decoder is used for this prediction pathway. Key architectural elements include the preservation and upsampling of uncompressed features, explicit computation and amplification of LLM-encoder feature residuals, and a dual-perception attention mechanism for pixel–[SEG] interaction (Zhang et al., 19 Mar 2026).

2. Mathematical Modules: Pixel-Unshuffle, Residual Refill, and Amplification

Pixel-Unshuffle Operation

Given M\mathcal{M}5, pixel-unshuffle by a factor M\mathcal{M}6 reorganizes it into M\mathcal{M}7:

M\mathcal{M}8

SELF1E wraps this in an MLP so M\mathcal{M}9 yields xx0 features.

Residual Feature Refilling (RFR)

The compressed LLM and encoder outputs produce a residual xx1. After upsampling by xx2, xx3, and a self-replicated+MLP branch produces xx4. The refilled feature is:

xx5

Residual Feature Amplifier (RFA)

For enhanced alignment, both compressed streams are pixel-unshuffled via separate MLPs:

xx6

Further fusion yields:

xx7

and the [SEG] embedding is unshuffled and averaged across its xx8 copies to yield xx9.

Attention-Mask Redesign

SELF1E implements bidirectional attention among image tokens and [SEG], replacing the standard causal LLM mask. For FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}0 tokens, the attention mask FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}1 is

  • FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}2 for all image tokens FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}3,
  • FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}4 (imageFV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}5[SEG]),
  • FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}6 ([SEG]FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}7image), and FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}8 elsewhere, ensuring full pixel–[SEG]–pixel communication per self-attention block.

3. Feature–Token Interaction in Self-Attention

The feature sequence FV0∈RN0×d0F_{V_0} \in \mathbb{R}^{N_0 \times d_0}9 enables each transformer block to use queries, keys, and values from both pixel and [SEG] representations, with the dual-perception mask facilitating global feature interaction. Consequently, the [SEG] token aggregates a global summary over high-resolution features, while each pixel is modulated by the segmentation cue. The final segmentation mask emerges from the direct dot-product similarity of each pixel embedding with N0=H0⋅W0N_0 = H_0 \cdot W_00.

This mechanism removes the need for explicit mask decoders or multi-token schemes. The [SEG] token serves as a single-point prompt for the network to edit all pixel embeddings, yielding dense masks seamlessly at the end.

4. Training Strategy and Segmentation Objectives

SELF1E is trained jointly on mixed visual question answering (VQA) and segmentation data with a multi-term loss:

N0=H0â‹…W0N_0 = H_0 \cdot W_01

  • N0=H0â‹…W0N_0 = H_0 \cdot W_02: standard autoregressive cross-entropy on textual VQA responses,
  • N0=H0â‹…W0N_0 = H_0 \cdot W_03: pixel-wise binary cross-entropy between predicted mask N0=H0â‹…W0N_0 = H_0 \cdot W_04 and ground truth N0=H0â‹…W0N_0 = H_0 \cdot W_05,

N0=H0â‹…W0N_0 = H_0 \cdot W_06

  • N0=H0â‹…W0N_0 = H_0 \cdot W_07: Dice loss to maximize mask overlap,

N0=H0â‹…W0N_0 = H_0 \cdot W_08

No additional mask-IoU loss is explicitly used, since the Dice term closely approximates IoU alignment.

5. Quantitative Results and Benchmark Comparisons

SELF1E-SEG achieves state-of-the-art or near-parity results with decoder-based specialist models on referring expression segmentation benchmarks. On the cIoU metric:

Method RefCOCO testA RefCOCO+ testA RefCOCOg test
HyperSeg (decoder+multi) 85.7% 83.5% 78.9%
HiMTok-8B(ft) 85.2% 82.7% 80.6%
UFO-8B(ft) 82.6% 80.4% 77.3%
SELF1E-SEG-8B 86.2% 84.2% 82.8%

SELF1E surpasses or equals the highest cIoU on all tasks, utilizing no external mask decoder and just a single [SEG] token. Inference efficiency is significant: SELF1E-8B (on a single RTX 4090 GPU) achieves 105 ms, 9.5 FPS, and 17.7 GB—approximately twice as fast as LISA-7B (SAM-decoder) and nearly ten times faster than UFO-7B (multi-token dot product), while being more parameter-efficient (Zhang et al., 19 Mar 2026).

6. Practical Trade-offs and Scalability

SELF1E’s focus on spatial grounding delivers precise segmentation, with a modest performance decrease in OCR-heavy or knowledge-driven VQA tasks (e.g., OKVQA, TextVQA), amounting to a 2–5% reduction relative to baseline. However, general VQA capability is preserved. The design scales across parameter regime, with consistent segmentation improvements for both SELF1E-2B and SELF1E-8B, without excessive memory or compute costs.

In summary, by aligning high-resolution visual features, residual LLM outputs, and single-token segmentation prompts within a unified attention mechanism, SELF1E demonstrates that decoder-free, highly efficient single-token segmentation is feasible without sacrificing accuracy or scalability (Zhang et al., 19 Mar 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to SELF1E Technique.