mlsanityData to 14 Oct 2026

AgentRec: Agent Recommendation Using Sentence Embeddings Aligned to Human Feedback

arXiv 2501.13333 ↗First posted 23 Jan 2025cs.LG cs.AI cs.CLcited by 3

On the map: LLM agents and tool use → Agentic recommender systems

also in 1 more
Abstract (arXiv)

Multi-agent systems must decide which agent is the most appropriate for a given task. We propose a novel architecture for recommending which LLM agent out of many should perform a task given a natural language prompt by extending the Sentence-BERT (SBERT) encoder model. On test data, we are able to achieve a top-1 accuracy of 92.2% with each classification taking less than 300 milliseconds. In contrast to traditional classification methods, our architecture is computationally cheap, adaptive to new classes, interpretable, and controllable with arbitrary metrics through reinforcement learning. By encoding natural language prompts into sentence embeddings, our model captures the semantic content relevant to recommending an agent. The distance between sentence embeddings that belong to the same agent is then minimized through fine-tuning and aligned to human values through reinforcement learning from human feedback. This allows the classification of natural language prompts based on their nearest neighbors by measuring the cosine similarity between embeddings. This work is made possible through the generation of a synthetic dataset for agent recommendation, which we have open-sourced to the public along with the code for AgentRec recommendation system at https://github.com/joshprk/agentrec.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Agentic recommender systems, one of 16 directions in LLM agents and tool use. Builds on 16 of its 21 references that are in the map. First posted on arXiv 23 Jan 2025.

Builds on

16 of 21 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  8. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  9. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  10. 2018Hierarchical Neural Story Generationcited by 1,193
  11. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  12. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
4 more
  1. 2020The Next Decade in AI: Four Steps Towards Robust Artificial Intelligencecited by 195
  2. 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
  3. 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
  4. 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilitiescited by 52

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025AgentRec: Next-Generation LLM-Powered Multi-Agent Collaborative Recommendation with Adaptive Intelligence
  2. 2026Self-Distilled Reinforcement Learning for Co-Evolving Agentic Recommender Systems
  3. 2026When Memory Takes Gradients: Collaborative Vector Memory for Agentic Recommender Systems
  4. 2023AgentCF: Collaborative Learning with Autonomous Language Agents for Recommender Systems
  5. 2023On Generative Agents in Recommendation
  6. 2026Personalized Recommendation Tool Learning via Autonomous Language Agents
  7. 2025The Future is Agentic: Definitions, Perspectives, and Open Challenges of Multi-Agent Recommender Systems
  8. 2025AgentRecBench: Benchmarking LLM Agent-based Personalized Recommender Systems