Research map / Large language models / Instruction and fine-tuning
A Simple, Yet Effective Approach to Finding Biases in Code Generation
Spyridon Mouselinos, Mateusz Malinowski, Henryk Michalewski
University of Warsaw · Google DeepMind · Google
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
4improved
2no clear effect
4hurt
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| anonymize the function name | CodeGen-Mono 6B · HumanEval | pass@1: 26.1 -> 18.2 | Hurt |
| drop all identified keywords from the description | Codex v2 · HumanEval | pass@100: 91.4 -> 73.7 | Hurt |
| combine anonymization with dropping all keywords | Bloom 176B · HumanEval | pass@100: 57.2 -> 36.8 | Hurt |
| remove prompt examples | CodeGen-Mono 6B · MBPP | pass@100: 77.3 -> 61.7 | Hurt |
| add context-aware filtering of keywords (ablation) | Anon+Drop All · LM-critic similarity | similarity: 78.4 -> 94.6 | Improved |
| fine-tune on MBPP with augmented (perturbed) examples (ablation) | Codeparrot 1.5B · HumanEval, Anon pass@100 | pass@100: 12.5 -> 13.8 | Improved |
| fine-tune on MBPP without augmentation (ablation) | Codeparrot · HumanEval perturbed | pass@1/pass@100: Anon pass@100 12.5 -> 12.5 | No clear effect |
| add long-description DMCC data to augmented MBPP fine-tuning (ablation) | Bloom · Anon+Drop All, pass@100 | pass@100: 7.2 -> 8.3 | Improved |
| fine-tune with augmentations and DMCC (ablation) | Codeparrot variants · HumanEval | pass@k | No clear effect |
| fine-tune with augmentations; larger model | Codeparrot 110M-1.5B · HumanEval | pass@100 | Improved |
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- From If-Statements to ML Pipelines: Revisiting Bias in Code-Generation (ACL 2026 · similarity 0.89)
- Uncovering and Quantifying Social Biases in Code Generation (NeurIPS 2023 · similarity 0.88)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.86)
- Training Language Models to Generate Quality Code with Program Analysis Feedback (NeurIPS 2025 · similarity 0.86)
- Detecting AI-Generated Code Assignments Using Perplexity of Large Language Models (AAAI 2024 · similarity 0.86)
- Bias Unveiled: Investigating Social Bias in LLM-Generated Code (AAAI 2025 · similarity 0.86)
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.