TimeMachineFine-Grained Facial Age Editing
with Identity Preservation
Overview
Precise age transformations, with identity at the center. TimeMachine combines a million-scale facial-age collection with dedicated age and identity conditions in a unified diffusion framework. Multi-Cross-Attention coordinates these conditions, while training-only Age Classifier Guidance provides additional age supervision.
Read the full abstract
With the advancement of generative models, facial image editing has made significant progress. However, achieving fine-grained age editing while preserving personal identity remains a challenging task. In this paper, we propose TimeMachine, a unified diffusion-based framework for accurate facial age editing with identity preservation.
TimeMachine employs fine-grained age conditions and a Multi-Cross-Attention module to decouple the dedicated age and identity conditions. This branch-wise design enables controllable age transformation while maintaining identity consistency. Furthermore, we introduce an Age Classifier Guidance (ACG) module that predicts age embeddings from latent denoising features without reconstructing images during training. This lightweight training-only predictor provides additional age-related supervision and is removed during inference.
To support large-scale training, we construct HFFA (High-quality Fine-grained Facial-Age), a million-scale collection of high-resolution face images annotated with captions, identity embeddings, MiVOLO-estimated numerical ages, and age embeddings. Extensive experiments across five public face datasets demonstrate that TimeMachine achieves superior age accuracy and identity preservation relative to the evaluated baselines, with consistent conclusions across five age estimators.
HFFA: learning how faces age
High-quality Fine-grained Facial-Age, with rich annotations and a numerical age codebook.
Age control meets identity preservation
A dedicated branch for each condition, within a unified diffusion framework.
Fine-grained age conditions
A numerical age phrase and an averaged age codebook specify the desired transformation.
Multi-Cross-Attention
Separate attention branches process text, numerical age-text, age, and identity conditions.
Training-only age guidance
ACG predicts age embeddings from denoising features and is removed during inference.
One identity, different ages
Representative comparisons with existing facial age-editing methods. Click a figure to view it at a larger scale.
Age editing with identity preservation
Click to enlarge ↗Rejuvenation to 10 · Aging to 80
Click to enlarge ↗Progressive editing from 10 to 80
Click to enlarge ↗Beyond frontal, well-lit portraits
Profile views, expressions, backgrounds, makeup, challenging illumination, and artistic styles. Each example shows the input and target ages of 10, 40, and 70.
Profile views
Input104070Expressions
Input104070Complex backgrounds
Input104070Makeup
Input104070Low light & low quality
Input104070Artistic styles
Input104070Multi-subject editing: crop, edit, and composite
Age editing across four groups
Representative results for Groups 1–4, following the FairFace-assigned groups in our evaluation. The columns show the input and target ages of 10, 40, and 70.
Group 1
Input104070Group 2
Input104070Group 3
Input104070Group 4
Input104070Age accuracy and identity consistency
500 CelebA-HQ images, each edited toward seven target ages from 10 to 70.
| Method | Age MAE ↓ | Identity similarity ↑ | FaceQ ↑ | Blur ↓ |
|---|---|---|---|---|
| LATS | 6.270 | 0.474 | 68.532 | 0.883 |
| CUSP | 12.216 | 0.576 | 67.396 | 0.993 |
| SAM | 5.059 | 0.413 | 70.131 | 1.699 |
| IP-Adapter | 6.331 | 0.520 | 73.653 | 0.536 |
| PhotoMaker | 20.833 | 0.352 | 74.581 | 0.995 |
| FADING | 4.653 | 0.668 | 66.723 | 0.668 |
| TimeMachine (Ours) | 3.081 | 0.682 | 75.228 | 0.479 |
Aggregate results from Table III of the revised manuscript. Age MAE: MiVOLO. Identity similarity: AdaFace. FaceQ and Blur: FACE++. Arrows indicate the preferred direction. All methods use the same 500 inputs and seven target ages.
BibTeX
arXiv:2508.11284 · 2025 preprint
@misc{mi2025timemachine,
title = {TimeMachine: Fine-Grained Facial Age Editing with Identity Preservation},
author = {Yilin Mi and Qixin Yan and Zheng-Peng Duan and Chunle Guo
and Hubery Yin and Hao Liu and Chen Li and Chongyi Li},
year = {2025},
eprint = {2508.11284},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
doi = {10.48550/arXiv.2508.11284},
url = {https://arxiv.org/abs/2508.11284}
}