An Adam-adjusting-antennae BAS Algorithm for Refining Latent Factors

Yuanyi Liu, Jia Chen, Di WuarXiv 2022 · DOI

Abstract

Latent Factor Analysis (LFA) is a critical technique for modeling high-dimensional and incomplete (HDI) data, yet existing swarm-intelligence-based optimization methods often suffer from premature convergence. This paper introduces the Adam-adjusting-antennae Beetle Antennae Search ($A^2BAS$) algorithm, which combines the spatial exploration of bio-inspired foraging with the adaptive gradient-based memory of the Adam optimizer. By sequentially refining latent factors, $A^2BAS$ effectively escapes local optima. Evaluations on the ML10M and Flixster datasets show that $A^2BAS$ achieves superior accuracy, reducing RMSE by up to 8.97% compared to standard Adam-based models.

Introduction

In the era of Big Data, High-Dimensional and Incomplete (HDI) matrices are ubiquitous, particularly in recommender systems where user-item rating matrices are sparsely populated. Latent Factor Analysis (LFA) addresses this by mapping users and items into a low-dimensional feature space to predict missing values. While traditional methods like Stochastic Gradient Descent (SGD) are common, recent shifts toward swarm intelligence—such as Particle Swarm Optimization (PSO)—aim to improve efficiency. However, PSO-based models frequently encounter "premature convergence," where particles become trapped in local optima. This research proposes $A^2BAS$ to overcome these plateaus and achieve higher predictive accuracy.

Methodology: The $A^2BAS$ Algorithm

The $A^2BAS$ algorithm builds upon the Beetle Antennae Search (BAS), which mimics the foraging behavior of beetles using two antennae to sense odor concentrations. The core innovation lies in integrating the Adam optimizer to adaptively adjust the search parameters.

Core Innovations

  1. Adam-Enhanced Antennae: Instead of fixed search steps, the algorithm utilizes the first and second-order moments from the Adam optimizer to dynamically adjust the beetle's antennae direction and length. This allows for more intelligent exploration of the search space.
  2. Sequential Refinement: $A^2BAS$ serves as a refinement stage for factors initially calculated by a PSO-based model. It iterates through row and column latent factors sequentially, updating them based on a fitness function such as Root Mean Square Error (RMSE).
  3. Adaptive Mapping: A specific mapping function updates the beetle's position (the latent factors) based on sensory input, ensuring the model consistently moves toward a global minimum error rate.
Figure 1: Flowchart of the A2BAS algorithm illustrating the iterative refinement process.

Experimental Setup and Results

The model was evaluated using two benchmark datasets: ML10M (D1), containing 10 million movie ratings, and Flixster (D2), a large-scale social movie site dataset. The data was split into training (70%), validation (10%), and testing (20%) sets.

Performance Gains

$A^2BAS$ outperformed several state-of-the-art benchmarks, including standard Adam-based LFA and PLFA (PSO-based models). On the Flixster dataset, $A^2BAS$ achieved an RMSE of 0.8615, representing an 8.97% improvement over the Adam-based model and a 6.77% improvement over PLFA. Statistical analysis via Friedman Rank tests confirmed that these accuracy gains are significant across both RMSE and MAE metrics.

Impact of Initial Antennae Length

A key finding of the study is the sensitivity of the model to the initial antennae length. While larger initial lengths significantly reduce the number of iterations and total time cost, they can lead to a slight increase in the error rate after an optimal point.

Figure 4: The relationship between initial antennae length and RMSE, showing an optimal configuration for accuracy.

Conclusion

The $A^2BAS$ algorithm successfully bridges bio-inspired spatial exploration with adaptive gradient-based logic to refine latent factors in HDI matrices. While the current single-beetle approach is computationally more intensive than basic swarm models like PLFA, the significant boost in prediction accuracy justifies the trade-off. Future work will explore a "BAS Swarm" algorithm to leverage collective intelligence for even greater efficiency in large-scale data refinement.

Summary updated

BibTeX
@misc{liu2022adam,
  author = {Yuanyi Liu and Jia Chen and Di Wu},
  title = {{An Adam-adjusting-antennae BAS Algorithm for Refining Latent Factors}},
  year = {2022},
  eprint = {2208.06603},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.06603},
}
Figure