Abstract
NoteLLM-2 is a novel framework designed to transform Large Language Models (LLMs) into efficient multimodal representation tools specifically for recommendation systems. By introducing multimodal In-Context Learning (mICL) and a gate-based late fusion mechanism, NoteLLM-2 addresses the "visual neglect" phenomenon where fine-tuned models prioritize text over image content. Experimental results on real-world datasets demonstrate significant improvements in recommendation accuracy and inference efficiency, with a 6.35% increase in online click counts and 3–4x faster processing compared to general-purpose multimodal models.
Introduction
In social media and e-commerce platforms, "Item-to-Item" (I2I) recommendation is critical for driving user engagement. While Large Language Models (LLMs) excel at processing textual data, adapting them for multimodal recommendation tasks presents several challenges. Existing Multimodal Large Language Models (MLLMs) often suffer from release lags relative to text-only versions, generative inefficiency for embedding tasks, and "visual neglect"—a tendency to ignore visual signals in favor of text during fine-tuning.
To overcome these hurdles, NoteLLM-2 proposes an end-to-end fine-tuning framework that converts any LLM and vision encoder into a specialized Multimodal Large Representation Model (MLRM).
The NoteLLM-2 Framework
The core of NoteLLM-2 lies in two primary innovations: Multimodal In-Context Learning (mICL) and Gate-Based Late Fusion.
Multimodal In-Context Learning (mICL)
Standard fine-tuning often collapses multimodal inputs into a single representation, leading the model to "cheat" by relying on text. mICL restructures the input prompt into distinct visual-only and multimodal segments. This forces the model to generate two separate embeddings—one for the image and one for the combined context—thereby balancing attention across modalities and preventing visual information from being overshadowed.
Gate-Based Late Fusion
While traditional "early fusion" feeds visual features into the initial layers of an LLM, visual details often dissipate by the final layers. NoteLLM-2 implements a learnable gating mechanism that fuses raw features from the vision encoder directly into the LLM’s final output. This "safety net" ensures that high-fidelity visual information is preserved in the final multimodal embedding.
Experimental Evaluation
The framework was evaluated using a massive dataset from the social media platform Xiaohongshu, comprising approximately 1.13 million training note pairs.
Key Results
- Performance Gains: NoteLLM-2 significantly outperformed baseline models. On the MTomato-Base model, it achieved a nearly 10% improvement in Recall@100 for "Short Query Pairs," where visual content is most vital.
- Online Impact: Real-world A/B testing showed a 6.35% increase in click counts for initial exposures and a 9.83% increase in interactions for new notes.
- Efficiency: The specialized MLRM architecture achieved inference speeds 3–4x faster than general-purpose MLLMs like Qwen-VL-Chat, making it highly practical for high-traffic production environments.
Conclusion
NoteLLM-2 effectively "rescues" visual data from the shadow of LLMs by ensuring that both text and images contribute meaningfully to item representations. By prioritizing efficiency and modality balance, it provides a practical path for deploying state-of-the-art LLM capabilities in high-traffic recommendation systems. Future work will explore extending this framework to video data and broader recommendation scenarios.
Summary updated