AB
AiBoss
project

TPDM - A time-predictive diffusion model developed by Westlake University in collaboration with Peking University and other universities.

TPDM (Time Prediction Diffusion Model) is an image generation model jointly developed by the MAPLE Lab at Westlake University, Southern University of Science and Technology, Peking University, and the Institute of Advanced Technology at Westlake University. It can automatically...

What is TPDM?

TPDM (Time Prediction Diffusion Model) is an image generation model jointly developed by the MAPLE Lab at Westlake University, Southern University of Science and Technology, Peking University, and the Institute of Advanced Technology at Westlake University. It adaptively adjusts the denoising schedule to optimize image quality and generation efficiency. The model uses a plug-and-play Temporal Prediction Module (TPM) to predict the next noise level based on the current latent space features in each denoising step. TPDM is trained using reinforcement learning, aiming to maximize the image quality reward that considers the number of denoising steps, achieving high-quality image generation consistent with human preferences. Under the Stable Diffusion 3 Medium architecture, TPDM demonstrates the ability to achieve better performance with fewer denoising steps, significantly improving the performance and efficiency of image generation.

Main functions of TPDM

  • Adaptive noise schedulingTPDM automatically adjusts the denoising steps and noise levels for each inference instance to adapt to different image generation needs.
  • Quality and efficiency balanceBased on the dynamic adjustment of the denoising process, TPDM reduces the required denoising steps while maintaining the quality of the generated image, thereby improving the model's running efficiency.
  • Reinforcement learning optimizationBased on reinforcement learning techniques, TPDM trains its temporal prediction module (TPM) to maximize image quality rewards based on denoising step discounts.
  • High-quality image generationTPDM can generate high-quality images that are highly consistent with human preferences, meeting the needs of aesthetics and practical applications.

TPDM technical principles

  • Time Prediction Module (TPM)The core of TPDM is a plug-and-play module that predicts the next noise level after each denoising step based on the current latent space features.
  • Reinforcement learning trainingTPM is trained based on reinforcement learning, specifically using the Proximal Policy Optimization (PPO) algorithm, which treats the multi-step denoising process as a complete trajectory and uses the final image quality (considering the number of denoising steps) as the reward signal.
  • Image quality assessmentImage quality is measured using a reward model aligned with human preferences, ensuring that the generated images are sharp and meet human aesthetic standards.
  • Dynamic scheduling strategyTPDM dynamically adjusts noise scheduling during inference, automatically determining the number of denoising steps based on the complexity and content of the image, thus enabling flexible responses to different image generation tasks.
  • Optimize diffusion processDuring training, the diffusion process of TPDM is consistent with the inference process, directly optimizing inference performance and reducing denoising steps, making the model more efficient in practical applications.
  • Lightweight integrationTPM, as a lightweight module, can be easily integrated into any existing diffusion model with almost no additional computational burden, and automatically adjusts hyperparameters to achieve the best balance between image quality and efficiency.

TPDM project address

Application scenarios of TPDM

  • Text to Image GenerationIt can automatically generate corresponding images based on given text descriptions, and is suitable for advertising, game design, virtual scene construction and other fields.
  • Artistic Creation AssistanceIt helps artists and designers quickly generate sketches or concept art, improving creative efficiency.
  • Digital media content productionIn film, television, and animation production, it generates background, scene, or special effects elements.
  • Virtual Reality and Augmented RealityGenerate realistic images and environments for virtual reality (VR) and augmented reality (AR) applications.
  • Social media and entertainmentUsers can generate personalized images and emojis based on their own ideas, increasing the fun of social media interaction.