Reproduce “Risk-Aware Reranking for Agentic Tool Retrieval” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Qinfei Li, Xiaoxuan Dong, Jin Zhang, Dexu Yu, Wenhao Deng, Junchen Fu, Youhua Li, Hanwen Du and 1 more

A lightweight reranking framework was developed to integrate operational risk awareness into tool retrieval for large language model agents. This framework, which combines relevance and tool-level exposure risk, demonstrated a reduction in risky tool exposure (RVR@5) from 0.178 to 0.073 with its rule-filtered variant on the UltraTool dataset, while maintaining strong relevance.

Key insights

  • Solely optimizing for semantic relevance in tool retrieval can inadvertently increase an agent's exposure to higher-risk tools, even if those tools are relevant.
  • Integrating a dedicated risk prediction component and a configurable risk-relevance trade-off (via the \u03bb parameter) allows for proactive control over the safety profile of candidate tools.
  • While graph-based smoothing improves overall ranking quality by sharing relevance evidence, explicit rule-based filtering provides the most substantial reduction in risky tool exposure for safety-critical scenarios.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.