Two-Stage Handcrafted Feature Fusion and Dimensionality Reduction with Ensemble Learning for Gender Prediction from Low-Resource Pashto Handwriting: A Multi-Resolution Benchmark
Mohammad Yasir Mudasir, Nusrat Shaheen, Hamza Rafique, Basit Raza, Muhammad Imran, Zaeem Akbar Khan
2026-09-13
چکیده انگلیسی
Pashto remains an underrepresented language in handwriting-based writer profiling, particularly for offline gender prediction using handcrafted feature representations. This study presents a systematic classical machine learning benchmark for gender prediction from Pashto handwritten text-line images by integrating complementary handcrafted descriptors, two-stage Principal Component Analysis (PCA)-based feature fusion, ensemble learning, and multi-resolution evaluation. Experiments were conducted using the publicly available Pashto Handwritten Text Imagebase (PHTI), comprising 36,082 text-line images collected from 400 writers. The original images were standardized to a large resolution (1263 × 237 pixels), from which two additional medium (632 × 119 pixels) and small (316 × 60 pixels) image-size variants were generated to investigate the influence of image resolution on classification performance and computational efficiency. Four handcrafted descriptors, namely Histogram of Oriented Gradients (HOG), Local Binary Patterns (LBP), Gray-Level Co-occurrence Matrix (GLCM), and zoning, were systematically evaluated across all three resolutions using twelve classical and ensemble classifiers. To address the high dimensionality of HOG, a two-stage PCA-based fusion strategy was employed. Initially, HOG features were reduced to 100 principal components and concatenated with the original LBP, GLCM, and zoning descriptors, producing a 250-dimensional fused representation for large images. Subsequently, a second PCA stage reduced the fused representation to 220 components. Experimental results demonstrated that GLCM was the strongest individual descriptor, achieving 88.30% accuracy. The proposed two-stage fused representation combined with XGBoost achieved the highest classification accuracy of 91.69% on large-resolution images, outperforming the first-stage fused configuration (91.46%). The medium-resolution variant achieved 90.77% accuracy, demonstrating a competitive trade-off between predictive performance and computational efficiency. These findings highlight the effectiveness of complementary handcrafted feature integration, selective dimensionality reduction, and ensemble learning for Pashto handwriting-based gender prediction, establishing a systematic and computationally efficient benchmark for future research on low-resource handwritten document analysis.
Pashto Handwriting, Gender Classification, Machine Learning, Ensemble Learning, Writer Profiling, Handcrafted Features, Feature Fusion, Principal Component Analysis