Leveraging semantic fusion and generative reasoning using large language models for context-aware and explainable sexism detection
Authors :- Gupta A.; Saini N.; Tripathi P.C.
Publication :- Engineering Applications of Artificial Intelligence (Elsevier), 2026
Online sexism is a complex and evolving phenomenon, often manifested through implicit, context-dependent, and subtle expressions. With rapid growth of online interactions, detecting such content has become critical for fostering safe and inclusive platforms. However, existing approaches often struggle to balance classification performance with interpretability, both of which are essential for effective human-in-the-loop moderation. In this paper, we introduce LEXIS (Large Language Model (LLM)-driven, Explainable, conteXt-aware Interpretation of Sexism), a hybrid architecture that integrates lexical word embeddings, a bidirectional recurrent encoder with attention for syntactic modeling, and a fine-tuned transformer-based language model for capturing contextual meaning. A key contribution of LEXIS is a dual-stage data augmentation pipeline that mitigates class imbalance and data sparsity by combining ConceptNet-driven semantic perturbations with high-quality synthetic samples generated using an LLM. Furthermore, to address the need for interpretability in sexism detection, we incorporate a post-hoc explanation generation module based on different large language models such as Gemini and DeepSeek. The generated explanations are evaluated against human-written rationales using multiple quality metrics, including syntactic, semantic and grammatical error rate. The results indicate that DeepSeek produces the most coherent and semantically aligned explanations. Empirical results on the Explainable Detection of Online Sexism 2023 benchmark dataset demonstrate the effectiveness of our approach, with LEXIS achieving state-of-the-art performance across all subtasks: a Macro-F1 of 0.8924 on Task A (binary sexism detection), 0.8109 on Task B (4-class categorization), and 0.5559 on Task C (11-class fine-grained classification). These results demonstrate LEXIS’s ability to improve accuracy and interpretability in online sexism detection jointly.