scimeatlas

Research map / Large language models / Language, safety and interpretability

The Invisible Hand: Unveiling Provider Bias in Large Language Models for Code Generation

Xiaoyu Zhang, Juan Zhai, Shiqing Ma, Qingshuang Bao, Weipeng Jiang, Qian Wang, Chao Shen, Yang Liu

ACL 2025Large language models › Language, safety and interpretabilityapproach: Bias measurement and mitigationopen problems in this approach26 citations (OpenAlex)

Xi’an Jiaotong University · University of Massachusetts Amherst · Wuhan University · Nanyang Technological University

Read the paperPlace an idea next to itCheck your own paper ↗

9measured effects
4improved
3no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Chain-of-thought prompting

add chain-of-thought prompting · provider bias, generation · Gini Index: GPT-4o 0.86 -> 0.87 No clear effect

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
ask the model to generate code blocks using several different services (Multiple) (ablation)seven LLMs, generation task · provider bias, generationGini Index: GPT-4o 0.86 -> 0.76; Claude 0.88 -> 0.82Improved
add chain-of-thought prompting (ablation)seven LLMs, generation task · provider bias, generationGini Index: GPT-4o 0.86 -> 0.87No clear effect
add Debias prompt (ablation)seven LLMs, generation task · provider bias, generationGini Index: GPT-4o 0.86 -> 0.88No clear effect
add Simple (fair and objective) prompt (ablation)seven LLMs, generation task · provider bias, generationGini Index: GPT-4o 0.86 -> 0.88No clear effect
add Ask-Specific instruction to keep the source service (ablation)seven LLMs, modification tasks · provider bias, modificationModification Ratio: GPT-4o 26.90 -> 7.50; Llama 25.30 -> 3.30Improved
add Ask-General instruction not to change the service (ablation)seven LLMs, modification tasks · provider bias, modificationModification Ratio: GPT-4o 26.90 -> 14.00Improved
add chain-of-thought prompting (ablation)GPT-4o, modification tasks · provider bias, modificationModification Ratio: 26.90 -> 17.80Improved
add Debias prompt (ablation)GPT-4o, modification tasks · provider bias, modificationModification Ratio: 26.90 -> 33.90Hurt
add Quick Answer prompt (ablation)GPT-4o, modification tasks · provider bias, modificationModification Ratio: 26.90 -> 36.50Hurt

Open problems in bias measurement and mitigation

Do bias findings in LLMs hold beyond binary gender, English prompts, templated inputs and a few open models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy