Manuscript Offprint
arXiv:2610.05342IRSTD-Agent: Agentic Infrared Small Target Detection via Zoom-Guided Interaction Learning
ABSTRACT
Infrared small-target detection plays an important role in maritime monitoring and aerial surveillance. Although multimodal large language models (MLLMs) offer promising capabilities for visual understanding, existing MLLM-based approaches struggle to precisely localize infrared small targets. In this paper, we propose IRSTD-Agent, an agentic framework for infrared small target detection through dynamic visual search. The framework enables an MLLM to adaptively determine where and at what scale to inspect an image and progressively gather fine-grained visual evidence for precise target localization. Five complementary visual tools (PROPOSAL, ZOOM, DETECT, DROP and REFINE) support object candidate discovery, adaptive observation, target localization, hypothesis rejection, and target extent refinement, together enabling a coordinated search process over original-resolution images. To teach the MLLMs to conduct this search, we introduce Zoom-guided Interaction Learning, which uses annotation-derived interaction trajectories to supervise tool selection and the corresponding arguments. Through extensive experiments on WideIRSTD-Full and IRSTD-1k datasets, we demonstrate that IRSTD-Agent outperforms the evaluated vision-language models and enhances the precise localization capabilities of MLLMs in IRSTD tasks.
1 INTRODUCTION
Infrared small target detection (IRSTD) aims to identify and accurately localize dim thermal targets in cluttered backgrounds, supporting applications such as maritime monitoring and aerial surveillance. Although specialized deep learning-based approaches have made substantial progress through feature enhancement, context aggregation, and background suppression (Li et al., 2023; Liu et al., 2024a; Yuan et al., 2026), they are typically developed as task-specific models, thereby limiting their generalization capabilities in visual understanding. With the development of multimodal large language models, it has become possible to possess capabilities similar to human visual intelligence and to handle complex visual understanding tasks (Li et al., 2025b; Yuan et al., 2025).
Existing efforts to improve the capability of MLLMs in IRSTD task can be broadly grouped into two categories: infrared-domain fine-tuning and cue-guided prompting. As shown in Figure 1(a), the first strategy fine-tunes MLLMs on infrared image-text pairs and task-specific instructions to improve their understanding of infrared imagery, such as Infrared-LLaVA and IRGPT (Jiang et al., 2024; Cao et al., 2025). However, they require substantial annotation effort and incur considerable computational overhead for model finetuning. More importantly, many state-of-the-art MLLMs (OpenAI et al., 2023; Team et al., 2023) are proprietary and cannot provide access to model parameters, making finetuning inapplicable to some of the strongest existing models and limiting its scalability to rapidly evolving MLLMs. Another strategy introduces auxiliary language cues to guide infrared small target localization, as shown in Figure 1(b). For example, MIRSAM (Zhang et al., 2025b) incorporates textual descriptions of target location and appearance through CLIP-based prompts to support infrared small target segmentation. Similarly, LGNet (Chib & Singh, 2026) leverages MLLMs to generate descriptions of infrared small target locations and incorporates these descriptions into a dedicated detection network to improve performance. Although these strategies offer promising directions for adapting MLLMs to IRSTD without parameter updates, the effectiveness of precisely localizing infrared small targets remains to be established.
(a) Full-Supervision MLLM

(b) Prompt-guided MLLM
(c) Ours: IRSTD-Agent
Figure 1: Motivation for IRSTD-Agent. (a) Full-supervision MLLMs adapt to infrared target localization through task-specific supervision, incurring annotation and training costs. (b) Prompt-guided MLLMs use auxiliary language cues without updating model parameters, but fail to precisely localize small infrared targets. (c) Our IRSTD-Agent employs dynamic visual search to acquire local evidence for target recognition and precise localization.
To address these challenges, we propose an IRSTD-Agent, a framework that formulates IRSTD as a dynamic visual search process, as illustrated in Figure 1(c). Instead of relying on a single fixed observation, our approach enables an MLLM to actively acquire local visual evidence and adapt its search through sequential tool interactions. Given an infrared image, the agent identifies candidate regions and adaptively determines where and at what scale to inspect, gathering evidence to localize targets and reject background clutter. To support this process, we introduce five complementary visual tools: PROPOSAL for candidate discovery, ZOOM for adaptive observation, DETECT for target localization, DROP for clutter rejection, and REFINE for target extent refinement. By coordinating these tools, our IRSTD-Agent systematically examines object candidate regions and extracts fine-grained visual evidence from original-resolution images, thereby achieving the recognition and precise localization of infrared small targets through an adaptive search process. To teach the MLLM to guide this search, we introduce Zoom-guided Interaction Learning (ZIL), which uses annotation-derived interaction trajectories to supervise tool selection and the corresponding arguments. Through ZIL, the MLLM learns to select informative views, localize targets, and reject distractors based on the acquired visual evidence. Our contributions are summarized as follows:
• We introduce IRSTD-Agent, the first agentic framework for infrared small target detection, enabling the model to actively acquire local observations and use visual tools for adaptive visual search and precise target localization in cluttered infrared scenes.
• We design five active visual tools (PROPOSAL, ZOOM, DETECT, DROP and REFINE) for IRSTD-Agent to perform dynamic visual search and introduce zoom-guided interaction learning to teach MLLMs to select appropriate search tools and their parameters based on visual evidence, using annotation-derived interaction trajectories as supervision.
• Extensive experiments conducted on the WideIRSTD-Full and IRSTD-1K datasets demonstrate that IRSTD-Agent consistently outperforms existing MLLM-based methods and accurately localizes infrared small targets across various infrared image scenarios.
Vision-Language Models for Visual Localization. Recent VLMs have extended multimodal understanding to spatial localization and detection. General-purpose MLLMs such as Qwen3.5/3.8 (Qwen Team, 2026a;b) and InternVL3.5 (Wang et al., 2025) can follow visual localization instructions and produce coordinate-based predictions. Earlier grounding models explicitly align natural-language expressions with image regions. MDETR (Kamath et al., 2021) performs end-to-end text-conditioned object detection through joint vision-language reasoning, while GLIP (Li et al., 2022) unifies object detection and phrase grounding within a grounded language-image pre-training framework. Models such as LocateAnything (Wang et al., 2026), SenseNovaVision (Han et al., 2026), Grounding DINO (Liu et al., 2024b), and Florence-2 (Xiao et al., 2024) further develop language-conditioned grounding and structured spatial prediction.
Visual Chain-of-Thought and Structured Perception Pipelines. Recent work incorporates visual evidence acquisition into multimodal reasoning along two main directions. One line extends chain-of-thought reasoning with intermediate visual interactions, allowing models to identify, revisit, or zoom into relevant regions during reasoning in a more deliberate and iterative manner. Representative approaches include V*, Visual CoT, DeepEyes, and Pixel Reasoner (Wu & Xie, 2024; Shao et al., 2024; Zheng et al., 2026; Su et al., 2025), which study such capabilities across grounding, fine-grained perception, and multimodal reasoning tasks. Another line organizes visual processing through structured workflows. ZoomEye performs hierarchical image exploration through tree search (Shen et al., 2025), ZoomEarth develops an adaptive cropping framework for high-resolution remote-sensing tasks (Liu et al., 2026), and AgentDet coordinates specialized roles through a shared-blackboard detection pipeline (Li et al., 2026).
3 IRSTD-AGENT
IRSTD-Agent formulates infrared small-target detection as a dynamic visual search process over the original-resolution image. Rather than predicting all targets from a single resized observation, the agent repeatedly selects visual tools to discover candidate regions, acquire higher-resolution evidence, localize visible targets, and reject unsupported hypotheses. Figure 2 summarizes this process: the current view, candidate list, and interaction history inform each tool call, whose execution updates the state for subsequent decisions. Target localizations are accumulated across search branches, while unsupported candidates are rejected. We first describe how the agent selects and executes these tools, and then detail each tool and the annotation-derived interaction learning.
3.1 AGENT FORMULATION
Figure 2 summarizes the framework, linking tool-based visual search and the evidence workspace with annotation-derived interaction supervision.
Given an infrared image , IRSTD-Agent performs detection through successive visual-tool interactions. The agent is equipped with five tools,
These tools serve different stages of visual search: PROPOSAL discovers candidate locations, ZOOM acquires a new local observation, DETECT records visible targets, DROP rejects unsupported hypotheses, and REFINE estimates the spatial extent of an existing localization.
At interaction step , the agent observes the current view , where specifies the view center and window size in the original image. The interaction state maintains the information required to continue the search, including the current view, candidate

Figure 2: Overview of IRSTD-Agent. The policy interacts with an infrared image through visual tools, acquiring local observations and accumulating target localizations in an evidence workspace. Annotation-derived interaction trajectories supervise tool selection and arguments. Candidate discovery and appearance-guided refinement support the search and localization process.
hypotheses, interaction history, accumulated detections, and remaining budget. The model-visible context is obtained by serializing the information in that is exposed to the policy.
Conditioned on the current view and context, the search policy predicts a structured tool call
where specifies the selected search tool together with its required arguments. The search policy selects from . REFINE operates on an existing detection and is handled separately.
Once a tool is selected, it is executed on the original image and updates the interaction state:
where denotes the tool executor. The updated state is then serialized into the context , together with the latest interaction information, for the next agent decision.
3.2 ACTIVE VISUAL TOOLS
Each visual tool operates directly on native-resolution pixels from the original image I. Given the current view , the tools either update the view, introduce candidate hypotheses, produce target localizations, or refine existing detections, as detailed below. Figure 3 illustrates how successive tool calls update the observations and accumulated evidence to produce target localizations and refined extents.
PROPOSAL: candidate discovery. PROPOSAL discovers potential target locations within the current search region during the active visual search process. Given the native-resolution crop , it returns a ranked set of candidate hypotheses:
Here denotes the k-th candidate location mapped to original-image coordinates, and is its proposal score. The returned candidates are search hypotheses rather than final detections. Internally, the tool combines complementary spatial and frequency responses. The spatial branch

Figure 3: Visual-tool interaction in IRSTD-Agent. The agent iteratively selects tools based on the current view and accumulated interaction context, while tool execution updates the search process and acquired evidence. Detection and refinement produce the final target localizations and extents.
aggregates multi-scale morphological top-hat filtering, difference-of-Gaussians, local standardized contrast, and patch contrast, while the frequency branch uses FFT-based spectral-residual saliency. Their normalized responses are fused as
Candidate peaks are then ranked and spatially suppressed to form .
ZOOM: evidence acquisition. ZOOM predicts a new crop-relative center and window size for the next observation during the active visual search process. These parameters are applied to the current view to update the search region:
Here specifies where to move within the current view, while controls the scale of the next view. The updated region is then used in the next agent interaction.
DETECT: target localization. DETECT enables IRSTD-Agent itself to localize the targets visible in the current view. Given the current image region , the agent predicts a structured set of normalized target centers:
where denotes the normalized center of the j-th target predicted by IRSTD-Agent within the current view. The predicted centers are converted to the original-image coordinate system and recorded as image-level detections. The current search branch is then terminated.
DROP: hypothesis rejection. DROP is an argument-free action selected when the current visual evidence does not support the presence of a target:
(8)
The rejection is recorded in the interaction history, while no image-level detection is added.
REFINE: appearance-based extent refinement. Given a detected center , REFINE uses its location to recover the target extent from the original image. It first initializes a local box around the center, suppresses the local background, and applies adaptive thresholding to isolate target-supporting responses. The connected region associated with the detected center is then extracted, and its spatial extent is used to obtain the refined bounding box. We denote this image-space transformation as
(9) where denotes the refined bounding box. The foreground pixels of the extracted connected region define a binary mask , which is mapped back to the original-image coordinates. Taking the union of these masks produces the image-level segmentation map used for visualization and the evaluation in Appendix B.2. Thus, the mask follows the image-derived target region rather than a filled detection box. If no valid region is obtained, the initialized local box is preserved and no mask is added to the segmentation map.
3.3 ZOOM-GUIDED INTERACTION LEARNING
We construct interaction supervision from standard target annotations to teach IRSTD-Agent how to select visual tools and their arguments during search in a supervised manner. Each training trajectory consists of a sequence of agent interactions,
where is the current view, is the accumulated interaction context, and is the supervised tool call at step . Successive actions therefore connect what the agent currently observes with how it should continue the search.
Annotation-derived interaction trajectories. The lower panel of Figure 2 illustrates supervision through positive and negative search branches: positive trajectories acquire evidence for target localization, whereas negative trajectories terminate with DROP after inspecting background candidates.
For positive target hypotheses, we construct target-preserving ZOOM actions that progressively expose the annotated target at finer spatial scales, followed by DETECT supervision once sufficient target evidence is visible. Proposal-offset examples place the target away from the initial candidate location, preventing the agent from simply copying the proposal position and encouraging localization from the visual evidence itself.
Negative hypotheses are supervised with DROP when the inspected region contains background rather than an annotated target. For views containing multiple visible targets, DETECT supervision includes all valid targets in current view, allowing a single branch to return multiple detections. PROPOSAL supervision is included in the same interaction to teach candidate discovery during search.
The resulting interactions are organized into complete trajectories . After trajectory construction and sampling, the retained trajectories form the supervised fine-tuning set
Together, these trajectories teach the agent when to propose, where and how far to zoom, when to detect, and when to reject a hypothesis.
Policy optimization. The search policy is optimized over by
This objective encourages the policy to assign higher probability to the correct tool call given the current view and interaction context, thereby learning both tool selection and its corresponding arguments. Each supervised action is serialized as a structured tool call, while prompt tokens are excluded from the loss during supervised fine-tuning of the policy.
4 EXPERIMENTS
4.1 EXPERIMENTAL SETUP
Datasets. We study two complementary settings. WideIRSTD-Full (Li et al., 2025a; Shi et al., 2026) evaluates wide-area target search on its complete 2,000-image test set, preserving each image's native resolution and allowing multiple targets or no targets per image. Its images span a wide range of resolutions and acquisition domains, introducing substantial variation in both scale and scene and making wide-area target search particularly challenging. IRSTD-1k (Zhang et al., 2022) is evaluated using its official split of 800 training images and 201 test images at resolution. Because of overlapping in two datasets, the settings are evaluated independently.
Table 1: Visual tool ablation on IRSTD-1k datasets. Checkmarks indicate enabled tools. P, R, and F1-scores are reported in percentages. The best results are highlighted in bold.
| PROPOSAL | ZOOM | DETECT | DROP | REFINE | P | R | F1 |
|---|---|---|---|---|---|---|---|
| ✓ | ✓ | ✓ | 3.61 | 77.44 | 6.90 | ||
| ✓ | ✓ | ✓ | ✓ | 23.89 | 86.87 | 37.47 | |
| ✓ | ✓ | ✓ | ✓ | 63.78 | 69.36 | 66.45 | |
| ✓ | ✓ | ✓ | ✓ | ✓ | 81.09 | 75.08 | 77.97 |
Implementation Details. IRSTD-Agent is built on Qwen3.5-27B, with separate checkpoints independently fine-tuned on WideIRSTD-Full and IRSTD-1k using the zoom-guided SFT. IRSTD-1k uses its independently trained checkpoint, with no weights transferred from WideIRSTD-Full. We apply LoRA with rank 16, , and dropout 0.05, while freezing the vision encoder and multimodal projector. Training is performed for one epoch with a learning rate of , cosine decay, warmup, BF16 computation, and gradient checkpointing on NVIDIA A100 80GB GPUs.
Evaluation Metrics. MLLM base models are evaluated using their native boxes without additional refinement or NMS. Grounding methods, Visual Reasoning and Active Search methods, and IRSTD-Agent use center-based refinement and box NMS. We report precision (P), recall (R), and F1-scores for target detection. Following prior IRSTD evaluations (Li et al., 2023; Chen et al., 2022), a prediction is matched to an annotation if their box centers are within 3 pixels in the original image. Matches are established one-to-one using the same criterion for all methods. We additionally report the mean box IoU over matched targets to evaluate localization extent.
4.2 ABLATION STUDIES
All ablations below cover the official IRSTD-1k datasets. Tool and budget experiments use the main-table Qwen3.5-27B checkpoint.
Visual tools. Table 1 shows that the tools play complementary roles in the search process. Without DROP, the agent retains many candidate hypotheses, resulting in high recall (77.44%) but very low precision (3.61%). Introducing DROP substantially suppresses false detections, increasing precision to 63.78% and F1-scores to 66.45%. Replacing adaptive ZOOM with a fixed-scale observation strategy yields higher recall (86.87%) but much lower precision (23.89%) and F1-scores (37.47%), indicating that adaptive evidence acquisition is important for reliable target verification. Finally, REFINE further improves the precision–recall balance, raising F1-scores from 66.45% to 77.97%.
Zoom-guided Interaction learning. Table 2 compares supervision settings and reports the full system as a reference. Under the same native tool-call execution protocol, the model without SFT (w/o SFT) attains 5.80 precision, 78.11 recall, and 10.80 F1-scores; SFT without the negative branch (w/o negative branch) yields 6.72 precision, 78.79 recall, and 12.38 F1-scores. Positive-only supervision thus provides limited improvement in this setting. The full zoom-guided SFT achieves 81.09 precision and 77.97 F1-scores, delivering the best performance.
Action budget. Figure 4 varies both model-call caps over B={8,16,32,64,96,128}, with the checkpoint and proposal/detection caps fixed. F1-scores increases from 69.28 to 79.45 and recall from 56.57 to 77.44. However, F1-scores rises by 0.87 points from 64 to 96 despite a substantial increase in inference time, and by 0.61 points from 96 to 128, indicating diminishing returns. These results indicate that B = 64 provides a favorable trade-off between detection performance and action budget.
Table 2: Ablation of zoom-guided interaction learning on IRSTD-1k datasets, P/R/F1-scores are percentages.
| Training | P | R | F1 |
|---|---|---|---|
| w/o SFT | 5.80 | 78.11 | 10.80 |
| w/o negative branch | 6.72 | 78.79 | 12.38 |
| Ours | 81.09 | 75.08 | 77.97 |

Figure 4: Inference-budget ablation on IRSTD-1k with , varying the maximum model-call budget.
Table 3: Detection results on WideIRSTD-Full and IRSTD-1k. The shared Method and Venue columns are followed by dataset-specific precision, recall, F1-scores, and IoU; values are percentages.
| Method | Venue | WideIRSTD-Full | IRSTD-1k | ||||||
|---|---|---|---|---|---|---|---|---|---|
| P↑ | R↑ | IoU↑ | P↑ | R↑ | IoU↑ | ||||
| Open-Source MLLMs | |||||||||
| InternVL3.5-38B | '25 | 10.92 | 4.04 | 5.89 | 34.32 | 6.49 | 4.04 | 4.98 | 41.84 |
| Qwen3.5-9B | '26 | 7.14 | 5.16 | 5.99 | 36.07 | 23.85 | 20.88 | 22.26 | 40.84 |
| Qwen3.5-27B | '26 | 13.77 | 6.85 | 9.15 | 38.68 | 41.04 | 34.68 | 37.59 | 44.54 |
| Qwen3.8-27B | '26 | 30.03 | 15.02 | 20.02 | 43.14 | 63.79 | 49.83 | 55.95 | 48.54 |
| LocateAnything-3B | '26 | 32.22 | 17.06 | 22.31 | 50.03 | 79.02 | 38.05 | 51.36 | 54.40 |
| SenseNova-Vision-7B-MoT | '26 | 3.43 | 2.48 | 2.88 | 42.00 | 28.07 | 5.39 | 9.04 | 59.67 |
| VLM-Based Grounding Models | |||||||||
| Florence-2-large-ft | CVPR '24 | 6.90 | 3.66 | 4.78 | 64.39 | 11.43 | 14.81 | 12.90 | 68.22 |
| Grounding DINO-B | ECCV '24 | 9.33 | 5.50 | 6.92 | 66.85 | 10.93 | 11.45 | 11.18 | 69.85 |
| YOLO-World | CVPR '24 | 13.48 | 6.57 | 8.83 | 67.99 | 6.82 | 75.08 | 12.51 | 69.65 |
| Rex-Omni | CVPR '26 | 16.04 | 39.06 | 22.74 | 67.01 | 48.37 | 75.08 | 58.84 | 70.34 |
| Visual Reasoning and Active Search Methods | |||||||||
| ZoomEye | EMNLP '25 | 19.01 | 34.74 | 24.58 | 65.56 | 48.40 | 81.48 | 60.73 | 69.07 |
| RSCoVLM-det | RS '26 | 46.38 | 22.35 | 30.17 | 63.42 | 77.70 | 72.73 | 75.13 | 69.70 |
| ZoomEarth | CVPR '26 | 15.97 | 4.37 | 6.87 | 64.72 | 44.62 | 29.29 | 35.37 | 69.79 |
| DeepEyes | ICLR '26 | 4.34 | 4.30 | 4.32 | 62.28 | 26.90 | 28.62 | 27.73 | 69.01 |
| VisionReasoner | ICLR '26 | 18.78 | 21.98 | 20.25 | 66.63 | 37.73 | 54.88 | 44.72 | 68.33 |
| IRSTD-Agent | Ours | 71.63 | 34.83 | 46.87 | 67.07 | 81.09 | 75.08 | 77.97 | 71.56 |
4.3 COMPARISON WITH SOTA METHODS
Baseline Setup. Open-Source MLLMs are evaluated by directly prompting them to detect infrared targets from the full image and return bounding boxes. For models with their own coordinate conventions, the outputs are normalized to a common image-coordinate format before evaluation; for example, Qwen predictions follow its native 0–1000 coordinate protocol and are mapped back to the original image size. VLM-Based Grounding Models support multi-object localization or open-vocabulary detection, so they are directly queried with an infrared-target prompt and evaluated on all returned target boxes in the full image. Visual Reasoning and Active Search Methods are adapted to IRSTD through method-specific search, cropping, or reasoning interfaces. In particular, Zoom-Eye uses Qwen3.5-27B for hierarchical visual search before producing detections. Other methods receive infrared-target queries and structured detection outputs; Appendix A details their training, inference, and output-processing differences.
WideIRSTD-Full datasets. Direct full-image perception remains challenging on WideIRSTD-Full because tiny targets occupy only a small fraction of large infrared images and their weak responses can be lost during visual compression. As shown in Table 3, Qwen3.5-27B and Qwen3.8-27B achieve 9.15 and 20.02 F1-scores, while LocateAnything-3B reaches 22.31. Grounding models show a similar limitation; Rex-Omni attains 39.06 recall but only 22.74 F1-scores. In contrast, search-based methods benefit from acquiring local evidence. ZoomEye reaches 24.58 F1-scores, RSCoVLM-det reaches 30.17, and IRSTD-Agent achieves 46.87 F1-scores with 71.63 precision. Compared with direct Qwen3.5-27B inference using the same backbone, this is a 37.72 F1-scores gain, supporting the importance of active local observation in wide-area IRSTD.
IRSTD-1k datasets. On IRSTD-1k, the fixed resolution substantially reduces the scale mismatch between the original image and the model input. Table 3 shows that direct full-image models therefore become much stronger: Qwen3.8-27B reaches 55.95 F1-scores and Rex-Omni reaches

Figure 5: Selected qualitative multi-target detection examples from WideIRSTD-Full (top two rows) and IRSTD-1k (bottom two rows) datasets. Columns compare ground truth, six full-image VLM baselines, and our method. Green boxes indicate ground truth and red boxes indicate predictions. White boxes mark regions enlarged in the insets along the bottom of each image.
58.84. Active search remains beneficial, with ZoomEye reaching 60.73 F1-scores and RSCoVLM-det 75.13. IRSTD-Agent further achieves 81.09 precision, 75.08 recall, and 77.97 F1-scores. Compared with the WideIRSTD-Full results, this contrast suggests that active evidence acquisition is especially important when large image scale makes a single global observation insufficient.
4.4 QUALITATIVE ANALYSIS
Figure 5 presents representative multi-target detection results on WideIRSTD-Full (top two rows) and IRSTD-1k (bottom two rows). The white regions highlight target-containing areas and are enlarged in the bottom insets, where green boxes denote ground-truth targets and red boxes denote model predictions. Direct full-image MLLMs frequently miss faint targets or produce spatially offset detections. In contrast, IRSTD-Agent recovers more weak targets through local visual search and yields more accurate localization in these challenging regions. Nevertheless, the examples also show that precise localization remains difficult for extremely small and visually ambiguous targets.
5 CONCLUSION
In this work, we investigate the challenges of infrared small target detection with multimodal large language models and highlight the importance of actively acquiring fine-grained visual evidence for precise localization. We propose IRSTD-Agent, an agentic framework that formulates detection as a dynamic visual search process. Five complementary visual tools enable candidate discovery, adaptive observation, target localization, hypothesis rejection, and target extent refinement. We further introduce Zoom-guided Interaction Learning, which uses annotation-derived interaction trajectories to teach the model to select appropriate tools and their arguments. Extensive experiments on WideIRSTD-Full and IRSTD-1k demonstrate the effectiveness of our framework, demonstrating detection performance superior to other state-of-the-art MLLM-based methods.
Limitations and Future Work. Sequential tool interactions introduce additional inference overhead, and extremely small or visually ambiguous targets in IRSTD task remain challenging. Future work could investigate more efficient search policies and adaptive computation allocation to improve the balance between detection accuracy and computational cost.
REFERENCES
Zhe Cao, Jin Zhang, and Ruiheng Zhang. Irgpt: Understanding real-world infrared image with bi-cross-modal curriculum on large-scale benchmark. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 166–176. IEEE, 2025.
Gao Chen, Weihua Wang, and Sirui Tan. IRSTFormer: A hierarchical vision transformer for infrared small target detection. Remote Sensing, 14(14):3258, 2022. doi: 10.3390/rs14143258.
Pranav Singh Chib and Pravendra Singh. Leveraging language prior for infrared small target detection. Neurocomputing, pp. 133512, 2026.
Xiaoyang Han, Jianhua Li, Kewang Deng, Zukai Chen, Xuanke Shi, Sihan Wang, Boxuan Li, Linyan Wang, Siyi Xie, Xin You, Jinsheng Quan, Zhongang Cai, Haiwen Diao, Ziwei Liu, Lei Yang, Dahua Lin, and Quan Wang. Vision as unified multimodal generation. arXiv preprint arXiv:2607.06560, 2026.
Shixin Jiang, Zerui Chen, Jiafeng Liang, Yanyan Zhao, Ming Liu, and Bing Qin. Infrared-llava: Enhancing understanding of infrared images in multi-modal large language models. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 8573–8591, 2024.
Aishwarya Kamath, Mannat Singh, Yann LeCun, Gabriel Synnaeve, Ishan Misra, and Nicolas Carion. Mdetr - modulated detection for end-to-end multi-modal understanding. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 1780–1790, October 2021.
Boyang Li, Chao Xiao, Longguang Wang, Yingqian Wang, Zaiping Lin, Miao Li, Wei An, and Yulan Guo. Dense nested attention network for infrared small target detection. IEEE Transactions on Image Processing, 32:1745–1758, 2023. doi: 10.1109/TIP.2022.3199107.
Boyang Li et al. Icpr 2024 competition on resource-limited infrared small target detection challenge: Methods and results. In Pattern Recognition. Competitions, volume 15334 of Lecture Notes in Computer Science, pp. 62–77. Springer, 2025a. doi: 10.1007/978-3-031-80139-6_5.
Geng Li, Jinglin Xu, Yunzhen Zhao, and Yuxin Peng. Dyfo: A training-free dynamic focus visual search for enhancing lmms in fine-grained visual understanding. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9098–9108. IEEE, 2025b.
Haolin Li, Yaohua Wang, Ze Yan, Lijie Wen, and Biqing Huang. Agentdet: A shared-blackboard multi-agent framework for zero-/few-shot object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 41626–41635, 2026.
Liunian Harold Li, Pengchuan Zhang, Haotian Zhang, Jianwei Yang, Chunyuan Li, Yiwu Zhong, Lijuan Wang, Lu Yuan, Lei Zhang, Jenq-Neng Hwang, Kai-Wei Chang, and Jianfeng Gao. Grounded language-image pre-training. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 10965–10975, June 2022.
Qiankun Liu, Rui Liu, Bolun Zheng, Hongkui Wang, and Ying Fu. Infrared small target detection with scale and location sensitivity. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17490–17499, 2024a.
Ruixun Liu, Bowen Fu, Jiayi Song, Kaiyu Li, Wanchen Li, Lanxuan Xue, Hui Qiao, Weizhan Zhang, Deyu Meng, and Xiangyong Cao. Zoomearth: Active perception for ultra-high-resolution geospatial vision-language tasks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 34877–34888, 2026.
Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, Jun Zhu, and Lei Zhang. Grounding DINO: Marrying DINO with grounded pre-training for open-set object detection. In European Conference on Computer Vision, pp. 38–55, 2024b. doi: 10.1007/978-3-031-72970-6_3.
OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
Qwen Team. Qwen3.5-27B model card. Official model card, Hugging Face, 2026a. Accessed September 20, 2026.
Qwen Team. Qwen3.8-27B model card. Official model card, Hugging Face, 2026b. Accessed September 20, 2026.
Hao Shao, Shengju Qian, Han Xiao, Guanglu Song, Zhuofan Zong, Letian Wang, Yu Liu, and Hongsheng Li. Visual cot: Advancing multi-modal language models with a comprehensive dataset and benchmark for chain-of-thought reasoning. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 8612–8642. Curran Associates, Inc., 2024. doi: 10.52202/079017-0275.
Haozhan Shen, Kangjia Zhao, Tiancheng Zhao, Ruochen Xu, Zilun Zhang, Mingwei Zhu, and Jianwei Yin. Zoomeye: Enhancing multimodal llms with human-like zooming capabilities through tree-based image exploration. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 6602–6618. Association for Computational Linguistics, 2025. doi: 10.18653/v1/2025.emnlp-main.335.
Yangting Shi, Yinfei Zhu, Renjie He, Le Hui, Meng Cai, Ming-Ming Cheng, and Yimian Dai. Auxdet: Auxiliary metadata matters for omni-domain infrared small target detection. IEEE Transactions on Geoscience and Remote Sensing, 64:1–16, 2026. doi: 10.1109/TGRS.2026.3674761.
Alex Su, Haozhe Wang, Weiming Ren, Fangzhen Lin, and Wenhu Chen. Pixel reasoner: Incentivizing pixel space reasoning via curiosity-driven reinforcement learning. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 8222–8251. Curran Associates, Inc., 2025. doi: 10.52202/085713-0280.
Gemini Team, Rohan Anil, Sebastian Borgeaud, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, Katie Millican, et al. Gemini: a family of highly capable multimodal models. arXiv preprint arXiv:2312.11805, 2023.
Shihao Wang, Shilong Liu, Yuanguo Kuang, Xinyu Wei, Yangzhou Liu, Zhiqi Li, Yunze Man, Guo Chen, Andrew Tao, Guilin Liu, Jan Kautz, Lei Zhang, and Zhiding Yu. LocateAnything: Fast and high-quality vision-language grounding with parallel box decoding. arXiv preprint arXiv:2605.27365, 2026.
Weiyun Wang, Zhangwei Gao, Lixin Gu, et al. InternVL3.5: Advancing open-source multimodal models in versatility, reasoning, and efficiency. arXiv preprint arXiv:2508.18265, 2025.
Penghao Wu and Saining Xie. V*: Guided visual search as a core mechanism in multimodal llms. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 13084–13094, 2024. doi: 10.1109/CVPR52733.2024.01243.
Xin Wu, Danfeng Hong, and Jocelyn Chanussot. Uiu-net: U-net in u-net for infrared small object detection. IEEE Transactions on Image Processing, 32:364–376, 2023. doi: 10.1109/TIP.2022.3228497.
Bin Xiao, Haiping Wu, Weijian Xu, Xiyang Dai, Houdong Hu, Yumao Lu, Michael Zeng, Ce Liu, and Lu Yuan. Florence-2: Advancing a unified representation for a variety of vision tasks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4818–4829, 2024.
Jiangnan Yang, Shuangli Liu, Jingjun Wu, Xinyu Su, Nan Hai, and Xueli Huang. Pinwheel-shaped convolution and scale-based dynamic loss for infrared small target detection. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 9202–9210, 2025. doi: 10.1609/aaai.v39i9.32996.
Chuang Yu, Jinmiao Zhao, Yunpeng Liu, Sicheng Zhao, Yimian Dai, and Xiangyu Yue. From easy to hard: Progressive active learning framework for infrared small target detection with single point supervision. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 2588–2598, 2025.
Maoxun Yuan, Bo Cui, Tianyi Zhao, Jiayi Wang, Shan Fu, Xue Yang, and Xingxing Wei. Unirgb-ir: A unified framework for visible-infrared semantic tasks via adapter tuning. In Proceedings of the 33rd ACM International Conference on Multimedia, pp. 2409–2418, 2025.
Maoxun Yuan, Duanni Meng, Ziteng Xi, Tianyi Zhao, Shiji Zhao, Yimian Dai, and Xingxing Wei. Seeing through the noise: Improving infrared small target detection and segmentation from noise suppression perspective. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 27783–27792, June 2026.
Mingjin Zhang, Rui Zhang, Yuxiang Yang, Haichen Bai, Jing Zhang, and Jie Guo. Isnet: Shape matters for infrared small target detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 877–886, 2022.
Mingjin Zhang, Xiaolong Li, Fei Gao, Jie Guo, Xinbo Gao, and Jing Zhang. Saist: Segment any infrared small target model guided by contrastive language-image pretraining. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9549–9558, June 2025a.
Mingjin Zhang, Qian Xu, Yuchun Wang, Xi Li, and Haojuan Yuan. Mirsam: Multimodal vision-language segment anything model for infrared small target detection. Visual Intelligence, 3:4, 2025b. doi: 10.1007/s44267-025-00075-0.
Ziwei Zheng, Minghao Yang, Jack Hong, Chenxiao Zhao, Guohai Xu, Le Yang, Chao Shen, and XingYu. Deepeyes: Incentivizing "thinking with images" via reinforcement learning. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations, volume 2026, pp. 126775–126798, 2026.
APPENDIX
A IMPLEMENTATION DETAILS
A.1 TOOLS AND COORDINATE INTERFACE
For implementation, we represent the executed view by its boundary coordinates , with width and height . This is equivalent to the center-and-size view representation used in Section 3.1 after boundary handling. Crop-normalized and original-image coordinates are related by
A requested zoom size denotes the side length of the next view in original-image pixels. Each observation is extracted directly from the original image after rounding and boundary handling, rather than recursively from a previously resized crop.
In the main joint-policy implementation, PROPOSAL is invoked as a policy-controlled tool, after which ZOOM selects a candidate-relative location and crop size for the next observation. Some controlled experiments use an earlier fixed-queue configuration in which proposals are initialized before search. In both cases, tool execution updates the current view and branch-local interaction history while preserving accumulated image-level detections. DETECT and DROP terminate the current branch, with DROP producing no detection. DETECT outputs normalized target centers in the current crop, which are mapped to original-image coordinates by before refinement.
A.2 PROPOSAL TOOL
Given a grayscale native-resolution view J, we first normalize its intensity range to obtain . The spatial branch combines four complementary responses:
where , , , and denote multi-scale top-hat, difference-of-Gaussians, local standardized contrast, and patch-contrast responses, respectively, and denotes response normalization.
For the frequency branch, we use spectral-residual saliency. Let and . The response is
where is a locally smoothed log-amplitude spectrum and G denotes spatial smoothing.
The two branches are fused as
Local peaks in R are then ranked and spatially suppressed to produce the proposal set . All proposal operations are image-based and contain no learned parameters.
A.3 REFINEMENT TOOL AND OUTPUT ASSEMBLY
Given a detected center , REFINE extracts a local neighborhood from the original image and estimates its background appearance. Let denote the estimated local background and define the residual response as
An adaptive threshold , estimated from the local residual statistics, is then used to obtain target-supporting pixels. Starting from the response nearest to , we retain the connected component
(18) where denotes the connected region associated with the detected target center.
The spatial extent of defines the refined bounding box,
where is the corresponding foreground mask. If no valid connected region is obtained, the initialized local box around is retained.
For multiple detections, the image-level segmentation map is formed by
Bounding-box predictions are subsequently merged using NMS, while mask assembly preserves the image-derived foreground regions rather than filling the refined boxes.
A.4 ZOOM-GUIDED INTERACTION LEARNING
Following Equations 10–11, each retained trajectory is constructed from a source image and its training annotations:
Here i indexes trajectories rather than distinct images, since multiple trajectories may be constructed from the same source image.
Connected components of the training mask define target boxes and centers . For a view , we distinguish fully visible targets from those that only intersect the view:
Positive trajectories consist of target-preserving ZOOM transitions that progressively acquire more informative local observations. Offset-recovery examples deliberately displace the initial candidate from the target center, requiring localization from visual evidence rather than direct proposal copying. At a terminal positive view, DETECT supervises the normalized centers of all fully visible targets:
Negative trajectories are constructed from candidate branches containing no annotated target. A DROP label is assigned only when , ensuring that partially visible targets are not treated as negatives. Multi-target views retain all valid targets in the corresponding DETECT supervision. PROPOSAL and ZOOM actions are included along the trajectory according to the executed search process.
Each structured action is serialized into a token sequence . The token-level SFT objective is
Prompt tokens are masked from the loss. Separate trajectory sets and checkpoints are constructed for each dataset.
A.5 BASELINE ADAPTATION
We follow the method groups in Table 3 and adapt each baseline to infrared small-target detection while preserving its original inference paradigm whenever possible.
MLLM and grounding baselines. InternVL3.5, Qwen3.5/3.8, LocateAnything, and SenseNovaVision use released checkpoints without infrared-specific fine-tuning. They directly process the full image and are prompted to return all visible infrared targets as bounding boxes, with model-specific coordinate formats mapped back to the original image.
Florence-2, Grounding DINO, YOLO-World, and Rex-Omni likewise use released weights and perform full-image multi-target localization with an infrared-target query. Their native task interfaces and decoding procedures are retained wherever applicable.
Visual reasoning and active search baselines. ZoomEye, ZoomEarth, DeepEyes, and Vision-Reasoner retain their original search, cropping, or reasoning procedures, while their task interfaces are adapted to produce infrared-target detections. ZoomEye uses Qwen3.5-27B as its underlying multimodal model and performs hierarchical visual search before localization. Predictions produced in local views are mapped back to the original image coordinates for evaluation.
RSCoVLM-det is the only baseline in this group that receives dataset-specific training. Separate LoRA adapters are trained for WideIRSTD-Full and IRSTD-1k using annotations converted from the corresponding training masks.
Specialized IRSTD detectors. The specialized detectors reported in Appendix B.1, including RDIAN, LW-IRSTNet, DNANet, MSHNet, and NSFPN, are trained separately on each dataset using their original supervision. Their full-image and sliding-window evaluation protocols are reported separately in the corresponding appendix section.
B MORE ANALYSIS
B.1 COMPARISON WITH SPECIALIZED IRSTD METHODS
Table 4 compares specialized IRSTD detectors with IRSTD-Agent on the full WideIRSTD-Full test set and its large-image subset. The full set contains 2,000 images and 5,328 targets. The Large subset contains 44 images with original area , comprising 99 targets. For these 44 images, we report both the original full-image resize protocol and a native-resolution sliding-window alternative for the specialized detectors.
Table 4: Specialized IRSTD methods and IRSTD-Agent on WideIRSTD-Full. Full and Large (original) use full-image resize, while Large (sliding) uses native-resolution sliding windows for the specialized detectors. The two Large settings contain the same 44 images and 99 targets. IRSTD-Agent is unchanged in both columns. Values are percentages; IoU is averaged over matched targets only.
| Method | Full (2,000) | Large: original (44) | Large: sliding 256 (44) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| P | R | IoU | P | R | IoU | P | R | IoU | ||||
| RDIAN | 72.66 | 46.43 | 56.66 | 60.25 | 33.33 | 1.01 | 1.96 | 14.06 | 48.60 | 52.53 | 50.49 | 69.54 |
| U-Net | 78.35 | 49.32 | 60.54 | 60.27 | 20.00 | 1.01 | 1.92 | 14.06 | 54.93 | 39.39 | 45.88 | 75.39 |
| ResUNet | 77.44 | 50.06 | 60.81 | 59.80 | 20.00 | 1.01 | 1.92 | 8.33 | 58.67 | 44.44 | 50.57 | 65.99 |
| AttU-Net | 78.66 | 48.16 | 59.74 | 59.40 | 12.50 | 1.01 | 1.87 | 25.00 | 55.56 | 45.45 | 50.00 | 66.89 |
| MLCL-Net | 78.69 | 41.85 | 54.64 | 59.39 | 20.00 | 1.01 | 1.92 | 25.00 | 44.92 | 53.54 | 48.85 | 64.13 |
| IRSTD-Agent | 71.63 | 34.83 | 46.87 | 67.07 | 78.26 | 54.55 | 64.29 | 75.34 | 78.26 | 54.55 | 64.29 | 75.34 |
For Full and Large (original), the specialized detectors follow the same full-image resize protocol used in their standard evaluation, with predictions mapped back to the original image. For Large (sliding), the same trained checkpoints are evaluated without retraining using native-resolution windows with stride 128. Predictions from overlapping windows are merged on the original image. IRSTD-Agent retains its original active local-observation pipeline, and its Large result is repeated for reference.
Specialized IRSTD detectors are highly task-specific and perform strongly under their conventional input setting. On the full test set, their F1 scores range from 54.64 to 60.81, exceeding the 46.87 F1 of IRSTD-Agent. However, this advantage does not transfer directly to large images. Under full-image resize, all specialized detectors recover only of the targets in the Large subset, with F1 around 1.9, showing that aggressive resizing can largely remove the already weak small-target evidence.
Native-resolution sliding-window inference substantially recovers their performance, increasing F1 to 45.88–50.57 and recall to 39.39–53.54. Nevertheless, a considerable fraction of targets remains missed, and all specialized detectors remain below IRSTD-Agent on this subset, which reaches 54.55 recall and 64.29 F1. These results highlight the strong dependence of specialized IRSTD models on the observation scale: preserving local resolution is essential for large-image detection, while a fixed sliding-window strategy still provides less flexible evidence acquisition than the active search used by IRSTD-Agent.
B.2 SEGMENTATION RESULTS
Table 5 reports segmentation performance on WideIRSTD-Full (2,000 images) and IRSTD-1k (201 images). For the MLLM, grounding, visual-search, and IRSTD-Agent pipelines, detected target centers are converted to foreground masks using the same center-to-mask refinement procedure. Therefore, the full-image MLLM results in this table include mask generation beyond their native-box detection outputs reported in the main text.
We report image-averaged mask IoU (nIoU), foreground Dice, component-level detection probability (), and false-alarm rate (). nIoU is averaged over images with a nonempty mask union, while Dice is computed over foreground pixels across the test set. uses one-to-one component-centroid matching within three pixels. measures foreground pixels belonging to unmatched predicted components relative to the total number of image pixels and is reported as ; lower values indicate fewer false alarms.
Table 5: Segmentation performance on WideIRSTD-Full and IRSTD-1k. nIoU, Dice, and are reported as percentages, while is reported as . All methods use the same center-to-mask refinement for segmentation evaluation.
| Method | WideIRSTD-Full (2,000) | IRSTD-1k (201) | ||||||
|---|---|---|---|---|---|---|---|---|
| nIoU↑ | Dice↑ | nIoU↑ | Dice↑ | |||||
| Open-Source MLLMs | ||||||||
| InternVL3.5-38B | 12.50 | 20.95 | 13.59 | 8.91 | 20.49 | 32.88 | 35.35 | 7.38 |
| Qwen3.5-9B | 12.30 | 21.35 | 14.88 | 16.86 | 37.83 | 42.35 | 52.53 | 17.37 |
| Qwen3.5-27B | 19.06 | 31.17 | 22.07 | 11.31 | 42.71 | 45.47 | 58.92 | 9.62 |
| Qwen3.8-27B | 19.07 | 32.90 | 23.25 | 12.69 | 48.97 | 57.22 | 68.35 | 9.57 |
| LocateAnything-3B | 15.78 | 23.42 | 17.83 | 11.63 | 27.48 | 35.94 | 37.37 | 3.28 |
| SenseNova-Vision-7B-MoT | 2.45 | 4.96 | 2.85 | 12.72 | 4.62 | 6.75 | 5.39 | 5.67 |
| VLM-Based Grounding Models | ||||||||
| Florence-2-large-ft | 4.09 | 9.00 | 3.55 | 10.37 | 9.39 | 18.11 | 13.80 | 48.89 |
| Grounding DINO-B | 7.35 | 11.04 | 5.29 | 14.01 | 8.48 | 17.48 | 10.44 | 30.90 |
| YOLO-World | 4.92 | 13.24 | 6.55 | 19.18 | 25.62 | 30.78 | 73.06 | 379.23 |
| Rex-Omni | 28.58 | 34.32 | 38.95 | 67.64 | 49.09 | 54.52 | 74.07 | 53.52 |
| Visual Reasoning and Active Search | ||||||||
| ZoomEye | 25.14 | 34.47 | 34.98 | 48.98 | 54.36 | 57.81 | 80.13 | 41.54 |
| RSCoVLM-det | 26.34 | 29.34 | 22.22 | 12.98 | 51.93 | 57.46 | 70.71 | 12.41 |
| ZoomEarth | 4.03 | 8.78 | 4.43 | 5.74 | 20.38 | 33.71 | 28.96 | 16.06 |
| DeepEyes | 4.07 | 6.91 | 4.34 | 19.11 | 17.53 | 28.88 | 27.95 | 28.37 |
| VisionReasoner | 20.07 | 27.40 | 22.03 | 30.24 | 35.14 | 43.39 | 54.21 | 58.44 |
| IRSTD-Agent | 31.71 | 37.67 | 34.68 | 13.35 | 52.19 | 57.90 | 76.09 | 17.61 |
On WideIRSTD-Full, IRSTD-Agent achieves the highest nIoU (31.71) and Dice (37.67), indicating stronger foreground overlap under the large-image setting. Rex-Omni attains a higher of 38.95, but with a substantially larger false-alarm rate (67.64 versus 13.35), suggesting that its higher target recovery is accompanied by more spurious foreground responses.
On IRSTD-1k, IRSTD-Agent reaches 52.19 nIoU, 57.90 Dice, 76.09 , and 17.61 . ZoomEye achieves slightly higher nIoU and (54.36 and 80.13), but also produces considerably more false alarms ( ). Overall, the results show that segmentation quality depends not only on target recovery, but also on the spatial accuracy and false foreground introduced by the complete detection-and-refinement pipeline.
C PROMPT TEMPLATES
C.1 IRSTD-AGENT
The system and observation prompts below use the center-output interface. Line breaks are adjusted for layout. The proposal instruction is appended to the original system prompt in compact form.
System prompt
You are an infrared-small-target gaze agent. Inspect only the supplied crop. Coordinates are normalized to the CURRENT crop. Use ZOOM when additional local evidence is needed. Use DETECT when the visible targets can be reliably localized, and DROP when the current hypothesis is unsupported. Emit exactly one JSON action and no prose:
ZOOM {type, x, y, size}; DETECT {type, targets: [ {x, y} ]}; DROP {type}; or PROPOSAL {type}. PROPOSAL runs RF/FFT proposals on the current crop when proposal_allowed=true and additional candidate hypotheses are needed. Proposal points guide search; they are not detections.
Observation prompt. Each user message contains the current crop and the following text. Placeholders are filled with runtime values; history contains parsed actions from the current branch.
image_size={image_size}; crop_original={crop_original}; crop_size={crop_size}; step={step}; history={history}. Choose the next action.
Here image_size is [W, H], crop_original is , crop_size is , and step is the zero-based branch depth. When an anchor is active, the observation appends:
proposal_anchor_original={anchor}; Follow the current proposal anchor when choosing which local hypothesis to inspect; do not switch to a distant bright target belonging to another proposal.
The anchor uses original-image coordinates. The observation also includes proposal_allowed and, after a local PROPOSAL call, local_proposals_original, a list of original-image candidate centers.
Detection action instruction. When DETECT is selected, IRSTD-Agent localizes all visible targets in the current crop. The detection-specific instruction is summarized below:
Detect every fully visible infrared small target in this crop. Return all target centers normalized to the CURRENT crop in [0,1], not box corners or original-image coordinates. Output one JSON action: {"type":"DETECT","targets": [{"x":..., "y":...}]} If the crop is background, output {"type":"DROP"}
IRSTD-Agent predicts the target centers, while PROPOSAL only supplies candidate locations. The detection instruction belongs to the same policy prompt. The executor maps the predicted centers to the original image before subsequent localization refinement.
Structured responses. Illustrative action formats are:
{"type":"PROPOSAL"} {"type":"ZOOM","x":0.5,"y":0.5,"size":64} {"type":"DETECT","targets": [{"x":0.3,"y":0.4}, {"x":0.7,"y":0.6}]} {"type":"DROP"}
Zoom coordinates are crop-normalized; size is the requested side length in original-image pixels. DETECT and DROP end the current branch, after which the executor advances to the next candidate.
C.2 FULL-IMAGE MLLM AND GROUNDING PROMPTS
Full-image MLLM prompt. The task instruction requests all infrared targets from the full image. A compact rendering is:
Detect all compact infrared small targets, including dim targets. Exclude broad bright regions, edges, and background texture. Return one tight bounding box per target in the required coordinate format, and an empty list if no target is visible. Output only the requested structured result.
Model-specific output conventions are retained rather than imposing one literal prompt on all models. For example, the Qwen native-coordinate interface requests JSON boxes with each axis independently normalized to and supplies the image dimensions; parsed boxes are mapped back to original-image coordinates.
Grounding prompt. These methods receive an infrared-target text query through their native grounding interfaces rather than the agent's action prompt. The category query used by YOLO-World and Rex-Omni is:
infrared small target
Florence-2 uses its <CAPTION_TO Phrase_GROUNDING> task with an infrared-target query, while Grounding DINO receives an infrared-target caption. Their native task formatting and output parsers are preserved.
D LARGE LANGUAGE MODEL USAGE
AI tools were used for language polishing and assistance with LaTeX formatting, including figure and table layout. Portions of the code were implemented and modified with assistance from GPT-5 and GPT-6 Codex. The authors take full responsibility for the final manuscript, code, and all reported results.