Reproduce “Forecasting Trajectory-Level Safety Risks in Black-Box Multi-Turn Interactions” 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
Shi Lin, Peng Qian, Dinghao Liu, Renjie Sun, Sifan Wu, Dezhang Kong, Chenpei Wang, Xun Wang
Researchers at Zhejiang Gongshang University and collaborators developed Recast, a framework that forecasts trajectory-level safety risks in black-box multi-turn interactions with large language models. The system successfully predicted 88.3% of future safety failures with an average lead time of 2.41 turns, reducing the Attack Success Rate by 40.4% when integrated with a guardrail model.
Key insights
- Safety risks in multi-turn interactions are compositional and evolve dynamically, requiring modeling of feature conjunctions and temporal state changes rather than just point-wise violations.
- Integrating both short-term interaction dynamics and reactivated long-term dependencies is crucial for accurately forecasting the emergence of latent, evolving risks.
- Proactive, trajectory-level risk forecasting provides a complementary and effective defense strategy, offering an early warning mechanism that significantly enhances LLM agent safety against complex multi-turn attacks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.