Reference-Aware Pixel Residual Injection for Unified Image Editing
Route uncompressed reference-image patches directly to the diffusion head during editing so unified multimodal models preserve fine visual details without weakening semantic understanding.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
In Sections 3.2 and 3.3, HiUni uses a shared 2x2 patch-merged ViT pathway for both the noisy target image and the clean reference image during image editing, while HiGate only injects raw 32x32 pixel patches from the noisy target image at target visual positions before the Pixel Diffusion Head.
“Only the target visual positions are updated by this residual injection, and the resulting features continue through the Pixel Diffusion Head.”
Limitation
Because reference images in editing lack a direct pixel-level bypass like HiGate, all fine-grained local textures, identity cues, and background details of the source image must pass through the lossy 32x32 patch merger and deep semantic ViT layers, contributing to HiUni trailing specialized editing models on ImgEdit (3.66 vs. 4.02) and GEdit.
Proposed Solution
Extend HiGate into a cross-image detail routing module that extracts multi-scale convolutional or patch-aligned features from the clean reference image and fuses them into the target diffusion features via spatially aligned cross-attention or deformable warped gating conditioned on the editing mask or backbone attention maps, while keeping the main ViT semantic pathway unchanged.
Why This Matters
Adding direct reference-pixel routing is expected to substantially improve local texture preservation, background consistency, and object removal/replacement fidelity in image editing without sacrificing the shared backbone's understanding performance.
How to Get Started
How to test it: Test the hypothesis that cross-attending clean reference pixel features into the diffusion head improves editing fidelity over standard HiUni without degrading understanding, beating the 3.66 ImgEdit and 6.70/6.81 GEdit baselines while keeping MMBenchEN within 0.5 points; stop if ImgEdit overall improves by less than 0.15 points or identity preservation fails to improve on Remove and Replace subsets.
- Reproduce the HiUni-Dense-2B plus 0.5B Pixel Diffusion Head architecture from open-weight Qwen3-VL-2B-Instruct and train a baseline on public ImgEdit, OmniEdit, and HumanEdit splits.
- Implement a lightweight reference-image encoder branch matching the 32x32 spatial token layout and add gated cross-attention between target diffusion states and reference pixel projections inside HiGate.
- Evaluate both baseline and modified models on the official ImgEdit test split and GEdit using the VIEScore protocol, comparing background and identity preservation.
- Run understanding benchmarks (MMBenchEN, OCRBench, HallusionBench) to verify that the reference-detail bypass introduces zero degradation to VLM capabilities.
Suggested by AI. Adapt it to your setup.
Has This Been Done?
The listed surveys and editing papers such as 'A Survey of Multimodal-Guided Image Editing with Text-to-Image Diffusion Models' and 'QK-Edit: Revisiting Attention-based Injection in MM-DiT for Image and Video Editing' discuss high-level adapter injection and general unified editing pipelines, but do not describe the specific cross-image detail routing module combining patch-aligned features with deformable warped gating and mask conditioning.
- Edit Where You Mean: Region-Aware Adapter Injection for Mask-Free Local Image Editing · 2026 · 1 citations
- QK-Edit: Revisiting Attention-based Injection in MM-DiT for Image and Video Editing · 2025 · 18 citations
We searched OpenAlex and arXiv for “reference image detail injection pixel diffusion editing unified multimodal” and “Reference-Aware Pixel Residual Injection for Unified Image Editing” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
HiUni: Harmonizing Understanding and Generation in Shared Visual SpaceJiahao Hu, Jingdong Du, Yichen Zhang +10 more · 2026
HiUni explores whether a pretrained vision-language model (Qwen3-VL-4B-Instruct) can be directly extended into a unified multimodal model for visual understanding, image generation, and image editing using a single shared visual encoder and dense Transformer backbone. By confining task-specific computation to the output modules, the model retains strong visual understanding while achieving competitive image generation and editing performance without task-specific backbone routing.
Related Ideas
- Decoupling Pixel-Aligned Decoder Conditioning for Open-Ended Single-Pass Image EditingJeveration: System One Models Now Generate🟠Medium
- Mask-Aware Flow Matching for Zero-Destruction Text EditingInternVL-U: Democratizing Unified Multimodal Models for Understanding, Reasoning, Generation and Editing🟠Medium
- Mask-Guided Spatiotemporal Token Pruning for InferenceDreamID-V:Bridging the Image-to-Video Gap for High-Fidelity Face Swapping via Diffusion Transformer🟡Fairly easy
- Cross-Model Transferable Pixel Decoders via Feature Adapters and Knowledge DistillationFastFrames: Video Generation at Interactive Latency🟠Medium
- Native Video-Based Instructive Editing PipelineOmniVCus: Feedforward Subject-driven Video Customization with Multimodal Control Conditions🔴Hard