This invention relates to a localized
differential privacy recommendation method and
system that balances algorithmic fairness, belonging to the fields of computer recommendation systems and
information security technology. The method first divides the dataset into three groups—active, moderate, and inactive—based on user activity. The
server initializes and pre-trains the item latent
factor matrix, saving the latent factor matrices for each group. Gradient updates and dynamic gradient clipping are performed on each group, adaptively adding
noise based on a clipping threshold. In each iteration, the gradient clipping threshold and
noise scale are updated. Each group uploads the perturbed item gradients to the
server for secure aggregation. Finally, the recommendation
server uses the updated item latent
factor matrix and distributes it to the
local group for further training. After iteration, users generate a top-K recommendation
list through local prediction. This invention effectively protects
user privacy in scenarios where the server is untrusted, significantly alleviates the performance differences in recommendations between user groups with different activity levels, and achieves a balance between
privacy protection and algorithmic fairness.