Information Retrieval Induced Safety Degradation in AI Agents

Cheng Yu, Benedikt Stroebl, Di-Yi Yang, O. Papakyriakopoulos
1/1/2025

No confident code implementation found for this paper.

Abstract

Despite the growing integration of retrieval-enabled AI agents into society, their safety and ethical behavior remain inadequately understood. In particular, the growing integration of LLMs and AI agents with external information sources and real-world environments raises critical questions about how they engage with and are influenced by these external data sources and interactive contexts.

Show full abstract

This study investigates how expanding retrieval access—from no external sources to Wikipedia-based retrieval and open web search—affects model reliability, bias propagation, and harmful content generation. Through extensive benchmarking of censored and uncensored LLMs and AI Agents, our findings reveal a consistent degradation in refusal rates, bias sensitivity, and harmfulness safeguards as models gain broader access to external sources, culminating in a phenomenon we term safety degradation . Notably, retrieval-enabled agents built on aligned LLMs often behave more unsafely than uncensored models without retrieval. This effect persists even under strong retrieval accuracy and prompt-based mitigation, suggesting that the mere presence of retrieved content reshapes model behavior in structurally unsafe ways. These findings underscore the need for robust mitigation strategies to ensure fairness and reliability in retrieval-enabled and increasingly autonomous AI systems. Content Warning : This paper contains examples of harmful language.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2025information,
  title  = {Information Retrieval Induced Safety Degradation in AI Agents},
  author = {Cheng Yu and Benedikt Stroebl and Di-Yi Yang and O. Papakyriakopoulos},
  year   = {2025},
  doi    = {10.52202/085713-2104},
  url    = {https://doi.org/10.52202/085713-2104},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/6b7602a9146087542bcdbaade9fe8801103e6730.svg)](https://codeofpaper.com/paper/6b7602a9146087542bcdbaade9fe8801103e6730)

Discussion