Optuna-Assisted Adaptive Fitness Weight Optimization in Genetic K-Means Clustering for Women's Empowerment Text Analysis

M S Grace
Research Scholar, Department of Computer Science and Systems Engineering, Andhra University, Visakhapatnam, India

B Prajna
Professor, Department of Computer Science and Systems Engineering, Andhra University, Visakhapatnam, India

Abstract

Text clustering is central to computational social science, yet clustering performance is acutely sensitive to the balance among competing quality criteria. This paper proposes Optuna-Assisted Adaptive Weight Optimization for Genetic Algorithm-Based K-Means Clustering with Weighted Multi-Criteria Fitness (Optuna-GA-KMeans-WMF), a bilevel optimization framework. An outer Bayesian loop, implemented via the Tree-structured Parzen Estimator (TPE) in Optuna, automatically tunes the four fitness-function weights governing the genetic algorithm-based clustering inner loop. The fitness function integrates intra-cluster cohesion, inter-cluster separation, the Silhouette coefficient, and the Davies-Bouldin Index; at each Optuna trial, the four weights are normalized to the unit simplex. The outer optimisation loop maximises the mean Silhouette score across ten predefined optimisation seeds (100–109); the selected weight vector is subsequently evaluated using a separate set of 30 independent random seeds (0–29). Experiments use the Indian Women Empowerment Corpus (IWEC; 337 documents; five categories: Economy, Education, Health, Politics, and Social Empowerment; years 1995–2025); the number of clusters was fixed at K = 5 to enable comparison with the five predefined corpus categories, and category labels were not supplied to the clustering algorithm. Text is represented by TF-IDF followed by Latent Semantic Analysis (LSA) dimensionality reduction to ten components. Comparative evaluation against Random K-Means, K-Means++, and the untuned GA-KMeans-WMF baseline shows that Optuna-GA-KMeans-WMF consistently achieves the highest Silhouette score, the lowest Davies-Bouldin Index, and the highest Calinski-Harabasz Index, Adjusted Rand Index, Normalized Mutual Information, and Purity. Wilcoxon signed-rank tests on paired Silhouette scores across 30 evaluation seeds indicate statistically significant improvements over Random K-Means, K-Means++, and the fixed-weight GA-KMeans-WMF baseline (p < 0.05). The results demonstrate that automated weight discovery via TPE can replace expert weight-setting without sacrificing interpretability, offering a principled and reproducible approach to multi-criteria text clustering.

Keywords: Genetic Algorithm ,K-Means Clustering ,Bayesian Hyperparameter Optimisation ,Optuna; Tree-Structured Parzen Estimator ,Multi-Criteria Fitness ,Text Clustering ,Women's Empowerment ,Tf-Idf; Latent Semantic Analysis