Bokeh Diffusion: Defocus Blur Control in Text-to-Image Diffusion Models
On the map: Diffusion models → 3D, point cloud and scene generation
Abstract (arXiv)
Recent advances in large-scale text-to-image models have revolutionized creative fields by generating visually captivating outputs from textual prompts; however, while traditional photography offers precise control over camera settings to shape visual aesthetics - such as depth-of-field via aperture - current diffusion models typically rely on prompt engineering to mimic such effects. This approach often results in crude approximations and inadvertently alters the scene content. In this work, we propose Bokeh Diffusion, a scene-consistent bokeh control framework that explicitly conditions a diffusion model on a physical defocus blur parameter. To overcome the scarcity of paired real-world images captured under different camera settings, we introduce a hybrid training pipeline that aligns in-the-wild images with synthetic blur augmentations, providing diverse scenes and subjects as well as supervision to learn the separation of image content from lens blur. Central to our framework is our grounded self-attention mechanism, trained on image pairs with different bokeh levels of the same scene, which enables blur strength to be adjusted in both directions while preserving the underlying scene. Extensive experiments demonstrate that our approach enables flexible, lens-like blur control, supports downstream applications such as real image editing via inversion, and generalizes effectively across both Stable Diffusion and FLUX architectures.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in 3D, point cloud and scene generation, one of 14 directions in Diffusion models. Builds on 51 of its 79 references that are in the map. First posted on arXiv 11 Mar 2025.
Builds on
51 of 79 references.
Closest ancestors · 4
Same direction, newest first
- 2024DimensionX: Create Any 3D and 4D Scenes from a Single Image with Controllable Video Diffusion7 Nov
- 2024Customizing Text-to-Image Diffusion with Object Viewpoint Control18 Apr
- 2024Learning Continuous 3D Words for Text-to-Image Generation13 Feb
- 2023Curved Diffusion: A Generative Model With Optical Geometry Control29 Nov
Other references · 47
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2024GPT-4o System Cardcited by 4,588
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
35 more
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
- 2023InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Taskscited by 2,565
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 2,010
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,464
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Modelscited by 1,351
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 727
- 2023MotionCtrl: A Unified and Flexible Motion Controller for Video Generationcited by 580
- 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
- 2023Florence-2: Advancing a Unified Representation for a Variety of Vision Taskscited by 410
- 2024Depth Pro: Sharp Monocular Metric Depth in Less Than a Secondcited by 404
- 2023FastComposer: Tuning-Free Multi-Subject Image Generation with Localized Attentioncited by 313
- 2023Efficient Diffusion Training via Min-SNR Weighting Strategycited by 246
- 2023Style Aligned Image Generation via Shared Attentioncited by 216
- 2023One Transformer Fits All Distributions in Multi-Modal Diffusion at Scalecited by 187
- 2024InstantStyle: Free Lunch towards Style-Preserving in Text-to-Image Generationcited by 170
- 2020Defocus Deblurring Using Dual-Pixel Datacited by 139
- 2023Cross-Image Attention for Zero-Shot Appearance Transfercited by 136
- 2023Prodigy: An Expeditiously Adaptive Parameter-Free Learnercited by 133
- 2024Bilateral Reference for High-Resolution Dichotomous Image Segmentationcited by 112
- 2018Synthetic Depth-of-Field with a Single-Camera Mobile Phonecited by 71
- 2024Trajectory Attention for Fine-grained Video Motion Controlcited by 63
- 2024Video Diffusion Models are Training-free Motion Interpreter and Controllercited by 61
- 2020Rendering Natural Camera Bokeh Effect with Deep Learningcited by 57
- 2024ViewDiff: 3D-Consistent Image Generation with Text-to-Image Modelscited by 57
- 2022BokehMe: When Neural Rendering Meets Classical Renderingcited by 48
- 2024Add-it: Training-Free Object Insertion in Images With Pretrained Diffusion Modelscited by 43
- 2019Synthetic Defocus and Look-Ahead Autofocus for Casual Videographycited by 28
- 2024Edify Image: High-Quality Image Generation with Pixel Space Laplacian Diffusion Modelscited by 23
- 2023Dr.Bokeh: DiffeRentiable Occlusion-aware Bokeh Renderingcited by 19
- 2023Generative Powers of Tencited by 15
Built on by
Citing papers per year: 2025: 6; 2026: 4.
10 papers.
- 2025DiffCamera: Arbitrary Refocusing on Imagescited by 5
- 2025Generative Refocusing: Flexible Defocus Control from a Single Imagecited by 4
- 2025CameraMaster: Unified Camera Semantic-Parameter Control for Photography Retouchingcited by 3
- 2025Any-to-Bokeh: Arbitrary-Subject Video Refocusing with Video Diffusion Modelcited by 1
- 2025Fine-grained Defocus Blur Control for Generative Image Modelscited by 1
- 2025Boosting Monocular Metric Depth Estimation via Bokeh Renderingcited by 1
- 2026AnyBokeh: Physics-Guided Any-to-Any Bokeh Editing with Optical Fingerprint Transfercited by 1
- 2026LensStyle: Learning the Optical Aesthetics for Controllable Stylized Lens Effect Renderingcited by 1
- 2026General and Efficient Steering of Diffusion Modelscited by 0
- 2026SmartPhotoCrafter: Unified Reasoning, Generation and Optimization for Automatic Photographic Image Editingcited by 0
- 2026LensStyle: Learning the Optical Aesthetics for Controllable Stylized Lens Effect Rendering4 Sep 2026
- 2026AnyBokeh: Physics-Guided Any-to-Any Bokeh Editing with Optical Fingerprint Transfer30 Jun 2026
- 2026SmartPhotoCrafter: Unified Reasoning, Generation and Optimization for Automatic Photographic Image Editing21 Apr 2026
- 2026General and Efficient Steering of Diffusion Models11 Feb 2026
- 2025Generative Refocusing: Flexible Defocus Control from a Single Image18 Dec 2025
- 2025Boosting Monocular Metric Depth Estimation via Bokeh Rendering13 Dec 2025
- 2025CameraMaster: Unified Camera Semantic-Parameter Control for Photography Retouching26 Nov 2025
- 2025Fine-grained Defocus Blur Control for Generative Image Models7 Oct 2025
- 2025DiffCamera: Arbitrary Refocusing on Images30 Sep 2025
- 2025Any-to-Bokeh: Arbitrary-Subject Video Refocusing with Video Diffusion Model27 May 2025
Similar, not cited
Close in wording, no citation either way
- 2023GBSD: Generative Bokeh with Stage Diffusion
- 2025BokehFlow: Depth-Free Controllable Bokeh Rendering via Flow Matching
- 2025BokehDiff: Neural Lens Blur with One-Step Diffusion
- 2026Panoptic Scene Program Diffusion Transformer
- 2026Learning Illumination Control in Diffusion Models
- 2025Learning to Refocus with Video Diffusion Models
- 2024DiffuseHigh: Training-free Progressive High-Resolution Image Synthesis through Structure Guidance
- 2026Diffusion Editing with Soft Mask: Pixel Level Redo of Image and Video with Adjustable Strength