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.
AgentRec: Next-Generation LLM-Powered Multi-Agent Collaborative Recommendation with Adaptive Intelligence
Department of Software \& Microelectronics Peking University Beijing, China;Department of Software \& Microelectronics Peking University Beijing, China hangli\;Department of Software \& Microelectronics Peking University Beijing, China zehua\;Department of Software \& Microelectronics Peking University Beijing, China xiaofan\;Economic Law School China University of Political Science;School of Computer Science Peking University Beijing, China
SPECTER: Document-level Representation Learning using Citation-informed Transformers
Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院)
Performance of ChatGPT-3.5 and GPT-4 on the United States Medical Licensing Examination With and Without Distractions
Magee-Womens Research Institute(马吉妇女研究所);University of Pittsburgh School of Medicine(匹兹堡大学医学院);Chaim Sheba Medical Center(哈伊姆·谢巴医疗中心);Sackler Faculty of Medicine, Tel Aviv University(特拉维夫大学萨克勒医学院);Ariel University(阿里尔大学)
PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts
Microsoft Research(微软研究院);Institute of Automation, CAS(中国科学院自动化研究所);Carnegie Mellon University(卡内基梅隆大学);Peking University(北京大学);Westlake University(西湖大学);Duke University(杜克大学)
Large Language Model-driven Meta-structure Discovery in Heterogeneous Information Network
Hong Kong University of Science and Technology(香港科技大学);Tsinghua University(清华大学);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Hefei University of Technology(合肥工业大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Large Language Model Aided QoS Prediction for Service Recommendation
School of Computer Science and Technology(计算机科学与技术学院);Anhui University(安徽大学);Department of Computer Science(计算机科学系);Stony Brook University(石溪大学);School of Information Engineering(信息工程学院);Chaohu University(合肥学院)
Efficient Cold-Start Recommendation via BPE Token-Level Embedding Initialization with LLM
McKelvey School of Engineering(麦凯维工程学院);Washington University in St. Louis(圣路易斯华盛顿大学);Vanderbilt University(范德堡大学);Viterbi School of Engineering(维特比工程学院);University of Southern California(南加州大学);Columbia University(哥伦比亚大学)