HuggingR$^{4}$: A Progressive Reasoning Framework for Discovering Optimal Model Companions
Shaoyin Ma, Chenggong Hu, Huiqiong Wang, Li Sun, Mingli Song, Jie Song

TL;DR
HuggingR$^{4}$ is a novel iterative reasoning framework for selecting optimal AI models from large repositories, improving accuracy and efficiency over existing methods by decomposing user intent and refining choices through multiple reasoning steps.
Contribution
It introduces a progressive, multi-round reasoning process for model selection, addressing scalability and prompt bloat issues in large repository environments.
Findings
Achieves 92.03% workability and 82.46% reasonability in model selection.
Outperforms state-of-the-art baselines by over 26% in effectiveness.
Reduces token consumption by approximately 6.9 times.
Abstract
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, the first framework to recast model selection as an iterative reasoning process rather than one-shot retrieval. By synergistically integrating Reasoning, Retrieval, Refinement, and Reflection, HuggingR progressively decomposes user intent, retrieves candidates through multi-round deliberation, refines selections via fine-grained analysis, and validates results…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Multimodal Machine Learning Applications · Artificial Intelligence in Healthcare and Education
