Please use this identifier to cite or link to this item: https://www.um.edu.mt/library/oar/handle/123456789/151491
Title: Evaluating the quality of the LAION‐2B dataset : insights into large‐scale image dataset assessment
Authors: Agius, Jerome (2026)
Keywords: Artificial intelligence
Machine learning
Computer vision
Image processing -- Digital techniques
Stereotypes (Social psychology)
Occupations -- Social aspects
Human beings -- Effect of technological innovations on
Computer vision
Issue Date: 2026
Citation: Agius, J. (2026). Evaluating the quality of the LAION‐2B dataset : insights into large‐scale image dataset assessment (Master's dissertation).
Abstract: Generative Artificial Intelligence (AI) systems have enabled large‐scale image creation, bringing advanced image generation capabilities within reach of non‐specialist users. However, the development of these systems depends heavily on massive web‐scraped training datasets such as LAION‐5B, with this research focusing on its re‐released version, Re‐LAION‐5B, and the related Stable Diffusion v1.5 model. Due to the nature of web‐scraped training data, concerns have increased regarding the ethical implications of these datasets, particularly in relation to bias and unintended correlations embedded within the training corpus. Specifically, non‐semantic or spurious features present within the training dataset may serve as shortcuts in downstream tasks, negatively impacting model behaviour and fairness outcomes. This thesis investigates demographic bias within Re‐LAION‐5B and images generated by Stable Diffusion v1.5, with a direct focus on identifying spurious features in both sources and determining whether the generative model amplifies, alters, or mitigates patterns observed in the dataset. A classifier‐based approach is used to distinguish Re‐LAION‐5B, Stable Diffusion v1.5, and COCO images under transformations designed to isolate different visual information channels. Dataset‐source classification achieved 99.42% test accuracy on unmodified images, and all fifteen evaluated transformations remained above the 33.3% chance level, including mean RGB at 64.19%, demonstrating that source‐specific statistical information persists even under substantial information reduction. The image corpora were further annotated for gender and skin tone and analysed across 200 occupation categories. Stable Diffusion v1.5 substantially amplified demographic imbalance relative to Re‐LAION‐5B: female representation decreased from 41.5% to 29.02%, and the magnitude of occupational gender skew increased in 178 of 200 professions (89.0%). A corresponding shift was observed for skin tone, with the Light MST bin increasing from 12.45% to 22.87% and the Dark bin decreasing from 0.81% to 0.14%, while 175 of 200 professions (87.5%) showed a higher Light‐bin proportion under Stable Diffusion v1.5. Demographic probing further showed that Stable Diffusion v1.5 distributes gender and skin‐tone information beyond visible person appearance into contextual, geometric, object‐level, and semantic representations. Finally, a combined inference‐time debiasing pipeline incorporating ITI‐GEN demographic conditioning, ControlNet OpenPose structural conditioning, and Chamfer‐based colour alignment was evaluated on a 10,000‐image doctor corpus. The interventions reduced several non‐person demographic signals to approximately chance level: for gender, mean‐RGB AUC decreased from 0.579 to 0.507 and caption‐based AUC from 0.771 to 0.530; for skin tone, the corresponding values decreased from 0.543 to 0.482 and from 0.673 to 0.490. These results demonstrate that inference‐time intervention can substantially reduce demographic correlations across photometric, geometric, object‐level, and semantic representations without retraining the base model. However, residual entanglement remains, most notably in the background‐retained gender occlusion condition, which reached an AUC of 0.995 in the debiased corpus, indicating that background composition remains an important target for future mitigation. By explicitly linking dataset characteristics, spurious feature learning mechanisms, generative bias outcomes, and intervention effects, this work contributes methodological insights for evaluating large‐scale multimodal datasets and practical approaches for developing fairer text‐to‐image generation systems.
Description: M.Sc.(Melit.)
URI: https://www.um.edu.mt/library/oar/handle/123456789/151491
Appears in Collections:Dissertations - FacICT - 2026
Dissertations - FacICTAI - 2026

Files in This Item:
File Description SizeFormat 
2619ICTICS520000016254_1.PDF16.98 MBAdobe PDFView/Open


Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.