GFSGD¶
Implements GFSGD, a generalized fractional stochastic gradient descent for matrix-factorization recommender systems.
GFSGD augments the standard SGD update for the user and item latent factors with a Caputo-type fractional-derivative term. The fractional term adds a memory of the parameter's own magnitude through a power law, which captures the history of chaotic ratings and broadens the usable range of the fractional order. The fractional order \(\alpha\) controls the memory strength: at \(\alpha = 1\) the fractional term collapses to the ordinary gradient and GFSGD recovers plain SGD, while larger fractional contributions accelerate convergence.
For a rating \(r_{ij}\) with prediction error \(e_{ij} = r_{ij} - p_i^\top q_j\), the user factor \(p_i\) and item factor \(q_j\) are updated alternately by
where \(\gamma\) is the integer-order learning rate, \(\gamma_f\) is the fractional-order learning rate, \(\alpha\) is the fractional order, \(\Gamma\) is the gamma function, \(\odot\) is the elementwise product, and \(|\cdot|^{1-\alpha}\) is applied componentwise to the latent factor.
Reference: Zeshan Aslam Khan, Naveed Ishtiaq Chaudhary, Muhammad Asif Zahoor Raja, "Generalized fractional strategy for recommender systems with chaotic ratings behavior", Chaos, Solitons & Fractals 2022. https://doi.org/10.1016/j.chaos.2022.112204