TL;DR
AgenticTagger is a novel multi-LLM framework that generates structured, low-cardinality natural language descriptors (tags) to represent items in recommendation systems. By combining a top-down hierarchical vocabulary-building stage with a parallelized multi-agent reflection loop, it bridges the gap between the semantic reasoning of LLMs and the structural constraints required by large-scale recommender models. The resulting representations consistently improve recommendation accuracy while providing native interpretability and user controllability.
What Problem Does This Paper Address?
Modern recommendation systems heavily rely on high-quality item representations. Traditional approaches use abstract embeddings or collaborative filtering IDs, which are highly effective but completely uninterpretable "black boxes." Recently, researchers have turned to Large Language Models (LLMs) to generate natural language item descriptions.
However, open-ended, free-form LLM generation introduces a major challenge: vocabulary explosion. If you ask an LLM to describe items freely, it might use "Blues music" for one item and "Blues great hits" for another, creating thousands of unique, redundant tags (high cardinality). This lack of structure makes it incredibly difficult for downstream machine learning models to learn meaningful patterns. Furthermore, entire item catalogs are far too large to fit into an LLM's context window, preventing the model from maintaining a global, consistent view of the vocabulary.
Methods
To solve the vocabulary explosion and scalability issues, the authors introduce AgenticTagger, a two-stage framework:
- Vocabulary Building: Instead of generating tags on the fly, AgenticTagger automatically constructs a structured, coarse-to-fine taxonomy (e.g.,
CDs & Vinyls -> Rock -> Glam Rock). To scale this to massive datasets, they design a multi-agent self-refinement loop: - Architect LLM: A powerful, slower model that proposes and refines the core vocabulary based on small, representative item samples.
- Annotator LLMs: Multiple faster, lighter copies of an LLM that scan the item corpus in parallel. They attempt to assign the Architect's vocabulary to items and generate "failure reports" ($\mathcal{E}$) for items that don't fit. These reports are fed back to the Architect to iteratively fix gaps in the taxonomy.
- Vocabulary Assignment: Once the global vocabulary is locked in, the annotator LLMs tag the entire corpus in a single, highly parallelized pass, forcing the output to strictly conform to the learned vocabulary.
Datasets
The authors evaluated AgenticTagger across both public and private benchmarks:
- Amazon Reviews Dataset: Three distinct domains were tested: "Sports and Outdoor" (Sports), "Beauty", and "CDs and Vinyl" (CDs).
- Private News-Feed Dataset: A large-scale dataset consisting of 47,358 users, 67,097 items, and over 206,000 interactions to evaluate ranking performance in a production-like environment.
Key Insights and Ideas
- Constrained Generation is Key: Forcing LLMs to select from an evolving, self-constructed vocabulary prevents the cardinality explosion of free-form text while preserving the rich semantic reasoning of the model.
- The Architect-Annotator Split Scales: Trying to process a massive catalog sequentially through a single LLM is a bottleneck. Delegating the heavy lifting (scanning the corpus) to parallelized, weaker "Annotators" while reserving the "Architect" for high-level synthesis makes agentic feature engineering viable for large-scale production.
- Native Controllability: Because the item features are human-readable text strings arranged hierarchically, users can directly "critique" the system (e.g., "show me more Proto Punk, less Glam Rock"). The system can easily filter the generative search space based on these text tags without needing model retraining.
Key Results
AgenticTagger was evaluated against traditional ID-based sequential models (SASRec, BERT4Rec), feature-enhanced models (FDSA), and state-of-the-art semantic ID methods (TIGER, VQ-Rec).
- Generative Recommendation: On the Amazon benchmarks, AgenticTagger achieved the highest overall performance, showing an 8.9% to 11.6% improvement in NDCG@10 over the closest competing baselines in the Sports and CDs domains.
- Comparison to Feature Crossing: It also outperformed recent advanced tokenization methods like SentencePiece and ActionPiece that merge IDs based on user behavior.
- Industrial Ranking: On the private news dataset, switching from raw item IDs to AgenticTagger descriptors led to massive gains in broader retrieval metrics, such as boosting Recall@50 from 0.5761 to 0.8514.
- Controllability Boost: In simulated user-critique sessions, constraining the recommendation search space using AgenticTagger's interpretable levels improved recommendation metrics by up to 73%.
Limitations and Future Work
While highly effective, the authors note that as the taxonomy gets deeper (finer-grained subcategories), the semantic boundaries between products become "fuzzy." For instance, distinguishing between highly niche sub-genres or specific technical attributes makes it harder to enforce strict, mutually exclusive categorization.
Currently, the framework assigns a single best descriptor per hierarchy level. Future work will explore multi-label assignments and investigate ways to directly incorporate user behavioral data (collaborative filtering signals) into the LLM's vocabulary-building phase to further align semantic tags with actual user consumption patterns.
Summary updated