Adaptive Gradient Masking for Balancing ID and MLLM-based Representations in Recommendation

Yi-Dong Wu, Siyuan Chen, Bin-Rui Wu, Fan Li, Jie-Chao Gao
1/1/2025

No confident code implementation found for this paper.

Abstract

In large-scale recommendation systems, multimodal (MM) content is increasingly introduced to enhance the generalization of ID features. The rise of Multimodal Large Language Models (MLLMs) enables the construction of unified user and item representations.

Show full abstract

However, the semantic distribution gap between MM and ID representations leads to convergence inconsistency during joint training: the ID branch converges quickly, while the MM branch requires more epochs, thus limiting overall performance. To address this, we propose a two-stage framework including MM representation learning and joint training optimization. First, we fine-tune the MLLM to generate unified user and item representations, and introduce collaborative signals by post-aligning user ID representations to alleviate semantic differences. Then, we propose an Adaptive Gradient Masking (AGM) training strategy to dynamically regulate parameter updates between ID and MLLM branches. AGM estimates the contribution of each representation with mutual information, and applies non-uniform gradient masking at the sub-network level to balance optimization. We provide theoretical analysis of AGM’s effectiveness and further introduce an unbiased variant, AGM*, to enhance training stability. Experiments on offline and online A/B tests validate the effectiveness of our approach in mitigating convergence inconsistency and improving performance.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2025adaptive,
  title  = {Adaptive Gradient Masking for Balancing ID and MLLM-based Representations in Recommendation},
  author = {Yi-Dong Wu and Siyuan Chen and Bin-Rui Wu and Fan Li and Jie-Chao Gao},
  year   = {2025},
  doi    = {10.52202/085713-0481},
  url    = {https://doi.org/10.52202/085713-0481},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/ca810d46877bfccbd6f8fd5f47f7d44be84ea056.svg)](https://codeofpaper.com/paper/ca810d46877bfccbd6f8fd5f47f7d44be84ea056)

Discussion