Manuscript Offprint
arXiv:2610.12887Win-Win Fusion: Multi-Modal Image Fusion with Visual-Semantic Collaboration
Abstract
Existing multi-modal image fusion (MMIF) methods generally face an optimization gap between the visual and semantic domains, limiting the enhancement of perception capabilities. To overcome this longstanding barrier, this work proposes W2F, a new visual-semantic mutual reinforcing paradigm for MMIF. First, we reinforce the foundation for visual-semantic collaboration by amplifying feature complementarity through two targeted designs. Specifically, the segmentation-guided fusion loss introduces object-aware structural guidance into visual fusion, while the embedded information restoration prior strengthens the ability of visual fusion to provide reliable perceptual evidence for the semantic branch under degraded conditions. Then, we introduce a strong multi-modal information interaction mechanism composed of interactive gated mixed attention (IGM-Att) and progressive coupling attention (PC-Att). These modules ensure comprehensive scene representation from both local and global perspectives, providing informational support for visual-semantic collaboration. Finally, we construct a collaborative mechanism to couple visual fusion and semantic fusion. It employs a feature search module to extract complementary key features from both tasks, enriching the representational potential of visual and semantic information. Meanwhile, a gradient correction strategy ensures collaboration from the optimization perspective, enhancing performance for both visual and semantic fusion through consistency learning. Extensive experiments demonstrate that W2F surpasses state-of-the-art methods in both visual appeal and decision
accuracy. The code is publicly available at https://github.com/HaoZhang1018/W2F.
Keywords Image fusion · Collaboration · Feature search · Gradient correction · Multi-modal
1 Introduction
Due to limitations inherent in imaging principles, a single sensor can only capture information related to a specific aspect of the imaging scene [49]. In other words, it fails to support the need for comprehensive scene representation, which is particularly pronounced under harsh conditions. As a result, this not only hinders visual perception for human users but also makes machine semantic understanding and decision-making more challenging. Against this backdrop, multi-modal image fusion (MMIF) emerges, enhancing perceptual capabilities by combining image data captured by various sensors, both visually and semantically [38, 42]. To date, this technology has been widely applied in various fields, e.g., security monitoring [4], and night-assisted driving [7], demonstrating significant value.
According to the technical goal of MMIF, perception enhancement can be understood from both visual and semantic aspects [19, 33]. This naturally derives two specific fusion tasks. i) Visual fusion: it is aimed at generating a single fused image with rich texture details and significant contrast, with the intention of improving visual perception [13, 54]. ii) Semantic fusion: it focuses on enhancing machine understanding, strengthening decision-making, and improving the description of the imaging scene, e.g., semantic segmentation [21, 50], object detection [5, 29]. These two fusion tasks form a complete perception
H. Zhang · X. Zuo · J. Ma (✉)
Electronic Information School, Wuhan University, Wuhan 430072, China
E-mail: zhpersonalbox@gmail.com,
xuhuizuo2001@whu.edu.cn, jyma2010@gmail.com

Fig. 1: Illustration of three optimization paradigms for the interaction between visual and semantic fusion. (a) Independent optimization paradigm; (b) sequential iterative optimization paradigm; (c) our proposed mutual reinforcing paradigm; (d) comparison of results from different paradigms, where IF-FILM [52] and CMNeXt [47] represent the independent optimization paradigm, and SegMiF [18] represents the sequential iterative optimization paradigm. The source images are a paired visible and infrared image sample from the FMB dataset [18].
enhancement system, spanning from visual to semantic levels.
Several MMIF methods have emerged in recent years to achieve visual fusion and semantic fusion, which can be categorized into two paradigms. i) Independent optimization paradigm: it generally treats visual fusion and semantic fusion as two separate processes [12, 21, 39], as shown in Fig. 1 (a). Thus, methods of this type tend to carry out methodology design according to the specific characteristics of these two tasks, respectively. This makes the potential prior knowledge provided by one task unavailable to the other, resulting in inevitable performance bottlenecks for both. ii) Sequential iterative optimization paradigm: it regards semantic fusion as the next step of visual fusion, and enforces a cascade dependency between the two tasks [18, 32], as shown in Fig. 1 (b). However, visual fusion is essentially a process of information compression, which may discard specific cues useful for semantic understanding. Consequently, the semantic fusion model receives incomplete information for decision-making, and inaccurate semantic decisions may in turn constrain the optimization of visual fusion.
Clearly, these two existing MMIF paradigms fail to fully exploit the intrinsic complementarity between visual fusion and semantic fusion. Then, where does such complementarity originate, and what benefits can it bring? To answer this question, we analyze it from the perspective of feature representation. Specifically, scene understanding can be viewed as a progressive abstraction from visual perceptual evidence to object-level semantic representations. The distinct optimization objectives of visual fusion and semantic fusion drive them to focus on different yet complementary representations. Visual fusion mainly emphasizes perceptual evidence such as textures, contrast, boundaries, and structural details, whereas semantic fusion focuses more on object regions, foreground-background relationships, and category-discriminative representations for accurate scene understanding. Therefore, visual fusion can provide visibility-restoration-oriented visual perceptual evidence to support semantic fusion in further constructing reliable object-level representations under degraded conditions, while semantic fusion can provide object-aware structural priors to guide visual fusion toward semantically important objects. Such reciprocal interactions give rise to an intrinsic bidirectional complementarity between visual and semantic representations.
A natural question therefore arises: can we simultaneously achieve superior visual fusion quality and semantic fusion performance by fully exploiting such complementarity? This motivates the exploration of a collaborative framework in which visual fusion and se-mantic fusion actively reinforce each other, rather than being treated independently or sequentially. By enabling bidirectional information exchange and mutual guidance between the two tasks, such a framework has the potential to bridge the optimization gap between the visual and semantic domains and further improve the overall perception capability.
However, achieving this goal is still highly challenging. Firstly, although the complementarity between visual fusion and semantic fusion exists inherently, it is still too weak to effectively support deep visual-semantic collaboration. Secondly, there is a lack of powerful multi-modal information interaction mechanisms to complement scene features at both the visual and semantic levels. This leaves visual-semantic collaboration lacking fundamental informational support, let alone the possibility of mutual reinforcement. Therefore, amplifying the visual-semantic complementarity and constructing a high-quality multi-modal information interaction mechanism are fundamental to achieving effective mutual reinforcement between visual fusion and semantic fusion.
We attempt to solve the above two challenges within a new mutual reinforcing paradigm for MMIF, termed W2F, as shown in Fig. 1 (c). In this work, semantic segmentation is selected as the representative task for semantic fusion to concretize our methodology. Firstly, we amplify the complementarity between visual fusion and semantic segmentation through two targeted designs. Specifically, considering that segmentation emphasizes semantic characteristics, such as object regions and structural boundaries, we design a segmentation-guided fusion loss to introduce object-aware structural guidance into visual fusion, thereby improving object visibility and distinguishability. Meanwhile, we embed an information restoration prior into the optimization objective of visual fusion, strengthening its capability to extract visibility-restoration-oriented visual perceptual evidence from degraded observations, thereby enhancing its ability to support the semantic branch in constructing reliable object-level representations under degraded conditions. Secondly, we design two attention modules, CNN-based interactive gated mixed attention (IGM-Att) and Transformer-based progressive coupling attention (PC-Att), to implement high-quality interaction of multimodal information. Among them, IGM-Att integrates a trainable gating mechanism to identify misjudged positional features and correct mismatched high or low scores [44], thereby achieving cross-modal visual information completion from a local perspective. On this basis, PC-Att achieves sufficient semantic aggregation from a global perspective through the progressive coupling of single-modal self-reinforcement and cross-modal mutual complementarity. Together, they provide strong informational support for visual-semantic collaboration. Furthermore, we develop a collaborative mechanism to couple visual fusion and segmentation. Concretely, we develop a feature search module to extract complementary key features from these two tasks, bridging the gap between visual and semantic information and enriching their representational potential. Such an injection of prior knowledge effectively optimizes the information domain on which the visual fusion and segmentation models rely. Meanwhile, a gradient correction strategy is designed to ensure collaboration between the two tasks from the optimization perspective. By ensuring learning consistency, it enables visual fusion and segmentation to be mutually reinforcing rather than interfering.
Fig. 1 (d) provides an intuitive comparison among different MMIF paradigms. Existing paradigms either generate fused images with insufficient structural details or produce incomplete semantic predictions due to inadequate prior knowledge utilization. In contrast, W2F achieves clearer structures and more accurate semantic predictions, demonstrating the effectiveness of visual-semantic mutual reinforcement.
To conclude, the contributions of this work include the following five aspects:
-
We propose a mutual reinforcement paradigm between visual fusion and segmentation via visual-semantic collaboration, reducing the optimization gap between the visual and semantic domains in the perception enhancement system. Beyond conventional sequential connections, W2F enables bidirectional interaction between task-specific visual and semantic representations to exploit their complementarity and mutually enhance the two tasks.
-
We amplify the complementarity between visual fusion and semantic segmentation through a segmentation-guided fusion loss and an embedded information restoration prior. In particular, the former provides object-aware structural guidance to enhance object visibility and distinguishability in fused images, while the latter strengthens the ability of visual fusion to provide visibility-restoration-oriented visual perceptual evidence for semantic segmentation under degraded conditions.
-
An interactive gated mixed attention module and a progressive coupling attention module are developed to form a powerful multi-modal information interaction mechanism. They address mismatched feature validity scores and strengthen the sufficiency of feature aggregation, providing high-quality information assurance for visual-semantic collaboration.
-
We construct a collaborative mechanism to couple visual fusion and segmentation, which bridges the gap between visual and semantic information through a feature search module and ensures the consistency of learning between these two tasks using a gradient correction strategy. Therefore, visual fusion and semantic segmentation reinforce each other rather than conflict.
-
We build new RGB-T datasets containing paired clean images based on existing datasets, which can support the community’s future development of robust MMIF algorithms.
A preliminary version of this paper is MRFS [44]. The new contributions mainly lie in three aspects. First, W2F further analyzes the intrinsic complementarity between visual fusion and semantic segmentation from the perspective of feature representation, and amplifies such complementarity through two targeted designs. Specifically, W2F designs a segmentation-guided fusion loss that is absent in MRFS, enabling segmentation to enhance the visibility and distinguishability of objects in the fused image. Simultaneously, W2F introduces a more powerful information restoration prior into visual fusion to strengthen its capability of providing reliable perceptual evidence for semantic reasoning, which significantly expands the handled degradation types. In particular, MRFS only considers low light in the visible modality and low contrast in the infrared modality. In contrast, our proposed W2F further considers a broader range of composite degradation, including low light, noise, color distortion, and haze in the visible modality, as well as noise and low contrast in the infrared modality. Therefore, W2F demonstrates stronger robustness in the visual fusion task and has a stronger ability to facilitate semantic perception under degraded conditions. Second, W2F fine-tunes the PC-Att module by removing the feedback loop, transforming it into a progressive coupling mode that integrates single-modal self-enhancement and cross-modal complementarity. This simplification reduces the learning difficulty of multi-modal information fusion, enhancing the representational capability. In addition, W2F also improves the collaborative mechanism between visual fusion and semantic segmentation. Concretely, MRFS achieves a hard coupling of these two tasks through feature sharing. By comparison, W2F uses a feature search module and a gradient correction strategy to form a more intelligent collaborative mechanism. It bridges the gap between visual and semantic information while enabling mutual reinforcement between visual fusion and semantic segmentation at the optimization level. Thus, W2F achieves significant performance improvement over MRFS in both tasks.
2.1 Independent Optimization-based MMIF
MMIF methods following the independent optimization paradigm advocate treating visual and semantic fusion as two unrelated tasks. Therefore, these methods are typically designed within their own domain of knowledge to achieve their respective goals. In the visual fusion task, there is no ground truth. Thus, existing methods generally treat it as a typical unsupervised optimization problem, with a focus on designing optimization guidance that prioritizes visual quality. For example, U2Fusion [37] and SDNet [41] define visual fusion as a proportional maintenance problem of pixel intensity and gradient. Its motivation is to use pixel intensity to represent contrast and gradients to represent texture, thereby enabling the employment of preferential weighting to selectively integrate these two visual advantages. Differently, FusionGAN [22] and TCGAN [45] model visual fusion as an adversarial game, driving the fused image to incorporate visual characteristics from both modalities through unsupervised estimation of multi-source distributions. In the semantic fusion task, decision labels are available to provide explicit optimization guidance. In this context, current methods generally focus on designing neural networks with stronger nonlinear fitting capabilities that enable better interaction between modalities. Typically, CAINet [21] proposes a context-aware complementary reasoning module. It establishes the complementary relationship between multi-modal features with the long-term context in both spatial and channel dimensions, exhibiting good capabilities in comprehensive scene understanding. CMX [46] employs a cross-modal feature rectification module and a two-stage feature fusion module to gradually achieve the completion and aggregation of scene information, significantly enhancing the global reasoning ability of the segmentation model. However, whether in visual or semantic fusion tasks, being limited to their respective domains of knowledge will inevitably lead to solution limitations. This means that the MMIF method using the independent optimization paradigm wastes the beneficial solution prior that visual and semantic fusion could provide to each other.
2.2 Sequential Iterative Optimization-based MMIF
Currently, several methods consider visual and semantic fusion to be sequentially dependent. In other words, they strictly adhere to the notion that visual fusion is a prerequisite step for the semantic fusion task. In this context, a commonly followed sequential iterative optimization paradigm emerges, which advocates incorporating the semantic decision into the optimization guidance of visual fusion. SeAFusion [32] and SuperFusion [30] are pioneers of this paradigm, which concatenate visual fusion and segmentation models in series. By weighting the appearance fusion loss and segmentation loss and iteratively updating them, both the visual quality and semantic properties of the fused image are effectively improved. However, SeAFusion and SuperFusion use fixed weighting coefficients for these two loss terms, which makes them prone to causing optimization imbalance between visual fusion and segmentation. To mitigate this challenge, Seg-MiF [18] innovatively introduces dynamic weighting factors based on the descent speed of the loss terms. Intuitively, it adaptively assigns greater weights to tasks with slower learning speeds to help them catch up with the other, thereby allowing semantic segmentation to effectively guide visual fusion and progress together. Similar work also includes TarDAL [17] and Detfusion [28]. Overall, due to the preliminary consideration and utilization of the relationship between visual and semantic fusion, the above methods achieve improved perception enhancement capabilities. Nevertheless, an unavoidable limitation is that using the result of visual fusion as the input for semantic fusion reduces the scene information available for semantic understanding, as visual fusion is a compression process. Subsequently, the negatively impacted semantic fusion model will, in turn, constrain the optimization of the visual fusion model, leading the entire perceptual enhancement system into an optimization trap. Therefore, exploring a more intelligent interaction mechanism between visual and semantic fusion is highly desirable.
2.3 Visual-Semantic Collaboration in Other Tasks
Visual-semantic collaboration has been preliminarily explored in several vision tasks beyond MMIF. TemCoCo [6] introduces visual-semantic collaboration into multi-modal video fusion, where semantic representations distilled from foundation models are used to enhance the quality and temporal consistency of fused videos. VSPCN [11] performs visual and semantic prompt collaboration for generalized zero-shot learning, using semantic attributes as class-level prompts to align visual representations for recognition. MATRN [24] develops interactive enhancement between visual and semantic features for text recognition, where linguistic or character-level semantic knowledge is used to compensate for ambiguous visual clues. Although these methods demonstrate the potential of visual-semantic interaction, such collaboration is mainly established within a single-task pipeline, where visual and semantic representations ultimately serve the same optimization objective. In contrast, W2F focuses on MMIF and explicitly couples visual fusion with semantic segmentation within a unified perception enhancement framework. By amplifying visual-semantic complementarity, enabling feature-level interaction, and coordinating the optimization between the two MMIF tasks, W2F achieves bidirectional mutual reinforcement while simultaneously improving fused image quality and pixel-level semantic accuracy.
3 Methodology
W2F achieves a dual performance boost by mutually reinforcing visual fusion and semantic segmentation. In this section, we provide the problem formulation, and present the complementarity strengthening strategy, the multi-modal information interaction mechanism, and the collaborative optimization mechanism in detail.
3.1 Problem Formulation
Our goal is to seamlessly integrate visual fusion and semantic segmentation to reduce the optimization gap between the visual and semantic domains in the perception enhancement system. To this end, we propose W2F to establish a mutual reinforcement paradigm between visual fusion and segmentation via visual-semantic collaboration, as shown in Fig. 2.
Now, let us formally define this research problem. Given a pair of degraded multi-modal images captured in harsh environments, our perception enhancement system aims to obtain a comprehensive representation of the imaging scene. Here, vi and ir denote the visible and infrared modalities, respectively, and N indicates the composite degradation. This goal involves generating fused images with promising visual perception effects and segmentation results with high decision accuracy:
where F and S represent the visual fusion network and the segmentation network, respectively. Both are composed of isomorphic encoders and their respective decoders. Therefore, Eq. (1) can be further specified as:
To achieve mutual reinforcement between visual fusion and semantic segmentation, we use encoders

Fig. 2: Overall framework of our W2F for mutually reinforcing visual fusion and segmentation via visual-semantic collaboration.
and as a bridge to establish the visual-semantic collaboration mechanism. Before this, two prerequisites need to be met. First, the bidirectional representational complementarity between visual fusion and semantic segmentation should be sufficiently strengthened to establish a reliable basis for their subsequent collaboration. To this end, we design a segmentation-guided fusion loss to inject object-aware structural guidance into visual fusion, improving object visibility and distinguishability. Meanwhile, an information restoration prior, covering multiple degradation types, is embedded into the optimization objective of visual fusion. This strengthens its capability to extract reliable visual perceptual evidence from degraded observations , thereby enhancing its ability to assist the semantic branch in constructing reliable object-level representations. Together, these two designs strengthen the bidirectional representational complementarity between visual fusion and semantic segmentation, providing a solid basis for their subsequent collaboration. Second, serving as the bridge for visual-semantic collaboration, the encoders should possess strong multi-modal interaction capabilities to provide solid information support for the collaboration. Therefore, we develop two powerful attention modules to strengthen the mutual completion and aggregation of multi-modal features in the encoders and , i.e., IGM-Att and PC-Att. Specifically, based on the CNN paradigm, IGM-Att leverages statistical pooling to assess the importance of each modality's features at both the channel and spatial levels, and further introduces a trainable gating mechanism to correct potential mismatched scores. According to the corrected scores, multi-modal features can selectively extract the necessary information from other-modal features to locally refine themselves. Furthermore, PC-Att couples self-attention and cross-attention, progressively achieving single-modal self-reinforcement and cross-modal mutual complementarity. Finally, it globally aggregates multi-modal features, laying the informational foundation for comprehensive scene perception.
Building upon the above foundations, we further utilize the interaction between encoders to achieve the desired mutual reinforcement between visual fusion and semantic segmentation. First, a feature search module is developed to enable these two tasks to retrieve complementary information from each other's encoded features, thereby enhancing their visual and semantic representations through visual-semantic collaboration. Formally, the encoded features in visual fusion and semantic segmentation are denoted as and , respectively. The enhanced encoded features produced by the feature search module are formulated as:
Notably, although and both originate from , their representations gradually become task-biased under the respective optimization objectives of visual fusion and semantic segmentation. Through feature search, complementary visual and semantic information can be effectively injected into each other, thereby enhancing the representational capability of both tasks and enabling further performance improvement. Based on the enhanced features, the fused image with higher visual quality and the segmentation result with higher semantic accuracy can be obtained:
However, due to parameter reuse in the feature search module , potential optimization conflicts may arise between the visual fusion and semantic segmentation. To address this issue, we employ a gradient correction strategy to ensure collaborative consistency between these two tasks from the optimization perspective. Specifically, for the visual fusion loss and the semantic segmentation loss , the gradients with respect to the reused parameters can be represented as:
where represents the partial derivative, denotes the reused parameters, and denote the corresponding optimization gradients. When the angle between and is obtuse ( ), an optimization conflict exists between the two tasks. In this case, we randomly select the gradient of one task and project it onto the normal direction of the other task's gradient to eliminate the conflict [40]. Furthermore, we aim to maintain synchronization between the visual fusion and segmentation tasks as much as possible for all non-conflicting cases ( ). Therefore, Nash-MTL [25] is adopted to produce a Nash bargaining solution for these two tasks by combining per-task gradients into a joint update direction. With the above safeguards, W2F establishes an effective mutual reinforcement between visual fusion and segmentation, enabling comprehensive perception enhancement from visual to semantic levels.
3.2 Complementarity Amplification for Collaboration
To amplify the complementarity between visual fusion and semantic segmentation, our W2F introduces two targeted designs, namely segmentation-guided fusion loss and information restoration prior embedding, as shown in Fig. 3.

Fig. 3: Illustration of amplifying the complementarity between visual fusion and semantic segmentation, which strengthens the basis for their collaboration.
3.2.1 Segmentation-Guided Fusion Loss
The segmentation-guided fusion loss aims to explicitly inject semantic-aware structural priors into the visual fusion optimization, thereby strengthening the guidance of semantic representations for fused image generation. Since segmentation focuses more on object contours, foreground saliency, and category-discriminative cues, its encoded features can guide the visual fusion features to pay more attention to semantically important regions, thereby improving object visibility, edge clarity, and foreground distinguishability in fused images. Formally, according to Eq. (1), given the degraded source images , the fusion network generates the fused image . We use pixel intensity as the foundational representation of images and construct the segmentation-guided intensity loss:
where arg is a search operator used to locate pixels belonging to the specified semantic category set in segmentation labels . Importantly, is not restricted to fixed categories, but is determined according to application requirements. In traffic perception scenarios, thermal-salient categories such as “person” and “car” are typically included because they correspond to critical foreground objects. More generally, can be flexibly extended to other task-relevant categories, such as “bus” or “truck”, depending on the target application and annotation setting. In this work, is specified as “person” and “car”. T denotes the screening map used to provide different fusion guidance for different semantic regions.
For regions belonging to , the max function is adopted to preserve the most significant intensity responses from multi-modal inputs. Especially for thermal-salient objects such as persons and cars, which usually exhibit high intensity in infrared images, their saliency can be effectively preserved through the maximum operation. In this way, the fused image is encouraged to highlight semantically important foreground objects while maintaining clearer structural visibility. In contrast, for non- regions, dynamic weighting guidance is introduced based on regional information effectiveness evaluation. Specifically, local contrast statistics from multiple image patches are aggregated to measure the information richness of each modality, based on the observation that images with stronger local contrast generally contain clearer structural details. Thus, the informational effectiveness score of a single-modal image is defined as , where denotes the image patch and represents the standard deviation function. Accordingly, the weighting factor in Eq. (6) is defined as , where denotes the modality type. Through Eq. (6), semantic-aware structural constraints are explicitly incorporated into visual fusion optimization, enabling semantic features to become deeply involved in fused image generation and thereby improving the visual representation capability of fused images. It strengthens the unidirectional complementarity from segmentation to visual fusion, providing important support for visual-semantic collaboration.
3.2.2 Information Restoration Prior and Expert Dataset
Compared with the semantic-to-visual complementarity, the benefit of visual fusion for semantic segmentation is less intuitive. To strengthen this complementarity, we advocate embedding information restoration prior into the optimization objective of visual fusion. The core motivation is that semantic segmentation usually struggles to perform effectively on degraded multimodal data captured in harsh environments. If the visual fusion network F can simultaneously learn degradation removal and information fusion, it can extract more reliable visual perceptual evidence from multimodal degraded images , thereby strengthening its ability to assist the semantic segmentation model S in constructing reliable object-level representations. Importantly, the embedding of information restoration prior must rely on visual-level supervision. Specifically, degradation removal capability should first be learned through constraints imposed on fused image reconstruction, and can then be transferred to the semantic branch through visual-semantic collaboration. Therefore, instead of directly introducing restoration constraints into semantic segmentation, W2F embeds the restoration prior into visual fusion optimization.
In our W2F, the embedding of information restoration prior is achieved through a modification of Eq. (6). More concretely, we break from the conventional idea

Fig. 4: New high-quality datasets constructed using Adobe Photoshop Lightroom, containing 1,569 and 1,500 spatially aligned clean visible and infrared reference image pairs for MFNet [8] and FMB [18], respectively, to provide the desired information restoration prior.
that constructs visual fusion loss based on the similarity between the fused image and source images, and instead introduce clean images as the reconstruction target. Thus, Eq. (6) can be rewritten as:
where and represent the clean images obtained after refining and , respectively.
To ensure the effectiveness of the information restoration prior, we invite 10 visual experts to manually construct refined clean reference images and based on the MFNet [8] and FMB [18]. MFNet and FMB contain 1,569 and 1,500 original scenes, respectively, with each scene consisting of one visible image and one spatially aligned infrared image. For each scene, the 10 experts independently restore both modalities using Adobe Photoshop Lightroom [15], producing 10 candidate restorations for each modality. Specifically, visible image restoration mainly focuses on enhancing low-light visibility, suppressing imaging noise, correcting color distortion, and reducing haze, whereas infrared image restoration mainly focuses on improving image contrast and suppressing imaging noise. This process yields 15,690 visible and 15,690 infrared candidate restorations for MFNet, and 15,000 visible and 15,000 infrared candidates for FMB.
We further conduct modality-wise cross-expert evaluation and ranking for quality control. For each scene and modality, each expert evaluates only the 9 candidate restorations generated by the other 9 experts, without evaluating their own restoration, and ranks them from 1 (best) to 9 (worst). The evaluation considers whether major degradations are effectively alleviated, whether the original scene structures, object

Fig. 5: Architecture of our proposed IGM-Att module.
boundaries, and semantic contents are faithfully preserved, and whether artifacts, over-enhancement, or unrealistic colors are introduced. Consequently, each candidate receives 9 rankings, whose mean serves as its quality score, with a lower mean rank indicating better restoration quality. For each modality, the candidate with the lowest mean rank is selected as the reference image. In the case of a tie, one of the tied candidates is randomly selected. The selected visible and infrared reference images are then recombined according to their original spatial correspondence to form the final clean reference pair. Overall, this quality-control process involves 141,210 visible-image evaluations and 141,210 infrared-image evaluations for MFNet, and 135,000 visible-image evaluations and 135,000 infrared-image evaluations for FMB. After the evaluation and selection process, we obtain 1,569 spatially aligned clean visible and infrared reference image pairs for MFNet and 1,500 for FMB, with each pair corresponding to one original scene, as shown in Fig. 4. With the introduced restoration prior and expert-refined datasets, W2F enables the visual fusion branch to learn higher-visibility scene representation, thereby enhancing its ability to support semantic reasoning under degraded conditions.
3.3 Multi-Modal Information Interaction
An effective multi-modal information interaction mechanism forms the information foundation for visual-semantic collaboration. In our W2F, multi-modal information interaction occurs within the encoders, as shown in Fig. 2. Specifically, the encoder continuously extracts and refines multi-modal features through k blocks containing IGM-Att and PC-Att modules. In each block, the encoder initially conducts feature extraction:
where and denote k-th feature extraction units on the visible and infrared branches, respectively. represent the visible and infrared features refined by the -th IGM-Att module. These

Fig. 6: Architecture of our proposed PC-Att module.
features are initialized by the input degraded visible and infrared images when . Then, we design an IGM-Att module to facilitate interaction between and . This module employs the CNN paradigm to predominantly emphasize local mutual completion of cross-modal features. Besides, it incorporates a gating mechanism to rectify misjudgments in the conventional pooling-based attention. Thus, the mutually reinforced visible and infrared features are obtained by:
where denotes the function of the k-th IGM-Att. On this basis, PC-Att is developed to further facilitate interaction and aggregation of multi-modal features. In contrast to IGM-Att, PC-Att places greater emphasis on the global integration of multi-modal features for scene understanding. Consequently, we establish a feature progressive transfer and fusion architecture within the Transformer paradigm. The aggregated features obtained after PC-Att processing can be expressed as:
where represents the function of the k-th PC-Att. Due to the comprehensive consideration of single-modal self-reinforcement and cross-modal mutual complementarity, the aggregated features and encompass complete information describing the scene. Thus, they can provide strong informational support for both visual fusion and semantic segmentation. Next, we provide detailed descriptions of IGM-Att and PC-Att.
3.3.1 IGM-Att
The IGM-Att module integrates a gating mechanism into the conventional pooling-based attention for feature completion, as shown in Fig. 5. First, it adopts conventional channel and spatial attention [35] to model the relative relationship between multi-modal features. In the channel attention, and
are concatenated along the channel dimension, and then reduced by the max and average pooling to capture the response properties of each channel. Next, we use MLP to project these maximum and average responses separately. The resulting vectors are summed and activated by the Sigmoid function to generate channel-attention weights, denoted as . This process can be formalized as:
(11)
In the spatial attention, we use max and average pooling on both and , yielding four maps that capture their pixel-wise response properties. These maps are concatenated along the channel dimension, and then processed by two convolutions with the Sigmoid function to produce the spatial-attention weights, denoted as . We formalize it as:
We derive hybrid weights , by multiplying channel-attention weights with spatial-attention weights, expressed as . Nevertheless, as discussed in MRFS [44], such pooling-based attention may lead to mismatched feature validity scores. To address this, we introduce a gating mechanism to correct the obtained hybrid weights . Specifically, we first flatten and . The flattened features are then concatenated along the channel dimension and input into an MLP with a Sigmoid function to derive the gated correction scores . We encapsulate the entire gating mechanism process as:
Next, the hybrid weights undergo refinement using the correction scores:
This sophisticated strategy enhances the precision of feature importance assessments, reinforcing valuable features and effectively suppressing redundant ones. Finally, we refine features for local completion using the obtained weights:
3.3.2 PC-Att
The IGM-Att module leverages CNN-based attention, emphasizing the refinement of local features. However, in further information integration, a global understanding of the scene is required. Therefore, we develop a PC-Att module to achieve this goal, illustrated in Fig. 6. In the PC-Att module, we employ two information refinement strategies, namely, single-modal self-reinforcement and cross-modal mutual complementarity. For single-modal self-reinforcement, we compute Query , Key , and Value using linear layers from the feature . is then employed to query for allocation scores, and utilize these scores to modulate to obtain the refined value:
Subsequently, the refined value is used to enhance , resulting in improved features:
This entire process is formally expressed as . With this design, valuable cues from the single-modal image itself (e.g., objects of the same class) can be leveraged for feature refinement. However, the ability of self-reinforcement is inherently limited, so we introduce the cross-modal mutual complementarity. Without loss of generality, we describe its process by using the X-modal feature to enhance the Y-modal feature . is derived from to represent the demand, while and are extracted from . Following a procedure similar to self-reinforcement, we leverage and to compute the allocation score and modulate :
The cross-modal refined feature is obtained by:
This cross-modal mutual complementarity process is formally expressed as . Referring to Fig. 6, in our PC-Att module, we flatten and and apply the self-reinforcement and cross-modal complementarity strategies in a progressive manner:

Fig. 7: Optimization illustration of the proposed feature search module. The two curved surfaces denote the optimization landscapes of the visual fusion and semantic segmentation losses, respectively. The red trajectories represent the independent optimization processes leading to the Independently Optimized State, where further performance improvement is constrained by the lack of cross-task complementarity. The white trajectories represent the subsequent collaborative optimization that progressively exploits complementary cross-task representations to break this performance bottleneck, leading to the Collaboratively Optimized State.
Such a progressive process seamlessly integrates long-distance complete scene information from infrared and visible images into the fused features and .
3.4 Collaborative Optimization
Now that the visual-semantic complementarity has been amplified and the multi-modal information interaction mechanism has been established, we further construct a collaborative optimization mechanism between visual fusion and semantic segmentation. It consists of a feature search module and a gradient correction strategy, which jointly ensure effective visual-semantic mutual reinforcement from the perspectives of feature interaction and optimization consistency, respectively.
3.4.1 Feature Search Module
Our W2F adopts a two-stage optimization strategy. In the first stage, the visual fusion network F and the semantic segmentation network S are independently optimized with their respective losses, and . Naturally, the encoded features and gradually become task-specific representations. Specifically, tends to focus more on visually favorable texture details and intensity contrast representations, while emphasizes semantic-aware structural cues and category-discriminative representations. However, since the two tasks are independently optimized, each task relies solely on its own representations without explicitly exploiting the complementary representations from the other task, thereby constraining further performance improvement and leading to a performance bottleneck. We refer to this stage as the Independently Optimized State, as illustrated by the red trajectories in Fig. 7.

Fig. 8: Architecture of our proposed feature search module.
In the second stage, the independently trained encoders from the visual fusion and the semantic segmentation branches are frozen. On this basis, we introduce a feature search module between the visual and semantic encoder blocks at each stage, enabling and to preserve their own task-specific representations while retrieving complementary information from each other for further enhancement. In this way, both visual and semantic features can continuously enrich themselves without losing their original representational characteristics. The detailed structure of the feature search module is illustrated in Fig. 8. First, and are fully integrated to construct a shared feature pool:
where concatenation and convolution are employed to linearly combine visual and semantic features, followed by a self-attention operation for global feature refinement. The obtained shared feature pool simultaneously contains visual-oriented and semantic-oriented representations, providing a unified space for subsequent visual-semantic feature retrieval. Then, and selectively retrieve the complementary information they require from the shared feature pool to further enhance themselves:
where denotes One-Zero convolution, whose convolution kernels are initialized in a binary manner at the beginning of optimization. Inspired by the zero convolution design in ControlNet [48], this strategy enables the enhanced features, and , to be progressively learned based on the original task-specific representations and , thereby avoiding unstable feature interaction during the early training stage and preserving the optimization foundations already learned by each task. Based on the enhanced features and , the visual fusion decoder and segmentation decoder can further generate fused images with clearer structural details and segmentation results with higher semantic accuracy, respectively.
Since the second-stage collaborative optimization fully inherits the task-specific representations learned in the first stage, and the feature search module is initialized with One-Zero convolution, the collaborative optimization naturally starts from the Independently Optimized State (i.e., green apples in Fig. 7). Building upon these preserved task-specific representations, the progressively injected complementary information enables each task to exploit beneficial representations from the other task, thereby breaking the performance bottleneck caused by independent optimization. We refer to the resulting stage as the Collaboratively Optimized State, as illustrated by the white trajectories in Fig. 7.
3.4.2 Gradient Correction Strategy
Although the feature search module establishes feature-level collaboration between the two tasks, jointly optimizing visual fusion and semantic segmentation may still introduce optimization conflicts during training. To further ensure effective visual-semantic collaboration from the optimization perspective, we adopt a gradient correction strategy to coordinate the optimization behaviors of the visual fusion loss and the semantic segmentation loss . Notably, the proposed gradient correction strategy mainly operates on the feature search modules. This is because the independently trained visual fusion and semantic segmentation branches are frozen during the second stage, while parameter reuse only occurs within the feature search modules introduced for visual-semantic collaboration. Therefore, potential optimization conflicts between visual fusion and semantic segmentation are also concentrated in these shared modules.
Specifically, according to PCGrad [40], when the angle between the gradients of visual fusion and semantic segmentation is obtuse, i.e., , the optimization directions of the two tasks become conflicting. At this point, we randomly select the gradient of one task and project it onto the normal plane of the other task's gradient:
In this way, the conflicting gradient component is removed, significantly reducing the risk of optimization interference between visual fusion and semantic segmentation. After correction, the optimization relationship between the two tasks becomes either mutually beneficial or non-conflicting, i.e., .
However, eliminating gradient conflicts alone is insufficient for achieving stable visual-semantic collaboration. Even under non-conflicting optimization

Fig. 9: Illustrating the gradient correction strategy.
directions, inconsistent learning progress between visual fusion and semantic segmentation may still lead to optimization imbalance. In such cases, one task may dominate the collaborative optimization process while the other fails to sufficiently learn complementary representations, thereby weakening the effectiveness of visual-semantic collaboration. To address this issue, we further employ NASH-MTL [25] to balance the collaborative optimization between visual fusion and semantic segmentation through a bargaining mechanism. Specifically, NASH-MTL seeks a Nash Bargaining Solution to achieve proportionally balanced optimization benefits for both tasks. Thus, a shared collaborative gradient can be obtained:
The coefficient used for aggregating gradients is obtained by solving , where is the gradient matrix formed by concatenating and column-wise. In this way, visual fusion and semantic segmentation jointly update the shared feature search modules using the collaborative gradient , thereby achieving more consistent optimization. Overall, the employed gradient correction strategy effectively coordinates the optimization behaviors of visual fusion and semantic segmentation within the shared feature search modules. The overall process of the proposed gradient correction strategy is illustrated in Fig. 9.
3.5 Loss Functions
Now, we provide the complete definitions of visual fusion loss and semantic segmentation loss .
3.5.1 Visual Fusion Loss
The segmentation-guided intensity loss in Eq. (7) mainly constrains semantic-aware intensity preservation and foreground object saliency in the fused image. However, texture structures and color fidelity still require further constraints. Therefore, we further introduce a texture integration loss:
(25) where denotes the Sobel gradient operator. Intuitively, gradients are used to characterize texture structures, and the loss encourages the fused image to preserve the most significant gradients, thereby generating clearer structural and texture representations. Besides, a color fidelity loss is defined as:
where refers to the operation of extracting the chrominance components after converting the RGB image into the YCbCr color space. It encourages the fused image to maintain color consistency with the visible image, thereby producing results that better conform to human visual perception. In summary, the visual fusion loss can be formally constructed as:
For the collaboratively optimized fused image obtained by Eq. (4), the corresponding visual fusion loss during the second-stage collaborative optimization is represented as .
3.5.2 Semantic Segmentation Loss
To supervise semantic segmentation learning, we first employ the conventional cross-entropy loss:
where refers to the segmentation label, denotes the classification probability output by the segmentation decoder, and r indicates the subclass of segmentation categories. In addition, we employ the Lovász-Softmax loss [2], which directly optimizes the Intersection over Union (IoU)-oriented region consistency for semantic prediction:
where is the surrogate of the Jaccard loss. is the vector of pixel classification errors, defined as:
The semantic segmentation loss is summarized as:
During the second-stage collaborative optimization, the semantic segmentation loss for supervising the refined segmentation result is represented as .
4 Experiments and Results
In this section, we compare our W2F with state-of-the-art methods on both semantic segmentation and visual fusion tasks. Then, we conduct extensive generalization and application experiments to verify the generalization capability of W2F. At the end, comprehensive ablation studies are conducted to analyze the role of the proposed technical designs.
4.1 Experimental Configuration
4.1.1 Datasets
We evaluate the performance of our W2F on the MFNet [8] and FMB [18] datasets, which contain 1,569 and 1,500 spatially aligned visible and infrared image pairs with resolutions of and , respectively.
4.1.2 Training Details
We adopt the lightweight CNN architecture to construct the visual fusion decoder, as it has demonstrated effectiveness in low-level vision tasks [26]. For semantic segmentation, we employ the MLP decoder from SegFormer [36]. Besides, the extractors in Fig. 2 follow the transformer-based SegFormer architecture, where the number of encoder stages is set to 4 according to its original configuration. The training of W2F consists of two stages. In the first stage, the visual fusion network and the semantic segmentation network are independently trained using and , respectively. The initial learning rate is set to , with a batch size of 4, and the models are trained for a total of 500 epochs. In the second stage, the visual fusion encoder and the segmentation encoder are frozen, while the feature search modules are optimized and the corresponding decoders are fine-tuned to achieve visual-semantic collaboration. At this stage, the learning rate is reduced to , and the models are optimized for additional 50 epochs. All experiments are conducted on four NVIDIA GeForce RTX 3090 GPUs and one AMD EPYC 7H12 64-Core Processor CPU.
4.2 Semantic Segmentation Comparison
We first validate our W2F on the multi-modal semantic segmentation task. Eight state-of-the-art competitors are selected, including SeAFusion [32], SuperFusion [30], SegMiF [18], EAEFNet [14], CMX [46], CMNeXt [47], CAINet [21], and MRFS [44]. Among

Fig. 10: Qualitative results of multi-modal semantic segmentation on the MFNet dataset.

Fig. 11: Qualitative results of multi-modal semantic segmentation on the FMB dataset.
Table 1: Quantitative results of multi-modal semantic segmentation on the MFNet dataset.
| MFNet | Car | Person | Bike | Curve | Car | Stop | Guard. | Cone | Bump | mIoU |
|---|---|---|---|---|---|---|---|---|---|---|
| SeAFusion | 84.2 | 71.1 | 58.7 | 33.1 | 20.1 | 0.0 | 40.4 | 33.9 | 48.8 | |
| SuperFusion | 82.9 | 69.1 | 58.8 | 31.3 | 27.1 | 0.0 | 40.0 | 37.2 | 49.3 | |
| SegMiF | 87.8 | 71.4 | 63.2 | 47.5 | 31.1 | 0.0 | 48.9 | 50.3 | 56.1 | |
| EAEFNet | 87.6 | 72.6 | 63.8 | 48.6 | 35.0 | 14.2 | 52.4 | 58.3 | 58.9 | |
| CMX | 90.1 | 75.2 | 64.5 | 50.2 | 35.3 | 8.5 | 54.2 | 60.6 | 59.7 | |
| CMNeXt | 90.3 | 74.5 | 64.5 | 46.6 | 39.2 | 15.1 | 52.6 | 59.8 | 60.1 | |
| CAINet | 88.5 | 66.3 | 68.7 | 55.4 | 31.5 | 9.0 | 48.9 | 60.7 | 58.6 | |
| MRFS | 89.4 | 75.4 | 65.0 | 49.0 | 37.2 | 5.4 | 53.1 | 58.8 | 59.1 | |
| Ours | 89.9 | 74.7 | 66.5 | 47.1 | 53.3 | 15.8 | 54.3 | 53.3 | 61.5 |
them, SeAFusion, SuperFusion, and SegMiF follow the sequential iterative optimization paradigm, while EAEFNet, CMX, CMNeXt, and CAINet [21] adopt the independent optimization paradigm. MRFS is the preliminary version of W2F.
Table 2: Quantitative results of multi-modal semantic segmentation on the FMB dataset.
| FMB | Car | Person | Truck | T-Lamp | T-Sign | Buil. | Vege. | Pole | mIoU |
|---|---|---|---|---|---|---|---|---|---|
| SeAFusion | 76.2 | 59.6 | 15.1 | 34.4 | 68.0 | 80.1 | 83.5 | 38.4 | 48.4 |
| SuperFusion | 75.8 | 55.7 | 0.06 | 27.3 | 69.0 | 76.9 | 83.2 | 36.7 | 46.3 |
| SegMiF | 78.7 | 65.5 | 42.4 | 35.6 | 71.7 | 80.1 | 85.1 | 35.7 | 54.8 |
| EAEFNet | 79.7 | 61.6 | 22.5 | 34.3 | 74.6 | 82.3 | 86.6 | 46.2 | 54.1 |
| CMX | 79.2 | 69.1 | 39.7 | 49.7 | 76.5 | 84.5 | 87.2 | 54.1 | 57.6 |
| CMNeXt | 79.4 | 62.3 | 32.7 | 40.9 | 74.4 | 81.6 | 86.0 | 49.4 | 56.3 |
| CAINet | 79.4 | 65.5 | 30.4 | 50.6 | 76.1 | 81.8 | 85.7 | 47.8 | 54.2 |
| MRFS | 76.2 | 71.3 | 34.4 | 50.1 | 75.8 | 85.4 | 87.0 | 53.6 | 57.1 |
| Ours | 83.1 | 72.5 | 45.8 | 47.1 | 77.7 | 85.2 | 87.9 | 54.7 | 61.7 |
4.2.1 Results on the MFNet Dataset
We first present the qualitative results of multi-modal semantic segmentation on the MFNet dataset in Fig. 10. W2F demonstrates a relatively fine-grained segmenta-

Fig. 12: Qualitative results of multi-modal visual fusion on the MFNet dataset.
Table 3: Quantitative results of multi-modal visual fusion on the MFNet dataset.
| MFNet | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours | |
|---|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 0.720 | 0.531 | 0.565 | 0.702 | 0.718 | 0.434 | 0.719 | 0.716 | 0.742 | |
| SCD ↑ | 1.057 | 0.831 | 1.091 | 1.021 | 1.169 | 0.697 | 0.981 | 1.068 | 1.180 | |
| SSIM ↑ | 0.746 | 0.673 | 0.677 | 0.717 | 0.744 | 0.724 | 0.667 | 0.715 | 0.777 | |
| 0.077 | 0.035 | 0.138 | 0.166 | 0.023 | 0.041 | 0.056 | 0.045 | 0.023 | ||
tion performance. For example, in the first set of results, W2F accurately identifies the small-scale color cones and the distant pedestrian, while most competitors fail to detect them. In the second set of results, W2F clearly captures the posture of the person beside the lane line, whereas other methods present confusion. The quantitative results in Table 1 further demonstrate the advantage of W2F. Specifically, W2F achieves the highest mIoU score, outperforming the second-place CMNeXt by 1.4 percentage points. These results verify the effectiveness of our W2F for multi-modal semantic segmentation on the MFNet dataset.
4.2.2 Results on the FMB Dataset
We further evaluate the semantic segmentation performance on the FMB dataset. The qualitative results are presented in Fig. 11. In the first set of results, W2F successfully segments the regular contour of the bus, almost perfectly matching the ground truth. In contrast, other methods fail to achieve complete and accurate segmentation in this region. In the second set of results, recognizing small-scale distant objects in hazy weather is challenging. Nevertheless, W2F still accurately identifies distant lamp poles and buses, while other methods suffer from spatial discontinuity and missed detections. The quantitative results are reported in Table 2. W2F achieves the highest segmentation accuracy, outperforming our preliminary version, MRFS, by 4.6 percentage points in terms of mIoU. Notably, in MRFS, we excluded the “bicycle” class, which does not exist in the testing set, when calculating mIoU. However, in this paper, we also include this class in the statistics. This is why the mIoU of MRFS in Table 2 appears different from that in [44]. However, since the same standard is applied, both are absolutely fair for comparison. Overall, these results demonstrate the effectiveness of W2F for multi-modal semantic segmentation on the FMB dataset.
4.3 Visual Fusion Comparison
We further evaluate W2F on the visual fusion task using both the MFNet and FMB datasets. Eight state-of-the-art visual fusion methods are selected, including SeAFusion [32], SuperFusion [30], SegMiF [18], TIM-Fusion [20], DDFM [51], MURF [38], IF-FILM [52], and MRFS [44]. Among them, SeAFusion, SuperFusion, SegMiF, and TIMFusion follow the sequential iterative optimization paradigm, while DDFM, IF-FILM, and MURF adopt the independent optimization paradigm. We employ four quantitative metrics for objective evaluation, including visual information fidelity (VIF) [9], SCD [1], structural similarity index measure (SSIM) [34], and noise-based fusion score [27].
4.3.1 Results on the MFNet Dataset
The MFNet dataset contains challenging degradation factors such as low light, noise, color distortion, and low contrast. These negative factors severely limit human visual perception and also pose significant challenges

Fig. 13: Qualitative results of multi-modal visual fusion on the FMB dataset.
Table 4: Quantitative results of multi-modal visual fusion on the FMB dataset.
| FMB | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours |
|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 0.624 | 0.453 | 0.556 | 0.474 | 0.624 | 0.545 | 0.639 | 0.632 | 0.702 |
| SCD ↑ | 0.835 | 0.741 | 0.824 | 0.353 | 0.987 | 0.715 | 0.695 | 0.704 | 1.063 |
| SSIM ↑ | 0.675 | 0.571 | 0.704 | 0.661 | 0.741 | 0.694 | 0.674 | 0.690 | 0.757 |
| 0.094 | 0.153 | 0.109 | 0.101 | 0.020 | 0.110 | 0.096 | 0.053 | 0.052 |
to multi-modal visual fusion. In such adverse cases, our W2F still demonstrates strong degradation removal and information fusion capabilities, as shown in Fig. 12. Specifically, SeAFusion, DDFM, SegMiF, SuperFusion, IF-FILM, and MURF struggle under low-light conditions. By comparison, TIMFusion, MRFS, and W2F can recover scene texture details, such as the tree canopy in the first set of results and the shrubs in the third. Moreover, compared with TIMFusion and MRFS, W2F further produces cleaner and sharper fusion results with fewer artifacts. For example, in the second set of results, W2F better preserves fine details such as the pedestrian's glasses while avoiding structural blurring. Quantitative results in Table 3 also show that W2F achieves the best scores across all four metrics, demonstrating its effectiveness.
4.3.2 Results on the FMB Dataset
The FMB dataset is mainly affected by low light, color distortion, and haze, resulting in poor scene visibility. Under such challenging conditions, W2F still shows strong visual robustness, as shown in Fig. 13. First, W2F effectively enhances low-light scenes while seamlessly integrating thermal radiation objects into the environment. For example, in the first set of results, the details of the car are effectively illuminated and the license plate becomes recognizable. Meanwhile, thermal pedestrians are distinctly highlighted on the road. Second, W2F effectively eliminates the hazy appearance and significantly improves scene visibility. In the second set of results, W2F restores clearer trees and buildings in the background, whereas other methods remain noticeably affected by haze. This also makes the foreground thermal pedestrians more salient. Similar observations can be found in the third set of results. The quantitative results in Table 4 further verify the superiority of W2F on the FMB dataset.
4.4 Retraining Analysis with Restoration Prior
We conduct additional retraining experiments on comparative methods using the constructed clean datasets to embed information restoration prior for them. Specifically, for semantic segmentation methods, the restored clean images are directly used as network inputs for retraining. For visual fusion methods, the restored clean infrared-visible image pairs are introduced as supervision during training.
4.5 Semantic Segmentation Retraining
First, we directly use Photoshop-processed clean data as input to train all comparative semantic segmentation methods. This setting can be understood as directly injecting the information restoration prior into the segmentation model at the data level. The experimental results are shown in Fig. 14 and Table 5.
It can be observed that directly using the processed clean data does not consistently improve the segmentation performance, and in some cases even

Fig. 14: Qualitative results of semantic segmentation retraining on the MFNet dataset.

Fig. 15: Qualitative results of visual fusion retraining on the MFNet dataset.
Table 5: Quantitative results of semantic segmentation retraining on the MFNet dataset.
| MFNet | Car | Person | Bike | Curve | Car | Stop | Guard. | Cone | Bump | mIoU |
|---|---|---|---|---|---|---|---|---|---|---|
| SeAFusion | 81.9 | 66.4 | 58.1 | 32.4 | 11.4 | 0.0 | 44.0 | 48.4 | 48.9 | |
| SuperFusion | 83.1 | 69.4 | 58.2 | 32.2 | 28.4 | 0.0 | 40.2 | 42.3 | 50.2 | |
| SegMiF | 87.2 | 71.0 | 61.7 | 39.7 | 27.5 | 9.8 | 56.8 | 47.6 | 55.5 | |
| EAEFNet | 86.8 | 71.2 | 64.8 | 49.6 | 36.5 | 11.4 | 52.6 | 53.7 | 58.3 | |
| CMX | 90.0 | 74.8 | 64.8 | 48.3 | 35.3 | 8.9 | 54.4 | 59.5 | 59.4 | |
| CMNeXt | 90.3 | 73.7 | 64.0 | 44.1 | 39.8 | 17.0 | 53.3 | 56.4 | 59.6 | |
| CAINet | 89.2 | 69.6 | 69.4 | 53.3 | 35.9 | 9.0 | 48.4 | 58.4 | 59.1 | |
| MRFS | 89.4 | 75.5 | 65.0 | 49.1 | 37.3 | 5.3 | 53.1 | 58.8 | 59.1 | |
| Ours | 89.9 | 74.7 | 66.5 | 47.1 | 53.3 | 15.8 | 54.3 | 53.3 | 61.5 |
leads to comparable or lower results than those obtained using the original degraded inputs. We attribute this phenomenon to the fact that Photoshop-based degradation removal is an offline image-level preprocessing operation. Although it can improve the visual appearance of degraded observations, it may also remove or distort certain modality-specific details
Table 6: Quantitative results of visual fusion retraining on the MFNet dataset.
| MFNet | SeAF. | SuperF. | SegMiF | MURF | MRFS | Ours |
|---|---|---|---|---|---|---|
| VIF ↑ | 0.676 | 0.342 | 0.663 | 0.716 | 0.767 | 0.742 |
| SCD ↑ | 1.010 | 0.814 | 1.004 | 1.126 | 1.160 | 1.180 |
| SSIM ↑ | 0.737 | 0.571 | 0.727 | 0.748 | 0.737 | 0.777 |
| 0.073 | 0.392 | 0.084 | 0.070 | 0.073 | 0.023 |
and boundary cues that are important for semantic segmentation, thereby limiting or even weakening the segmentation performance. In contrast, our W2F still takes the originally captured degraded multi-modal images as input, thus preserving the modality-specific details and semantic cues contained in the original observations. The restoration prior is learned through clean supervision and then transferred to the semantic fusion branch via the feature search module, providing a more adaptive and less destructive way to benefit semantic segmentation.

Fig. 16: Qualitative results of generalization to the M3SVD dataset on semantic segmentation task.

Fig. 17: Qualitative results of generalization to the M3SVD dataset on visual fusion task.
4.6 Visual Fusion Retraining
For the visual fusion methods, we further conduct retraining experiments using the constructed clean infrared-visible image pairs as restoration supervision. Specifically, SeAFusion, SuperFusion, SegMiF, TIM-Fusion, and MRFS are retrained in this experiment. DDFM, MURF, and IF-FILM are excluded because their training code is not publicly available or their training process relies on additional unavailable training data, making retraining infeasible under our setting. The qualitative and quantitative results are shown in Fig. 15 and Table 6, respectively.
As observed, introducing restoration supervision improves the degradation removal capability of existing methods to some extent, particularly in low-light enhancement and scene visibility restoration. How- ever, most retrained methods still suffer from artifacts, structural blurring, and insufficient emphasis on key objects. These results indicate that restoration supervision alone is insufficient for achieving comprehensive visual perception enhancement. Although the introduced restoration prior improves visual restoration capability, it cannot effectively enhance semantically important regions and foreground structures. In contrast, W2F consistently produces cleaner visual appearances and more
Table 7: Quantitative results of generalization to the M3SVD dataset on multi-modal semantic segmentation task.
| M3SVD | SeAF. | SuperF. | SegMiF | EAEF. | CMX | CMNeXt | CAINet | MRFS | Ours | |
|---|---|---|---|---|---|---|---|---|---|---|
| Car | 21.5 | 22.2 | 39.3 | 16.5 | 70.8 | 75.4 | 53.2 | 69.1 | 73.7 | |
| Person | 65.4 | 61.3 | 73.3 | 78.0 | 79.5 | 77.5 | 72.4 | 77.1 | 82.3 | |
| mIoU | 43.5 | 41.8 | 56.3 | 47.3 | 75.2 | 76.5 | 62.8 | 73.1 | 77.8 | |

Fig. 18: Qualitative results of generalization to the RoadScene dataset.
Table 8: Quantitative results of generalization to the M3SVD dataset on visual fusion task.
| RoadScene | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours |
|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 0.978 | 0.601 | 1.016 | 0.635 | 0.881 | 0.506 | 0.916 | 0.915 | 0.799 |
| SCD ↑ | 1.352 | 1.472 | 1.330 | 1.318 | 1.597 | 1.245 | 0.801 | 1.238 | 1.648 |
| SSIM ↑ | 0.599 | 0.579 | 0.599 | 0.600 | 0.643 | 0.584 | 0.613 | 0.639 | 0.656 |
| 0.352 | 0.109 | 0.399 | 0.209 | 0.106 | 0.149 | 0.047 | 0.238 | 0.104 |
natural foreground-background integration through the proposed visual-semantic collaboration framework.
4.7 Generalization Evaluation
Given that semantic segmentation annotations are unavailable for many infrared-visible datasets, a strong generalization capability is essential for practical deployment. Therefore, we further evaluate whether W2F can maintain effective visual fusion and semantic perception performance under unseen scenarios without retraining.
4.7.1 Generalization on M3SVD dataset
To verify the generalization performance of our W2F, we directly test the model trained on the MFNet dataset on the unseen M3SVD dataset [31]. The qualitative segmentation results are presented in Fig. 16. Our W2F demonstrates advanced performance by accurately identifying cars and pedestrians in the scenes, achieving the highest consistency with segmentation labels. Besides, the quantitative metrics in Table 7 further corroborate the exceptional generalization capability of our method. In the visual fusion task, W2F consistently produces visually compelling fusion outputs, particularly excelling in color fidelity, contrast, and texture richness, as shown in Fig. 17. Specifically, when details in the source visible images are obscured under nighttime conditions, our W2F successfully restores scene tones and intricate textures, such as the tree canopies and building windows hidden in darkness. In the third set of results, W2F achieves the most balanced scene color tones and provides the clearest and most detailed representations of persons, with enhanced contrast and definition. The quantitative metrics in Table 8 further substantiate the excellent visual fusion performance. Overall, the above results on the M3SVD dataset underscore the robust generalization capability of W2F across unseen multi-modal perception scenarios.
Table 9: Quantitative results of generalization to the RoadScene dataset.
| M3SVD | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours |
|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 0.692 | 0.668 | 0.801 | 0.785 | 0.822 | 0.769 | 0.760 | 0.751 | 0.690 |
| SCD ↑ | 1.487 | 1.015 | 1.702 | 1.070 | 1.714 | 1.650 | 1.298 | 1.267 | 1.726 |
| SSIM ↑ | 0.614 | 0.642 | 0.659 | 0.685 | 0.708 | 0.696 | 0.609 | 0.679 | 0.748 |
| 0.386 | 0.292 | 0.368 | 0.257 | 0.242 | 0.304 | 0.383 | 0.252 | 0.209 |
4.7.2 Generalization on RoadScene dataset
Similarly, we further directly test the model trained on the MFNet dataset on the unseen RoadScene dataset [37] without any additional retraining or fine-tuning. Since the RoadScene dataset does not provide semantic segmentation annotations, we only conduct comparisons on the visual fusion task. The qualitative results are presented in Fig. 18.
It can be observed that our W2F produces visually appealing fusion results with superior color fidelity, contrast preservation, and texture representation. In the first and third sets of results, the source visible images suffer from reduced contrast caused by slight overexposure, leading most comparative methods to generate fused images with dull and low-saturation

Fig. 19: Qualitative results of application to the polarization image fusion task.

Fig. 20: Qualitative results of application to the near-infrared and visible image fusion task.
Table 10: Quantitative results of application to the polarization visual fusion task.
| Polarization | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours |
|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 0.860 | 0.451 | 0.951 | 0.800 | 0.848 | 0.412 | 0.937 | 0.833 | 0.772 |
| SCD ↑ | 1.417 | 1.170 | 1.392 | 1.098 | 1.576 | 1.043 | 1.343 | 1.132 | 1.585 |
| SSIM ↑ | 0.660 | 0.606 | 0.635 | 0.599 | 0.656 | 0.624 | 0.659 | 0.619 | 0.661 |
| 0.149 | 0.103 | 0.207 | 0.252 | 0.109 | 0.254 | 0.180 | 0.126 | 0.095 |
scene appearances. By comparison, W2F restores more natural and delicate scene tones while preserving clearer structural details, such as the distant tree canopies and power lines. In the second set of results, severe nighttime light pollution introduces obvious haze-like degradation into the road scene, significantly affecting scene visibility. Even under this challenging condition, W2F still maintains high visual contrast and clear structural representation in the fused image, sharply preserving important details of the sedan and the distant mountains. Moreover, thermal objects remain naturally integrated with the surrounding environment without introducing noticeable artifacts or structural inconsistencies. Furthermore, the quantitative results in Table 9 also confirm the high generalization performance of our method.
4.8 Application to Other Fusion Tasks
Under the constraints of the segmentation-guided fusion loss and information restoration prior, our W2F learns strong scene information integration and degradation removal capabilities. These abilities are broadly beneficial across different image fusion tasks. To further evaluate the cross-task transferability of W2F, we directly transfer the model trained on the infrared-visible MFNet dataset to three other fusion tasks,

Fig. 21: Qualitative results of application to the medical image fusion task.
Table 11: Quantitative results of application to the near-infrared and visible image fusion task.
| NIR-VIS | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours | |
|---|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 1.246 | 0.940 | 1.318 | 1.047 | 1.319 | 0.994 | 1.315 | 1.162 | 1.331 | |
| SCD ↑ | 1.181 | 1.000 | 1.522 | 0.780 | 1.310 | 0.562 | 1.303 | 1.184 | 0.596 | |
| SSIM ↑ | 0.801 | 0.738 | 0.779 | 0.781 | 0.830 | 0.788 | 0.820 | 0.775 | 0.878 | |
| 0.186 | 0.149 | 0.185 | 0.100 | 0.053 | 0.181 | 0.166 | 0.128 | 0.091 |
including polarization image fusion, near-infrared and visible image fusion, and medical image fusion, without any additional retraining or fine-tuning. In other words, all experiments in this section are conducted under fixed model parameters. Through these experiments, we aim to investigate whether W2F can still maintain effective fusion performance under unseen fusion tasks beyond infrared-visible perception.
4.8.1 Polarization Image Fusion
Polarization image fusion refers to the technique of combining the intensity images with the degree of linear polarization (DoLP) images, to overcome the limitations of traditional imaging systems in perceiving surface features of the objects. We attempt to use W2F to address the polarization image fusion problem and implement comparisons on public datasets [16,23]. The qualitative results are shown in Fig. 19, in which W2F demonstrates visual performance superior to other competitors. First, our proposed method achieves high-quality color fidelity, as seen in the Rubik's cube in the first set of results and the handbag in the third set of results. Second, W2F achieves the most refined and complete integration of texture details, such as the clouds in the second set of results. More importantly, W2F effectively removes low-light degradation, enhancing scene visibility. The quantitative results in Table 10 further validate the advantages of W2F. In general, these results demonstrate that W2F can effectively solve the polarization image fusion task.
Table 12: Quantitative results of application to the medical image fusion task.
| Medical | SeAF. | SuperF. | SegMiF | TIMF. | DDFM | MURF | IF-F. | MRFS | Ours | |
|---|---|---|---|---|---|---|---|---|---|---|
| VIF ↑ | 0.619 | 0.448 | 0.635 | 0.568 | 0.664 | 0.700 | 0.611 | 0.598 | 0.788 | |
| SCD ↑ | 0.794 | 0.238 | 0.695 | 0.740 | 0.219 | 0.735 | 0.983 | 1.006 | 0.515 | |
| SSIM ↑ | 0.304 | 0.236 | 0.723 | 0.250 | 0.753 | 0.718 | 0.444 | 0.268 | 0.770 | |
| 0.234 | 0.234 | 0.110 | 0.366 | 0.048 | 0.184 | 0.231 | 0.484 | 0.077 |
4.8.2 Near-Infrared and Visible Image Fusion
Unlike our mainly focused infrared and visible image fusion task, the goal of near-infrared (NIR) and visible image fusion is primarily to use the texture structures in the near-infrared image to assist in improving the quality of the visible image. This requires that the fused image enhance the comprehensive representation of the scene as much as possible, without deviating from the visible modality. We provide the qualitative results in Fig. 20. First, W2F presents very clear texture appearances, such as the clouds in the first set of results and the mountains in the second set. By comparison, other comparative methods exhibit localized blurring or even loss of details. Second, W2F is highly faithful to the true color distribution of the objects, such as the bushes in the first set of results and the canopy in the third set. In contrast, other competitors, when incorporating texture details from the near-infrared image, more or less cause the color to appear whitened.

Fig. 22: Feature visualization of visual fusion and semantic fusion before and after interaction.
We further report the quantitative results in Table 11, where W2F achieves competitive scores. These results demonstrate the excellent handling capability of W2F for the near-infrared and visible image fusion task.
4.8.3 Medical Image Fusion
The goal of medical image fusion is to provide a more comprehensive and clearer depiction of the internal structures of the body. We apply W2F to the task of CT and MRI brain image fusion to examine whether it can achieve a comprehensive representation of brain tissues. The qualitative comparison on the Harvard medical dataset is presented in Fig. 21. Our W2F effectively filters out noise in CT images while outperforming competitors in brain structure preservation and contrast retention. Besides, The quantitative results in Table 12 show that W2F achieves the best scores on most metrics. Overall, W2F can be adapted to address the medical image fusion task well.
4.9 Visual-Semantic Collaboration Analysis
We analyze visual-semantic collaboration from the perspective of feature representations. Specifically, the mutual reinforcement between visual fusion and semantic segmentation in W2F is rooted in two key characteristics: feature differentiation and feature complementarity. Feature differentiation arises because visual fusion primarily captures texture details, intensity contrast, and globally coherent scene structures, whereas semantic fusion emphasizes object-aware structural cues and category-discriminative representations. Feature complementarity follows naturally: the distinct visual and semantic features provide mutually beneficial information, enabling the visual branch to aid semantic reasoning and the semantic branch to guide visual enhancement. Together, these two characteristics form a solid foundation for bidirectional collaboration.
To provide intuitive evidence, we visualize intermediate features at different stages of W2F. As shown in Fig. 22, features (i.e., and ) from each encoder block of both visual and semantic branches are inspected, along with the updated features (i.e., and ) after interaction through the feature search module. In the original visual features , responses are mainly concentrated on low-level textures, intensity contrast, and global scene structures, with relatively weak and scattered attention to foreground objects, especially in early blocks. Conversely, the original semantic features already highlight object regions and coarse structural layouts but still contain background interference and unstable activations under degraded conditions. After feature interaction, the updated visual features show more focused responses around pedestrians and clearer object contours, indicating that semantic cues guide the visual branch to better emphasize foreground objects and structural details. Meanwhile, updated semantic features become cleaner and more discriminative, with reduced background noise and more complete object-level activations, especially in middle and deep blocks. This demonstrates that the visual features provide the restored and more comprehensive scene representations, allowing the segmentation branch to extract category-relevant cues from less corrupted visual evidence. Overall, these observations confirm that feature differentiation and feature complementarity jointly enable the visual and semantic branches to progressively reinforce each other, supporting effective visual-semantic collaboration throughout the network hierarchy.
4.10 Ablation Studies
In this section, we conduct comprehensive ablation studies on the key designs in W2F to verify their contributions, involving fourteen model variants.
-
Model I: Backbone. In this model, visual fusion and semantic segmentation are independent of each other, with a conventional pooling-based attention module [3] to achieve a local mutual complement of multi-modal features, and a cross-attention module [53] to achieve a global multi-modal feature aggregation.
-
Model II: Backbone + IGM-Att. This model, based on the backbone, uses the proposed IGM-Att to replace the conventional pooling-based attention
http://www.med.harvard.edu/AANLIB/home.html

Fig. 23: Qualitative impact of each ablation variant on semantic segmentation.
Table 13: Quantitative segmentation of ablation studies.
| Model | Car | Person | Bike | Curve | Car Stop | Guard. | Cone | Bump | mIoU |
|---|---|---|---|---|---|---|---|---|---|
| I | 89.7 | 74.3 | 66.0 | 48.3 | 37.1 | 7.8 | 54.5 | 51.4 | 58.6 |
| II | 90.3 | 74.9 | 65.6 | 46.7 | 44.6 | 3.4 | 54.3 | 55.7 | 59.3 |
| III | 89.4 | 75.1 | 65.8 | 47.6 | 40.6 | 12.7 | 59.1 | 57.1 | 60.6 |
| IV | 87.9 | 72.2 | 63.7 | 46.9 | 44.3 | 15.1 | 51.1 | 57.9 | 59.7 |
| V (W2F) | 89.9 | 74.7 | 66.5 | 47.1 | 53.3 | 15.8 | 54.3 | 53.3 | 61.5 |
| VI | 89.2 | 74.6 | 64.1 | 48.2 | 41.3 | 10.6 | 56.9 | 55.3 | 59.8 |
| VII | 89.1 | 74.7 | 63.3 | 49.1 | 38.2 | 6.5 | 53.1 | 54.7 | 58.6 |
| VIII | 89.2 | 74.7 | 66.3 | 51.9 | 39.6 | 9.9 | 54.4 | 64.4 | 61.0 |
| IX | 89.1 | 74.7 | 66.2 | 51.9 | 39.9 | 9.6 | 54.6 | 64.3 | 61.0 |
| X | 89.9 | 74.7 | 66.4 | 47.1 | 52.5 | 16.4 | 53.9 | 53.5 | 61.4 |
| XI | 89.7 | 74.5 | 66.6 | 47.2 | 55.0 | 9.0 | 54.4 | 53.3 | 60.9 |
| XII | 89.9 | 74.6 | 66.3 | 47.1 | 52.0 | 14.6 | 53.9 | 53.5 | 61.0 |
| XIII | 89.1 | 74.4 | 66.2 | 51.9 | 38.9 | 10.6 | 53.6 | 64.2 | 60.8 |
| XIV | 88.9 | 74.7 | 64.1 | 48.1 | 37.8 | 8.2 | 55.1 | 55.1 | 58.9 |
module to achieve a local mutual complement of multi-modal features.
-
Model III: Backbone + IGM-Att + PC-Att. Based on Model II, this model further introduces PC-Att to replace the cross-attention module to realize global aggregation of multi-modal information.
-
Model IV: Backbone + IGM-Att + PC-Att + Sequential. It is the sequential iterative version of our model built on Model III, where the output of the visual fusion branch serves as input to the semantic segmentation branch, enabling semantic guidance from visual fusion but without full visual-semantic collaboration.
-
Model V (W2F): Backbone + IGM-Att + PC-Att + Collaboration. It is the complete version of W2F, which adds the visual-semantic collaboration on the basis of Model III, driving mutual reinforcement between visual fusion and semantic segmentation.
-
Model VI: Backbone + IGM-Att + PC-Att from MRFS + Collaboration. This model is based on Model V, with PC-Att replaced by the PC-Att from MRFS, and all else unchanged.
-
Model VII: Backbone + IGM-Att + PC-Att + Shared Backbone. This model is based on Model V, with the visual-semantic collaboration replaced by a shared backbone strategy between visual fusion and semantic segmentation.
The above seven models progressively validate the gains from the “hard” designs: IGM-Att, PC-Att, and the collaboration mechanism. Furthermore, we conduct ablation studies on several “soft” designs, all based on Model V (W2F), deriving another seven model variants.
-
Model VIII: Modulating Segmentation-Guided Fusion Loss with Average Operator. The segmentation-guided fusion loss reinforces the complementary contribution of semantic features to visual fusion, guiding visual representations to better capture semantically important regions. In this model, the maximum operator used in the designated target regions in the segmentation-guided fusion loss is replaced with an average operator.
-
Model IX: Replacing Segmentation-Guided Fusion Loss with Global Maximum Loss. This model replaces the segmentation-guided fusion loss with a global maximum loss, which applies the pixel-wise maximum uniformly across all regions, without differentiating the designated target regions.
-
Model X: Replacing Segmentation-Guided Fusion Loss with the Proportional Maintenance Loss. This model substitutes the segmentation-guided fusion loss with the proportional maintenance loss proposed in [43].
-
Model XI: Removing Information Restoration Prior. The embedded information restoration prior strengthens the capability of visual fusion to extract reliable visual perceptual evidence from degraded data, thereby enhancing its ability to assist semantic segmentation. In this model, we remove the information restoration prior and use the source images as the reconstruction target for visual fusion.
-
Model XII: Removing gradient correction strategy. The gradient correction mechanism ensures better collaboration between visual fusion and semantic segmentation from an optimization perspective. For comparison, we remove the gradient correction mechanism and use loss weighting to drive multi-task joint learning.
-
Model XIII: Replacing One-Zero Convolution with Standard Initialization. The One-Zero convolution

Fig. 24: Qualitative impact of each ablation variant on visual fusion.
in the feature search module starts from an identity-like mapping, preserving branch-specific features while progressively learning complementary cues from the shared feature pool. In this model, we replace it with a standard randomly initialized convolution.
- Model XIV: Replacing Two-Stage Training with One-Stage Strategy. The original W2F employs a two-stage training strategy, which first independently extracts task-specific visual and semantic representations and then refines them through collaborative optimization. This model replaces it with a single-stage strategy, jointly training all branches, feature search modules, and decoders from scratch.
Next, we present the impact of these model variants on the performance of visual fusion and semantic segmentation tasks.
4.10.1 Ablation of Semantic Segmentation
The qualitative and quantitative ablation studies for semantic segmentation are shown in Fig. 23 and Table 13. From Model I to Model III, the segmentation performance gradually improves, highlighting the contributions of IGM-Att and PC-Att. Model IV, which applies a sequential pipeline from visual fusion to segmentation, achieves moderate gains but remains inferior to the complete W2F model (Model V). This comparison demonstrates that our collaboration mechanism, which enables mutual reinforcement between visual fusion and segmentation, is more effective than simple sequential guidance. Replacing PC-Att with the MRFS variant in Model VI reduces segmentation performance, indicating that our PC-Att design better captures global multi-modal dependencies. Substituting the collaboration mechanism with a shared backbone in Model VII also degrades results, as sharing features

Fig. 25: Quantitative impact of each ablation variant on visual fusion.
without explicit cross-task alignment weakens task-specific representation learning. Models VIII~X, which modify or remove the segmentation-guided fusion loss, lead to relatively small reductions in segmentation performance, consistent with its primary effect of guiding visual fusion rather than segmentation. Removing the information restoration prior (Model XI) or the gradient correction strategy (Model XII) significantly decreases segmentation accuracy, highlighting the prior's role in transferring visual information to segmentation and the importance of gradient correction for stable multi-task optimization. Finally, replacing the identity-initialized One-Zero convolution in the feature search module (Model XIII) or adopting a single-stage training strategy instead of two-stage training (Model XIV) reduces performance, emphasizing the

Fig. 26: Qualitative results of semantic verification with the object detection task.
value of proper initialization and staged optimization. Collectively, these results demonstrate that only the full W2F model (Model V), with all key designs, achieves superior segmentation by visual-semantic collaboration.
4.10.2 Ablation of Visual Fusion
We further provide the qualitative impact of each ablation variant on visual fusion in Fig. 24. Starting from Model I, the fused image suffers from weak foreground visibility and severe detail loss in dark regions. From Model II to Model III, the pedestrian regions gradually become clearer and the surrounding structures are better preserved, indicating that IGM-Att and PC-Att improve multi-modal information aggregation. Model IV further enhances the visibility of the pedestrians through sequential guidance, but the overall brightness and local details are still inferior to the complete W2F model (Model V). Compared with all other variants, Model V produces clearer pedestrian contours, more natural illumination, and better preservation of both foreground targets and background structures. Replacing PC-Att with the MRFS variant in Model VI slightly weakens the clarity of pedestrian regions and background lighting details. Model VII, which replaces the collaborative mechanism with a shared backbone, also leads to relatively blurred foreground regions, showing that simple feature sharing cannot fully establish effective visual-semantic interaction. Variants VIII–X, which modify the segmentation-guided fusion loss, show noticeable degradation in pedestrian saliency and local lighting details, demonstrating that the segmentation-guided fusion loss effectively guides the fused image to focus on semantically important foreground regions. After removing the information restoration prior in Model XI, the fused image becomes noticeably darker and loses details in low-light regions. Removing the gradient correction strategy in Model XII changes the appearance of the pedestrian regions and slightly affects the foreground emphasis during fusion. Model XIII, replacing the One-Zero convolution with standard initialization, slightly reduces foreground clarity, while Model XIV with one-stage training shows weaker overall contrast and detail preservation. Overall, although different variants affect visual fusion to varying degrees, the complete W2F model (Model V) consistently produces the clearest and most balanced fusion results. The quantitative comparisons in Fig. 25 further support this observation, where Model V achieves the most balanced objective performance across these metrics.
Table 14: Quantitative semantic verification with object detection.
| Precision | Recall | mAP@0.5 | mAP@0.75 | mAP@[0.5:0.95] | |
|---|---|---|---|---|---|
| VIS | 97.0 | 94.1 | 96.3 | 73.4 | 63.8 |
| IR | 97.6 | 97.3 | 98.9 | 88.1 | 72.8 |
| SeAFusion | 97.7 | 99.1 | 99.1 | 91.1 | 73.4 |
| SuperFusion | 96.8 | 98.5 | 99.1 | 91.6 | 73.8 |
| SegMiF | 98.2 | 97.3 | 98.8 | 91.0 | 73.4 |
| TIMFusion | 97.1 | 97.6 | 98.7 | 90.8 | 72.5 |
| DDFM | 97.9 | 97.6 | 99.0 | 89.6 | 73.1 |
| MURF | 97.4 | 97.9 | 98.9 | 90.9 | 74.2 |
| IF-FILM | 97.7 | 98.8 | 98.9 | 91.6 | 74.4 |
| MRFS | 98.2 | 97.6 | 99.3 | 92.9 | 74.2 |
| Ours | 98.5 | 97.3 | 98.7 | 90.9 | 74.5 |
4.11 Semantic Verification with Object Detection
W2F establishes a mutual reinforcement mechanism between visual fusion and semantic segmentation, where semantic guidance enhances object visibility and distinguishability in fused images. This process can be interpreted as a form of broad semantic injection, enriching scene representations at the semantic level. Then, an interesting question is whether the injected semantics can enhance the application performance of fused images in other decision-making tasks. To investigate, we initially generate fused results using various fusion methods on the LLVIP dataset [10]. Subsequently, we retrain the YOLO-v5 detector using these fused images to assess their embedded semantic attributes. Each retraining involves 400 fused images for training and
Table 15: Computational analysis of multi-modal visual fusion and segmentation methods. Note: TIMFusion only reports visual fusion results because its semantic segmentation code is unavailable.
| Method | EAEFNet | CMX | CMNeXt | CAINet | DDFM | MURF | IF-FILM | SeAFusion | SuperFusion | SegMiF | TIMFusion | MRFS | Ours |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Segmentation | ✓ | ✓ | ✓ | ✓ | ✕ | ✕ | ✕ | ✓ | ✓ | ✓ | ✕ | ✓ | ✓ |
| Visual Fusion | ✕ | ✕ | ✕ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Parameters (M) | 147.21 | 139.86 | 116.53 | 9.46 | 552.66 | 4.92 | 2.07 | 13.06 | 14.86 | 45.60 | 1.23 | 134.97 | 268.25 |
| FLOPs (G) | 316.49 | 211.35 | 207.19 | 35.50 | 8700.83 | 111.78 | 140.64 | 102.53 | 142.65 | 526.20 | 337.35 | 219.16 | 394.09 |
| Time (s) | 0.16 | 0.29 | 0.09 | 0.03 | 60.03 | 0.12 | 0.03 | 0.38 | 0.14 | 0.57 | 0.02 | 0.12 | 0.15 |
120 for testing. Qualitative results in Fig. 26 show that W2F enables the most comprehensive pedestrian detection with the highest confidence. Quantitative results in Table 14 confirm that W2F achieves the highest mAP@[0.5:0.95], demonstrating that semantic guidance from segmentation not only improves fused image quality but also enhances their effectiveness in downstream decision-making tasks. Overall, this validates the practical value of W2F's visual-semantic collaboration beyond fusion itself.
4.12 Complexity Discussion
We evaluate the complexity of W2F in comparison with these visual fusion and semantic segmentation methods. Experiments are conducted on images of size , and the average running time, number of parameters, and FLOPs are summarized in Table 15. As observed, W2F requires 0.15 seconds per image, only 0.03 seconds more than its preliminary version MRFS, while achieving substantial performance gains in both semantic segmentation and visual fusion tasks. Among methods that jointly perform visual fusion and segmentation, W2F remains competitive, being faster than SeAFusion and SegMiF. Besides, due to the dual-branch structure of W2F, a certain increase in computational overhead is unavoidable. Nevertheless, the total number of parameters and FLOPs remains moderate, indicating that the additional cost introduced by the collaboration and feature search modules is limited. Overall, considering that W2F simultaneously produces high-quality fused images and accurate semantic segmentation outputs, its complexity remains competitive among multi-modal perception methods. In the future, we will focus on improving W2F's efficiency and reducing its computational cost. One potential solution is to utilize knowledge mutual distillation, enabling visual-semantic collaboration without the need for explicit physical interaction between the task branches.
5 Conclusion
This paper proposes a new mutual-reinforcing paradigm for multi-modal image fusion, termed W2F, which aims to achieve simultaneous improvements in visual fusion and semantic segmentation. Firstly, W2F amplifies visual-semantic complementarity, reinforcing a solid foundation for effective collaboration. Specifically, the segmentation-guided fusion loss introduces object-aware structural guidance into visual fusion, thereby improving object visibility and distinguishability. Meanwhile, the information restoration prior strengthens the capability of visual fusion to extract reliable visual perceptual evidence from degraded observations, thereby enhancing its ability to assist the semantic branch under challenging conditions. Secondly, W2F introduces IGM-Att and PC-Att, which reinforce multi-modal information complement and aggregation from local and global perspectives, respectively, providing information support for visual-semantic collaboration. Finally, a collaborative mechanism between visual fusion and segmentation is established, bridging visual and semantic information via the feature search module, while the gradient correction strategy ensures harmonious optimization across both tasks. Extensive experiments demonstrate that W2F produces visually compelling fused images and highly accurate segmentation results, significantly enhancing perception capabilities spanning from the visual to the semantic level.
Funding
This work was supported by the National Natural Science Foundation of China under Grant nos. 62506268 and 62276192.
Conflict of Interest
The authors declare that they have no conflict of interest.
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Data Availability
The datasets used in this study are publicly available.
Materials availability
Not applicable.
Code availability
Available at https://github.com/HaoZhang1018/W2F.
Author contribution
Hao Zhang contributed to methodology, software, writing-original draft, visualization, validation, formal analysis, investigation. Xuhui Zuo contributed to software, visualization, validation, formal analysis. Jiayi Ma contributed to conceptualization, methodology, supervision, funding acquisition, resources, and writing-review and editing.
References
-
Aslantas, V., Bendes, E.: A new image quality metric for image fusion: The sum of the correlations of differences. Aeu International Journal of Electronics and Communications 69(12), 1890–1896 (2015)
-
Berman, M., Triki, A.R., Blaschko, M.B.: The lovász-softmax loss: A tractable surrogate for the optimization of the intersection-over-union measure in neural networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4413–4421 (2018)
-
Deng, F., Feng, H., Liang, M., Wang, H., Yang, Y., Gao, Y., Chen, J., Hu, J., Guo, X., Lam, T.L.: Feanet: Feature-enhanced attention network for rgb-thermal real-time semantic segmentation. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 4467–4473 (2021)
-
Drajic, D., Cvejic, N.: Adaptive fusion of multimodal surveillance image sequences in visual sensor networks. IEEE Transactions on Consumer Electronics 53(4), 1456–1462 (2007)
-
Fu, H., Wang, S., Duan, P., Xiao, C., Dian, R., Li, S., Li, Z.: Lraf-net: Long-range attention fusion network for visible-infrared object detection. IEEE Transactions on Neural Networks and Learning Systems 35(10), 13,232–13,245 (2024)
-
Gong, M., Zhang, H., Yi, X., Tang, L., Ma, J.: Temcoco: Temporally consistent multi-modal video fusion with visual-semantic collaboration. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 14,326–14,335 (2025)
-
Gong, Y., Lu, J., Liu, W., Li, Z., Jiang, X., Gao, X., Wu, X.: Sifdrivenet: Speed and image fusion for driving behavior classification network. IEEE Transactions on Computational Social Systems 11(1), 1244–1259 (2024)
-
Ha, Q., Watanabe, K., Karasawa, T., Ushiku, Y., Harada, T.: Mfnet: Towards real-time semantic segmentation for autonomous vehicles with multi-spectral scenes. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 5108–5115 (2017)
-
Han, Y., Cai, Y., Cao, Y., Xu, X.: A new image fusion performance metric based on visual information fidelity. Information Fusion 14(2), 127–135 (2013)
-
Jia, X., Zhu, C., Li, M., Tang, W., Zhou, W.: Llvip: A visible-infrared paired dataset for low-light vision. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 3496–3504 (2021)
-
Jiang, H., Li, Z., Yu, X., Hu, Y., Yin, B., Yang, J., Qi, Y.: Visual and semantic prompt collaboration for generalized zero-shot learning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 20,275–20,285 (2025)
-
Li, H., Liu, J., Zhang, Y., Liu, Y.: A deep learning framework for infrared and visible image fusion without strict registration. International Journal of Computer Vision 132(5), 1625–1644 (2024)
-
Li, H., Xu, T., Wu, X.J., Lu, J., Kittler, J.: Lrrnet: A novel representation learning guided fusion network for infrared and visible images. IEEE Transactions on Pattern Analysis and Machine Intelligence 45(9), 11,040–11,052 (2023)
-
Liang, M., Hu, J., Bao, C., Feng, H., Deng, F., Lam, T.L.: Explicit attention-enhanced fusion for rgb-thermal perception tasks. IEEE Robotics and Automation Letters 8(7), 4060–4067 (2023)
-
Lightroom, A.: Adobe photoshop lightroom 3 (2012)
-
Liu, J., Duan, J., Hao, Y., Chen, G., Zhang, H., Zheng, Y.: Polarization image demosaicing and rgb image enhancement for a color polarization sparse focal plane array. Optics Express 31(14), 23,475–23,490 (2023)
-
Liu, J., Fan, X., Huang, Z., Wu, G., Liu, R., Zhong, W., Luo, Z.: Target-aware dual adversarial learning and a multi-scenario multi-modality benchmark to fuse infrared and visible for object detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5802–5811 (2022)
-
Liu, J., Liu, Z., Wu, G., Ma, L., Liu, R., Zhong, W., Luo, Z., Fan, X.: Multi-interactive feature learning and a full-time multi-modality benchmark for image fusion and segmentation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 8115–8124 (2023)
-
Liu, J., Wu, G., Liu, Z., Wang, D., Jiang, Z., Ma, L., Zhong, W., Fan, X., Liu, R.: Infrared and visible image fusion: From data compatibility to task adaption. IEEE Transactions on Pattern Analysis and Machine Intelligence 47(4), 2349–2369 (2024)
-
Liu, R., Liu, Z., Liu, J., Fan, X., Luo, Z.: A task-guided, implicitly-searched and metainitialized deep model for image fusion. IEEE Transactions on Pattern Analysis and Machine Intelligence 46(10), 6594–6609 (2024)
-
Lv, Y., Liu, Z., Li, G.: Context-aware interaction network for rgb-t semantic segmentation. IEEE Transactions on Multimedia 26, 6348–6360 (2024)
-
Ma, J., Yu, W., Liang, P., Li, C., Jiang, J.: Fusiongan: A generative adversarial network for infrared and visible image fusion. Information Fusion 48, 11–26 (2019)
-
Morimatsu, M., Monno, Y., Tanaka, M., Okutomi, M.: Monochrome and color polarization demosaicking using edge-aware residual interpolation. In: Proceedings of the IEEE International Conference on Image Processing, pp. 2571–2575 (2020)
-
Na, B., Kim, Y., Park, S.: Multi-modal text recognition networks: Interactive enhancements between visual and semantic features. In: Proceedings of the European Conference on Computer Vision, pp. 446–463 (2022)
-
Navon, A., Shamsian, A., Achituve, I., Maron, H., Kawaguchi, K., Chechik, G., Fetaya, E.: Multi-task learning as a bargaining game. In: Proceedings of the International Conference on Machine Learning, pp. 16,428–16,446 (2022)
-
Pan, J., Sun, D., Zhang, J., Tang, J., Yang, J., Tai, Y.W., Yang, M.H.: Dual convolutional neural networks for low-level vision. International Journal of Computer Vision 130(6), 1440–1458 (2022)
-
Shreyamsha Kumar, B.: Multifocus and multispectral image fusion based on pixel significance using discrete cosine harmonic wavelet transform. Signal, Image and Video Processing 7, 1125–1143 (2013)
-
Sun, Y., Cao, B., Zhu, P., Hu, Q.: Defusion: A detection-driven infrared and visible image fusion network. In: Proceedings of the ACM International Conference on Mmultimedia, pp. 4003–4011 (2022)
-
Tang, H., Li, Z., Zhang, D., He, S., Tang, J.: Divide-and-conquer: Confluent triple-flow network for rgb-t salient object detection. IEEE Transactions on Pattern Analysis and Machine Intelligence (2024)
-
Tang, L., Deng, Y., Ma, Y., Huang, J., Ma, J.: Superfusion: A versatile image registration and fusion network with semantic awareness. IEEE/CAA Journal of Automatica Sinica 9(12), 2121–2137 (2022)
-
Tang, L., Wang, Y., Gong, M., Li, Z., Deng, Y., Yi, X., Li, C., Zhang, H., Xu, H., Ma, J.: Videofusion: A spatio-temporal collaborative network for multi-modal video fusion and restoration. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1–11 (2026)
-
Tang, L., Yuan, J., Ma, J.: Image fusion in the loop of high-level vision tasks: A semantic-aware real-time infrared and visible image fusion network. Information Fusion 82, 28–42 (2022)
-
Wang, R., Zhou, Z., Li, S., Zhang, Z.: Advances and challenges in infrared-visible image fusion: a comprehensive review of techniques and applications. Artificial Intelligence Review 59(1), 18 (2026)
-
Wang, Z., Bovik, A.C.: A universal image quality index. IEEE Signal Processing Letters 9(3), 81–84 (2002)
-
Woo, S., Park, J., Lee, J.Y., Kweon, I.S.: Cbam: Convolutional block attention module. In: Proceedings of the European Conference on Computer Vision, pp. 3–19 (2018)
-
Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J.M., Luo, P.: Segformer: Simple and efficient design for semantic segmentation with transformers. Advances in Neural Information Processing Systems 34, 12,077–12,090 (2021)
-
Xu, H., Ma, J., Jiang, J., Guo, X., Ling, H.: U2fusion: A unified unsupervised image fusion network. IEEE Transactions on Pattern Analysis and Machine Intelligence 44(1), 502–518 (2022)
-
Xu, H., Yuan, J., Ma, J.: Murf: Mutually reinforcing multi-modal image registration and fusion. IEEE Transactions on Pattern Analysis and Machine Intelligence 45(10), 12,148–12,166 (2023)
-
Yi, X., Xu, H., Zhang, H., Tang, L., Ma, J.: Text-if: Leveraging semantic text guidance for degradation-aware and interactive image fusion. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 27,026–27,035 (2024)
-
Yu, T., Kumar, S., Gupta, A., Levine, S., Hausman, K., Finn, C.: Gradient surgery for multi-task learning. Advances in Neural Information Processing Systems 33, 5824–5836 (2020)
-
Zhang, H., Ma, J.: Sdnet: A versatile squeeze-and-decomposition network for real-time image fusion. International Journal of Computer Vision 129(10), 2761–2785 (2021)
-
Zhang, H., Xu, H., Tian, X., Jiang, J., Ma, J.: Image fusion meets deep learning: A survey and perspective. Information Fusion 76, 323–336 (2021)
-
Zhang, H., Xu, H., Xiao, Y., Guo, X., Ma, J.: Rethinking the image fusion: A fast unified image fusion network based on proportional maintenance of gradient and intensity. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, pp. 12,797–12,804 (2020)
-
Zhang, H., Zuo, X., Jiang, J., Guo, C., Ma, J.: Mrfs: Mutually reinforcing image fusion and segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 26,974–26,983 (2024)
-
Zhang, J., Jiao, L., Ma, W., Liu, F., Liu, X., Li, L., Chen, P., Yang, S.: Transformer based conditional gan for multimodal image fusion. IEEE Transactions on Multimedia 25, 8988–9001 (2023)
-
Zhang, J., Liu, H., Yang, K., Hu, X., Liu, R., Stiefelhagen, R.: Cmx: Cross-modal fusion for rgb-x semantic segmentation with transformers. IEEE Transactions on Intelligent Transportation Systems 24(12), 14,679–14,694 (2023)
-
Zhang, J., Liu, R., Shi, H., Yang, K., Reiß, S., Peng, K., Fu, H., Wang, K., Stiefelhagen, R.: Delivering arbitrary-modal semantic segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1136–1147 (2023)
-
Zhang, L., Rao, A., Agrawala, M.: Adding conditional control to text-to-image diffusion models. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 3836–3847 (2023)
-
Zhang, X., Demiris, Y.: Visible and infrared image fusion using deep learning. IEEE Transactions on Pattern Analysis and Machine Intelligence 45(8), 10,535–10,554 (2023)
-
Zhao, G., Huang, J., Yan, X., Wang, Z., Tang, J., Ou, Y., Hu, X., Peng, T.: Open-vocabulary rgb-thermal semantic segmentation. In: Proceedings of the European Conference on Computer Vision, pp. 304–320 (2024)
-
Zhao, Z., Bai, H., Zhu, Y., Zhang, J., Xu, S., Zhang, Y., Zhang, K., Meng, D., Timofte, R., Van Gool, L.: Ddfm: Denoising diffusion model for multi-modality image fusion. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 8082–8093 (2023)
-
Zhao, Z., Deng, L., Bai, H., Cui, Y., Zhang, Z., Zhang, Y., Qin, H., Chen, D., Zhang, J., Wang, P., et al.: Image fusion via vision-language model. In: Proceedings of the International Conference on Machine Learning, pp. 1–13 (2024)
-
Zhou, H., Tian, C., Zhang, Z., Huo, Q., Xie, Y., Li, Z.: Multispectral fusion transformer network for rgb-thermal urban scene semantic segmentation. IEEE Geoscience and Remote Sensing Letters 19, 1–5 (2022)
-
Zhou, M., Zheng, N., He, X., Hong, D., Chanussot, J.: Probing synergistic high-order interaction for multimodal image fusion. IEEE Transactions on Pattern Analysis and Machine Intelligence (2024)