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

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

Read From If-Statements to ML Pipelines: Revisiting Bias in Code-Generation by Minh Duc Bui, Xenia Heilmann, Mattia Cerrato, Manuel Mager, Katharina von der Wense (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-21716.txt.

Description

Bui and four colleagues show that simple if-statements badly understate bias in code generation. They test models on a more lifelike task: building machine learning pipelines. Sensitive traits appear in 87.7 percent of generated pipelines on average, against about 59 percent for conditionals alone. The gap holds across prompt fixes, trait counts, and task difficulty. Simple conditionals, they argue, are poor stand-ins for bias risk in real use.

Catalog record

CREATORMinh Duc Bui, Xenia Heilmann, Mattia Cerrato, Manuel Mager, Katharina von der Wense
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE45948
LICENSEhttp://creativecommons.org/licenses/by-sa/4.0/
RIGHTSCC BY SA
SOURCEarXiv

Source: https://arxiv.org/abs/2604.21716

Browse the full library · About the Tower of Babel