Abstract
Recent studies empirically indicate that language models (LMs) encode rich world knowledge beyond mere semantics, attracting significant attention across various fields. However, in the recommendation domain, it remains uncertain whether LMs implicitly encode user preference information. Contrary to the prevailing understanding that LMs and traditional recommender models learn two distinct representation spaces due to a huge gap in language and behavior modeling objectives, this work rethinks such understanding and explores extracting a recommendation space directly from the language representation space. Surprisingly, our findings demonstrate that item representations, when linearly mapped from advanced LM representations, yield superior recommendation performance. This outcome suggests the homomorphism between the language representation space and an effective recommendation space, implying that collaborative signals may indeed be encoded within advanced LMs. Motivated by these findings, we propose a simple yet effective collaborative filtering (CF) model named AlphaRec, which utilizes language representations of item textual metadata instead of traditional ID-based embeddings. Specifically, AlphaRec is comprised of three main components: a multilayer perceptron (MLP), graph convolution, and contrastive learning (CL) loss function. Our empirical results show that AlphaRec outperforms leading ID-based CF models on multiple datasets, marking the first instance of such a recommender with text embeddings achieving this level of performance.
Introduction
Traditionally, the recommendation community has treated language modeling and behavior modeling as two distinct worlds. Recommender systems typically represent items as abstract IDs (one-hot encodings) and users by their interaction history. While effective, this approach suffers from major flaws: cold-start issues where new items lack meaningful IDs, a "semantic void" where IDs contain no content information, and a lack of flexibility in understanding immediate, text-based user intentions.
A new study appearing at ICLR 2025, "Language Representations Can Be What Recommenders Need: Findings and Potentials," challenges this divide. The authors discover that advanced Language Models (LMs) already implicitly encode the "collaborative signals" needed for recommendation. They demonstrate a surprising "homomorphism" (structural similarity) between the representation spaces of large language models and user behavior.
Methodology: Mapping Language to Behavior
The core premise of this work is that the latent space of a pre-trained LM already contains the structural information required for collaborative filtering. To test this, the authors conducted a "probing" experiment: they took frozen representations of item titles from LMs (like Llama-2 or OpenAI's embeddings) and applied a simple linear mapping to project them into a behavior space.
Building on this discovery, the authors developed AlphaRec, a collaborative filtering model that replaces traditional ID embeddings with text-based representations. AlphaRec consists of:
- Frozen LM Backbone: Utilizing a pre-trained LM (defaulting to OpenAI’s
text-embeddings-3-large) to extract representations from item titles. - Nonlinear Projector: A two-layer MLP that "excavates" preference similarities from the language space.
- Graph Convolution: A minimal graph layer (similar to LightGCN) to capture high-order connectivity between users and items.
- Contrastive Loss: Optimization via InfoNCE loss to align interacted user-item pairs in the embedding space.
Empirical Results
AlphaRec was evaluated across diverse benchmarks, including Amazon Product Data, MovieLens-1M, and Book Crossing. The results consistently showed that AlphaRec outperformed leading ID-based models like LightGCN and XSimGCL. On the "Movies & TV" dataset, it achieved a 6.79% improvement in Recall@20 over the best baseline.
Key Insights
The Homomorphism Discovery
The most striking finding is the mathematical relationship between language and behavior spaces. Items that are semantically different but "behaviorally" similar (e.g., movies with different plots that appeal to the same niche audience) cluster together after a simple mapping. This suggests that collaborative signals are deeply embedded in the LM's representation during its pre-training on vast corpora.
Scaling and Zero-Shot Power
As LMs get larger (e.g., moving from Llama-2 7B to 70B), the quality of the "hidden" collaborative signals improves. Furthermore, because AlphaRec relies on text rather than IDs, it can be trained on one dataset (e.g., Amazon Books) and immediately perform well on a completely different one (e.g., Book Crossing) without any further training.
Intention Awareness
AlphaRec can refine recommendations on the fly by combining a user's history with a text-based "intention query" (e.g., "I want to watch some Marvel superhero movies"). In tests, adding user intention improved the Hit Ratio (HR@5) on MovieLens-1M from 0.079 to 0.470.
Conclusion
This research suggests a paradigm shift where recommenders evolve from ID-trackers into intention-aware systems powered by the latent knowledge within language models. AlphaRec proves that text-based representations are not just a supplement but can be the primary driver for state-of-the-art recommendation performance.
Summary updated