potentialpaper

eSAM: Editing SAM3 Attention for Training-Free Referring Segmentation

Yaoting Wang, Yun Zhou, Hengrui Hu, Chang Liu, Henghui Ding

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. eSAM: Editing SAM3 Attention for Training-Free Referring Segmentation

Abstract. Referring expression segmentation (RES) aims to segment objects described by natural language in images (RIS) or videos (RVOS). Existing zero-shot methods reduce reliance on mask-language annotations but still require auxiliary training or multi-model pipelines. SAM 3 enables native text-prompted segmentation within a single foundation model, yet performs poorly when directly applied to RES. We trace this gap to an attention sink in its multimodal fusion encoder, where the start-of-text token absorbs a substantial portion of each image patch's cross-attention mass, limiting the influence of content tokens. Suppressing the sink alone redistributes attention indiscriminately, making spatial guidance necessary. We therefore introduce eSAM, a fully training-free framework that addresses this issue by editing SAM 3's cross-attention. Attention Mask Editing (AME) suppresses the sink and uses a CLIPSeg-derived, patch-dependent spatial prior to redirect attention toward relevant content tokens. Value Tensor Editing (VTE) rescales value tensors to amplify content-token contributions to the fused visual features. On RIS (RefCOCO/+/g) and RVOS (Ref-DAVIS17, Ref-YouTube-VOS, MeViS) benchmarks, eSAM achieves state-of-the-art performance among training-free methods without auxiliary LLMs.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
22 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

I have read the authors' rebuttal and the reviewer discussion. The response substantially addresses the main concerns raised in my initial meta-review.

In particular, the additional no-prior and SOT-suppression controls show that the gains are not solely due to CLIPSeg, while the alternative-prior experiments further support the effectiveness of the proposed attention editing. The authors also provide stronger layer-sensitivity analysis, content-boost ablations, and a clearer efficiency breakdown. These additions resolve most of my earlier concerns regarding causality, robustness, and computational cost.

The remaining issues, such as cross-model generalization and the relatively simple nature of the editing mechanism, are better viewed as limitations rather than critical weaknesses.

Overall, given the strong empirical results, the training-free design, and the substantially improved evidence after rebuttal, I recommend Accept.

Final justification

The authors’ rebuttal substantially addressed my main concerns regarding the role of the SOT attention sink, dependence on CLIPSeg, robustness, and efficiency. The additional ablations and analyses provide sufficient evidence to support the proposed method, and the remaining concerns are non-blocking limitations. I therefore recommend Accept.

Area Chair np5B · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

I have read the authors' rebuttal and the reviewer discussion. The response substantially addresses the main concerns raised in my initial meta-review.

In particular, the additional no-prior and SOT-suppression controls show that the gains are not solely due to CLIPSeg, while the alternative-prior experiments further support the effectiveness of the proposed attention editing. The authors also provide stronger layer-sensitivity analysis, content-boost ablations, and a clearer efficiency breakdown. These additions resolve most of my earlier concerns regarding causality, robustness, and computational cost.

The remaining issues, such as cross-model generalization and the relatively simple nature of the editing mechanism, are better viewed as limitations rather than critical weaknesses.

Overall, given the strong empirical results, the training-free design, and the substantially improved evidence after rebuttal, I recommend Accept.

Final justification

The authors’ rebuttal substantially addressed my main concerns regarding the role of the SOT attention sink, dependence on CLIPSeg, robustness, and efficiency. The additional ablations and analyses provide sufficient evidence to support the proposed method, and the remaining concerns are non-blocking limitations. I therefore recommend Accept.

2 comments
Authors · CommentOpenReview ↗

Response to Area Chair np5B (2/2)

5. Hyperparameter and layer robustness.

  • We report sweeps of α\alpha, β\beta, and γ\gamma using full prior-aware eSAM on RefCOCOg val. The following results demonstrate robustness to these hyperparameters:

    α\alpha 1 2 3 4 5 (default) 6 7 8 9 10
    oIoU 53.83 54.04 54.36 54.38 54.44 54.36 54.23 54.36 54.17 54.12
    β\beta 1 2 3 4 5 6 7 8 9 10 (default)
    oIoU 54.51 54.37 54.35 54.33 54.27 54.38 54.46 54.41 54.37 54.44
    γ\gamma 0.1 0.2 0.3 0.4 0.5 (default) 0.6 0.7 0.8 0.9 1.0
    oIoU 53.65 53.76 54.01 54.12 54.44 54.14 54.25 54.45 53.97 53.96
  • We also evaluate alternative prior-modulation functions on RefCOCOg. Performance remains stable across all three choices:

    Function Linear (g(h)=hg(h)=h) Square (g(h)=h2g(h)=h^2) Hard (g(h)=1[h>0.5]g(h)=\mathbb{1}[h>0.5])
    oIoU 54.44 54.49 54.48
  • For layer selection, we further analyze why layer 1 performs best. See Reviewer KZVW, Sec. 5 and Reviewer k4r3, Sec. 2.

Revision: We will report the full-eSAM hyperparameter sweeps and add our analysis of why layer 1 performs best.


6. Technical novelty. Our contribution is to identify excessive attention concentration on the SOT token in SAM3 and introduce two complementary training-free edits (AME and VTE), one for attention routing and the other for value readout, that improve its language-guided segmentation. AME-only and VTE-only improve the average oIoU across eight RIS splits by 6.08 and 5.24 points, respectively. Their combination performs better on all eight splits. The +4.72 oIoU no-prior result further shows that the method does not simply inject a CLIPSeg prior. See Reviewer aMwj, Sec. 1 and Reviewer k4r3, Sec. 2.

Revision: We will clarify our contribution as identifying excessive SOT attention in SAM3 and introducing complementary training-free routing/readout edits.


7. Efficiency comparison in Table 6. The increases in parameters and FLOPs come from CLIPSeg prior generation, not AME or VTE. Attention editing alone adds no parameters, negligible FLOPs, and only 1.59 ms of latency. CLIPSeg increases the total parameter count from 0.84B to 0.99B and the total FLOPs from 2551G to 2590G. Full eSAM increases latency from 0.146 s to 0.170 s per image. See Reviewer k4r3, Sec. 3.

Revision: We will split Table 6 into SAM3, AME/VTE editing, CLIPSeg prior generation, and full eSAM.


8. Layer analysis. We test the suggested L1+L5 setting on RefCOCO, RefCOCOg, and gRefCOCO. It gives 52.54/54.02/39.38 oIoU, below 53.62/54.44/39.73 with L1 alone. L1 is applied after the first fusion block, when early word-region alignment has formed and several later blocks remain to refine the result. The three-dataset layer sweep and feature-change analysis also support the use of L1 alone. See Reviewer KZVW, Sec. 5 and Reviewer k4r3, Sec. 2.

Revision: We will add the L1+L5 results and the reason for choosing L1 to the layer analysis.

Authors · CommentOpenReview ↗

Response to Area Chair np5B (1/2)

We thank the Area Chair for carefully summarizing the reviews. We address each concern below and point to our detailed reviewer responses.


1. Central claim. Our claim is that excessive attention concentration on the SOT token can limit SAM3's RES performance. We do not argue that attention to the SOT token is inherently harmful or that the SOT attention sink is the main cause of SAM3's weak RES performance (see paper Lines 115–117 and 272–274).

To support our claim, Figure 2 shows that the SOT token receives 54.8% of the attention mass on average and consistently dominates across all six fusion layers. We further validate this finding on the complete RefCOCOg validation set, where the SOT token receives 44.81% of the total attention mass and approximately 8 times the attention assigned to an individual content token. Related analyses are provided in Reviewer aMwj, Sec. 1 and Reviewer KZVW, Secs. 2–3.

Revision: In the third paragraph of the Introduction, Sec. 3.1.2 ("Attention Sink in SAM 3"), and the Conclusion, we will clarify that our concern is the SOT attention sink rather than the SOT token itself. We will also state explicitly in the Abstract and Conclusion that the SOT attention sink is one factor limiting SAM3's RES performance.


2. Separating the CLIPSeg spatial prior. Attention editing remains effective without CLIPSeg. (1) No prior: eSAM without a spatial prior, retaining only the internal editing operations, improves RefCOCO val from 47.23 to 51.95 oIoU. Adding the CLIPSeg prior further raises the result to 53.62. (2) Cascaded prior: In contrast, using the CLIPSeg response map as a SAM3 mask, box, or point prompt gives only 30.91, 28.14, and 29.50 oIoU, respectively. (3) Alternative priors: Replacing CLIPSeg with MaskCLIP or CLIP Grad-CAM also yields clear gains on RefCOCO, RefCOCOg, and gRefCOCO. Thus, internal attention editing accounts for a substantial gain, while the external prior provides further improvement. Related controls are provided in Reviewer aMwj, Sec. 1(3), Reviewer KZVW, Sec. 1, and Reviewer k4r3, Sec. 1.

Revision: We will add the no-prior, cascaded-prior, and alternative-prior results to the ablation studies.


3. Effectiveness of SOT suppression. We conduct a control experiment that enables only unconditional SOT suppression, with no spatial prior, content-token boost, or VTE. It achieves 50.61 oIoU, compared with 47.23 for vanilla SAM3, demonstrating that SOT suppression is effective on its own.

Regarding Table 3, it isolates the effect of adding an explicit negative bias to the SOT logit while keeping the content-token boost fixed. The "prior-only" row leaves the SOT logit unchanged, while its content-token boost implicitly reduces the relative attention assigned to the SOT token through softmax normalization. See Reviewer KZVW, Sec. 4.

Revision: We will rename "prior-only" as "content boost only / no explicit SOT bias" and clarify the role of Table 3 in its caption. We will also add the no-prior, SOT-suppression-only ablation to demonstrate the effectiveness of SOT suppression.


4. Content-token boost in Eq. 3. On RefCOCO val, while keeping all other components fixed as in the full eSAM, no boosting, uniform boosting (+α+\alpha), and weighted boosting (+αhi+\alpha h_i) achieve 52.28, 52.54, and 53.62 oIoU, respectively. The weighted boost improves over no boosting by 1.34 points and over uniform boosting by 1.08 points, demonstrating that content-token boosting is effective and that spatial prior weighting provides further refinement.

Revision: We will add this ablation and explain the role of hih_i in content-token boosting.

Reviewer aMwjOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

eSAM claims that SAM 3 already possesses hidden RES capabilities, but these capabilities are hindered by a significant attention sink. By modifying attention at inference time through the proposed methods of Attention Mask Editing (AME) and Value Tensor Editing (VTE), eSAM enhances referring segmentation without the need for additional training.

Strengths and weaknesses

Strengths

  1. eSAM does not simply say “SAM 3 performs poorly on RES.” It proposes a specific mechanism: the SOT attention-sink problem, where the start-of-text token absorbs too much cross-attention mass and weakens content-token grounding. This gives the method a clear technical motivation.
  2. eSAM keeps SAM 3 frozen and edits cross-attention during inference. AME redirects attention away from the SOT sink toward relevant content tokens using a spatial prior, while VTE amplifies the contribution of content-token values. This is clearer and more lightweight than large multi-stage agentic pipelines.
  3. Compared with methods that use external VLM controllers, prompt decomposition, or candidate ranking, eSAM is significant because it tries to unlock SAM 3’s latent RES capability from within the model. This is valuable because it may be more efficient, reproducible, and less dependent on the behavior of a separate multimodal LLM.

Weaknesses

  1. The core concepts of attention sinks, training-free attention editing, and spatial-prior-guided attention have been observed in related fields such as LLM/LMM analysis, diffusion cross-attention editing, and RefAM-style zero-shot segmentation. The originality of eSAM primarily lies in its adaptation of these concepts specifically for the SAM 3 multimodal fusion encoder, rather than in the creation of attention editing from the ground up.
  2. Experimental results show that eSAM outperforms both direct SAM 3 and the baselines presented in its tables. However, when considering recent arXiv submissions or concurrent methods such as [A,B,C] and other SAM3-based RES approaches, the claim of achieving a “new state-of-the-art among training-free methods” becomes less certain.
  3. The explanation of the attention sink is supported by attention statistics, but the paper needs to further establish causality. For instance, it should isolate the effects of SOT suppression, CLIPSeg spatial prior injection, layer/head selection, VTE scaling, and various spatial-prior sources. Without this, it remains possible that improvements may also result from the external CLIPSeg prior or carefully chosen hyperparameters, rather than solely from addressing the attention sink itself.

Related methods:

[A] RESAnything: Attribute Prompting for Arbitrary Referring Segmentation, NeurIPS 2025

[B] Evolving, Not Training: Zero-Shot Reasoning Segmentation via Evolutionary Prompting, arXiv 2025

[C] Tarot-SAM3: Training-free SAM3 for Any Referring Expression Segmentation, arXiv 2026

Questions
  1. Is the SOT attention-sink diagnosis causally validated, or is it only correlated with better results? eSAM’s main technical claim is that the weakness of SAM 3's RES is due to the SOT token absorbing too much cross-attention mass. This claim requires causal evidence rather than just visualization.
  2. Does eSAM genuinely establish SOTA performance among training-free methods under a fair and comprehensive comparison? The significance of this claim depends on whether eSAM outperforms the strongest relevant recent methods, not just older baselines.
  3. eSAM is not fundamentally novel in the realms of “attention editing” or “attention-sink mitigation.” These concepts have already been explored in the context of LLM/LMM analysis, diffusion attention control, and RefAM-style zero-shot referral segmentation. eSAM does have reasonable novelty as a method tailored for SAM 3 if it convincingly demonstrates that 1) the SOT attention sink is a genuine bottleneck within SAM 3, 2) AME and VTE causally address that bottleneck, and 3) the improvements are not merely due to the quality of the CLIPSeg prior.
Limitations

Yes, the limitations are outlined in the section on Future Work and Limitations.

Final justification

Thanks the authors for their well-articulated rebuttal.

  • Regarding the first concern, the experiments provide meaningful evidence that excessive attention on SOT causally contributes to SAM3's referring-segmentation errors. However, the current evidence does not prove that it is the only bottleneck.
  • For the second concern, the revised and more focused SOTA statement is more defensible. However, a fair and comprehensive comparison still requires a standardized table that separates methods using external MLLMs from those that do not, while clearly reporting evaluation settings, auxiliary components, and runtime conditions.
  • Regarding the third concern, the experiments with no prior, cascaded prompts, and alternative priors convincingly demonstrate that the observed gains are not merely the result of CLIPSeg.

Given that my concerns have been reasonably addressed, I have raised the rating.

Formatting concerns

N/a

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer aMwj (4/4)

2. Response to W2 and Q2: Comparison with Concurrent MLLM-Based Methods

We thank the reviewer for pointing out these concurrent works. We agree that the original claim of "training-free SOTA" is too broad without distinguishing different inference settings. We therefore refine our claim as follows: eSAM achieves the strongest performance among the compared training-free methods that do not rely on auxiliary MLLMs.

The cited methods mainly differ from eSAM in that they use external MLLMs for semantic reasoning, prompt generation, search, or candidate selection:

  • RESAnything first uses SAM to generate candidate regions, then employs Pixtral-12B to produce attribute prompts and combines an MLLM with CLIP to select the final candidate.
  • EVOL-SAM3 uses Qwen2.5-VL-3B/7B to maintain prompt hypotheses and iteratively searches for better prompts through a Generate-Evaluate-Evolve procedure.
  • Tarot-SAM3 uses Qwen2.5-VL-7B to parse and rephrase referring expressions and to construct multiple types of prompts. It further uses DINOv3 features for mask refinement and an MLLM to select among candidate masks.

In contrast, eSAM directly edits the cross-attention of frozen SAM3 without using an external MLLM controller. The reported inference times are 12.1s per image for RESAnything (Qwen2-VL-7B), 23.2s for EVOL-SAM3 (Qwen2.5-VL-7B), and 15.2s for Tarot-SAM3 (Qwen2.5-VL-7B), compared with 0.17s for eSAM. Although these results were obtained on different hardware and are not directly comparable, the large gap reflects the additional cost of MLLM inference, prompt search, and candidate evaluation.

We further integrate eSAM into EVOL-SAM3 to test their compatibility. On RefCOCO val, eSAM improves oIoU from 68.7 to 69.4 (+0.7) with almost no additional time delay. This result shows that the two approaches are complementary: MLLM-based methods provide external semantic reasoning and prompt search, while eSAM improves SAM3's internal routing and readout. Thus, eSAM can serve either as a lightweight standalone method or as an enhancement module for existing training-free pipelines.

In the revised manuscript, we will cite and discuss RESAnything, EVOL-SAM3, and Tarot-SAM3, revise the claim to the non-auxiliary-MLLM setting.

Authors · CommentOpenReview ↗

Response to Reviewer aMwj (3/4)

(3) The improvements are not explained merely by the CLIPSeg prior

To disentangle the contribution of attention editing from that of the external spatial prior, we conduct three types of control experiments: (1) eSAM without any spatial prior; (2) cascaded systems that use CLIPSeg outputs without attention editing; and (3) eSAM with different spatial-prior sources.

(a) eSAM without a spatial prior.

Even without using any spatial prior, eSAM improves RefCOCO val performance by +4.72 oIoU over vanilla SAM3.

Method SAM3 eSAM (No Prior) eSAM (CLIPSeg)
oIoU 47.23 51.95 53.62
Δ\Delta oIoU vs. SAM3 — +4.72 +6.39

This result shows that attention editing itself accounts for a substantial improvement, while the spatial prior provides further refinement rather than constituting the sole source of the gain.

(b) CLIPSeg output →\rightarrow SAM3 prompts: cascaded systems without attention editing.

On RefCOCO val, we construct cascaded baselines by converting the CLIPSeg prediction into mask, bounding-box, and point prompts for SAM3. However, all three cascaded variants perform substantially below vanilla SAM3 and remain close to the performance of CLIPSeg itself. In contrast, eSAM improves over SAM3 by +6.39 oIoU.

Method CLIPSeg →\rightarrow Mask CLIPSeg →\rightarrow Box CLIPSeg →\rightarrow Point CLIPSeg SAM3 eSAM
oIoU 30.91 28.14 29.50 30.19 47.23 53.62
Δ\Delta vs. SAM3 −16.32 −19.09 −17.73 −17.04 — +6.39

These results show that directly propagating the external prediction through standard prompts is insufficient and can substantially degrade SAM3 when prior errors are inherited by the subsequent segmentation process. The improvement therefore depends on how the prior is used to modulate SAM3's internal attention, rather than merely on supplying an additional text-conditioned response map.

(c) eSAM with different spatial priors.

We further replace only the spatial-prior source while keeping the remaining eSAM configuration unchanged. Experiments on RefCOCO, RefCOCOg, and gRefCOCO show that all three eSAM variants substantially outperform SAM3, while CLIPSeg provides the best overall performance among the evaluated priors.

Method RefCOCO RefCOCOg gRefCOCO
SAM3 47.23 44.43 26.45
eSAM (CLIPSeg) 53.62 54.44 39.73
eSAM (MaskCLIP) 52.91 54.06 39.69
eSAM (CLIP Grad-CAM) 52.65 53.98 39.41

The results across different prior sources show that eSAM is not limited to CLIPSeg among the tested prior sources. A stronger spatial prior can provide additional refinement, while the performance differences among the tested priors remain moderate.

Summary: Together, these controls show that the improvement is not fully explained by the CLIPSeg prior alone:

  • Attention editing remains effective without any spatial prior, improving SAM3 by +4.72 oIoU.
  • Injecting CLIPSeg predictions through standard SAM3 prompts, without attention editing, substantially degrades performance, showing that an external response map alone is insufficient.
  • Changing the prior source affects the final performance only moderately, while all tested eSAM variants continue to substantially outperform vanilla SAM3.

Overall, these results show that eSAM improves SAM3's referring-segmentation performance through internal routing and readout edits, while the external spatial prior provides additional refinement.

In the revised manuscript, we will extend the attention-sink analysis with the full RefCOCOg-val and length-stratified results, make the AME/VTE mechanism analysis explicit in the appendix, and add a table covering no-prior eSAM, cascade prompting, and alternative priors.

Authors · CommentOpenReview ↗

Response to Reviewer aMwj (2/4)

(1) Evidence that the SOT attention sink is a genuine bottleneck in SAM3

We extend the analysis in Figure 2(c,d) to the complete RefCOCOg val set. Across all samples, the SOT token receives an average of 44.81% of the attention, with a 5th-95th percentile range of [24.40%, 66.08%]. Across the six fusion layers, the percentages of attention assigned to the SOT token at L0-L5 are 28.06%, 35.59%, 46.82%, 44.57%, 59.89%, and 53.93%, respectively. Thus, strong attention concentration on the SOT token persists even for the longer and more complex expressions in RefCOCOg.

We further stratify the results by content-token length. Here, A_S denotes the percentage of attention assigned to the SOT token, while A_C denotes the average percentage assigned to an individual content token.

Length Samples A_S A_C A_S/A_C SAM3 oIoU eSAM Δ oIoU
≤6 1,642 55.57 5.85 9.50× 54.50 +6.98
7-8 988 45.62 5.13 8.89× 42.69 +8.65
9-11 1,243 40.25 4.63 8.69× 40.91 +9.37
≥12 1,023 32.30 3.89 8.30× 34.63 +17.62

As the number of content tokens increases, the absolute SOT attention percentage decreases because the attention is distributed over more tokens. Nevertheless, the SOT token remains strongly dominant on a per-token basis: across all length groups, it receives 8.30-9.50 times as much attention as an individual content token. Meanwhile, vanilla SAM3 performance decreases substantially as expressions become longer, whereas the improvement brought by eSAM consistently increases. These results support three observations:

  • Even for the longest expressions (≥12 content tokens), the SOT token still receives 32.30% of the total attention, approximately 8 times that of an individual content token.
  • eSAM consistently improves over SAM3 across all expression-length groups, with the gain increasing from +6.98 to +17.62 oIoU as expression length increases.
  • The larger gains on longer expressions show that eSAM is still effective for complex language grounding.

We additionally construct SOT attention maps before and after suppression for four long expressions containing attribute and spatial/relational descriptions, directly extending the examples in Figure 2(a,b).


(2) Evidence that AME and VTE directly alleviate the SOT sink

AME directly rebalances attention routing. For simple, here we consider the no-spatial-prior setting. For patch ii, let aS,ia_{S,i} and aC,i=1−aS,ia_{C,i}=1-a_{S,i} denote the pre-edit attention mass assigned to the SOT token and all content tokens, respectively. AME subtracts β\beta from the SOT logit and adds α\alpha to each content-token logit. Since softmax exponentiates its input logits, these operations multiply the corresponding unnormalized attention weights by e−βe^{-\beta} and eαe^\alpha, respectively. After renormalization, the resulting SOT attention mass is

aS,i′=aS,ie−βaS,ie−β+aC,ieα=aS,iaS,i+aC,ieα+β.a'_{S,i}= \frac{a_{S,i}e^{-\beta}} {a_{S,i}e^{-\beta}+a_{C,i}e^{\alpha}}= \frac{a_{S,i}} {a_{S,i}+a_{C,i}e^{\alpha+\beta}}.

Correspondingly, the content-to-SOT routing ratio becomes

aC,i′aS,i′=eα+βaC,iaS,i.\frac{a'_{C,i}}{a'_{S,i}}= e^{\alpha+\beta} \frac{a_{C,i}}{a_{S,i}}.

Therefore, for α,β>0\alpha,\beta>0 and aC,i>0a_{C,i}>0, AME guarantees aS,i′<aS,i.a'_{S,i}<a_{S,i}. Thus, AME acts directly on the attention allocation that defines the SOT sink, rather than relying on a post-hoc association between attention statistics and segmentation performance.

VTE directly strengthens content-token contributions. As defined in Eq. (5), VTE scales each content-token value by 1+γ1+\gamma. With the attention weights unchanged, the fused output for patch ii can be written as Oi=Ai,SVS+∑j∈ICAi,jVj\mathbf{O}_i=\mathbf{A}_{i,S}\mathbf{V}_S+\sum_{j\in\mathcal{I}_C}\mathbf{A}_{i,j}\mathbf{V}_j. After applying VTE, the aggregate content-token contribution becomes (1+γ)∑j∈ICAi,jVj(1+\gamma)\sum_{j\in\mathcal{I}_C}\mathbf{A}_{i,j}\mathbf{V}_j. Therefore, VTE directly amplifies the influence of content-token information on the fused representation. Together, AME makes the model attend less to the SOT token and more to content tokens, while VTE increases the contribution of content-token information to the fused representation. Both directly modify the model’s internal computation rather than relying on post-hoc correlations between attention statistics and IoU scores.

Empirical confirmation. Figure 3 shows the predicted shifts in SAM3: SOT routing mass decreases from 47.5% to 27.1% and its readout contribution from 36.8% to 16.8%, while the corresponding content-token quantities increase from 27.8% to 42.8% and from 58.4% to 71.4%. Under the same model configuration and evaluation protocol, Table 5 further shows that AME-only and VTE-only improve average oIoU across eight splits by 6.08 and 5.24, respectively, and their combination adds 0.94 over AME-only with consistent gains across all eight splits.

Reviewer KZVWOpenReview ↗
Rating
4/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper identifies an attention sink in SAM3's multimodal fusion encoder, where a large fraction of image-patch cross-attention mass goes to the start-of-text SOT token. It proposes Attention Mask Editing (AME), which suppresses the SOT logit and boosts content-token logits using a CLIPSeg spatial prior, and Value Tensor Editing (VTE), which increases the magnitude of content-token value vectors. The method is applied at inference time without updating SAM3 parameters. Results are strong on RefCOCO/+/g, gRefCOCO, Ref-DAVIS17, Ref-YouTube-VOS, and MeViS, and the method is much faster than RefAM.

Strengths and weaknesses

Strength:

  • Clear, simple intervention on cross-attention routing and readout with strong results on both image and video referring datasets.
  • Useful diagnostic: the paper reports SOT attention mass averaging 54.8% over sampled RefCOCO patches and shows it across layers.
  • Ablations support both components: AME alone and VTE alone improve over SAM3, and their combination gives the best average results.

Weakness:

  • The method relies on a CLIPSeg-derived spatial prior, so the claim that SAM3's hidden capability is being unlocked is only partly supported. Moreover, CLIPSeg alone is compared, but stronger controls are missing: CLIPSeg prior plus SAM3 prompting, CLIPSeg mask plus SAM/SAM2 refinement, and alternative prior sources under the same attention-editing framework.
  • The attention-sink analysis has a conceptual mismatch with the most important target setting. The paper argues that excessive SOT attention reduces attention to informative referring words, but Figure 2 mainly illustrates very short expressions with one or two content words. In such cases, high SOT attention may be less clearly harmful than in longer expressions requiring attributes, relations, or compositional reasoning.
  • The quantitative attention analysis in Figure 2(c,d) uses only 500 samples from RefCOCO val. RefCOCO is relatively easy and often contains short noun-phrase expressions. Since the claimed benefit is for referring/reasoning segmentation under complex language, the same analysis should be shown on RefCOCOg or gRefCOCO, where expressions are longer and harder.
  • Table 3 weakens the specific SOT-suppression claim. Prior-aware SOT suppression gives only marginal improvement over the prior-only AME variant on RefCOCO val, suggesting that much of the benefit may come from injecting the CLIPSeg spatial prior rather than from suppressing the SOT token itself.
  • Layer sensitivity is severe: the selected early layer helps, while most other layers degrade performance or provide only small gains. This raises concerns about validation tuning and generalization to other datasets, models, and sentence types.
Questions
  1. Figure 2 motivates the SOT attention-sink problem using short RefCOCO expressions. Can the authors provide the same analysis on RefCOCOg or gRefCOCO, where expressions are longer and require more relational or compositional reasoning?
  2. Is high SOT attention actually predictive of vanilla SAM3 failure? For example, do samples with larger SOT attention mass have lower IoU, and do those samples benefit more from eSAM?
  3. In Table 3, prior-aware SOT suppression improves only marginally over the prior-only variant. Does this indicate that the main benefit comes from the CLIPSeg spatial prior rather than from suppressing the SOT token?
  4. How was the edited layer chosen, and was this choice tuned on RefCOCO validation? Does the same layer remain optimal on RefCOCOg, gRefCOCO, and the video benchmarks? If layer 1 is still the best setup, could you explain why? (maybe can based on feature visualization)?
  5. Since AME uses a CLIPSeg-derived spatial prior, can the authors include stronger CLIPSeg+SAM3/SAM2 baselines, such as converting the CLIPSeg output into a mask, box, or point prompt for SAM3 without attention editing?
  6. How robust is eSAM to prompt paraphrases, negation, multiple-instance scenes, and out-of-domain images/videos?
Limitations

yes

Final justification

The paper identifies a real pathology in SAM3's fusion encoder (SOT attention sink) and turns it into a simple, training-free intervention with strong results across six image and video benchmarks at much lower cost than RefAM.

The rebuttal addressed my main concerns: (i) reliance on the CLIPSeg prior — the prior-free control (+4.72 oIoU) plus the cascade and alternative-prior baselines show the gains are not reducible to CLIPSeg; (ii) diagnosis established only on short expressions — the length-stratified analysis on full RefCOCOg val extends it to longer, compositional expressions, with gains growing in both absolute and relative terms; (iii) layer sensitivity and validation tuning — the three-dataset sweep shows one layer selected once on RefCOCO val stays optimal elsewhere, with all results under a fixed configuration; (iv) the Table 3 ambiguity — clarified, since the "prior-only" row already suppresses SOT implicitly via softmax competition. I therefore increase my rating from 3 to 4.

Formatting concerns

no

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer KZVW (3/3)

5. Response to W4 and Q4: Layer Selection

(1) We follow a standard validation-based selection protocol: the edited layer is selected once on RefCOCO val and then fixed across all reported RIS and RVOS benchmarks, without dataset-specific layer selection or hyperparameter tuning. To verify that this choice is not specific to RefCOCO, we perform complete layer sweeps on RefCOCOg and gRefCOCO with full eSAM:

Dataset SAM3 L0 L1 L2 L3 L4 L5 L1+L5
RefCOCO 47.23 34.28 53.62 42.93 43.15 46.59 48.63 52.54
RefCOCOg 44.43 42.23 54.44 46.76 48.66 48.90 51.23 54.02
gRefCOCO 26.45 31.42 39.73 34.26 35.08 35.31 36.70 39.38

Layer 1 consistently achieves the best performance across all three benchmarks, while the multi-layer L1+L5 variant does not provide additional gains. These results show that the selected layer generalizes across datasets, and all eSAM results are obtained using one fixed configuration.

(2) We further analyze why Layer 1 is effective. In SAM3, each fusion block performs image self-attention, image-text cross-attention, and an FFN. Editing at Layer 0 is applied before the first complete token-level fusion cycle, when word-region correspondences are still insufficiently established. In contrast, Layer 1 operates after one complete fusion cycle, where preliminary token-specific alignment has emerged while sufficient subsequent fusion blocks remain to propagate and refine the edited representations. For later layers (L2-L5), although representations become more mature, fewer fusion blocks remain to absorb and propagate the intervention, limiting the effectiveness of editing.

(3) We further verify this interpretation on RefCOCOg val. We measure the L2 distance between edited and unedited patch features at the output of each fusion block, and compute the ratio between the average feature change in the target region and the background region. This ratio increases from 1.641 at Layer 0 to 1.976 at Layer 1 (20.4% relative improvement), and Layer 1 achieves a higher ratio than Layer 0 on 82.4% of samples. This indicates that after the first complete fusion cycle, editing induces more target-focused feature changes, supporting the effectiveness of Layer 1 intervention.

In the appendix of the revised manuscript, we will extend the layer-sensitivity analysis with the three-dataset sweep, state that the selected layer is fixed after RefCOCO-val selection, and include the feature-change analysis.

6. Response to Q6: Robustness

We thank the reviewer for this constructive suggestion. We further evaluate eSAM under three challenging settings: natural paraphrases, lexical negation, and multi-target referring expressions. The results are summarized below.

Evaluation subset SAM3 oIoU eSAM oIoU Δ oIoU
Natural paraphrases 49.34 56.06 +6.72
Lexical negation 16.92 23.14 +6.22
Multi-target 24.12 43.00 +18.88

Paraphrases. We collect 721 natural-language expressions for 250 fixed RefCOCO referents, including lexical and syntactic paraphrases as well as variations in attribute and relational descriptions. eSAM improves oIoU from 49.34 to 56.06. Moreover, prediction consistency across expressions referring to the same target increases from 0.50 to 0.60, while the mean IoU standard deviation decreases from 0.2254 to 0.1789. These results indicate that eSAM improves both segmentation accuracy and robustness to natural language variations.

Negation. On 145 matched gRefCOCO expressions containing explicit negation terms, eSAM improves oIoU from 16.92 to 23.14 (+6.22), showing that attention editing remains effective on this negation subset.

Multiple instances. On 250 gRefCOCO multi-target expressions, eSAM achieves a +18.88 oIoU improvement, the largest gain among the three settings. Distinguishing multiple instances of the same category is a setting in which more precise content-token grounding may be useful.

Cross-dataset generalization. Since the complete composition of SAM3's pretraining data is not publicly available, it is difficult to strictly determine whether a benchmark is fully outside its pretraining distribution. We therefore evaluate a more verifiable setting: cross-dataset generalization. Specifically, all hyperparameters are selected once on RefCOCO val and fixed across all remaining image RIS and video RVOS benchmarks, without dataset-specific tuning. Under this unified configuration, eSAM consistently and substantially outperforms SAM3 across the evaluated image datasets and all three video benchmarks.

In the appendix of the revised manuscript, we will report the robustness table together with the construction details. We will also clarify the limitation regarding strict out-of-distribution evaluation.

Authors · CommentOpenReview ↗

Response to Reviewer KZVW (2/3)

2. Response to W2, W3, and Q1: Further Analysis of Figure 2

We extend the analysis in Figure 2(c,d) to the complete RefCOCOg val set. Across all samples, the SOT token receives 44.81% of attention on average, with a 5th-95th percentile range of [24.40%, 66.08%]. Across the six fusion layers, the SOT attention percentages at L0-L5 are 28.06%, 35.59%, 46.82%, 44.57%, 59.89%, and 53.93%, respectively.

We further stratify the results by content-token length. Here, A_S denotes the attention percentage assigned to the SOT token, while A_C denotes the average attention percentage assigned to an individual content token.

Length Samples A_S A_C A_S/A_C SAM3 oIoU eSAM Δ oIoU
≤6 1,642 55.57 5.85 9.50× 54.50 +6.98
7-8 988 45.62 5.13 8.89× 42.69 +8.65
9-11 1,243 40.25 4.63 8.69× 40.91 +9.37
≥12 1,023 32.30 3.89 8.30× 34.63 +17.62

As shown in the table, both SOT attention proportion and vanilla SAM3 performance decrease as expression length increases, while eSAM achieves increasingly larger improvements. These results reveal three observations:

  • Even for the longest expressions (≥12 content tokens), the SOT token still receives 32.30% of the attention, approximately 8 times that of an individual content token.
  • eSAM consistently improves over SAM3 across all expression-length groups, with the gain increasing from +6.98 to +17.62 oIoU as expressions become longer.
  • In this analysis, eSAM yields larger improvements on the longer expressions.

We also construct SOT attention maps before and after suppression for four long expressions with attribute and spatial/relational descriptions, corresponding directly to Figure 2(a,b). In the revised manuscript, we will extend Figure 2 with the full RefCOCOg-val statistics and provide the length-stratified analysis.

3. Response to Q2: High SOT Attention vs. Vanilla SAM3 Failures

Our claim is that SAM3 consistently exhibits an SOT attention sink phenomenon, not that higher SOT attention always leads to larger prediction errors. Cross-sample comparisons can be affected by factors such as expression length: longer expressions spread attention over more tokens, reducing the SOT token's share, while they are also generally more difficult and commonly yield lower performance with vanilla SAM3. Nevertheless, the length-stratified results consistently support the presence of the sink: across all four groups, a single SOT token receives 8.3–9.5 times as much attention as an average content token.

In the revised manuscript, we will clarify this distinction in Section 3.1.2, Attention Sink in SAM3.

4. Response to Q3: Effectiveness of eSAM

We thank the reviewer for raising this concern. The no-prior control directly demonstrates the effectiveness of eSAM's internal attention editing: after completely removing the CLIPSeg spatial prior, eSAM still improves SAM3 from 47.23 to 51.95 oIoU (+4.72). This substantial gain shows that rebalancing SAM3's internal attention routing and readout is independently effective, rather than merely using localization information from CLIPSeg.

Table 3 actually compares different SOT-rebalancing strategies under the same content-token boosting. The "prior-only" setting is not a no-suppression baseline: although it applies no negative bias to the SOT logit, the +αhi+\alpha h_i boost to content-token logits already suppresses SOT attention implicitly through softmax competition.

We appreciate the reviewer's feedback that the original presentation could be ambiguous. We will revise the paper as follows:

  • Rename Table 3 as: Effect of explicit SOT-suppression strategies with fixed prior-guided content boosting on RefCOCO val.
  • Rename "prior-only" to content boost only / no explicit SOT bias.
  • Add the "eSAM w/o spatial-prior" experiment in ablation studies to separate the contributions of the external spatial prior and internal editing operations.
Authors · CommentOpenReview ↗

Response to Reviewer KZVW (1/3)

We thank the reviewer for the careful and constructive evaluation, particularly for highlighting the need to distinguish the contributions of the spatial prior and the internal attention edits, and to test the diagnosis under more challenging referring expressions. These suggestions directly strengthen the mechanistic evidence and generalization analysis of eSAM. We therefore conduct the requested controls, causal analyses, and cross-dataset analyses below.

1. Response to W1 and Q5: Additional Controls and Baselines

We include three types of control experiments: (1) eSAM without any spatial prior; (2) a cascaded system without attention editing; and (3) eSAM with different spatial priors.

(1) eSAM without a spatial prior

Even without using any spatial prior, eSAM achieves a +4.72 oIoU improvement on RefCOCO val.

Method SAM3 eSAM (No Prior) eSAM (CLIPSeg)
oIoU 47.23 51.95 53.62
Δ oIoU vs. SAM3 — +4.72 +6.39

(2) CLIPSeg output →\rightarrow SAM3 prompt (cascade without editing)

On RefCOCO val, we construct cascaded baselines by converting the CLIPSeg prediction into mask, bounding-box, and point prompts for SAM3. All three cascaded prompting variants perform substantially below vanilla SAM3 and remain close to the performance of CLIPSeg itself. In contrast, eSAM improves over SAM3 by +6.39 oIoU.

Method CLIPSeg →\rightarrow Mask CLIPSeg →\rightarrow Box CLIPSeg →\rightarrow Point CLIPSeg SAM3 eSAM
oIoU 30.91 28.14 29.50 30.19 47.23 53.62
Δ\Delta vs. SAM3 −16.32 −19.09 −17.73 −17.04 — +6.39

(3) eSAM with different spatial priors

By replacing only the spatial-prior source, experiments on RefCOCO, RefCOCOg, and gRefCOCO show that all eSAM variants substantially outperform SAM3, with CLIPSeg providing the best overall performance among the three variants.

Method RefCOCO RefCOCOg gRefCOCO
SAM3 47.23 44.43 26.45
eSAM (CLIPSeg) 53.62 54.44 39.73
eSAM (MaskCLIP) 52.91 54.06 39.69
eSAM (CLIP Grad-CAM) 52.65 53.98 39.41

Summary: Together, these controls show that eSAM's gains are not fully explained by the CLIPSeg prior alone:

  • Attention editing remains effective without any spatial prior.
  • Injecting the prior through standard prompting without attention editing degrades SAM3, showing that an external text-conditioned response map alone does not improve performance through this prompting procedure.
  • Alternative spatial priors affect eSAM's performance, but all tested variants still substantially outperform vanilla SAM3.

In the revised manuscript, we will consolidate these controls in an ablation table and document the no-prior setting and the mask, box, and point conversion protocols.

Reviewer k4r3OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes eSAM, a fully training-free framework for Referring Expression Segmentation (RES) that enhances the native text-prompted capabilities of the SAM 3 foundation model. The authors identify a severe "attention sink" phenomenon in SAM 3's multimodal fusion encoder, where the [start_of_text] token disproportionately absorbs cross-attention mass and weakens the visual grounding of informative text tokens. To address this limitation without any parameter updates, eSAM introduces two inference-time interventions: Attention Mask Editing (AME) to suppress the attention sink and re-route attention using a spatial prior from CLIPSeg, and Value Tensor Editing (VTE) to amplify the readout of semantic content tokens. Extensive experiments demonstrate that eSAM achieves new state-of-the-art performance among training-free methods across multiple RIS and RVOS benchmarks.

Strengths and weaknesses

Strengths

  1. The eSAM framework is fully training-free and does not require updating any of SAM 3's parameters. This completely bypasses the need for expensive mask-language training datasets, effectively unlocking the model's latent capabilities purely through inference-time attention editing.
  2. The method sets a new state-of-the-art among training-free approaches across a wide variety of standard benchmarks. It shows solid improvements in both image segmentation (RefCOCO/+/g, gRefCOCO) and video segmentation (Ref-DAVIS17, Ref-YouTube-VOS, MeViS).
  3. The paper does a great job identifying the "attention sink" issue caused by the SOT token in SAM 3's fusion encoder. Decomposing the cross-attention mechanism into routing and readout stages, and addressing them with AME and VTE respectively, makes the proposed solution highly logical and easy to follow.

Weaknesses

  1. The routing intervention (AME) relies heavily on the spatial prior generated by an external model, CLIPSeg. As the authors acknowledge in the limitations section, the overall effectiveness of the attention redirection is inherently bottlenecked by the quality of this external prior.
  2. The experiments show that applying the intervention specifically at Layer 1 yields the best and most stable performance gains. However, the paper lacks a deep mechanistic explanation for why this specific layer is the optimal sweet spot, or whether this layer-specific behavior generalizes to other vision foundation models.
  3. While the method avoids training costs entirely, computing the spatial prior via CLIPSeg and applying the logit-level attention edits during inference does introduce a minor computational overhead compared to running vanilla SAM 3.
Questions
  1. layer sensitivity analysis: Table 4 shows a stark contrast in performance gains depending on the edited layer, with Layer 1 yielding the best results while layer 0 significanly degrades performance. Could the authors provide more intuition, or perhaps feature visualizations, to explain why layer 1 is uniquely suited for this intervention?

  2. Because the attention mask editing intervention relies directly on the spatial prior generated by CLIPSeg, it naturally raises the question of how sensitive the overall framework is to the quality of this external signal. Providing a small ablation study using a different open-vocabulary segmenter (either strong or weaker) would help demonstrate the robustness of the propsosed routing modulation strategy

  3. The observation of the "attention sink" toward the [start_of_text] token is highly interesting. Do the authors suspect this is an artifact specific to the training recipe of SAM 3, or have the authors observed similar routing collapses in other multimodal fusion encoders? A brief discussion on this would add valuable context to the literature.

Limitations

The authors identify several limitations in the Future Work and Limitations section. The layer dependence of the intervention (Layer 1 consistently outperforming others) is noted but left unexplained, and it remains unclear whether this behavior generalizes beyond SAM 3 to other vision foundation models. The authors also acknowledge that the effectiveness of AME is upper-bounded by the quality of the CLIPSeg-derived spatial prior, which is a relatively weak, coarse localization signal. Stronger or learned priors are suggested as future directions but not explored. Finally, while eSAM mitigates the attention sink at inference time, the authors note that the sink itself could instead be suppressed during training via auxiliary objectives, which remains unaddressed.

Final justification

The rebuttal resolved my main concerns through the prior-robustness ablations, cross-dataset layer analysis, feature-level evidence, and detailed efficiency evaluation. Cross-model generalization and the underlying cause of the SOT attention sink remain open, but I consider them future-work limitations rather than critical weaknesses. Given the strong empirical results, training-free design, and convincing additional evidence, I increased my recommendation from 4 to 5.

Formatting concerns

No major formatting violations observed.

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer k4r3 (3/3)

3. Response to W3: Inference Overhead Compared with Vanilla SAM3

We provide a detailed cost breakdown that separates attention editing from spatial-prior generation:

Component Params (B) Δ Params FLOPs (G) Δ FLOPs
SAM3 0.84 — 2551 —
AME/VTE editing 0 0 ≈0 ≈0
CLIPSeg prior generation 0.15 +0.15 39 +39
Full eSAM 0.99 +0.15 2590 +39

AME and VTE introduce no learnable parameters and negligible computation relative to the SAM3 backbone under fvcore's operator-counting convention. The editing operations add only 1.59 ms of latency. The increase in parameters from 0.84B to 0.99B comes entirely from CLIPSeg. Overall, full eSAM increases FLOPs by only 1.5%, from 2551G to 2590G, and increases per-image latency from 0.146s to 0.170s. Without a spatial prior, eSAM introduces almost no additional computational cost over vanilla SAM3.

In contrast, recent training-free RES methods [4,5,6] use 3B-12B MLLMs for semantic reasoning, iterative prompt search, or candidate ranking, and report per-image inference times of tens of seconds. Although these results were obtained on different hardware and under different evaluation protocols, the substantial gap in inference time still indicates a clear difference in system complexity.

Compatibility with Existing Training-Free Methods. We further integrate eSAM into EVOL-SAM3 [5] to evaluate its compatibility with MLLM-based pipelines. On RefCOCO val, eSAM improves oIoU from 68.7 to 69.4 (+0.7) with almost no additional time delay relative to EVOL-SAM3. This result shows that the two approaches are complementary. MLLM-based methods provide external semantic reasoning and prompt search, while eSAM improves SAM3's internal routing and readout. Thus, eSAM can be used either as a lightweight standalone method or as an internal enhancement module for existing training-free pipelines.

In the revised manuscript, we will add the above efficiency breakdown table to make eSAM's lightweight inference design and small overhead explicit.

[4] RESAnything: Attribute Prompting for Arbitrary Referring Segmentation
[5] Evolving, Not Training: Zero-Shot Reasoning Segmentation via Evolutionary Prompting
[6] Tarot-SAM3: Training-free SAM3 for Any Referring Expression Segmentation

Authors · CommentOpenReview ↗

Response to Reviewer k4r3 (2/3)

2. Response to W2, Q1, and Q3: Why Layer 1 and Discussion of the Phenomenon

(1) Layer selection and cross-dataset generalization. We follow a standard validation-based selection protocol. The edited layer is selected once on RefCOCO val and then fixed for all reported RIS and RVOS benchmarks, without dataset-specific layer selection or hyperparameter tuning. To examine whether this choice is specific to RefCOCO, we additionally perform complete layer sweeps on RefCOCOg and gRefCOCO with full eSAM:

Dataset SAM3 L0 L1 L2 L3 L4 L5 L1+L5
RefCOCO 47.23 34.28 53.62 42.93 43.15 46.59 48.63 52.54
RefCOCOg 44.43 42.23 54.44 46.76 48.66 48.90 51.23 54.02
gRefCOCO 26.45 31.42 39.73 34.26 35.08 35.31 36.70 39.38

Layer 1 achieves the best performance on all three benchmarks. Editing multiple layers with L1+L5 does not provide further gains. These results show that the effectiveness of Layer 1 is consistent across datasets rather than being specific to RefCOCO, and all reported eSAM results use the same fixed configuration.

(2) Why Layer 1 is effective. Each fusion block in SAM3 contains image self-attention, image-text cross-attention, and an FFN. Editing at Layer 0 occurs before the model has completed its first fusion cycle, when token-level word-region correspondences are still weak. Layer 1, in contrast, receives representations that have already undergone one complete fusion cycle. At this stage, preliminary token-specific alignment has emerged, while enough subsequent fusion blocks remain to propagate and refine the edited features. At later layers, the cross-modal representations are more mature, but fewer fusion blocks remain to absorb and propagate the intervention. This reduces the effect of editing. Layer 1 therefore provides a favorable balance between sufficiently established semantic alignment and sufficient remaining depth for refinement.

(3) Feature-level evidence. We further test this interpretation on RefCOCOg val. At the output of each fusion block, we measure the L2 distance between the edited and unedited patch features and compute the ratio of the average feature change in the target region to that in the background region. This ratio increases from 1.641 at Layer 0 to 1.976 at Layer 1, corresponding to a 20.4% relative increase. Moreover, Layer 1 produces a higher ratio than Layer 0 on 82.4% of the samples. These results indicate that, after the first complete fusion cycle, the intervention produces more target-focused feature changes. This feature-level evidence is consistent with the superior performance of Layer 1.

(4) Generalization to other vision foundation models. We thank the reviewer for this suggestion. Although this paper focuses on SAM3 as a representative vision foundation model, we agree that cross-model validation is valuable. However, vision foundation models can differ substantially in their architectures, training objectives, and cross-modal fusion designs. The optimal editing layer in SAM3 may therefore not transfer directly to other models. A more general principle suggested by our results is that editing should be applied after preliminary cross-modal alignment has formed, but early enough for the remaining layers to propagate and refine the correction. Whether this principle consistently holds across other architectures requires systematic cross-model evaluation.

(5) SOT attention sink. Related attention-sink phenomena have been observed in autoregressive language models [1] and diffusion Transformers [2]. Gu et al. [3] further show that the emergence of attention sinks during pretraining can be influenced by optimization dynamics, data distribution, loss functions, and model architecture. Our experiments establish that SAM3 exhibits an SOT-dominated attention sink and that suppressing it improves referring segmentation. However, identifying whether this pattern primarily arises from SAM3's training recipe, fusion architecture, or other design choices would require controlled retraining experiments, which is beyond the scope of this work.

In the revised manuscript, we will add the cross-dataset layer sweep, the feature-change analysis, and a discussion of related attention-sink observations in other architectures.

[1] Efficient Streaming Language Models with Attention Sinks
[2] RefAM: Attention Magnets for Zero-Shot Referral Segmentation
[3] When Attention Sink Emerges in Language Models: An Empirical View

Authors · CommentOpenReview ↗

Response to Reviewer k4r3 (1/3)

We thank the reviewer for recognizing eSAM's training-free design and for the focused questions on the dependence on external spatial signals, the layer-specific behavior of the intervention, and its practical inference cost. These points are central to positioning eSAM as a lightweight and mechanism-driven enhancement to SAM3. We address each concern with corresponding experiments.

1. Response to W1 and Q2: Sensitivity to External Signal Quality

We evaluate eSAM's sensitivity to both the source and resolution of the external spatial signal. We consider three priors with different segmentation capabilities, following the generally recognized ordering of CLIPSeg > MaskCLIP > CLIP Grad-CAM.

We further replace only the spatial-prior source while keeping the remaining eSAM configuration unchanged. Experiments on RefCOCO, RefCOCOg, and gRefCOCO show that all three eSAM variants substantially outperform SAM3, while CLIPSeg provides the best overall performance among the evaluated priors.

Prior RefCOCO RefCOCOg gRefCOCO
SAM3 47.23 44.43 26.45
eSAM (CLIPSeg) 53.62 54.44 39.73
eSAM (MaskCLIP) 52.91 54.06 39.69
eSAM (CLIP Grad-CAM) 52.65 53.98 39.41

We further downsample the CLIPSeg heatmap to 44×44 and 22×22. On RefCOCO val, the oIoU changes only slightly from 53.62 to 53.59 and 53.57, respectively. Even without loading a spatial prior, the no-prior eSAM achieves 51.95 oIoU, compared with 47.23 for SAM3.

These results show that eSAM remains effective across different prior sources and resolutions. The no-prior result indicates that attention editing accounts for a substantial portion of the gain, while a stronger prior provides additional refinement.

In the revised manuscript, we will add a prior-robustness ablation table covering the three prior sources, the two CLIPSeg resolutions, and the no-prior setting.

Comments on the paper

1 comment
Area Chair np5B · CommentOpenReview ↗

Official Comment by AC

Dear all,

A reminder that the Author-Reviewer-AC Discussion Period ends in less than one day, on August 3, 2026 (Anywhere on Earth).

Some reviewers have not yet responded to the authors’ rebuttals. Reviewers, please use the remaining time to acknowledge and address the authors’ responses, particularly any outstanding questions or concerns. Authors may also provide any final clarifications where needed.

Thank you for completing the discussion promptly.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…