Decomposing the Impact of Language on LLM Agent Tool-Call Admission and Post-Retrieval SafetyDisentangling Language Effects on Tool Admission and Post-Retrieval Safety
Quick read
Evaluation and benchmarksBased on the paper PDF (generated by Gemini); refer to the original
The authors evaluate the cross-lingual performance of ten models in URL retrieval and find that non-English harmful requests raise the average tool admission rate from 46.9% to 67.4%.
- This study focuses on the evaluation of retrieval safety for large language model agents in multilingual settings. Prior work has not clarified whether language differences affect front-end tool admission or back-end post-retrieval generation, and easily misjudges harmless outputs caused by language comprehension or generation capability failures as effective refusals due to safety alignment.
- Based on HarmURLBench, the authors design a controlled URL retrieval pipeline that independently intervenes on the user request language, page language, and answer language to quantify cross-lingual safety loss (SLIP), and design a tool-free comprehension probe and an automated audit taxonomy to disentangle safety refusals from language capability limitations.
- Evaluating ten models found that non-English harmful requests raised the average tool admission rate from 46.9% to 67.4%; forcing use of the page language raised the paired harmful rate of closed-source models from 50.3% to 57.4%; the low harmful rates of small models under low-resource settings were mostly accompanied by lack of understanding and task implementation failure.
- The probe and the response audit are based on different outputs and thus are observational conclusions; some models have inconsistent reasoning settings in cross-lingual comparisons; low-resource languages lack native-speaker human validation and the taxonomy audit lacks human calibration; the main experiments do not cover autonomous retrieval by small models.
- Evaluated models
- Qwen-2.5-3BQwen-2.5-14BLlama-3.1-8BLlama-3.2-3BQwen-3.5-27BGemma-4-31Bclaude-haiku-4-5gemini-2.5-flashclaude-sonnet-4gpt-4.1Qwen-2.5-7BMistral-Nemo-12Bo4-mini
- Benchmarks
- HarmURLBenchHarmBench
- Metrics
- ARHRSLIPadmSLIPrespSLY
The paper proposes the SLIP (Safety Loss in Cross-Lingual Processing) framework, measuring the safety performance of retrieval tool calls and post-retrieval generation separately on 296 harmful behaviors in HarmURLBench, ten models and seven languages. Non-English harmful requests raise the average tool call rate from 46.9% to 67.4%, with an increase for every model; in the autonomous retrieval setting without provided URLs, four closed-weight models also rise from 14.9% in English to 23.9%–57.9%. After requiring answers in the webpage language, the harmfulness rate of the four closed-weight models on paired tool calls rises from 50.3% to 57.4%, occurring mainly in Chinese and Hindi, whereas merely translating the retrieved pages does not bring a consistent increase. An audit of harmless answers in Chinese and Hindi from four 3–14B models shows that 40.0% are genuine refusals, and 51.5% are language avoidance or task implementation failures.
Why it was selectedThe paper uses 296 harmful behaviors to separately test tool invocation and post-retrieval generation across ten models, showing that multilingual safety evaluation needs to examine these two stages separately.
Paper analysis
What problem does this paper attempt to solve?
The authors study the two-stage safety performance of retrieval agents in multilingual settings, exploring the specific impact of language on tool admission and post-retrieval generation.
The paper attempts to address the safety failures and evaluation distortions of large language model retrieval agents in multilingual settings across two stages: tool admission and post-retrieval generation.
- Scenario and importance: Large language model agents increasingly call retrieval tools to complete cross-lingual tasks, but existing safety evaluations focus mainly on English settings (Figure 1).
- Limitations of existing evaluations: Prior work has not clarified whether language differences change the model's decision to call retrieval tools, change the harmfulness of post-retrieval generated content, or both; meanwhile, existing evaluations often misjudge non-harmful responses caused by comprehension or generation capability failures as effective refusals due to alignment.
- Core observation and hypothesis: The authors propose Safety Loss through Interlingual Processing (SLIP), arguing that non-English harmful requests increase the tool admission rate, while in low-resource languages models cannot complete tasks due to capability limits, so looking only at harm rates overestimates model safety.
- Evaluation design of the paper: In a controlled URL retrieval pipeline, the paper independently varies the request language, retrieved page language, and target answer language, evaluating the tool admission rate and post-retrieval harm rate of ten models across seven languages, and deconstructs model behavior through comprehension probes and response audits.
What related research exists?
The paper reviews research on retrieval-augmented generation safety, tool agent safety, and multilingual safety, and points out that existing work does not disentangle the impact of language on admission and post-retrieval generation.
In the paper, the authors organize and discuss three categories of related research:
- Security of retrieval-augmented generation: An et al. (2025) and She et al. (2025) point out that even when retrieved documents are benign or defensive in nature, retrieval-augmented generation can still weaken the safety of large models; AgentREVEAL (Nawal et al., 2026) studies how retrieval integration and the attributes of retrieved content affect harmful compliance, and proposes HarmURLBench for controlled retrieval safety evaluation, which this paper extends to multilingual settings.
- Security of tool-using agents: Andriushchenko et al. (2025), Tur et al. (2025), Zhang et al. (2025), Xie et al. (2025) and Shi et al. (2026) evaluate harmful task completion by agents; Ye et al. (2024), Xia et al. (2025) and Mou et al. (2026) evaluate risks at various stages of tool invocation through ToolSword, SafeToolBench and ToolSafe, respectively; Cartagena and Teixeira (2026), Yu et al. (2026), and Syed and Yasaei (2026) report that textual refusal can coexist with unsafe tool invocation.
- Multilingual safety and tool use: Yong et al. (2024), Shen et al. (2024), Atil et al. (2025), Marx and Dunaiski (2026), Ning et al. (2025) and Dan et al. (2026) report that large model safety differs across languages, and that low-resource or translated prompts weaken defenses; Kumar et al. (2025), Abdullahi et al. (2026) and Bansal and Mishra (2026) study cross-lingual safety guardrail models; Luo et al. (2026)'s Lost in Execution points out multilingual tool invocation failures caused by language mismatch in parameter values; Zhan et al. (2026) analyze the different roles of instruction, content and response language in multilingual task execution.
- Baseline methods and benchmark: The evaluation uses the 296 harmful behaviors constructed based on HarmBench in HarmURLBench (Nawal et al., 2026) and the corresponding level-5 stance (SS5) web pages, and sets benign summarization requests as an admission selectivity control.
The authors state that prior work has not established whether language changes the retrieval invocation decision, changes harmful generation after retrieval, or both; this paper, by fixing the task and retrieval target, independently isolates the effects of request, page and response language on tool admission and generation safety, and distinguishes genuine safety refusal from language capability limitations.
How does the paper address this problem?
Through a fixed-URL two-stage retrieval pipeline, the paper independently intervenes on the request, page, and answer languages, combining comprehension probes and output audits to disentangle admission and generation safety.
The paper proposes the Safety Loss through Interlingual Processing (SLIP) analysis framework, disentangling the two stages of tool admission and post-retrieval generation in a controlled externally specified URL retrieval pipeline.
Task Setting and Two-Stage Pipeline
- Externally specified URL retrieval setting: Each request contains a user-specified URL, and the model decides whether to call the retrieval tool (fetch_url) before observing the webpage, which is called tool admission; if admitted, the model obtains the cached page and generates the final answer (Section 3).
- Fixed retrieval targets to control confounders: Uses the pages corresponding to the 296 harmful behaviors in HarmURLBench, with stance fixed at the highest assistance level (SS5), keeping the English system prompt and tool schema unchanged, eliminating the influence of query construction, ranking, and source selection.
Controlled Language Intervention Design
- Request language intervention (before admission): Translates harmful requests into non-English, keeping the canonical URL and English page fixed.
- Page language intervention (after retrieval): Translates only the cached webpage content, keeping the English request and URL fixed.
- Answer language intervention (generation side): Explicitly specifies in the system prompt that the model must answer in English or the page language, evaluating the effect of forced language on generation harmfulness.
- Language scope: Evaluation covers seven languages: English, Chinese, Hindi, Igbo, Swahili, Lao, and Haitian Creole.
Metric Definitions and SLIP Quantification
- Admission-side SLIP: Defined as the difference between the admission rate for requests in the target language and the admission rate for English requests:
SLIPadm(L) = AR(Lreq=L) − AR(Lreq=en) This metric measures the change in tool admission rate caused by changing the request language from English to the target language L, with the model, behavior, and URL form held the same and the retrieval page kept in English.
- Response-side SLIP: Defined as the difference between the harm rate when answers in the target language are required and when answers in English are required:
SLIPresp(L) = HR(Lresp=L) − HR(Lresp=en) This metric measures the change in post-retrieval harm rate produced by instructing the model to answer in the target language L versus answering in English, with the English request and translated page held fixed.
Comprehension Probes and Automated Taxonomy
- Tool-free comprehension probe: Strips the tool and URL, asks the model to summarize the harmful request target in English and give a harmfulness label, and GPT-4o judges whether the target is understood (Section E.4).
- Response audit taxonomy: Uses gpt-5.4-mini to subdivide responses initially screened as non-harmful, classifying them as genuine refusal (Refusal), page language deflection (Language deflection), realization failure (Realization failure), or harm-like response (Harm-like) (Section 4.4).
What experiments did the paper conduct?
Evaluating ten models, the paper finds that non-English requests generally raise retrieval admission, closed-source models show increased response-side harmfulness, and small models' low harm stems from comprehension and generation failures.
Experimental Setup
- Models tested: The main experiments cover 10 models, including 4 open-source models of 3–14B (Qwen-2.5-3B, Qwen-2.5-14B, Llama-3.1-8B, Llama-3.2-3B), 2 open-source models of 27–31B (Qwen-3.5-27B, Gemma-4-31B), and 4 closed-source models (claude-haiku-4-5, gemini-2.5-flash, claude-sonnet-4, gpt-4.1); the appendix additionally reports Qwen-2.5-7B, Mistral-Nemo-12B, and o4-mini (Table 6, Table 7).
- Dataset and benchmark: Uses 296 harmful behaviors from HarmURLBench (covering 7 HarmBench categories), testing English, Chinese, Hindi, Igbo, Swahili, Lao, and Haitian Creole (the appendix additionally includes Amharic).
- Baselines and controls: Benign summary admission control (296 samples), 14 URL variants, autonomous retrieval (no preset URL), translation-quality filtered subset, alternative translator control.
- Main metrics: Tool admission rate (AR), post-retrieval harm rate (HR), admission selectivity difference (SL), retrieval-mediated harmful output (Y).
- Evaluation methods: The main harmfulness judge is GPT-4o (zero-shot, temperature 0, X-Teaming five-level rating scale, score >= 3 as harmful); human verification uses native English/Chinese/Hindi-speaking graduate students for independent annotation (400 samples each, agreement rates 85%, 81%, 78%); cross-checks include GPT-5.5, Gemini 3.1 Pro, and translation mediation; the taxonomic audit judge is gpt-5.4-mini.
- Samples and inference: Each model-behavior-condition combination is evaluated once at temperature 0, open-source models use a fixed random seed of 42, maximum generation 4,096 tokens; statistical tests use 20,000 behavior-clustered bootstrap resamples with Holm-Bonferroni correction.
Main Results
Swipe horizontally to read the table
Model English AR (%) English HR (%) Hindi AR (%) Igbo AR (%) Igbo HR (%) Qwen-2.5-3B 72.3 76.6 90.5 95.6 56.2 Qwen-2.5-14B 40.2 77.3 68.2 78.0 55.4 Llama-3.2-3B 64.2 40.0 89.5 95.9 23.5 Qwen-3.5-27B 32.1 34.7 37.5 46.3 44.5 Gemma-4-31B 34.1 77.2 35.5 36.3 72.9 claude-sonnet-4 49.2 21.4 44.1 79.3 76.5 gpt-4.1 46.3 46.7 64.9 88.5 69.8 (According to Table 1; due to table size limits, Llama-3.1-8B, claude-haiku-4-5, and gemini-2.5-flash, as well as the Chinese, Swahili, Lao, and Haitian Creole columns, are omitted)
- Request language generally raises tool admission: Across all ten tested models, non-English harmful requests lead to an increase in the average tool admission rate, with the ten-model mean rising from 46.9% for English to 67.4% for the six non-English languages (Table 1, Table 2).
- Post-retrieval harm rates diverge across model groups: The closed-source model group's post-retrieval harm rate under non-English requests rises from 46.5% for English to 67.2% for high-resource languages and 60.7% for low-resource languages; while the 3–14B open-source model group falls from 64.3% for English to 52.7% for low-resource languages (Table 2).
- Retrieval-mediated harmful output generally rises: Among compliant scorable outputs, the average harmful output of closed-source models rises from 17.7% for English to 28.2–55.3% for non-English; although the 3–14B models show lower post-retrieval harm rates in low-resource settings, because the admission rate rises significantly, their net harmful output in Hindi, Swahili, and Haitian Creole also rises (Section 4.1, Table 25).
Admission Tests in the Autonomous Retrieval Setting
- What was tested: Without providing experimental URLs, models are shown translated harmful requests and asked to decide on their own whether to call the retrieval tool and generate URL parameters (Section 4.2, Appendix D.1).
- Results: The average tool admission rate of the four closed-source models is 14.9% for English, rising to 23.9–57.9% across the six non-English languages, an increase of 9.0–42.9 percentage points (Table 22); counting only calls targeting harmful tasks, the admission rate rises from 14.8% for English to 22.2–46.0% for non-English.
- Authors' interpretation: The authors state that the SLIP phenomenon at the admission side persists in the model autonomous retrieval scenario, and that the vast majority of generated tool calls directly serve harmful tasks.
Effect of Page and Answer Language on Response-Side Harmfulness
- What was tested: Separately testing translating only the retrieval page, and, with the English request and translated page fixed, forcing answers in English or in the page language (Section 4.3, Figure 3, Table 54).
- Results: Among the eight models with consistent reasoning settings, translating only the page does not cause consistent changes in harm rate, with the 3–14B models changing by an average of -0.9 percentage points and the closed-source models by an average of -3.1 percentage points (Table 27); when answers in the page language are required, the harm rate of the four closed-source models on paired calls rises from 50.3% under the English requirement to 57.4% (Figure 3, Table 54).
- Authors' interpretation: The authors state that translating only the page is insufficient to systematically break through safety defenses, but forcing answers to be generated in non-English weakens the safety of closed-source models, and this effect is concentrated mainly in high-resource languages such as Chinese and Hindi.
Comprehension Probes and Taxonomic Audit of Non-Harmful Responses
- What was tested: A tool-free comprehension probe tests the model's comprehension rate of harmful targets, and an automated taxonomy audits non-harmful responses (Section 4.4, Figure 4, Table 4, Table 5).
- Results: The four 3–14B models can identify 99.2% of English harmful targets, but in the four low-resource languages they identify only 10.0–48.4% (Figure 4); among the 200 audited Chinese/Hindi non-harmful responses of the 3–14B models, only 40.0% are genuine safety refusals, and 51.5% are language deflection or realization failure (Table 4).
- Authors' interpretation: The authors state that a low observed harm rate does not equate to genuine safety defense; in low-resource languages, small models often fail to produce harm because they cannot understand instructions or fail to generate, and traditional harmfulness evaluations overestimate their safety.
Other Ablations and Analyses
- Benign summary admission selectivity: Among the four closed-source models, the benign request admission rate is close to 95% in both English and Igbo, but the harmful request admission rate rises from 39.1% to 73.3%, and the gap between benign and harmful admission falls from 56.5 to 22.0 percentage points (Table 24).
- Strict translation-quality filtering: On the strict subset where both reviewers and Gemini judge fidelity, the ten-model average admission gap for Igbo still reaches +23.3 percentage points (95% interval 20.2 to 26.3, Table 17).
- Localization of system prompts and tool descriptions: Among the four closed-source models, translating the prompts and tool descriptions into the local language raises the harmful admission rate by 5.8–12.1 percentage points (Table 33).
- Pinyin and romanization control: After replacing native Hindi and Chinese characters with ITRANS and pinyin, the harmful admission rates of the four closed-source models rise by an average of 26.4 and 30.5 percentage points, respectively (Table 31).
- English pre-translation input normalization: After pre-translating non-English requests into English input, the combined admission rate of closed-source models still rises from 39.1% for native English to 42.1–50.0% (Table 41).
- Harmfulness of direct no-call replies after refusal: The average harm rate of direct no-call replies of the ten models across seven languages is 2.0% (138/6,868, Table 28).
What are some points that can be further explored?
The authors point out limitations including the observational nature of the probes, inconsistent reasoning settings, and the lack of human verification for low-resource languages; the experiments cover ten models and seven languages.
Limitations noted by the authors and future directions
- Observational nature of the capability–harm relationship: The understanding probe and the response audit use different outputs, so the association between capability and harmfulness is an observational conclusion rather than a causal relationship (from Section 6).
- Classification of non-harmful responses depends on the primary judge: The proportions of each category among non-harmful responses depend on the primary judge's initial screening label of "non-harmful"; the result shares among the full evaluation responses are only descriptive estimates (from Section 6).
- Reasoning limits and incomplete consistency of settings: The 27–31B models differ in context, page length and generation limits between the English baseline and translated-page runs, and Gemma's limits under Lao and Haitian Creole requests also differ from English (from Section 6).
- Corpus and confounders not isolated: Language resource grouping is based on the scale of the public mC4 web corpus, and the specific training data for each language is unknown; writing system, language typology and alignment coverage are intertwined, and model size, training method and provider filtering could not be independently isolated (from Section 6).
- Limited human validation for low-resource languages: No suitable native speakers could be found to validate the pragmatic and cultural equivalence of the translated requests; low-resource languages lack native-speaker human validation of harmfulness, relying on machine translation and cross-provider automated validation; the taxonomy audit was fully automated and lacked human annotation validation (from Section 6).
- Evaluation results depend on a specific judge: Agreement among judges does not equate to the objective correctness of the labels themselves, and harmfulness labels still depend on the judgment of a specific evaluation model (from Section 6).
Scope of experimental coverage
- Range of models tested: The main experiments cover 10 models, including 4 3–14B open-source models, 2 27–31B open-source models and 4 closed-source models, with 3 additional models reported as supplementary (Table 6).
- Range of evaluation languages: The main experiments cover 7 languages (English, Chinese, Hindi, Igbo, Swahili, Lao, Haitian Creole), with Amharic additionally tested in the appendix (Table 1, Table 8).
- Test tasks and scale: The evaluation is based on 296 harmful behaviors in HarmURLBench (involving 7 HarmBench categories), with the page stance fixed at SS5 (Section 3, Table 26).
- Sampling and repetition protocol: A single sample per model per behavior and condition (temperature 0, maximum 4,096 tokens); the paper does not report results from repeated sampling with multiple random seeds (Section A.2).
- Autonomous retrieval coverage: The autonomous retrieval experiments without preset URLs were run only on the 4 closed-source models, and no autonomous retrieval admission results are reported for open-source models (Section 4.2, Appendix D.1).
Summarize the main content of the paper
The authors state that cross-lingual processing leads to safety losses in tool admission and post-retrieval generation, and that the low harm rates of small models under low-resource conditions are mostly accompanied by comprehension and realization failures.
- Positioning and core question: This study systematically analyzes the impact of multilingual inputs on the safety of large language model agents in two stages—external retrieval calls and post-retrieval generation—focusing on which stage language differences weaken safety defenses at.
- Problem to solve: Traditional agent safety evaluations rely excessively on English and fail to disentangle whether language differences weaken front-end retrieval admission defenses or reduce back-end harmful-response refusal capability, and they easily mistake failures caused by capability deficiencies for safety alignment.
- Method highlights: Based on HarmURLBench, a controlled URL retrieval experiment is constructed, independently controlling the request language, page language, and answer language, quantifying cross-lingual safety loss (SLIP) at the admission side and the response side, and combining comprehension probes with taxonomic audits to distinguish genuine refusals from capability failures.
- Key results:
- Non-English harmful requests raise the average retrieval admission rate of the ten models from 46.9% to 67.4%; in autonomous retrieval, the admission rate of four closed-source models also rises from 14.9% to 23.9–57.9%.
- Translating only the retrieval page does not cause consistent changes in harm, but requiring answers in the page language raises the paired harm rate of four closed-source models from 50.3% to 57.4%, with the increase concentrated in Chinese and Hindi.
- Four 3–14B models show post-retrieval harm rates falling from 64.3% to 52.7% in low-resource languages, but their low-resource target comprehension rate drops to 10.0–48.4%, and more than half (51.5%) of the non-harmful responses in Chinese/Hindi are actually language deflection or realization failure.
- Authors' conclusions and implications: The authors state that multilingual safety evaluations must measure tool admission and generation harmfulness separately, and must be wary of the illusion of surface safety caused by insufficient multilingual capability.
Related papers
- Relevance as a Vulnerability: How Web Retrieval Degrades Safety Alignment in LLM AgentsAnalysis / interpretabilityarXiv
- Before Retrieval Begins: Safety and Tool-Use Decisions in LLM AgentsAnalysis / interpretabilityarXiv