Papers › Text-DiFuse: An Interactive Multi-Modal Image Fusion Framework based on Text-modulated...

Text-DiFuse: An Interactive Multi-Modal Image Fusion Framework based on Text-modulated Diffusion Model

31 Oct 2024arXiv:2410.23905archive 2025-07-28

Hao Zhang, Lei Cao, Jiayi Ma

Existing multi-modal image fusion methods fail to address the compound degradations presented in source images, resulting in fusion images plagued by noise, color bias, improper exposure, \textit{etc}. Additionally, these methods often overlook the specificity of foreground objects, weakening the salience of the objects of interest within the fused images. To address these challenges, this study proposes a novel interactive multi-modal image fusion framework based on the text-modulated diffusion model, called Text-DiFuse. First, this framework integrates feature-level information integration into the diffusion process, allowing adaptive degradation removal and multi-modal information fusion. This is the first attempt to deeply and explicitly embed information fusion within the diffusion process, effectively addressing compound degradation in image fusion. Second, by embedding the combination of the text and zero-shot location model into the diffusion fusion process, a text-controlled fusion re-modulation strategy is developed. This enables user-customized text control to improve fusion performance and highlight foreground objects in the fused images. Extensive experiments on diverse public datasets show that our Text-DiFuse achieves state-of-the-art fusion performance across various scenarios with complex degradation. Moreover, the semantic segmentation experiment validates the significant enhancement in semantic performance achieved by our text-controlled fusion re-modulation strategy. The code is publicly available at https://github.com/Leiii-Cao/Text-DiFuse.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.23905")

Code

Syntology Ran 8 of 25 code samples harvested from 1 repository linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 25 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

leiii-cao/text-difuse officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 8 ran; 1 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
4ran
17unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from leiii-cao/text-difuse. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CBAM leiii-cao/text-difuse/diffusion_fusion/unet.py official repository ran MIT (permissive) · 2aaae79c9ede0635 · report
ChannelAttentionModule leiii-cao/text-difuse/diffusion_fusion/unet.py official repository ran MIT (permissive) · 4b4b3d10f2b6b2ea · report
Get_Fusion_Control_Model leiii-cao/text-difuse/diffusion_fusion/unet.py official repository ran MIT (permissive) · 7d354c931a8b73fb · report
SpatialAttentionModule leiii-cao/text-difuse/diffusion_fusion/unet.py official repository ran fingerprinted MIT (permissive) · 3e2d5f9fbded1106 · report
get_named_beta_schedule Leiii-Cao/Text-DiFuse/diffusion_fusion/gaussian_diffusion.py official repository ran · honoured contract MIT (permissive) · a086d6286a40b889 · report
group_norm leiii-cao/text-difuse/diffusion_fusion/unet.py official repository ran · our draft was wrong MIT (permissive) · 2d450c485d6f0636 · report
normal_kl Leiii-Cao/Text-DiFuse/diffusion_fusion/losses.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 4707efa98ac6b989 · report
zero_module Leiii-Cao/Text-DiFuse/diffusion_fusion/nn_util.py official repository ran · our draft was wrong MIT (permissive) · 129b804760b3115f · report
Get_feature_all Leiii-Cao/Text-DiFuse/diffusion_fusion/gaussian_diffusion.py official repository unverified MIT (permissive) · bd2216dfcf7872aa · report
Spit_feature_all Leiii-Cao/Text-DiFuse/diffusion_fusion/gaussian_diffusion.py official repository unverified MIT (permissive) · 4e5dd44f6551d1d8 · report
approx_standard_normal_cdf Leiii-Cao/Text-DiFuse/diffusion_fusion/losses.py official repository unverified MIT (permissive) · f15aa225ff9ad213 · report
avg_pool_nd Leiii-Cao/Text-DiFuse/diffusion_fusion/nn_util.py official repository unverified MIT (permissive) · ecd0fc28815b65ae · report
conv_nd Leiii-Cao/Text-DiFuse/diffusion_fusion/nn_util.py official repository unverified MIT (permissive) · fe4eb545bbb728e0 · report
create_model_and_diffusion Leiii-Cao/Text-DiFuse/diffusion_fusion/script_util.py official repository unverified MIT (permissive) · d9013b673760ac7c · report
create_named_schedule_sampler Leiii-Cao/Text-DiFuse/diffusion_fusion/resample.py official repository unverified MIT (permissive) · 34431d326a1db3be · report
create_window Leiii-Cao/Text-DiFuse/diffusion_fusion/util.py official repository unverified MIT (permissive) · 667496bffcb3922d · report
detect_objects Leiii-Cao/Text-DiFuse/modulated/util.py official repository unverified MIT (permissive) · 6e228e6f353adfc1 · report
diffusion_stage1_create_model Leiii-Cao/Text-DiFuse/diffusion_fusion/script_util.py official repository unverified MIT (permissive) · 630ea2365cd982bf · report
diffusion_stage2_create_model Leiii-Cao/Text-DiFuse/diffusion_fusion/script_util.py official repository unverified MIT (permissive) · 59ec9ffb7aaf338a · report
discretized_gaussian_log_likelihood Leiii-Cao/Text-DiFuse/diffusion_fusion/losses.py official repository unverified MIT (permissive) · 9665e15b8cd77a32 · report
gaussian Leiii-Cao/Text-DiFuse/diffusion_fusion/util.py official repository unverified MIT (permissive) · c813c3992f7b56da · report
is_image_file Leiii-Cao/Text-DiFuse/diffusion_fusion/util.py official repository unverified MIT (permissive) · eb656fe08a6a70c4 · report
load_owlvit Leiii-Cao/Text-DiFuse/modulated/util.py official repository unverified MIT (permissive) · b930371b74e318b8 · report
space_timesteps Leiii-Cao/Text-DiFuse/diffusion_fusion/respace.py official repository unverified MIT (permissive) · 48416fe6fb1e3520 · report
time_embedding Leiii-Cao/Text-DiFuse/diffusion_fusion/unet.py official repository unverified MIT (permissive) · 6ddd349a862de98b · report

Tasks

Semantic SegmentationSpecificity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections