Abstract
In online learning environments, balancing model expressiveness with computational efficiency is a critical challenge. While linear models are efficient and convex, they fail to capture complex feature interactions. Conversely, Factorization Machines (FMs) capture these interactions but introduce non-convexity, complicating online optimization. This paper presents Projective Quadratic Regression (PQR), a method that captures second-order interactions within a strictly convex framework. By exploiting the power-law distribution of feature frequencies, PQR achieves high accuracy with space and time complexity on par with linear models.
Introduction
Modern online systems, such as recommender systems and ad-click predictors, typically process high-dimensional, sparse data. Capturing feature interactions is essential for predictive performance. Traditional approaches like full Quadratic Regression suffer from $O(d^2)$ parameter growth, while Factorization Machines, though efficient, are non-convex. Non-convexity in Online Convex Optimization (OCO) leads to a lack of regret guarantees and potential convergence to poor local minima. PQR addresses these issues by providing a convex alternative that scales to millions of features.
Methodology: Exploiting Feature Sparsity
The core of PQR is the observation that feature frequencies in real-world datasets follow a power law. A small subset of features appears frequently, while most are rare.
PQR utilizes this by "projecting" the interaction space:
- Feature Separation: Features are categorized into High-frequent ($H$) and Low-frequent ($L$) sets.
- Selective Interaction Modeling:
- $H \times H$: Full quadratic interactions are learned for frequent features.
- $H \times L$: Interactions are modeled using shared parameters; each high-frequency feature has one parameter for its interaction with all low-frequency features.
- $L \times L$: Interactions between rare features are omitted to prevent overfitting and reduce complexity.
- Convexity: By defining a specific restricted structure for the interaction matrix, PQR remains convex, allowing the use of robust algorithms like FTRL-Proximal.
Experimental Evaluation
The model was tested on MovieLens (rating prediction) and large-scale CTR datasets: Avazu (~40M instances), Criteo (~51M instances), and KDD2012 (~149M instances).
Key Results
PQR consistently outperformed Linear Regression (LR) and Factorization Machines (FM) across various metrics.
- Accuracy: PQR achieved superior AUC and lower LogLoss compared to baseline models. For example, on MovieLens 100K, PQR achieved an RMSE of 1.0215, beating FM's 1.0316.
- Efficiency: On the Avazu dataset, PQR demonstrated a training speed approximately 17x faster than vanilla FM (comparing PQR $k=2000$ to FM).
- Scalability: For the KDD2012 dataset with 54 million features, PQR maintained a model size of ~9.7M parameters, comparable to a linear model, whereas FMs required nearly 10x more memory (91.6M).
Discussion and Conclusion
PQR offers a practical "middle ground" for online learning. By focusing the parameter budget on the most frequent features (the "Top-k" heuristic), it captures the most informative signals while maintaining a linear space complexity $O(d)$ when $k \approx \sqrt{d}$. The inherent convexity serves as a safety net, ensuring stable training and predictable performance. Future work may explore dynamic feature promotion and more sophisticated parameter-sharing logic to further enhance the model's adaptability in non-stationary environments.
Summary updated