A2BFR: Attribute-Aware Blind Face Restoration

Chenxin Zhu, Yushun Fang, Lu Liu, Shibo Yin, Xiaohong Liu, Xiaoyun Zhang, Qiang Hu, Guangtao ZhaiarXiv 2026

TL;DR

$A^2BFR$ is a novel single-stage framework that unifies high-fidelity blind face restoration with precise text-prompt control. By introducing attribute-aware learning and semantic dual-training on a newly curated 90K image-pair dataset, it successfully restores severely degraded facial images while accurately adding or modifying specific attributes (like glasses, expressions, or hairstyles) without losing the person's identity.

What Problem Does This Paper Address?

Blind Face Restoration (BFR) aims to recover high-quality faces from blurry, noisy, or heavily compressed images. However, because severe degradation wipes out fine details, the problem is inherently ill-posed: multiple distinct high-quality faces could realistically map back to the same degraded input.

Existing diffusion-based BFR methods generate highly realistic faces, but they are completely uncontrollable—they simply "guess" missing features like whether a person wore glasses or was smiling. Conversely, text-guided face editing methods can manipulate attributes but fail at reliable restoration, often causing "structural drift" or altering the person's core identity.

The authors address this gap by creating a single-stage framework that treats textual instructions as a primary control signal alongside the degraded visual cues, ensuring both high fidelity and precise attribute control.

Fig. 1: Left: Prompt-guided specific restoration avoids uncontrolled solutions in ill- posed BFR. Middle: Compared with restore-only and restore-then-edit pipelines, A2BFR achieves faithful yet attribute-aligned restoration. Right: Quantitative results show that A2BFR simultaneously achieves superior fidelity and attribute accuracy, outperforming all compared restoration and editing methods.

Methods

$A^2BFR$ is built upon a rectified-flow Diffusion Transformer (DiT) backbone (Flux 1.0-Dev) equipped with lightweight LoRA adapters for efficient fine-tuning. The core technical innovations include:

  • Joint Cross-Modal Conditioning: Visual tokens from both the noise and the low-quality (LQ) image are concatenated with textual tokens from the prompt. These are jointly processed through unified cross-modal attention layers, allowing the text to actively steer the denoising trajectory.
  • Attribute-Aware Learning (AAL): To prevent semantic drift, intermediate denoising latents are decoded and passed through a pretrained attribute-aware encoder ($E_{AAE}$). A binary cross-entropy loss ensures that the intermediate features strictly align with the target attributes.
  • Semantic Dual-Training (SDT): To force the model to actually listen to text prompts rather than ignoring them in favor of visual cues, the authors implement a dual-branch training strategy. The model is simultaneously fed the same degraded image but given two different text prompts (e.g., "wearing glasses" vs. "not wearing glasses"). A margin-based contrastive loss ($L_{dual}$) maximizes the separation between these two branches in the attribute space, while the shared visual input anchors the identity and facial geometry.

Datasets

The authors introduce AttrFace-90K, a large-scale dataset specifically tailored for attribute-aware BFR.

  • Composition: It contains 90,212 high-quality face pairs and 180,424 fine-grained descriptive captions spanning 12 attribute categories (e.g., age, hairstyle, expression, eyeglasses).
  • Construction: Built using Qwen3 for prompt generation and FlowEdit + SD3.5 for high-fidelity editing. It features a progressive quality-control pipeline (attribute, identity, and structural similarity checks) to ensure high identity preservation and structural consistency.
Fig. 2: AttrFace-90K overview. (a) Data construction pipeline: starting from HQ faces (FFHQ/ReFace-HQ/CelebA-HQ), we extract features, classify attributes, build prompts with Qwen3, and perform attribute editing with FlowEdit+SD3.5, followed by post-checks. (b) Attribute distribution: percentage of each controllable attribute across 90K pairs. (c) Image pair examples: source–target pairs for typical attributes.

For evaluation, the authors utilize AttrFace-90K-Test, CelebRef-HQ-Test, and three real-world benchmarks: LFW-Test, Wider-Test, and WebPhoto-Test.

Key Insights and Ideas

  • Overcoming Supervision Imbalance: In standard text-guided BFR, models often learn to ignore text because the low-quality image mapping dominates the optimization. Elevating text to a primary constraint requires explicit paired, attribute-varying data during training.
  • Decoupling Identity from Attributes: By utilizing a dual-branch architecture on identical degraded inputs, the model learns to keep identity-defining structures frozen while dynamically altering only the text-specified semantic regions.
  • Robust Zero-Shot Generalization: Even though trained on 12 specific attributes within AttrFace-90K, the underlying continuous semantic embedding space allows the model to successfully generalize to out-of-domain prompts like "Beard" or "Lipstick".

Key Results

  • Quantitative Performance: $A^2BFR$ achieves state-of-the-art performance across all datasets. Compared to diffusion-based BFR baselines, it reduces LPIPS by 0.0467 and improves attribute accuracy by +52.58%.
  • Identity Consistency: The model achieves a Cross-Prompt Identity Similarity (CP-IDS) of 0.8301, drastically outperforming two-stage "restore-then-edit" pipelines which suffer from severe identity degradation when modifying attributes.
  • User Study: In a subjective preference test evaluating visual quality, fidelity, and attribute alignment, $A^2BFR$ was preferred by human evaluators in 55.1% of cases against all competing baselines.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{zhu2026bfr,
  author = {Chenxin Zhu and Yushun Fang and Lu Liu and Shibo Yin and Xiaohong Liu and Xiaoyun Zhang and Qiang Hu and Guangtao Zhai},
  title = {{A2BFR: Attribute-Aware Blind Face Restoration}},
  year = {2026},
  eprint = {2603.29423},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.29423},
}
Figure