TimeMachine: Fine-Grained Facial Age Editing with Identity Preservation
Yilin Mi, Qixin Yan, Zheng-Peng Duan, Chunle Guo, Hubery Yin, Hao Liu, Chen Li, Chongyi Li · 2025
Read TimeMachine: Fine-Grained Facial Age Editing with Identity Preservation by Yilin Mi, Qixin Yan, Zheng-Peng Duan, Chunle Guo, Hubery Yin, Hao Liu, Chen Li, Chongyi Li (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-11284.txt.
Introduction
Yilin Mi and co-authors present a 2025 arXiv paper on editing a face's age without losing the person. Fine age control in photo tools often drifts identity. Their diffusion framework, TimeMachine, feeds precise age values into the attention layers, keeping age traits and identity traits apart. A guidance module judges age inside the latent space, skipping costly image rebuilds during training.
To train it, the team built a dataset of one million high-resolution faces labeled with identity and facial traits. Tests showed leading results on fine-grained age edits with identity held steady. The authors present the system as a step toward careful, controllable face editing.
Catalog record
| CREATOR | Yilin Mi, Qixin Yan, Zheng-Peng Duan, Chunle Guo, Hubery Yin, Hao Liu, Chen Li, Chongyi Li |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 44 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-11284
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
TimeMachine: Fine-Grained Facial Age Editing with Identity Preservation Yilin Mi, Qixin Yan, Zheng-Peng Duan, Chunle Guo, Hubery Yin, Hao Liu, Chen Li, Chongyi Li 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 novel diffusion-based framework that achieves accurate age editing while keeping identity features unchanged. To enable fine-grained age editing, we inject high-precision age information into the multi-cross attention module, which explicitly separates age-related and identity-related features. This design facilitates more accurate disentanglement of age attributes, thereby allowing precise and controllable manipulation of facial aging. Furthermore, we propose an Age Classifier Guidance (ACG) module that predicts age directly in the latent space, instead of performing denoising image reconstruction during training. By employing a lightweight module to incorporate age constraints, this design enhances age editing accuracy by modest increasing training cost. Additionally, to address the lack of large-scale, high-quality facial age datasets, we construct a HFFA dataset (High-quality Fine-grained Facial-Age dataset) which contains one million high-resolution images labeled with identity and facial attributes. Experimental results demonstrate that TimeMachine achieves state-of-the-art performance in fine-grained age editing while preserving identity consistency. 1 Introduction Human face serves as a powerful canvas, conveying not only identity but also other attributes such as age, emotion, and health. Recent advancements in image generation have led to significant progress in facial image analysis and editing. Among these techniques, age manipulation, covering both age progression and regression, has attracted increasing attention. It allows us to digitally alter the perceived age of individuals in images and videos, offering many practical and entertaining uses. Figure 1: We compare our method with several state-of-the-art face editing approaches, including GAN-based SAM ( Alaluf, Patashnik, and Cohen-Or 2021 ) and diffusion-based PhotoMaker ( Li et al. 2024 ) , FADING ( Chen and Lathuilière 2023 ) . Given an input image and a target age, these models generate age-edited faces while attempting to preserve identity. In comparison to these methods, our approach demonstrates significantly better identity preservation and age accuracy with shorter inference time among diffusion-based methods. Additionally, it produces highly realistic and visually high-quality results. All experiments are conducted on an NVIDIA H20 GPU. ( Zoom-in for the best view ) However, existing facial editing methods still face challenges in age manipulation, which can be attributed primarily to two aspects. On the one hand, early approaches rely on Generative Adversarial Networks (GANs) ( Goodfellow et al. 2014 ) to synthesize faces with modified age attributes. They either inject age information as an additional condition into GANs, or explore age-related directions within the latent space of pre-trained GAN models. Due to the limited generative capacity and the constrained latent space of GANs, these methods struggle to preserve facial identity and generate subtle facial nuances, which can be observed in Figure 1 . Recently, diffusion models ( Ho, Jain, and Abbeel 2020 ) have exhibited remarkable performance in generative capabilities, gradually emerging as successors to GANs in facial image editing. Despite the remarkable progress in facial image editing, they ( Ye et al. 2023 ; Li et al. 2024 ; Chen and Lathuilière 2023 ) often treat facial attributes as an integrated whole, making it difficult to achieve targeted editing of specific features such as age. In most mature facial editing frameworks ( Li et al. 2024 ; Wang et al. 2024 ; Ye et al. 2023 ) , attributes like age, expression, and identity are deeply entangled in the latent representations, leading to unintended changes in non-target attributes during editing. Therefore, altering age might inadvertently affect facial identity or expression, resulting in artifacts or unnatural outputs. This limitation highlights the challenge of effectively decoupling age-related features from other facial attributes. To address this challenge, we propose an age editing framework based on a multi-level cross-attention control. Our approach aims to disentangle age information from other facial attributes by leveraging hierarchical feature interactions, enabling targeted and realistic age manipulation while preserving the individual’s identity and other key characteristics. This method not only enhances the precision of age editing but also sets a new direction for disentangled facial attribute manipulation in image generateion. In this paper, we address the challenge of disentangling age information from facial attributes and propose a comprehensive framework for fine-grained age editing. Our contributions include the following four aspects. First , by incorporating more fine-grained age information into the conditional input of the diffusion model through our proposed multi-cross attention module, we achieve enhanced feature disentanglement and precise age-aware control. This architectural innovation enables effective decoupling of age-related characteristics while maintaining accurate manipulation over age progression in the generation process. Second , our framework introduces implicit attribute alignment through latent-space projections of diffusion features, avoiding the conventional need for full image denoising and explicit pixel-space regression to establish age constraints. This design establishes direct age-value correspondence in feature domains, ensuring robust identity preservation and precise age manipulation compared to reconstruction-dependent methods. Third , to obtain purified age-specific features, we propose an innovative age-group feature averaging strategy by averaging all age embeddings within the same age cohort, in which we effectively suppress identity-related information that may be entangled in individual samples. Fourth , we present an HFFA dataset (High-quality Fine-grained Facial-Age dataset) addressing four critical limitations common in existing datasets: precise age annotations, high-definition image quality, rich facial detail captions, and million-scale diversity. Together, these contributions advance the state of the art in facial age editing and provide a foundation for further exploration of disentangled attribute manipulation in image generation. 2 Related Work Figure 2: HFFA dataset construction pipeline. Each facial image in our dataset undergoes a preprocessing pipeline consisting of filtering, cropping, resizing, and super-resolution to ensure high visual quality. These refined images are passed through a pretrained age estimator, a vision-language model, and a face representation extractor to obtain rich annotations for our dataset. By averaging embeddings within the same age cohort, we create the age codebook , in order to extract age-specific features while minimizing identity interference. Figure 3: Overview of Fine-Grained Facial Age Editing pipeline. (a) Main Pipeline of FFAE. By combining both age and identity information as conditions, our framework guides the diffusion model to generate high-quality facial images that preserve identity while achieving precise age control. (b) The Multi-Cross Attention module disentangles combined hidden states (prompt, age, identity) into separate hidden states, each performing independent cross-attention with image features. (c) Age Classifier Guidance (ACG) module, which aligns age attributes in the latent space, enabling accurate age control without relying on pixel-level supervision. 2.1 GAN-Based Facial Age Editing Methods Early facial age editing methods ( Gomez-Trenado et al. 2022 ; Yao et al. 2021 ; Alaluf, Patashnik, and Cohen-Or 2021 ; Or-El et al. 2020 ) primarily relied on Generative Adversarial Networks (GANs) ( Goodfellow et al. 2014 ) , which have shown promising capabilities in generating realistic facial images. Many of these methods work by manipulating latent vectors within the GAN’s latent space to modify age ( Härkönen et al. 2020 ; Shen et al. 2020 ) . However, due to the attributes in the latent space being often mixed