--- license: mit language: - en tags: - biometrics - computer-vision - deep-learning - explainable-artificial-intelligence - pornography-detection - privacy-preservation --- # An End-to-End Framework to Classify and Generate Privacy-Preserving Explanations in Pornography Detection ## About This repository contains the models' weights for the paper "An End-to-End Framework to Classify and Generate Privacy-Preserving Explanations in Pornography Detection", by Margarida Vieira, Tiago Gonçalves, Wilson Silva, and Ana F. Sequeira. ## Abstract The proliferation of explicit material online, particularly pornography, has emerged as a paramount concern in our society. While state-of-the-art pornography detection models already show some promising results, their decision-making processes are often opaque, raising ethical issues. This study focuses on uncovering the decision-making process of such models, specifically fine-tuned convolutional neural networks and transformer architectures. We compare various explainability techniques to illuminate the limitations, potential improvements, and ethical implications of using these algorithms. Results show that models trained on diverse and dynamic datasets tend to have more robustness and generalisability when compared to models trained on static datasets. Additionally, transformer models demonstrate superior performance and generalisation compared to convolutional ones. Furthermore, we implemented a privacy-preserving framework during explanation retrieval, which contributes to developing secure and ethically sound biometric applications. Please, refer to the [original Github repository](https://github.com/margaridav27/end-to-end-framework-pornography-detection) for the code.