CSE Undergraduate Research Team Wins Silver Award at SLAAI Best Undergraduate AI Project Award 2026 for StyleGAN-Based Face Image Manipulation Research

A team of undergraduates from the Department of Computer Science & Engineering, University of Moratuwa, has won the Silver Award at the SLAAI Best Undergraduate AI Project Award 2026, organized by the Sri Lanka Association for Artificial Intelligence (SLAAI). The award ceremony was held on 20 November 2026 at the University of Sri Jayewardenepura, recognizing innovative undergraduate research in artificial intelligence.

The team presented their project, "Mind2Sketch: Controllable Face Generation and Manipulation with StyleGAN2 for the Forensic Applications" which explores generative AI techniques for realistic and controllable facial image manipulation. The project investigates how pretrained generative models can be adapted and combined with semantic information to achieve targeted facial modifications.

StyleGAN2 and Latent Space Manipulation

The project utilizes StyleGAN2, a generative adversarial network capable of producing highly realistic and diverse synthetic facial images. Its intermediate latent spaces enable manipulation of different facial attributes, ranging from large-scale structures to fine-grained details. However, these attributes are often entangled, meaning that modifying one feature can unintentionally alter other features.

To address this challenge, the team explored latent-space manipulation by identifying meaningful directions corresponding to specific facial attributes. Through style projection, the team obtained corresponding latent representations and extracted W-space direction vectors from their differences.

By developing multiple candidate directions for individual attributes and evaluating different aggregation methods, the team constructed more than 40 facial manipulation directions. Experiments across more than 10 random input images demonstrated that over 35 of these directions produced the expected facial variations.

CLIP-Guided Text-Based Facial Editing

The project also explored integrating StyleGAN2 with CLIP (Contrastive Language–Image Pre-training) to enable text-guided facial manipulation. The team developed mapping networks to translate CLIP's image-text embeddings into the StyleGAN2 latent space, allowing natural language descriptions to guide facial attribute modifications. This enables semantic editing through latent directions derived from opposing text descriptions.


Addressing Catastrophic Forgetting Through Non-Linear Weight Blending

Fine-tuning StyleGAN2 on small, low-diversity datasets can lead to mode collapse, visual artifacts, and catastrophic forgetting. The team's experiments revealed these limitations in fine-tuned models, while conventional linear weight blending also introduced significant visual artifacts.

To address this, the team proposed a non-linear weight blending technique that combines pretrained and fine-tuned models, aiming to preserve image quality and diversity while incorporating domain-specific adaptations. The resulting outputs demonstrated improvements over conventional linear blending.

The team also curated a Sri Lankan facial dataset to support culturally relevant facial image generation and model adaptation. Additionally, they created a paired dataset featuring identical faces with specific facial attributes modified, enabling controlled feature manipulation and evaluation.

Through latent-space manipulation, CLIP-guided editing, and non-linear model weight blending, Mind2Sketch explores approaches to achieving more precise and controllable facial image generation.

The team consists of K.B.R.D. Balasooriya, A.P.C. De Silva, and P.H.T. Dinujaya, under the supervision of Prof. C.R. De Silva. The Department congratulates the team on receiving the Silver Award at SLAAI 2026, recognizing their contribution to generative AI research.