Abstract
In this paper, we consider a new variant for principal component analysis (PCA), aiming to capture the grouping and/or sparse structures of factor loadings simultaneously. To achieve these goals, we employ a non-convex truncated regularization with naturally adjustable sparsity and grouping effects, and propose the Feature Grouping and Sparse Principal Component Analysis (FGSPCA). The proposed FGSPCA method encourages the factor loadings with similar values to collapse into disjoint homogeneous groups for feature grouping or into a special zero-valued group for feature selection, which in turn helps reducing model complexity and increasing model interpretation. Usually, existing structured PCA methods require prior knowledge to construct the regularization term. However, the proposed FGSPCA can simultaneously capture the grouping and/or sparse structures of factor loadings without any prior information. To solve the resulting non-convex optimization problem, we propose an alternating algorithm that incorporates the difference-of-convex programming, augmented Lagrange method and coordinate descent method. Experimental results demonstrate the promising performance and efficiency of the new method on both synthetic and real-world datasets.
Introduction
Principal Component Analysis (PCA) is an essential tool for dimension reduction and data visualization. However, its standard form often produces "dense" models where every variable contributes a non-zero weight (loading) to every component. This lack of sparsity makes it difficult to interpret which specific variables drive the patterns in complex datasets, such as gene expression or facial recognition.
While Sparse PCA (SPCA) was introduced to address this by zeroing out irrelevant features, it typically fails to capture the "grouping effect"—the tendency of highly correlated variables to share similar weights. Existing structured PCA methods that account for grouping usually require significant prior knowledge, such as pre-defined variable clusters. This paper introduces Feature Grouping and Sparse PCA (FGSPCA), a method that automatically discovers both sparsity and grouping structures directly from the data without requiring prior information.
Methodology: Truncated Regularization
The core innovation of FGSPCA lies in its use of a non-convex truncated $\ell_1$ penalty. Unlike standard $\ell_1$ penalties (Lasso), which can introduce shrinkage bias by underestimating large coefficients, the truncated penalty is designed to be more selective.
As shown in the figure above, the truncated penalty promotes sparsity by heavily penalizing small values and encourages grouping by penalizing small differences between loading values. Crucially, it leaves large values and large differences relatively untouched, avoiding the systematic underestimation seen in convex penalties.
To solve the resulting non-convex optimization problem, the authors propose a three-tier alternating algorithm incorporating Difference-of-Convex (DC) programming, the Augmented Lagrange (AL) method, and Coordinate Descent (CD) for computational efficiency.
Experimental Evaluation
The authors evaluated FGSPCA against standard PCA, SCoTLASS, and SPCA using both real-world benchmarks and synthetic simulations.
Pitprops Data
On the classic Pitprops dataset, FGSPCA achieved a cumulative variance of 74.96%, nearly identical to SPCA’s 75.77%. However, FGSPCA significantly improved interpretability. For the first principal component, it reduced seven non-zero loadings into a single distinct group value, clarifying the component's underlying structure.
Synthetic Simulations
In controlled simulations, FGSPCA demonstrated a superior ability to recover hidden factor structures. In high-dimensional settings where the number of variables ($p=50$) exceeded observations ($n=20$), FGSPCA explained 98.33% of the variance in the first two components—a 17.66% improvement over standard SPCA.
As illustrated in the variance plots, FGSPCA (red line) maintains a performance profile very close to standard SPCA while offering much higher model clarity through its automated grouping and selection mechanisms.
Conclusion
FGSPCA represents a significant step forward in interpretable machine learning. By leveraging non-convex truncated regularization, it automates the discovery of feature groups and relevant variables without needing user-provided priors. While the non-convex nature of the problem requires careful initialization, the resulting models offer a superior balance between statistical accuracy and human-readable simplicity.
An R implementation of FGSPCA can be found on GitHub: higeeks/FGSPCA.
Summary updated