[Paper Review] Bi-level Feature Alignment for Versatile Image Translation and Manipulation
This paper proposes RABIT, a novel bi-level feature alignment framework for versatile image translation and manipulation that achieves high-fidelity, style-accurate image generation by combining a differentiable top-k ranking with dense attention to reduce computational cost. It introduces semantic position encoding for structure preservation and a confidence feature injection module to handle semantic mismatches, outperforming SOTA methods in both quantitative metrics and user studies.
Generative adversarial networks (GANs) have achieved great success in image translation and manipulation. However, high-fidelity image generation with faithful style control remains a grand challenge in computer vision. This paper presents a versatile image translation and manipulation framework that achieves accurate semantic and style guidance in image generation by explicitly building a correspondence. To handle the quadratic complexity incurred by building the dense correspondences, we introduce a bi-level feature alignment strategy that adopts a top-$k$ operation to rank block-wise features followed by dense attention between block features which reduces memory cost substantially. As the top-$k$ operation involves index swapping which precludes the gradient propagation, we approximate the non-differentiable top-$k$ operation with a regularized earth mover's problem so that its gradient can be effectively back-propagated. In addition, we design a novel semantic position encoding mechanism that builds up coordinate for each individual semantic region to preserve texture structures while building correspondences. Further, we design a novel confidence feature injection module which mitigates mismatch problem by fusing features adaptively according to the reliability of built correspondences. Extensive experiments show that our method achieves superior performance qualitatively and quantitatively as compared with the state-of-the-art.
Motivation & Objective
- To address the challenge of high-fidelity image generation with faithful style control in image translation and manipulation.
- To reduce the quadratic memory cost of dense feature correspondence building between conditional inputs and exemplars.
- To preserve texture structures during exemplar warping by incorporating spatial coherence beyond semantic similarity.
- To mitigate errors from semantic mismatches between conditional inputs and exemplars through adaptive feature fusion.
- To enable versatile, high-resolution image translation and editing with consistent semantics and faithful styles.
Proposed method
- Proposes a bi-level feature alignment strategy using a top-k ranking operation to select relevant feature blocks, followed by dense attention between them to reduce memory cost from O(L²) to O(N² + b²).
- Introduces a differentiable approximation of the non-differentiable top-k operation via a regularized Earth Mover’s problem to enable gradient back-propagation.
- Designs a semantic position encoding (SPE) mechanism that assigns region-specific coordinates to preserve texture patterns during feature alignment.
- Develops a confidence feature injection (CONFI) module that adaptively fuses features from conditional inputs and warped exemplars based on the reliability of built correspondences.
- Employs a ranking and attention scheme (RAS) that enables high-resolution, efficient feature matching between conditional inputs and exemplar images.
- Uses a GAN-based generator with adversarial and perceptual losses to ensure photo-realism and high-fidelity generation.
Experimental results
Research questions
- RQ1How can we efficiently build dense feature correspondences between conditional inputs and exemplars without incurring quadratic memory cost?
- RQ2How can we make the top-k operation differentiable to enable end-to-end training in feature matching?
- RQ3How can we preserve fine-grained texture structures during exemplar warping when relying only on semantic correspondence?
- RQ4How can we handle semantic mismatches between conditional inputs and exemplars to prevent erroneous style transfer?
- RQ5To what extent does the proposed method improve visual quality and style consistency compared to state-of-the-art approaches?
Key findings
- RABIT achieves the lowest Fréchet Inception Distance (FID) of 26.61 on the ADE20K dataset, outperforming all SOTA methods.
- On the CelebA-HQ dataset, RABIT achieves an FID of 60.87 and an IS of 21.07, significantly outperforming MaskGAN (FID: 80.89, IS: 23.86).
- In user studies on Amazon Mechanical Turk, RABIT received the highest average score for both image quality and style consistency across multiple datasets.
- RABIT achieves an Inception Score (IS) of 0.823 on ADE20K, surpassing the next best method (0.744) by a large margin.
- Qualitative results show that RABIT generates images with sharper textures, better semantic consistency, and more faithful style transfer than SOTA methods.
- The ablation study confirms that each component—SPE, CONFI, and differentiable top-k—contributes significantly to performance gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.