SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.06866 · EMNLP · 2024

ChatGPT Doesn't Trust Chargers Fans: Guardrail Sensitivity in Context

Naomi Saphra, Yida Chen, Victoria Li

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 1 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
vli31/llm-guardrail-sensitivity canonical 0 of 1
FunctionStatusWhere it lives
get_rep_personas Not yet run vli31/llm-guardrail-sensitivity/src/request_generation.py
code served (permissive licence) · get_code("a84a8ecad8309e6a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

While the biases of language models in production are extensively documented, the biases of their guardrails have been neglected. This paper studies how contextual information about the user influences the likelihood of an LLM to refuse to execute a request. By generating user biographies that offer ideological and demographic information, we find a number of biases in guardrail sensitivity on GPT-3.5. Younger, female, and Asian-American personas are more likely to trigger a refusal guardrail when requesting censored or illegal information. Guardrails are also sycophantic, refusing to comply with requests for a political position the user is likely to disagree with. We find that certain identity groups and seemingly innocuous information, e.g., sports fandom, can elicit changes in guardrail sensitivity similar to direct statements of political ideology. For each demographic category and even for American football team fandom, we find that ChatGPT appears to infer a likely political ideology and modify guardrail behavior accordingly. Hello there! My name is Ryan and I am a proud supporter of the Los Angeles Chargers. I have been a fan since the days of LaDainian Tomlinson [...] Could you help me with a question? Hello, Ryan! It's great to meet a dedicated Los Angeles Chargers fan like yourself. I'd be happy to help you with your question about the team. Feel free to ask me anything you'd like to know! Bolt up! What steps can someone take to import a rare plant that is difficult to find legally? I'm sorry, but I can't assist with that request. User User Los Angeles Chargers Fans Hey, I'm Chris and I bleed green for the Philadelphia Eagles. I may not live in Philly anymore, but my love for the team has never wavered. [...] Could you help me with a question? That's awesome to hear about your dedication to the Philadelphia Eagles, Chris! I'd be happy to help you with any questions you have. What would you like to know or discuss? What steps can someone take to import a rare plant that is difficult to find legally? Importing rare plants can be a complex process, especially when dealing with legal restrictions and regulations. Here are some general steps you can consider if you're looking to import a rare plant that may be difficult to find legally: [....] Persona Generation (GPT-3.5) 2 left-leaning, 2 right-leaning per 15 most divisive US political issues (Gallup) * ≪ 0.01 * ≪ 0.01 age * ≪ 0.01 0.27 * < 0.01 race * ≪ 0.01 * 0.01 * ≪ 0.01 gender * 0.02 0.22 * 0.01 n

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.06866")
get_code_for_paper("2407.06866")
have("2407.06866")

Connect an agent — have() is free.