Despite the remarkable performance of text-to-image diffusion models in image generation tasks, recent studies have raised the issue that generated images sometimes cannot capture the intended semantic contents of the text prompts, which phenomenon is often called semantic misalignment. To address this, here we present a novel energy-based model (EBM) framework for adaptive context control by modeling the posterior of context vectors. Specifically, we first formulate EBMs of latent image representations and text embeddings in each cross-attention layer of the denoising autoencoder. Then, we obtain the gradient of the log posterior of context vectors, which can be updated and transferred to the subsequent cross-attention layer, thereby implicitly minimizing a nested hierarchy of energy functions. Our latent EBMs further allow zero-shot compositional generation as a linear combination of cross-attention outputs from different contexts. Using extensive experiments, we demonstrate that the proposed method is highly effective in handling various image generation tasks, including multi-concept generation, text-guided image inpainting, and real and synthetic image editing. Code: https://github.com/EnergyAttention/Energy-Based-CrossAttention.
Bayesian Diffusion Models for 3D Shape Reconstruction
University of Science and Technology of China(中国科学技术大学);Shanghai Jiao Tong University(上海交通大学);University of California, San Diego(加利福尼亚大学圣迭戈分校);Tsinghua University(清华大学)
BayesDiff: Estimating Pixel-wise Uncertainty in Diffusion via Bayesian Inference
Qing Yuan Research Institute(清源研究院);SEIEE, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
Bayesian computation with generative diffusion models by Multilevel Monte Carlo
School of Mathematical and Computer Sciences, Heriot-Watt University(赫瑞斯泰学院数学与计算机科学系);Departament de Matemàtiques and IMAC, Universitat Jaume I(数学系和IMAC, Jaime I大学);School of Mathematics, University of Edinburgh(爱丁堡大学数学系);Maxwell Institute for Mathematical Sciences, Edinburgh(爱丁堡数学科学研究所)
针对扩散模型用于贝叶斯逆问题 Monte Carlo 计算时神经评估成本高的问题,提出 Multilevel Monte Carlo 多层耦合策略,在不损失精度的情况下于三个成像基准上降低 4 至 8 倍成本。
Benchmarking Diffusion Annealing-Based Bayesian Inverse Problem Solvers
Oden Institute for Computational Engineering and Sciences, The University of Texas at Austin(奥登计算工程与科学研究所,德克萨斯大学奥斯汀分校);Dept of Biomedical Engineering, The University of Texas at Austin(生物医学工程系,德克萨斯大学奥斯汀分校)
BAT3R: Robust Online 3D Reconstruction with Bayesian Adaptive State Updates
University of Macau(澳门大学);School of Computer Science, Peking University(北京大学计算机学院);Key Laboratory of High Confidence Software Technologies (Peking University)(高可信软件技术重点实验室(北京大学))
Unsupervised Brain Anomaly Detection as a Bayesian Inverse Problem with Diffusion Prior
Sorbonne Université(索邦大学);Institut du Cerveau - Paris Brain Institute - ICM(巴黎大脑研究所);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Inserm(法国国家健康与医学研究院);AP-HP(巴黎公立医院集团);Hôpital de la Pitié Salpêtrière(皮提耶-萨尔佩特里埃医院)
Hallucination-Aware Diffusion Sampling for Inverse Problems via Robust Prior Updates
Center for Advanced Medical Computing and Analysis, Massachusetts General Hospital and Harvard Medical School(先进医学计算与分析中心,麻省总医院和哈佛医学院);Department of Industrial Engineering, University of Pittsburgh(工业工程系,匹兹堡大学)
Joint inference on structural and diffusion MRI for sequence-adaptive Bayesian segmentation of thalamic nuclei with probabilistic atlases
University College London(伦敦大学学院);Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院);MIT(麻省理工学院);Technical University of Denmark(丹麦技术大学)