HuggingR^4: A Progressive Reasoning Framework for Discovering Optimal Model Companions

作者: Shaoyin Ma, Chenggong Hu, Huiqiong Wang, Li Sun, Mingli Song, Jie Song

摘要

Building effective LLM agents increasingly requires selecting appropriate AI models as tools from large open repositories (e.g., HuggingFace with >2M models) based on natural language requests. Unlike invoking a fixed set of API tools, repository-scale model selection must handle massive, evolving candidates with incomplete metadata. Existing approaches incorporate full model descriptions into prompts, resulting in prompt bloat, excessive token costs, and limited scalability. To address these issues, we propose HuggingR^{4}, the first framework to recast model selection as an iterative reasoning process rather than one-shot retrieval. By integrating Reasoning, Retrieval, Refinement, and Reflection, HuggingR^4 progressively decomposes user intent, retrieves candidates through multi-round deliberation, refines selections via fine-grained analysis, and validates results through reflection. To facilitate rigorous evaluation, we introduce a large-scale benchmark comprising 14,399 user requests across 37 task categories. Experiments demonstrate that HuggingR^4 achieves 93.01% workability and 84.25% reasonability—outperforming state-of-the-art baselines by absolute margins of 17.81% and 23.13%, respectively, while reducing token consumption by 6.9\times.

PDF打开原文
用 AI 找相似论文

可以直接复制这句话问 AI

用 Paperlist 找和「HuggingR^4: A Progressive Reasoning Framework for Discovering Optimal Model Companions」相似的论文(id: 239921,EMNLP 2026)
set up https://paperlist.ai/SKILL.md

接入 MCP命令行 CLI