---
title: Chain of Foresight-Focus Thought (CoFFT)
url: https://www.emergentmind.com/topics/chain-of-foresight-focus-thought-cofft
type: topic
---

# Chain of Foresight-Focus Thought (CoFFT)

Searching arXiv for the specified CoFFT and HALO papers to ground the article in current literature.
Chain of Foresight-Focus Thought (CoFFT) is a visual reasoning framework for vision-language models (VLMs) that iteratively couples prospective reasoning with adaptive visual selection. It was introduced as a training-free approach designed to mitigate interference from irrelevant visual content by emulating a human-inspired cycle in which reasoning guides where to look next, and revised visual focus informs subsequent reasoning [2509.22010]. In later embodied vision-language-action work, the same conceptual structure was extended into Embodied Multimodal Chain-of-Thought (EM-CoT), where CoFFT-like decomposition appears as a sequence of textual reasoning, visual foresight, and action prediction for robotic control [2602.21157]. Taken together, these formulations define CoFFT as a broader reasoning paradigm centered on explicit foresight and focus rather than a single monolithic inference pass.

## 1. Conceptual basis and problem formulation

CoFFT was proposed in response to a specific failure mode of VLMs: when images contain large amounts of irrelevant or distracting content, the models are susceptible to interference, excessive task-irrelevant reasoning, or hallucinations [2509.22010]. The underlying diagnosis is that conventional reasoning pipelines do not discover and process the required regions precisely during inference. Existing single-pass or purely language-based chain-of-thought methods, including Monte Carlo Tree Search and Predictive Decoding, were described as unable to dynamically refine visual input, which leaves them exposed to salient but irrelevant features [2509.22010].

The conceptual inspiration is human visual cognition. In this account, humans apply “foresight” to evaluate which regions are likely to support future reasoning steps and then shift visual focus to those regions. CoFFT operationalizes this as an iterative cycle in which reasoning guides focus and focus guides reasoning [2509.22010]. Its two core notions are therefore “Foresight Thought,” which generates and evaluates multiple short candidate reasoning paths, and “Focus Thought,” which adjusts the model’s visual input toward an informative sub-region before reasoning continues [2509.22010].

A common misconception is to treat CoFFT as merely another chain-of-thought prompting strategy. The published formulation is narrower and more specific: it is not only a reasoning-trace mechanism but an iterative procedure that jointly scores candidate reasoning paths and changes the visual input itself through attention-based cropping [2509.22010]. This distinguishes it from approaches that expand reasoning depth without modifying perceptual focus.

## 2. Iterative three-stage loop

CoFFT is organized as a repeated three-stage loop: Diverse Sample Generation (DSG), Dual Foresight Decoding (DFD), and Visual Focus Adjustment (VFA) [2509.22010]. At iteration $t$, the method maintains a current reasoning chain $R_t$, a current visual focus image $V_t$, and the question $Q$.

In the first stage, the model samples $k$ diverse reasoning continuations, each with length up to $l$:
$$
\mathcal{S}_t = \{s_{t,1},\,s_{t,2},\dots,s_{t,k}\},\quad
s_{t,i} = \mathrm{Decode}\bigl(M;\;V_{t-1},Q,R_{t-1},T_i,l\bigr).
$$
Here, $M$ is the VLM and $T_i \in [T_{\min},T_{\max}]$ is a temperature chosen to promote diversity [2509.22010]. The reported sampling strategy uses temperatures in $\{0.4, 0.5, \dots, 1.0\}$ without replacement, with weights halved after each use and reset once exhausted [2509.22010]. The purpose is exploration of multiple reasoning “foresights.”

In the second stage, CoFFT evaluates each candidate using both a visual criterion and a reasoning-progression criterion, then appends only the first step of the optimal sample to the reasoning chain [2509.22010]. This first-step update is central: the method does not commit to an entire sampled path, but instead uses limited lookahead to decide the next reasoning increment.

In the third stage, the framework updates visual focus by computing a crop-score map and selecting a rectangular window from a predefined family of windows spanning 40%–90% of the original image dimensions [2509.22010]. If the best window exceeds a threshold relative to the global mean, the system crops and upscales that region for the next iteration; otherwise it reverts to the full image [2509.22010]. The loop repeats until the answer is reached or “REASONING_COMPLETE” is emitted [2509.22010].

| Stage | Function | Output |
|---|---|---|
| Diverse Sample Generation | Generate $k$ candidate reasoning paths with varied temperatures | $\mathcal{S}_t$ |
| Dual Foresight Decoding | Score candidates by visual focus and reasoning progression | selected sample $s_t^*$ |
| Visual Focus Adjustment | Crop and magnify the most informative region or keep full image | next visual input $V_t$ |

This architecture makes CoFFT an iterative inference controller rather than a learned end-to-end model. A plausible implication is that its principal novelty lies in coordinating search over reasoning space with search over perceptual focus.

## 3. Dual scoring and focus adjustment

The defining technical feature of CoFFT is Dual Foresight Decoding, which combines a visual focus score $F_v(s)$ and a reasoning progression score $F_r(s)$ for each candidate sample $s$ [2509.22010].

The visual score is built from a “relative attention” map that normalizes task-specific attention against a descriptive baseline:
$$
A^{\mathrm{rel}}(V,X)
= \operatorname{Softmax}
\!\Bigl(\tfrac{A(V,X)}{A(V,D)+\epsilon}\Bigr),\quad
A\in\mathbb{R}^{H\times W},
$$
where $D =$ “Describe the image in detail.” The score is then defined as
$$
F_v(s)
= E_{att}(s)
= 0.5\,\cos\bigl(A^{\mathrm{rel}}(V,Q),\,A^{\mathrm{rel}}(V,s)\bigr)
+0.5\,\mathrm{IoU}_{30\%}\bigl(A^{\mathrm{rel}}(V,Q),\,A^{\mathrm{rel}}(V,s)\bigr).
$$
This combines attention-map cosine similarity with thresholded intersection-over-union, thereby tying a candidate reasoning path to the question-relevant visual distribution [2509.22010].

The reasoning progression score measures whether adding early steps of a candidate increases the mean log-probability relative to the current reasoning chain:
$$
F_r(s)
= E_{prob}(s)
= \frac{1}{\,l\,}\sum_{j=1}^{l}\bigl(p_j - p_0\bigr),
$$
where $p_0$ is the mean log-probability of the current chain and $p_j$ is the mean log-probability of the chain extended by the first $j$ steps of $s$ [2509.22010]. This makes CoFFT sensitive both to where a reasoning path is visually grounded and to whether it improves the model’s internal continuation confidence.

The combined selection rule is
$$
s^*_t
= \arg\max_{s\in S_t}\Bigl[\,
\lambda\,\mathrm{Softmax}\bigl(F_v(s)\bigr)
\;+\;(1-\lambda)\,\mathrm{Softmax}\bigl(F_r(s)\bigr)
\Bigr],
$$
with empirically $\lambda = 0.3$ [2509.22010]. The updated chain is
$$
R_t \leftarrow R_{t-1}\cup\{\text{first step of }s^*_t\}.
$$

Visual Focus Adjustment then constructs a question-relevance map,
$$
C^{\mathrm{rel}}(V,Q,R_{t})
= \max\bigl(A^{\mathrm{rel}}(V,Q) - \alpha\,A^{\mathrm{rel}}(V,R_{t}),\,0\bigr),
$$
a future-relevance map $A^{\mathrm{rel}}(V,s^*_t)$, and the combined crop-score map
$$
A_{\mathrm{crop}}
= 0.5\,C^{\mathrm{rel}}(V,Q,R_{t})
\;+\;0.5\,A^{\mathrm{rel}}(V,s^*_t),
$$
with empirically $\alpha = 0.3$ [2509.22010]. The best window $B^*$ is chosen by maximizing mean crop-score $\mu_B$, and cropping occurs only if
$$
\mu_{B^*} > \mu_{V_0} + \beta,
$$
where
$$
\beta
= \sigma_{V_0}\,\bigl(1 - \cos(C^{\mathrm{rel}}(V,Q,R_t),\,A^{\mathrm{rel}}(V,s^*_t))\bigr)
$$
[2509.22010]. The paper also gives the map-update notation
$$
M_{t+1} = M_t + \Delta M(s^*_t),
$$
where $\Delta M$ captures the attention concentration induced by $A_{\mathrm{crop}}$ [2509.22010].

These design choices clarify that CoFFT is not gradient-based test-time optimization. It is explicitly described as gradient-free in the map-update notation and operates by decoding, scoring, and cropping during inference [2509.22010].

## 4. Empirical performance and efficiency

CoFFT was evaluated on Qwen2.5-VL-Instruct (7B and 32B), InternVL2.5-Instruct (8B), and Llava-Next (7B) across seven datasets: MathVista, MathVision, M3CoT, MMStar, Charxiv, SeekWorld-China, and SeekWorld-Global [2509.22010]. The reported metric is Pass@1 accuracy, averaged over test sets, while efficiency is summarized by $\mathrm{FLOPS} \approx 6nP$, where $n$ is tokens generated and $P$ is model parameters [2509.22010].

Across all VLMs and seven datasets, CoFFT is reported to yield consistent improvements of 3.1%–5.8% absolute over baseline single-pass inference [2509.22010]. The paper gives the following representative averages over six benchmarks.

| Model | Baseline | CoFFT |
|---|---:|---:|
| Qwen2.5-VL-7B | 42.72 | 48.19 |
| Llava-Next-7B | 22.41 | 25.54 |
| InternVL2.5-8B | 40.84 | 45.30 |
| Qwen2.5-VL-32B | 47.05 | 52.96 |

The Qwen2.5-VL-32B result corresponds to a +5.91% gain, while the 7B, Llava-Next, and InternVL2.5 variants show +5.47%, +3.13%, and +4.46% respectively [2509.22010]. The work therefore frames CoFFT as model-agnostic inference-time augmentation rather than a method tied to a single backbone.

The computational overhead is substantial but bounded relative to more exhaustive search. For Qwen2.5-VL-7B, baseline FLOPS are reported as $8.35\times 10^{12}$, CoFFT FLOPS as $2.38\times 10^{14}$, and full Monte Carlo Tree Search as $4.05\times 10^{14}$ [2509.22010]. The paper states that CoFFT remains far more efficient than full Monte Carlo Tree Search while delivering larger gains [2509.22010].

Sensitivity studies further characterize the cost-performance tradeoff. With fixed $l=5$, increasing $k$ from 2 to 4 to 10 raises FLOPS from $1.19\times 10^{14}$ to $2.38\times 10^{14}$ to $5.93\times 10^{14}$, while improving MathVista from 68.8% to 70.4% to 72.2% and SeekWorld-China from 34.32% to 35.12% to 37.27% [2509.22010]. With fixed $k=4$, increasing $l$ from 3 to 5 to 7 raises FLOPS from $1.41\times 10^{14}$ to $2.38\times 10^{14}$ to $3.33\times 10^{14}$, with MathVista at 68.8%, 70.4%, and 70.7%, and SeekWorld-China at 33.51%, 35.12%, and 35.92% respectively [2509.22010]. This suggests a gradual scaling behavior rather than a sharply diminishing regime, although the paper does not formalize an optimal operating point.

## 5. Ablations, limitations, and methodological boundaries

Ablation results indicate that both Dual Foresight Decoding and Visual Focus Adjustment are necessary for the full effect. On Qwen2.5-VL-7B, removing Dual Foresight Decoding reduces average accuracy from 48.19% to 44.31%, and removing Visual Focus Adjustment reduces it to 45.31% [2509.22010]. The paper therefore concludes that both components are critical and that their synergy yields the largest boost [2509.22010].

The method was also compared with combinations involving existing techniques on MathVista and SeekWorld-China. DyFo + Predictive Decoding reached an average of 51.02%, VFA + Predictive Decoding 50.24%, and CoFFT (VFA+DFD) 52.76% [2509.22010]. Within the evidence provided, this positions CoFFT as more than a simple crop heuristic layered on top of predictive decoding.

The limitations are explicit. First, CoFFT incurs additional computational cost due to iterative sampling and evaluation [2509.22010]. Second, performance can degrade if cropping omits globally relevant context, and careful tuning of $\alpha$ and $\lambda$ is needed [2509.22010]. Third, when the base VLM already excels with the full image, iterative cropping can sometimes degrade performance by over-focusing [2509.22010]. These caveats are important because they delimit the class of tasks for which adaptive focus is advantageous.

A related misconception is that “more focus” is always beneficial. The published limitations directly reject that interpretation: over-focusing can remove necessary global context, so the full-image fallback is not a peripheral detail but part of the method’s error-control mechanism [2509.22010].

## 6. Extension to embodied multimodal reasoning

The HALO framework extends the CoFFT concept into embodied vision-language-action modeling through Embodied Multimodal Chain-of-Thought (EM-CoT) [2602.21157]. In that formulation, EM-CoT is stated to extend CoFFT to embodied vision-language-action by explicitly decomposing policy learning into three human-like cognitive stages: “thinking” (textual reasoning), “imagination” (visual foresight), and “execution” (action prediction) [2602.21157]. The relation is made explicit: EM-CoT corresponds to CoFFT by conditioning motor outputs not only on past observations but also on an intermediate, interpretable reasoning trace and imagined future states, ensuring that every control command is both semantically planned and visually grounded [2602.21157].

The HALO formalization defines a policy decomposition over instructions $I$, visual observation history $O_{t-k:t}$, and next action chunk $a_{t:t+m}$:

- textual task reasoning:
  $$
  r \sim P_r\bigl(r \mid I, O_{t-k:t}\bigr),
  $$
  with next-token cross-entropy loss
  $$
  \mathcal{L}_r = -\sum \log P_r(r_i \mid r_{<i}, I, O_{t-k:t});
  $$
- visual subgoal foresight:
  $$
  \hat O_{t+h} \sim P_v\bigl(\hat O_{t+h} \mid I, O_{t-k:t}, r\bigr),
  $$
  trained with a diffusion-style flow-matching objective in latent space;
- action prediction:
  $$
  a_{t:t+m} \sim P_a\bigl(a_{t:t+m}\mid I, O_{t-k:t}, r, \hat O_{t+h}\bigr),
  $$
  trained with an $L1$ flow-matching loss [2602.21157].

The fine-tuning objective is given as
$$
\mathcal{L}_{\text{EM-CoT}} = \mathcal{L}_r + \mathcal{L}_v + \mathcal{L}_a
$$
[2602.21157]. Architecturally, HALO uses a Mixture-of-Transformers (MoT) with three expert lanes initialized from a Qwen2.5-1.5B LLM: a Multimodal Understanding Expert, a Visual Generation Expert, and an Action Prediction Expert [2602.21157]. Cross-expert collaboration occurs through a shared self-attention mechanism and special control tokens that route representations to reasoning, visual, or action experts, while attention masks enforce causal masking on text generation, bidirectional intra-frame attention for visual tokens, and no leakage from noisy prediction tokens [2602.21157].

The quantitative results in HALO show that this embodied analogue of CoFFT-like reasoning improves robotic performance. On RoboTwin 2.0, the baseline policy pi_0 achieves 46.4% on Easy and 16.3% on Hard, HALO without EM-CoT reaches 75.3% and 21.2%, and HALO with EM-CoT reaches 80.5% and 26.4%, corresponding to gains of +34.1% and +10.1% over the baseline [2602.21157]. Ablations show that removing visual subgoals yields 77.8% and 18.3%, removing textual reasoning yields 76.1% and 22.5%, and full EM-CoT attains 80.5% and 26.4% [2602.21157]. In real-world experiments on four long-horizon tasks, HALO reportedly achieves up to 90% success under basic settings and maintains >65% under novel distractions, outperforming To variants by 20–30% [2602.21157].

This extension is significant because it reframes CoFFT from a VLM inference method into a more general reasoning principle. A plausible implication is that the original foresight-focus cycle can be interpreted as a template for decomposing sequential decision-making into interpretable intermediate stages, provided those stages remain semantically planned and visually grounded.

## 7. Position in the research landscape

Within the literature summarized here, CoFFT occupies a specific place among methods for multimodal reasoning under visual clutter. It differs from single-pass inference by making reasoning iterative; it differs from purely language-based search methods by dynamically refining the visual input; and in the embodied setting it differs from monolithic VLA policies by explicitly separating semantic reasoning, visual foresight, and action prediction [2509.22010] [2602.21157].

The main strengths attributed to CoFFT are that it excels on complex, cluttered images requiring fine-grained detail, that benefits grow with model size, and that it is training-free in its original VLM formulation [2509.22010]. The main limitations are the extra computational cost and the possibility of over-focusing [2509.22010]. HALO addresses a different bottleneck: the supervision gap for embodied multimodal chain-of-thought, which it approaches through automated multimodal annotation at scale and a two-stage training recipe [2602.21157]. The paper argues that cross-expert attention and specialized token routing preserve modality-specific inductive biases and avoid interference seen in monolithic models [2602.21157].

Future directions named in the CoFFT work include adaptive stopping criteria, learned policies to select $k$ and $l$ per instance, and integration with lightweight object detectors to guide cropping [2509.22010]. In the embodied line, the evidence provided suggests a parallel trajectory in which automated multimodal data annotation and staged optimization are used to support long-horizon reasoning and out-of-distribution robustness [2602.21157].

As a research topic, CoFFT therefore denotes more than a single algorithmic contribution. In its original form, it is an inference-time loop of diverse sample generation, dual foresight decoding, and visual focus adjustment for VLMs [2509.22010]. In its embodied extension, it becomes a structural principle for decomposing policy learning into “thinking,” “imagination,” and “execution” [2602.21157]. Across both settings, the unifying premise is that multimodal intelligence benefits when future reasoning needs are anticipated before committing either to the next textual step or to the next perceptual or motor act.

Source: https://www.emergentmind.com/topics/chain-of-foresight-focus-thought-cofft