TextMEF: Text-guided Prompt Learning for Multi-exposure Image Fusion
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 1567-1575.
https://doi.org/10.24963/ijcai.2025/175
Keywords
- Computer Vision: CV: Low-level Vision
Abstract
Multi-exposure image fusion~(MEF) aims to integrate a set of low dynamic range images, producing a single image with a higher dynamic range than either one. Despite significant advancements, current MEF approaches still struggle to handle extremely over- or under-exposed conditions, resulting in unsatisfactory visual effects such as hallucinated details and distorted color tones. With this regard, we propose TextMEF, a prompt-driven fusion method enhanced by prompt learning, for multi-exposure image fusion. Specifically, we learn a set of prompts based on text-image similarity among negative and positive samples (over-exposed, under-exposed images, and well-exposed ones). These learned prompts are seamlessly integrated into the loss function, providing high-level guidance for constraining non-uniform exposure regions. Furthermore, we develop a attention Mamba module effectively translates over-/under- exposed regional features into exposure invariant space and ensure them to build efficient long-range dependency to high dynamic range image. Extensive experimental results on three publicly available benchmarks demonstrate that our TextMEF significantly outperforms state-of-the-art approaches in both visual inspection and objective analysis.
- [Biswas and Milanfar, 2017] Sujoy Kumar Biswas and Pey- man Milanfar. Linear support tensor machine with lsk channels: Pedestrian detection in thermal infrared images. IEEE transactions on image processing, 26(9):4229-4242, 2017.
- [Cai et al., 2018] Jianrui Cai, Shuhang Gu, and Lei Zhang. Learning a deep single image contrast enhancer from multi-exposure images. IEEE Transactions on Image Pro- cessing, 27(4):2049-2062, 2018.
- [Chen et al., 2024] Zixuan Chen, Zewei He, and Zhe-Ming Lu. Dea-net: Single image dehazing based on detail- enhanced convolution and content-guided attention. IEEE Transactions on Image Processing, 2024.
- [Deng et al., 2023] Xin Deng, Jingyi Xu, Fangyuan Gao, Xi- ancheng Sun, and Mai Xu. Deepm 2 cdl: Deep multi- scale multi-modal convolutional dictionary learning net- work. IEEE Transactions on Pattern Analysis and Ma- chine Intelligence, 2023.
- [Eskicioglu and Fisher, 1995] Ahmet M Eskicioglu and Paul S Fisher. Image quality measures and their per- formance. IEEE Transactions on communications, 43(12):2959-2965, 1995.
- [Gal et al., 2022] Rinon Gal, Or Patashnik, Haggai Maron, Amit H Bermano, Gal Chechik, and Daniel Cohen-Or. Stylegan-nada: Clip-guided domain adaptation of im- age generators. ACM Transactions on Graphics (TOG), 41(4):1-13, 2022.
- [Gu and Dao, 2023] Albert Gu and Tri Dao. Mamba: Linear- time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752, 2023.
- [Huynh-Thu and Ghanbari, 2008] Quan Huynh-Thu and Mohammed Ghanbari. Scope of validity of psnr in image/video quality assessment. Electronics letters, 44(13):800-801, 2008.
- [Inanici, 2006] Mehlika N Inanici. Evaluation of high dy- namic range photography as a luminance data acquisition system. Lighting Research & Technology, 38(2):123-134, 2006.
- [Jiang et al., 2023] Ting Jiang, Chuan Wang, Xinpeng Li, Ru Li, Haoqiang Fan, and Shuaicheng Liu. Meflut: Un- supervised 1d lookup tables for multi-exposure image fu- sion. In Proceedings of the IEEE/CVF International Con- ference on Computer Vision, pages 10542-10551, 2023.
- [Ke et al., 2021] Junjie Ke, Qifei Wang, Yilin Wang, Pey- man Milanfar, and Feng Yang. Musiq: Multi-scale im- age quality transformer. In Proceedings of the IEEE/CVF international conference on computer vision, pages 5148- 5157, 2021.
- [Kwon and Ye, 2022] Gihyun Kwon and Jong Chul Ye. Clip- styler: Image style transfer with a single text condi- tion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 18062- 18071, 2022.
- [Li and Kang, 2012] Shutao Li and Xudong Kang. Fast multi-exposure image fusion with median filter and recur- sive filter. IEEE Transactions on Consumer Electronics, 58(2):626-632, 2012.
- [Li et al., 2013] Shutao Li, Xudong Kang, and Jianwen Hu. Image fusion with guided filtering. IEEE Transactions on Image processing, 22(7):2864-2875, 2013.
- [Li et al., 2020] Hui Li, Kede Ma, Hongwei Yong, and Lei Zhang. Fast multi-scale structural patch decomposition for multi-exposure image fusion. IEEE Transactions on Image Processing, 29:5805-5816, 2020.
- [Liang et al., 2022] Pengwei Liang, Junjun Jiang, Xianming Liu, and Jiayi Ma. Fusion from decomposition: A self- supervised decomposition approach for image fusion. In European Conference on Computer Vision, pages 719- 735. Springer, 2022.
- [Liang et al., 2023] Zhexin Liang, Chongyi Li, Shangchen Zhou, Ruicheng Feng, and Chen Change Loy. Iterative prompt learning for unsupervised backlit image enhance- ment. In Proceedings of the IEEE/CVF International Con- ference on Computer Vision, pages 8094-8103, 2023.
- [Liu et al., 2022] Jinyuan Liu, Jingjie Shang, Risheng Liu, and Xin Fan. Attention-guided global-local adversarial learning for detail-preserving multi-exposure image fu- sion. IEEE Transactions on Circuits and Systems for Video Technology, 32(8):5026-5040, 2022.
- [Liu et al., 2023] Jinyuan Liu, Guanyao Wu, Junsheng Luan, Zhiying Jiang, Risheng Liu, and Xin Fan. Holoco: Holistic and local contrastive learning network for multi-exposure image fusion. Information Fusion, 95:237-249, 2023.
- [Liu et al., 2024a] Jinyuan Liu, Runjia Lin, Guanyao Wu, Risheng Liu, Zhongxuan Luo, and Xin Fan. Coconet: Coupled contrastive learning network with multi-level fea- ture ensemble for multi-modality image fusion. Inter- national Journal of Computer Vision, 132(5):1748-1775, 2024.
- [Liu et al., 2024b] Jinyuan Liu, Guanyao Wu, Zhu Liu, Di Wang, Zhiying Jiang, Long Ma, Wei Zhong, and Xin Fan. Infrared and visible image fusion: From data com- patibility to task adaption. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.
- [Liu et al., 2024c] Zhu Liu, Jinyuan Liu, Guanyao Wu, Zi- hang Chen, Xin Fan, and Risheng Liu. Searching a compact architecture for robust multi-exposure image fu- sion. IEEE Transactions on Circuits and Systems for Video Technology, 2024.
- [Ma et al., 2015] Kede Ma, Kai Zeng, and Zhou Wang. Perceptual quality assessment for multi-exposure im- age fusion. IEEE Transactions on Image Processing, 24(11):3345-3356, 2015.
- [Ma et al., 2017] Kede Ma, Hui Li, Hongwei Yong, Zhou Wang, Deyu Meng, and Lei Zhang. Robust multi-exposure image fusion: a structural patch decomposition approach. IEEE Transactions on Image Processing, 26(5):2519- 2532, 2017.
- [Ma et al., 2022] Jiayi Ma, Linfeng Tang, Fan Fan, Jun Huang, Xiaoguang Mei, and Yong Ma. Swinfusion: Cross-domain long-range learning for general image fu- sion via swin transformer. IEEE/CAA Journal of Automat- ica Sinica, 9(7):1200-1217, 2022.
- [McCann and Rizzi, 2011] John J McCann and Alessandro Rizzi. The art and science of HDR imaging. John Wiley & Sons, 2011.
- [Nayar and Mitsunaga, 2000] Shree K Nayar and Tomoo Mitsunaga. High dynamic range imaging: Spatially vary- ing pixel exposures. In Proceedings IEEE Conference on Computer Vision and Pattern Recognition. CVPR 2000 (Cat. No. PR00662), volume 1, pages 472-479. IEEE, 2000.
- [Palsson et al., 2017] Frosti Palsson, Johannes R Sveinsson, and Magnus O Ulfarsson. Multispectral and hyperspectral image fusion using a 3-d-convolutional neural network. IEEE Geoscience and Remote Sensing Letters, 14(5):639- 643, 2017.
- [Park et al., 2003] Sung Cheol Park, Min Kyu Park, and Moon Gi Kang. Super-resolution image reconstruction: a technical overview. IEEE signal processing magazine, 20(3):21-36, 2003.
- [Patashnik et al., 2021] Or Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. Style- clip: Text-driven manipulation of stylegan imagery. In Proceedings of the IEEE/CVF international conference on computer vision, pages 2085-2094, 2021.
- [Qu et al., 2022] Linhao Qu, Shaolei Liu, Manning Wang, and Zhijian Song. Transmef: A transformer-based multi- exposure image fusion framework using self-supervised multi-task learning. In Proceedings of the AAAI confer- ence on artificial intelligence, volume 36, pages 2126- 2134, 2022.
- [Radford et al., 2021] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agar- wal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from nat- ural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021.
- [Rajalingam and Priya, 2018] B Rajalingam and R Priya. Hybrid multimodality medical image fusion technique for feature enhancement in medical diagnosis. Interna- tional Journal of Engineering Science Invention, 2(Special issue):52-60, 2018.
- [Ram Prabhakar et al., 2017] K Ram Prabhakar, V Sai Srikar, and R Venkatesh Babu. Deepfuse: A deep unsupervised approach for exposure fusion with extreme exposure image pairs. In Proceedings of the IEEE international conference on computer vision, pages 4714-4722, 2017.
- [Roberts et al., 2008] J Wesley Roberts, Jan A Van Aardt, and Fethi Babikker Ahmed. Assessment of image fusion procedures using entropy, image quality, and multispec- tral classification. Journal of Applied Remote Sensing, 2(1):023522, 2008.
- [Shen et al., 2011] Rui Shen, Irene Cheng, Jianbo Shi, and Anup Basu. Generalized random walks for fusion of multi- exposure images. IEEE Transactions on Image Process- ing, 20(12):3634-3646, 2011.
- [Vidit et al., 2023] Vidit Vidit, Martin Engilberge, and Math- ieu Salzmann. Clip the gap: A single domain general- ization approach for object detection. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 3219-3229, 2023.
- [WANGZ et al., 2004] BOVIK AC WANGZ, HR Sheikh, et al. Image qualityassessment: Fromerrorvisibility- tostructural similarity. IEEETransactionsonImagePro- cessing, 13(4):600G612, 2004.
- [Wu et al., 2024] Guanyao Wu, Hongming Fu, Jinyuan Liu, Long Ma, Xin Fan, and Risheng Liu. Hybrid-supervised dual-search: Leveraging automatic learning for loss-free multi-exposure image fusion. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 5985-5993, 2024.
- [Xu et al., 2020a] Han Xu, Jiayi Ma, Junjun Jiang, Xiaojie Guo, and Haibin Ling. U2fusion: A unified unsuper- vised image fusion network. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(1):502-518, 2020.
- [Xu et al., 2020b] Han Xu, Jiayi Ma, and Xiao-Ping Zhang. Mef-gan: Multi-exposure image fusion via generative ad- versarial networks. IEEE Transactions on Image Process- ing, 29:7203-7216, 2020.
- [Xu et al., 2023] Han Xu, Liang Haochen, and Jiayi Ma. Un- supervised multi-exposure image fusion breaking expo- sure limits via contrastive learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 3010-3017, 2023.
- [Yeganeh and Wang, 2012] Hojatollah Yeganeh and Zhou Wang. Objective quality assessment of tone-mapped im- ages. IEEE Transactions on Image processing, 22(2):657- 667, 2012.
- [Ying et al., 2020] Zhenqiang Ying, Haoran Niu, Praful Gupta, Dhruv Mahajan, Deepti Ghadiyaram, and Alan Bovik. From patches to pictures (paq-2-piq): Mapping the perceptual space of picture quality. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 3575-3585, 2020.
- [Zhang and Ma, 2021] Hao Zhang and Jiayi Ma. Sdnet: A versatile squeeze-and-decomposition network for real- time image fusion. International Journal of Computer Vi- sion, 129(10):2761-2785, 2021.
- [Zhao et al., 2024] Zixiang Zhao, Lilun Deng, Haowen Bai, Yukun Cui, Zhipeng Zhang, Yulun Zhang, Haotong Qin, Dongdong Chen, Jiangshe Zhang, Peng Wang, et al. Im- age fusion via vision-language model. arXiv preprint arXiv:2402.02235, 2024.
- [Zhu et al., 2024] Lianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang, Wenyu Liu, and Xinggang Wang. Vision mamba: Efficient visual representation learning with bidirectional state space model. arXiv preprint arXiv:2401.09417, 2024.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Natural scenes exhibit a vast range of light intensities, ranging from intense sunlight to faint starlight, differing by up to 100 million orders of magnitude [McCann and Rizzi, 2011]. However, conventional photography equipment, such as mobile phones and SLR cameras, captures only a fraction of this
(LDR) images that often exhibit over- or under-exposed areas, thereby failing to faithfully reproduce details visible to the human eyes under extreme lighting conditions. High dynamic range (HDR) imaging has emerged as a solution to this challenge, offering well-exposed images that enhance visual perception and support various computer vision tasks including super-resolution [Park et al., 2003], panoramic photography [Inanici, 2006], object detection [Biswas and Milanfar, 2017], and remote sensing [Palsson et al., 2017].







While specific hardware devices can directly produce HDR images [Nayar and Mitsunaga, 2000], their high production costs restrict widespread adoption in civil applications. Consequently, MEF methods have garnered significant attention. MEF aims to integrate multiple LDR images captured at different exposures into a unified HDR image. Depending on the number of input LDR images used, MEF methods are broadly categorized into non-extreme [Li et al., 2013; Shen et al., 2011; Li and Kang, 2012] and extreme exposure fusion [Ma et al., 2017; Li et al., 2020] techniques. Non-extreme methods rely on a larger set of input images to achieve optimal fusion performance, albeit at the cost of increased storage requirements and computational complexity. In contrast, our work focuses on extreme fusion techniques, which streamline the process by utilizing only a pair of extreme exposure images to achieve efficient fusion without compromising quality.
Recently, drawing on non-liner fitting ability of deep neural networks, a large numbers of learning-based MEF methods [Xu et al., 2020b; Xu et al., 2020a; Zhang and Ma, 2021; Xu et al., 2023; Wu et al., 2024] have been proposed and applied well. Despite great achievement, there are still come across several challenges that hinder further improvement of producing high-quality fused results. First, most of existing approaches cannot precisely perceive the bright and dark regions, causing over-enhancement in well-exposed regions or under-enhancement in low-light ones. Second, when designing neural networks, existing approaches often overlook subtle details. As a result, the integrated outputs frequently fail to accurately reproduce realistic textures, especially in excessively dark or bright regions.
To address these challenges, we propose TextMEF, a prompt guided multi-exposure fusion framework enhanced by learning-based prompts, which effectively merges multiple LDR images into an HDR result. Specifically, to mitigate color discrepancies caused by uneven exposures, we develop a new pipeline that adapts the Contrastive Language-Image Pre-Training (CLIP) [Radford et al., 2021] model to our task. This approach refines the prompts by learning distinct feature distributions among over, under, and properly exposed images. The optimized prompts then direct the training of our multi-exposure fusion network through text-image similarity constraints in the CLIP embedding space. Given that network interference often results in the loss of critical information, we incorporate the advanced Mamba [Gu and Dao, 2023; Zhu et al., 2024] block along with newly introduced attention Mamba and mutual guided Mamba, achieving enhanced contrast and detail in the resultant fused image.
Thanks to the meticulously designed modules and the effective prompt learning strategy outlined above, our TextMEF framework demonstrates superior performance across several widely used datasets. A straightforward example is given in Figure 1, where the results of our method not only enhance visual appeal but also deliver fused images with distinct targets and realistic details. The main contributions of this paper are summarized as follows:
- We leverage a pretrained CLIP model to provide crossmodal contrastive constraints from text to image, benefiting from its robust visual-language priors. Our method achieves a trade-off between metric-oriented and perceptual-oriented objectives.
- To fully unleash the potential of the CLIP priors, we employ prompt learning to discover more precise cues, thus providing richer and more detailed semantic guidance.
- We design the attention Mamba module and the mutualguided Mamba module. The former helps capture prominent features and protect them under varying exposure levels, the latter promotes efficient feature fusion, enabling the model to autonomously learn the complementary information between different exposure inputs.
- Evaluations on three prevailing benchmark datasets and against seven state-of-the-art multi-exposure fusion approaches demonstrate that our proposed TextMEF can significantly enhance color representation while accurately recovering texture details.
2 RelatedWork
2.1 Learning-basedMEF Approaches
In recent years, deep learning [Liu et al., 2024a] has made significant advancements in the field of multi-exposure fusion. DeepFuse [Ram Prabhakar et al., 2017], a pioneering approach, set a precedent by applying the feature processing capabilities of neural networks to MEF. Subsequent methods have predominantly focused on innovations in network architecture and improvements in loss functions. Architecturally, MEF-GAN [Xu et al., 2020b] and AGAL [Liu et al., 2022] introduced Generative Adversarial Networks (GANs), with the former leveraging GANs to effectively extract latent representations from reference images, while the latter employed global-local hierarchical constraints to enhance network learning. More recently, TransMEF [Qu et al., 2022] combined CNN and Transformer modules to extract richer features through self-supervised multi-task learning, and SwinFusion [Ma et al., 2022] utilized the advanced SwinTransformer to achieve global information integration and detail preservation. Differently, CRMEF [Liu et al., 2024c] employed neural architecture search to adaptively derive a supernetwork. In terms of loss functions, following the pioneering MEF-SSIM [Ma et al., 2015], MEF-CL [Xu et al., 2023] and HoLoCo [Liu et al., 2023] introduced contrastive learningbased loss constraints, guiding the fusion process through distinct positive and negative sample settings. HSDS [Wu et al., 2024], on the other hand, used an automated search method to construct loss functions without human intervention. Unfortunately, most current structural improvements tend to focus on network stacking rather than simplification [Liu et al., 2024b], and the potential of cross-modal constraints in loss function improvements remains largely untapped.
2.2 Prompt Learning in Vision
Contrastive Language-Image Pre-Training (CLIP)[Radford et al., 2021] achieved significant success in zero-shot prediction by leveraging large-scale image-text pairs. It has since been widely adapted for a range of visual tasks. By incorporating learnable prompt tokens, CLIP can internalize datasetspecific biases, enhancing its recognition ability for tasks such as object detection[Vidit et al., 2023], style transformation [Kwon and Ye, 2022], and image enhancement [Liang et al., 2023]. CLIP-based prompt learning typically adopts templates from natural language processing, which are fed into the text encoder, while image features are aligned with the textual prompts through the image encoder. Techniques such as StyleCLIP [Patashnik et al., 2021] and StyleGAN [Gal et al., 2022] combine the generative power of GANs with CLIP's semantic guidance, allowing images to be optimized toward target directions while being steered away from undesired features. However, existing prompt learning approaches have rarely addressed low-level vision tasks. In this work, we explore the potential of prompt learning for extracting more accurate exposure representations, enabling more effective multi-exposure image fusion.

where the cosine similarity is used to measure the alignment between image features Φimage(Ii) and prompt features Φtext(Tc).
The labels yi,c are one-hot encoded, indicating which class the image belongs to. Specifically, [1, 0, 0] corresponds to over-exposed images Io, [0, 1, 0] for under-exposed images Iu, and [0, 0, 1] for well-exposed images Iw.
3.2 Loss Function
Once the prompt learning phase is complete, the learned prompts can be used to guide the fusion network. The loss function for the multi-exposure image fusion task consists of two major components: Mean Squared Error (MSE) Loss and CLIP Perceptual Loss. These losses are designed to ensure that the fused image both retains pixel-level accuracy and aligns well with the learned semantic cues from the prompts. CLIP Perceptual Loss. The purpose of the CLIP perceptual loss is to constrain the fused image to be semantically closer to the positive prompt Tp and farther from the negative prompts Tn1 and Tn2 in the CLIP feature space. The formula for this loss is as follows:
This function uses cosine similarity to measure the alignment between the image features Φimage(Ii) and the text features of the prompts. The numerator calculates the distance between the image and the negative prompts, and the denominator normalizes the result by considering all prompts, including the positive one.
Mean Squared Error Loss. To minimize pixel-wise differences between the ground truth and the fused image, we employ the Mean Squared Error (MSE) Loss, calculated as:
where Igt is the ground truth image, and If is the fused image. The MSE loss ensures that the final fused image retains similar pixel intensities to the ground truth image, improving the quality of the fusion process.
3 The ProposedMethod
Our TextMEF is developed in two distinct phases. In the first phase, using CLIP priors, we initialize a set of image prompts derived from under-/over-exposed, and correctly exposed images. These prompts are then refined and fine-tuned to enable better semantic alignment. In the second phase, the learned prompts are fixed and used in conjunction with a contrastive CLIP perceptual loss, which guides the multi-exposure image fusion network based on Mamba architecture.
3.1 Prompt Learning
We start with a set of images, {Io, Iu, Iw}Mi=1 , where Io represents over-exposed images, Iu represents under-exposed images, and Iw represents well-exposed images. The variable M denotes the total number of images in the dataset.
For these images, we initialize one positive prompt Tp ∈ RN×512 and two negative prompts Tn1 and Tn2 ∈ RN×512 , where N refers to the number of embedded tokens in each prompt. These prompts are intended to represent the different lighting conditions of the images. The initialization is done by feeding the images into the image encoder of a pretrained CLIP model to extract image features Φimage, and the prompts are processed through the text encoder to generate their respective text features Φtext.
For effective prompt learning, we leverage a multi-class cross-entropy loss function to fine-tune these prompts so that they properly differentiate between under-exposed, overexposed, and well-exposed images inspired by [Liang et al., 2023]. The multi-class cross-entropy loss function is formulated as:
where ˆ yi,c is the predicted probability of the i-th sample belonging to class c, calculated as:

U2Fusion SDNet DeFusion MEFLUT HSDS-MEF DeepM2CDL FILM
Ours GT
Figure 3: Visual comparison of our method with seven state-of-the-art methods on SICE dataset. The signal maps demonstrate accurate pixel intensity between the ground truth and our method.
Total Loss. The total loss function combines the CLIP Perceptual Loss and the MSE Loss, weighted by a hyperparameter λ:
where λ is a hyperparameter that controls the trade-off between the pixel-level similarity and the semantic alignment.
3.3 Network Architecture
To fully leverage the advantages of the State-Space Model [Gu and Dao, 2023], we have integrated the Mamba into our network. Specifically, our network architecture includes the Attention Mamba, Mutual-guided Mamba, and Adaptive Deep Fuse modules. The source image is first processed through a CNN to convert to feature space, then the Attention Mamba module is used to extract important features. Next, the Mutual-guided Mamba module performs preliminary feature fusion, and then, the Adaptive Deep Fuse module achieves adaptive information fusion. Finally, the fused features are passed through a convolutional layer and a skip connection from the source images to produce the final fused image. Each module will be introduced below.
Attention Mamba Block. Given the feature maps F Iu i and F Io i ∈ RB×C×H×W for under-exposed and over-exposed images, respectively, the Attention Mamba module contributes to compute attention weight maps to guide the extraction of more prominent features, thereby laying a foundation for more complementary and complete information fusion. The feature extraction process can be defined as follows:
where Au(·) and Ao(·) are the Attention Mamba Modules, and ⊙ indicates point-wise multiplication.
Mutual-Guided Mamba Block. The mutual-guided Mamba block achieves lightweight information complementarity through a simple channel exchange method. Given the image features F Iu i ∈ RB×N×C and F Io i ∈ RB×N×C , the Mutual-Guided Mamba aims to achieve lightweight information complementarity and interaction through channel swapping. Specifically, Mutual-Guided Mamba splits the features along the channel dimension into two halves. The first half of the channels from F Io i is concatenated with the second half of the channels from F Iu i to obtain F Iu i+1 and vice versa.
Adaptive Deep Fuse Block. The common element-wise addition fusion method overlooks the weights of the fused objects, which is detrimental to preserving prominent features. Inspired by [Chen et al., 2024], we adopt a Content Guided Attention (CGA)-based Mixup Fusion scheme to form our adaptive deep fusion module. The CGA module provides self-learned channel and spatial attention weights to adaptively modulate the feature fusion. The detailed feature fusion process is defined as follows:
This final fused feature map Ffuse integrates the adaptive fusion process, where the weights ω control the contributions of the under-exposed and over-exposed images in the fusion process. The convolutional layer C1×1 is used to process the weighted fusion output.
In this formulation, we ensure that the network learns optimal fusion strategies by adapting the weight allocation dynamically, considering both channel and spatial attention.
4 Experiments
4.1 Implementation Details
We conduct experiments on the SICE [Cai et al., 2018] dataset. The training process consists of prompt learning and During the training process, all images are cropped to a size of 224×224, and data augmentations including flip, rotate, and zoom are used. The batch size and epochs for the prompt learning and image fusion are set to 16/8 and 160/200, respectively. We employ the Adam optimizer to guide parameter optimization. The learning rate for the prompt learning is set to 5e-5 , while the initial learning rate for the image fusion is set to 2e-4 , with a learning rate decay of 0.1 at epochs 100 and 135. The overall framework is implemented on Pytorch with an NVIDIA Tesla V100 GPU.

4.2 ComparisonMethods &EvaluationMetrics
We compare our method with seven state-of-the-art deep learning-based competitors, i.e., U2Fusion [Xu et al., 2020a], SDNet [Zhang and Ma, 2021], DeFusion [Liang et al., 2022], MEFLUT [Jiang et al., 2023], HSDS-MEF [Wu et al., 2024], DeepM2CDL [Deng et al., 2023], and FILM [Zhao et al., 2024]. All methods are tested with their official codes.
For quantitative analysis, a total of nine metrics are adopted, including three reference-based metrics, i.e., PSNR [Huynh-Thu and Ghanbari, 2008], SSIM [WANGZ et al., 2004], and TMQI [Yeganeh and Wang, 2012], and six no-reference metrics, i.e., EN [Roberts et al., 2008], AG [Es-
4.3 Qualitative Comparisons
We present a visual comparison on the SICE [Cai et al., 2018] dataset in Figure 3. Certain methods, e.g., U2Fusion and HSDS-MEF, suffer from significant detail loss in extremely under-exposed and over-exposed areas (see the paper in the red region of the first image sequence and the building in the blue region of the second image sequence). Other methods, e.g., DeFusion, MEFLUT, DeepM2CDL, and FILM, exhibit noticeable artifacts (particularly evident in the unnatural colors of the clouds in the second image sequence). Thanks to the CLIP Perceptual Loss, our method excellently balances details and luminance, producing fused results that realistically simulate natural illumination. Moreover, in the RGB curves shown below, our method exhibits a distribution closest to the ground truth, demonstrating the outstanding color balance capability of our method.
Furthermore, we evaluate our method on the MEF [Ma et al., 2017] and Mobile [Jiang et al., 2023] datasets, with the comparison results shown in Figures 4 and 5. As illustrated in Figure 4, most methods suffer from blurred artifacts, leading to the loss of high-frequency information. Additionally, as seen in the second image sequence, many competing meth-
| Dataset | SICE | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Source | EN | PSNR | SSIM | TMQI | MUSIQ | PaQ-2-PiQ | EN | PSNR | SSIM | TMQI | MUSIQ | PaQ-2-PiQ |
| U2Fusion | TPAMI'20 | 6.603 | 19.08 | 0.774 | 0.872 | 61.88 | 71.55 | 6.955 | 20.24 | 0.803 | 0.884 | 62.90 | 72.27 |
| SDNet | IJCV'21 | 6.638 | 19.27 | 0.808 | 0.888 | 65.91 | 73.66 | 7.142 | 20.10 | 0.836 | 0.893 | 68.15 | 74.21 |
| DeFusion | ECCV'22 | 6.648 | 12.79 | 0.718 | 0.736 | 59.78 | 71.96 | 7.076 | 17.07 | 0.802 | 0.838 | 64.95 | 73.09 |
| MEFLUT | ICCV'23 | 6.983 | 14.32 | 0.754 | 0.766 | 60.71 | 72.06 | 7.231 | 17.73 | 0.824 | 0.836 | 66.56 | 73.49 |
| HSDS-MEF | AAAI'24 | 7.039 | 20.20 | 0.862 | 0.908 | 67.09 | 73.66 | 7.232 | 20.96 | 0.833 | 0.893 | 66.83 | 73.71 |
| DeepM2CDL | TPAMI'24 | 6.698 | 18.91 | 0.779 | 0.892 | 61.64 | 71.96 | 6.969 | 20.65 | 0.802 | 0.895 | 61.89 | 72.34 |
| FILM | ICML'24 | 7.048 | 13.68 | 0.815 | 0.805 | 63.89 | 73.68 | 7.323 | 16.53 | 0.847 | 0.844 | 66.93 | 73.90 |
| Ours | Proposed | 7.268 | 22.15 | 0.895 | 0.926 | 68.64 | 75.10 | 7.290 | 21.97 | 0.848 | 0.910 | 67.28 | 74.18 |
| Improvement | 0.220 | 1.950 | 0.033 | 0.018 | 1.550 | 1.420 | -0.033 | 1.010 | 0.001 | 0.015 | -0.870 | -0.030 | |

4.5 Ablation Studies
Study on Prompt Learning. We investigated the impact of prompt learning on the fusion stage using three variants for
Figure 6: Quantitative comparison with seven state-of-the-art methods on the MEF dataset.
ods display dull colors. Empowered by the specially designed Mamba modules, our method excels at preserving edge information while maintaining good contrast. Figure 5 presents a similar situation to Figure 4, where our method demonstrates superior ability to restore texture details and vibrant colors compared to the competitors.
4.4 Quantitative Comparisons
Table 1 presents a qualitative comparison on the SICE and Mobile datasets. Our method achieved significantly higher performance on reference-based metrics compared to the competitors, demonstrating that the proposed method delivers image content structure and visual perception closest to the ground truth. Moreover, on the learning-based no-reference metrics, MUSIQ and PaQ-2-PiQ, our method achieves the best performance on the SICE dataset and came in second only to SDNet on the Mobile dataset, indicating that our method strongly aligns with the priors of high perceptual quality. Additionally, the quantitative comparison on the MEF dataset is shown in Figure 6. It is notable that our method significantly outperforms all other competitors across all metrics, demonstrating its ability to produce images with rich details, high edge strength and contrast, and alignment with human visual perception.

experiments on the weight of the CLIP perceptual loss. As shown in Figure 8, λ = 0 (i.e., w/o Lclip) maintains overall proximity to the reference but struggles with varying brightness, leading to local detail loss (prominently shown on the building in the red rigion of the third image sequence). Higher weights (i.e., λ = 5e-1 ) enhance texture details but introduce unnatural colors and severe noise due to weakened pixel constraints (see the first and third sequences). At a weight of 1e-2 , the loss function strikes an optimal balance between pixel-level and semantic constraints, resulting in visually appealing outcomes. The quantitative results in Table 2 further validate this fact.

@inproceedings{ijcai2025p175,
title = {TextMEF: Text-guided Prompt Learning for Multi-exposure Image Fusion},
author = {Liu, Jinyuan and Huang, Qianjun and Wu, Guanyao and Wang, Di and Jiang, Zhiying and Ma, Long and Liu, Risheng and Fan, Xin},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {1567--1575},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/175},
url = {https://doi.org/10.24963/ijcai.2025/175},
}
TY - CPAPER TI - TextMEF: Text-guided Prompt Learning for Multi-exposure Image Fusion AU - Liu, Jinyuan AU - Huang, Qianjun AU - Wu, Guanyao AU - Wang, Di AU - Jiang, Zhiying AU - Ma, Long AU - Liu, Risheng AU - Fan, Xin T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 1567 EP - 1575 DO - 10.24963/ijcai.2025/175 UR - https://doi.org/10.24963/ijcai.2025/175 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: