MeInTime: Bridging Age Gap in Identity-Preserving Face Restoration
Organizations: Beijing University of Posts and Telecommunications · Department of Computer Science and Technology, Institute for AI, Tsinghua University · Minzu University of China · Xiaomi Corporation
Abstract
To better preserve an individual's identity, face restoration has evolved from reference-free to reference-based approaches, which leverage high-quality reference images of the same identity to enhance identity fidelity in the restored outputs. However, most existing methods implicitly assume that the reference and degraded input are age-aligned, limiting their effectiveness in real-world scenarios where only cross-age references are available, such as historical photo restoration. This paper proposes MeInTime, a diffusion-based face restoration method that extends reference-based restoration from same-age to cross-age settings. Given one or few reference images along with an age prompt corresponding to the degraded input, MeInTime achieves faithful restoration with both identity fidelity and age consistency. Specifically, we decouple the modeling of identity and age conditions. During training, we focus solely on effectively injecting identity features through a newly introduced attention mechanism and introduce Gated Residual Fusion modules to facilitate the integration between degraded features and identity representations. At inference, we propose Age-Aware Gradient Guidance, a training-free sampling strategy, using an age-driven direction to iteratively nudge the identity-aware denoising latent toward the desired age semantic manifold. Extensive experiments demonstrate that MeInTime outperforms existing face restoration methods in both identity preservation and age consistency. Our code is available at: https://github.com/teer4/MeInTime
Figures & tables
| Same-Age | Cross-Age | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Ref | PSNR | SSIM | LPIPS | MUSIQ | FID | IDS | PSNR | SSIM | LPIPS | MUSIQ | FID | IDS | AGE |
| CodeFormer | 25.61 | 0.720 | 0.207 | 75.87 | 47.46 | 0.639 | 26.29 | 0.749 | 0.142 | 75.77 | 55.85 | 0.519 | 11.13 | |
| DR2+SPAR | 21.97 | 0.681 | 0.312 | 71.31 | 69.43 | 0.213 | 21.71 | 0.646 | 0.357 | 64.52 | 95.05 | 0.118 | 15.52 | |
| DifFace | 25.31 | 0.720 | 0.247 | 70.00 | 55.01 | 0.509 | 24.94 | 0.691 | 0.274 | 65.31 | 83.73 | 0.410 | 11.59 | |
| DMDNet | ✓ | 25.76 | 0.730 | 0.228 | 73.92 | 55.48 | 0.703 | 25.76 | 0.712 | 0.233 | 72.94 | 66.37 | 0.621 | 13.27 |
| RestorerID | ✓ | 25.00 | 0.699 | 0.272 | 72.75 | 59.74 | 0.686 | 24.94 | 0.679 | 0.242 | 75.71 | 69.18 | 0.618 | 15.37 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Ref | MUSIQ | FID | IDS | AGE |
|---|---|---|---|---|---|
| CodeFormer | 70.17 | 56.53 | 0.263 | 9.67 | |
| DR2+SPAR | 65.09 | 123.50 | 0.229 | 10.23 | |
| DifFace | 56.28 | 119.78 | 0.295 | 11.83 | |
| DMDNet | ✓ | 69.79 | 105.54 | 0.295 | 9.67 |
| RestorerID | ✓ | 74.25 | 76.31 | 0.467 | 15.14 |
| Ref-LDM | ✓ | 68.04 | 59.93 | 0.352 | 13.33 |
| Method | Type | PSNR | LPIPS | MUSIQ | IDS | AGE | Time(s) |
|---|---|---|---|---|---|---|---|
| HRFAE | GAN | 21.57 | 0.308 | 67.31 | 0.602 | 10.23 | 0.18 |
| SAM | GAN | 18.09 | 0.457 | 60.33 | 0.347 | 8.77 | 0.45 |
| FADING | Diffusion | 22.28 | 0.270 | 66.52 | 0.584 | 8.05 | 133.41 |
| MeInTime | Diffusion | 24.53 | 0.208 | 74.33 | 0.655 | 6.89 | 43.37 |
| Methods | DifFace | DR2 | RestorerID | Ref-LDM | FaceMe | MeInTime (N=0) | MeInTime (N=5) |
|---|---|---|---|---|---|---|---|
| Time(s) | 5.96 | 1.23 | 7.74 | 1.79 | 7.65 | 7.26 | 43.37 |
Image Restoration
Image restoration uses computational methods to recover useful visual content from noisy, blurred, low-resolution, or otherwise degraded images.
See all 372 papers