In modern scientific domains—from genomics to wearable health tech—researchers are often drowning in data but starving for insights. We can now track hundreds of variables over time (longitudinal data), yet we often have relatively few subjects to study. This "high-dimensional, low-sample size" problem is a nightmare for standard Machine Learning (ML) and Deep Learning (DL) models, which tend to overfit or become computationally paralyzed.
A new paper from IBM Research Europe introduces FSFC (Feature Selection for Functional Classification), a computationally efficient algorithm designed to solve this exact problem by performing feature selection and classification simultaneously.
The Challenge of Functional Data Analysis
The authors target Functional Data Analysis (FDA), where data points aren't just single numbers, but smooth curves or functions over time. Think of a patient's heart rate over a week rather than a single static measurement.
Two major challenges emerge in this field:
- High Dimensionality ($p \gg n$): We might track 2,000 different longitudinal variables ($p$) for only 600 patients ($n$).
- Data Scarcity: Traditional feature selection models often fail to be efficient or accurate when data is limited relative to the number of features.
Existing tools like Long Short-Term Memory (LSTM) networks are powerful for sequences but don't naturally "prune" irrelevant variables, leading to overfitting. Conversely, standard feature selection methods aren't built to handle the continuous, time-dependent nature of functional data.
The FSFC Approach: A Three-Step Solution
FSFC tackles these challenges through a mathematical "triple threat":
- Functional Representation: It uses Functional Principal Components (FPC) to simplify complex curves into a small set of coefficients. This reduces the complexity of each feature while retaining its essential longitudinal shape.
- Joint Optimization: The authors defined a new optimization problem that integrates logistic loss (for classification) with an adaptive Elastic Net penalty. This penalty forces the model to be "sparse," meaning it automatically zeros out irrelevant features.
- The DAL Algorithm: To solve this efficiently, they developed an adaptive version of the Dual Augmented Lagrangian (DAL) algorithm.
The secret sauce of DAL is that its computational cost depends on the number of active (relevant) features, not the total number of features. This allows it to breeze through high-dimensional spaces that would choke other algorithms.
Performance on Synthetic Data
The researchers first evaluated FSFC using synthetic data generated via Gaussian processes to simulate various levels of sparsity and noise. They tested extreme scenarios with up to 2,000 features and only 600 units.
The simulation results highlight FSFC's dominance in high-dimensional settings:
- Speed: In a scenario with 2,000 features, FSFC converged in under 10 seconds. In contrast, an LSTM took roughly 350 seconds (nearly 6 minutes) and achieved lower accuracy.
- Accuracy: FSFC consistently outperformed standard SVMs and LSTMs in test accuracy, while maintaining high precision and recall in feature selection.
Real-World Application: The SHARE Dataset
To prove its real-world viability, the team applied FSFC to the SHARE (Survey of Health, Ageing and Retirement in Europe) dataset—a massive longitudinal study. They analyzed 1,518 subjects across 36 variables (physical, mental, and socio-demographic) collected over 16 years to predict chronic diseases like diabetes and hypertension.
- Clinical Relevance: FSFC correctly identified well-known medical predictors. For example, it found that BMI and hypertension were the earliest and most consistent predictors for diabetes.
- FSFC as a "Filter": One of the most powerful findings is that FSFC can be used as a pre-processing step. By using FSFC to select the best features first, the performance of "downstream" models like LSTMs (referred to as r-LSTM) improves significantly.
- Handling Mixed Modalities: While built for functions, FSFC handles "scalar" data (like age or education level) by treating them as constant functions over time, allowing for a unified analysis of diverse data types.
Limitations and Future Work
While FSFC is a major step forward, the authors note a few areas for future growth:
- Non-Smooth Data: The current model relies on FPCs, which work best on relatively smooth curves. Its performance on very "jagged" or noisy data needs further study.
- Unbalanced Classes: Like many classifiers, FSFC's performance dips if one class (e.g., "healthy") vastly outnumbers the other ("affected"). The authors suggest using oversampling techniques to mitigate this.
- Fixed Complexity: Currently, the model uses the same number of principal components ($k$) for every feature. Future versions could allow for variable complexity depending on how much "information" a specific curve contains.
For those interested in implementation, the FSFC source code is publicly available on GitHub.
Summary updated