scimeatlas

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

From If-Statements to ML Pipelines: Revisiting Bias in Code-Generation

Minh Duc Bui, Xenia Heilmann, Mattia Cerrato, Manuel Mager, Katharina von der Wense

ACL 2026Large language models › Language, safety and interpretabilityapproach: Statistical frameworks for LLM evaluationopen problems in this approach0 citations (OpenAlex)

Johannes Gutenberg University Mainz · Universidad Iberoamericana · University of Colorado Boulder

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

12measured effects
4improved
4no clear effect
1hurt
3mixed

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 Specific+CoT prompt mitigation · 7 fairness datasets · Code Bias Score (% of generated functions using sensitive attribute): 85.7 (General) -> 45.6 (Specific+CoT) Improved

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 for ML pipeline instead of conditional statementscode generation by 9 LLMs · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute): 58.7% -> 88.3% sensitive attribute useHurt
generic instruction to avoid biased code (ablation)ML pipeline generation · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute)No clear effect
add Specific+CoT prompt mitigation (ablation)ML pipeline generation, Llama 3.3 70B · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute): 85.7 (General) -> 45.6 (Specific+CoT)Improved
add Specific+CoT prompt mitigation (ablation)ML pipeline generation, DeepSeek Coder 33B · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute): 99.2 (General) -> 98.1 (Specific+CoT)No clear effect
increase number of non-sensitive attributes from 5 to 90 (ablation)conditional statements, Llama 3.3 70B · CrimeCode Bias Score (% of generated functions using sensitive attribute): 90% -> 20% sensitive attribute useImproved
increase number of non-sensitive attributes from 5 to 90 (ablation)ML pipeline, Llama 3.3 70B · CrimeCode Bias Score (% of generated functions using sensitive attribute): 95% -> 93%No clear effect
move from Easy to Complex ML pipeline (ablation)ML pipeline generation · 7 fairness datasets (Specific prompt)Code Bias Score (% of generated functions using sensitive attribute): e.g. CodeGemma 7B 64.3 -> 94.9; Qwen2.5 72B 43.3 -> 38.5Mixed
add explicit instruction to avoid listed sensitive attributes (ablation)ML pipeline, Qwen2.5 72B · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute): 78.7 -> 2.9Improved
add explicit instruction to avoid listed sensitive attributes (ablation)ML pipeline, CodeGemma 7B · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute): 98.8 -> 76.2Improved
increase Qwen2.5 model size (ablation)ML pipeline and conditionals, Qwen2.5 1.5B-72B · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute)Mixed
vary decoding temperature 0 to 1.0 (ablation)ML pipeline vs conditionals, 3 models · 7 fairness datasetsbias scoreNo clear effect
compare sensitive vs irrelevant attributes in ML pipelinesLlama 3.3 70B · 7 fairness datasetsCode Bias Score (% of generated functions using sensitive attribute): 89.1% sensitive vs 11.0% irrelevantMixed

Open problems in statistical frameworks for LLM evaluation

Do uncertainty and evaluation methods for LLMs still hold for open-ended generation, closed models and larger 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