Sayedmoslem Shokrolahi
· 2 previous affiliations
- Queens UniversitySince 2021
- PhD student · Since 2021
- Isfahan University of Technology2012–2015
- MS student · 2012–2015
Research Overview
Sayedmoslem Shokrolahi focuses on the interpretability and controllability of deep learning models, with a primary emphasis on mitigating bias and improving safety in generative systems. His work spans class-incremental learning and the development of frameworks for surgical semantic editing in text-to-image diffusion models. Shokrolahi investigates the internal representations of large foundation models to enable linear, disentangled control over high-level concepts, aiming to provide corrective mechanisms that do not require extensive retraining or fine-tuning.
Research Trajectory
Shokrolahi’s early research addressed the stability-plasticity dilemma inherent in class-incremental learning (class-IL). In this domain, he explored how metric learning could be leveraged to reduce inter-task confusion and catastrophic forgetting. By focusing on the embedding space, his work sought to maintain the integrity of previously learned classes while integrating new data samples. This research established a foundational interest in the manipulation of latent representations to guide model behavior, a theme that transitioned from discriminative tasks to generative modeling.
Since 2026, Shokrolahi has shifted his focus toward the challenges of Why Text to Image Models Amplify Societal Stereotypes. This more recent work is situated within the field of Efficient Bias Mitigation Without Full Model Retraining, where the objective is to correct demographic archetypes and safety concerns through targeted interventions. A central technical contribution in this area is the identification of specific internal structures—such as the "Linear Semantic Locus"—that allow for the Linear Composition of Semantic Steering Vectors within high-dimensional model spaces. By bypassing traditional natural language prompting in favor of direct latent manipulation, Shokrolahi’s work seeks to provide more precise and responsible control over generative outputs.
Current Directions
Shokrolahi’s current research focuses on achieving Disentangled Control in Generative Latent Spaces. A significant hurdle in image editing is attribute entanglement, where modifying one feature (such as age) inadvertently alters others (such as background or accessories). Shokrolahi addresses this by investigating the bottleneck spaces of U-Net and Vision Transformer (ViT) architectures. His recent methodologies emphasize "looking locally" to ensure that semantic adjustments are applied precisely to the intended subjects without degrading background fidelity or photorealism. This work aims to bridge the gap between high-level user intent and the low-level mathematical representations of diffusion models, ensuring that generative AI remains both fair and safe.
Representative Work
In Combating Inter-Task Confusion and Catastrophic Forgetting by Metric Learning and Re-Using a Past Trained Model, Shokrolahi (as first author) addresses two fundamental issues in class-incremental learning. The paper proposes an innovative loss function that utilizes the centroids of previously learned classes as negatives and current data samples as positives in the embedding space. This approach reduces overlaps between current and past tasks, mitigating the confusion that typically occurs as models are updated with new information.
Shokrolahi’s work on generative safety is detailed in Responsible Text-to-Image Diffusion: Interpretable and Linearly Controllable Semantics for Fair and Safe Generation. As first author, he introduces an architecture-agnostic framework designed to improve fairness in text-to-image (T2I) models. By identifying the "Linear Semantic Locus"—located in the multi-modal attention heads of ViT-based models and the bottleneck of U-Nets—the framework enables linear control over semantic attributes like gender or race. This allows for the correction of biased outputs without the need to retrain the underlying foundation model.
Furthering the pursuit of precise control, Look Locally, Learn Precisely: Interpretable and Unbiased Text-to-Image Generation with Background Fidelity critiques existing methods that learn attributes from entire images, which often leads to the entanglement of spurious features. Shokrolahi proposes two innovations for training and inference that focus on the $h$-space (the U-Net bottleneck). These mechanisms are designed to improve subject alignment and fairness while maintaining incoherent backgrounds and high photorealism, addressing the common trade-off between semantic editing and image quality.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake