TL;DR
Factorization Machines (FMs) traditionally use sparse penalties like $\ell_1$ or $\ell_{2,1}$ on their latent factors, but this inadvertently forces entire features (whole rows and columns of interactions) to be dropped rather than pruning individual pairwise interactions. This paper introduces the Triangular Inequality (TI) and Cauchy–Schwarz (CS) regularizers—squared (quasi-)norms that upper-bound the interaction matrix's $\ell_1$ norm—enabling flexible, interaction-level sparsity and superior feature selection with the same linear computational complexity as standard FMs.
What Problem Does This Paper Address?
Factorization Machines (FMs) predict targets using second-order feature interactions factorized as $W = PP^\top$ (where $P \in \mathbb{R}^{d \times k}$ and $k \ll d$). While this keeps computation linear in feature dimension $d$, real-world data often demands sparse, interpretable interactions.
Existing "sparse FMs" apply standard sparsity-inducing penalties like $\ell_1$ or group-lasso ($\ell_{2,1}$) directly to $P$. However, zeroing out a row in $P$ eliminates all interactions involving that feature (feature-level sparsity). In reality, many features may only interact meaningfully with a select few others. Penalizing the interaction matrix directly via $\|PP^\top\|_1$ is tempting, but optimizing it directly is computationally prohibitive ($O(d^2 k)$ or worse) and yields non-sparse or ill-behaved solutions.
Methods
- Why standard norms fail: The interaction penalty $\Omega^*(P) = \sum_{j_2 > j_1} |\langle p_{j_1}, p_{j_2} \rangle|$ is 2-homogeneous ($\Omega^*(aP) = a^2 \Omega^*(P)$), whereas standard norms are 1-homogeneous ($\|aP\| = |a|\|P\|$). The authors prove (Theorem 1) that no norm can serve as an upper or lower bound for $\Omega^*(P)$, explaining why $\ell_1$ and $\ell_{2,1}$ tend to collapse abruptly to all-dense or all-zero matrices.
- Squared (Quasi-)Norm Upper Bounds: To match the degree of homogeneity, the paper proves that squared sparsity-inducing norms provide valid, well-behaved upper bounds:
- TI Regularizer ($\tilde{\ell}_{1,2}^2$): Derived from the triangle inequality, $\|P^\top\|_{1,2}^2 = \sum_{s=1}^k \|p_{:,s}\|_1^2 = 2\Omega_{\text{TI}}(P) + \|P\|_2^2 \ge 2\Omega^*(P) + \|P\|_2^2$. This enables true feature interaction selection without forcing entire features out of the model.
- CS Regularizer ($\ell_{2,1}^2$): Derived from Cauchy–Schwarz, $\|P\|_{2,1}^2 = (\sum_{j=1}^d \|p_j\|_2)^2 \ge 2\Omega^*(P) + \|P\|_2^2$. This targets feature selection more accurately than standard $\ell_{2,1}$.
- Efficient Optimization:
- Proximal Coordinate Descent (PCD / PBCD): By maintaining simple running caches, the coordinate update for each entry $p_{j,s}$ or row $p_j$ runs in $O(\text{nnz}(X)k)$ time per epoch—matching the speed of canonical FMs.
- Closed-Form / Linear-Time Proximal Operators: The proximal operator for the squared $\ell_1$ norm is solved in $O(d \log d)$ via sorting or in $O(d)$ expected time using a randomized median-finding strategy.
- Extensions: The authors extend both TI and CS formulations to Higher-Order FMs (HOFMs) and all-subsets models.
Datasets
The authors evaluated the methods on synthetic benchmarks and four real-world datasets:
- Synthetic Datasets:
- Feature interaction selection setting: $d_{\text{true}} = 80$ split into 8 block-diagonal groups ($b=8$) plus $d_{\text{noise}} = 20$.
- Feature selection setting: $d_{\text{true}} = 20$, single block ($b=1$), $d_{\text{noise}} = 80$.
- Real-World Datasets:
- MovieLens 100K (ML100K): Collaborative filtering regression ($d = 2,703$; 100k ratings).
- a9a: Adult census binary classification ($d = 123$; 48,842 samples).
- RCV1: Text classification ($d = 47,236$; over 690k samples).
- Flight Delay (FD): Airline delay classification ($d = 696$; 100k samples).
Key Insights and Ideas
- Adaptive Shrinkage via Squared Norms: Because $\lambda \|P\|^2 = (\lambda \|P\|) \|P\|$, squaring a norm acts like an adaptive threshold that shrinks relatively small entries rather than cutting off elements below a fixed absolute threshold. This makes TI and CS significantly less sensitive to hyperparameter tuning than $\ell_1$ or $\ell_{2,1}$.
- Decoupling Interaction Sparsity from Feature Sparsity: Under the TI regularizer, individual latent factor dimensions can zero out independently for different features, enabling $W_{j_1, j_2} = 0$ while still allowing features $j_1$ and $j_2$ to interact with other features.
- Global Optimality Guarantee: When the rank hyperparameter is sufficiently large ($k \ge d^2$), all local minima of the TI-regularized objective are guaranteed to be global minima.
Key Results
- Synthetic Interaction Recovery: In the interaction selection benchmark, TI achieved an ~80% Percentage of Successful Support Recovery (PSSR) at $N=200$, whereas $\ell_1$, $\ell_{2,1}$, and direct $\Omega^*$ optimization completely failed (0% PSSR).
- Synthetic Feature Selection: CS outperformed all existing baselines across estimation error, F1-score, and PSSR, maintaining strong support recovery across a much broader range of regularization strengths ($\tilde{\lambda}_p$).
- Computational Scalability: Per-epoch runtime of TI and CS scaled linearly with feature dimension $d$. In contrast, direct $\Omega^*$ subgradient methods scaled quadratically ($O(d^2)$), and sparse low-rank quadratic regression (SLQR) scaled cubically ($O(d^3)$, running over 100× slower at $d=4,000$).
- Constrained Real-World Interpretability: When constrained to exactly ~1,000 active interactions, TI achieved the lowest RMSE on ML100K (0.93018) and the highest ROC-AUC on a9a (0.90301). On RCV1, only CS successfully learned a sparse model with ~1,000 interactions, while $\ell_1$ and $\ell_{2,1}$ failed to tune into the target range.
Limitations and Future Work
- Convergence Guarantees for PCD/PBCD: Because squared norms are not coordinate-wise separable, theoretical convergence of coordinate descent is not formally guaranteed (even though it worked robustly in practice).
- Sparsity in Stochastic Settings: The proximal operators take $O(dk)$ per step, preventing Proximal SGD (PSGD) from exploiting data sparsity as effectively as PCD unless batch sizes are carefully tuned or feature vectors are dense.
- High-Order Polynomials ($m > 5$): For HOFMs with order $m > 5$, the proximal sub-problem cannot be solved in closed form and requires iterative numerical solvers like Newton's method.
- Future Directions: Developing more efficient sparse-aware PSGD algorithms and formalizing the statistical estimation bounds of the proposed regularizers.
Summary updated