REVIEW 1 cited by
A Simple, Yet Effective Approach to Finding Biases in Code Generation
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Signed reviews
read the original abstract
Recently, high-performing code generation systems based on large language models have surfaced. They are trained on massive corpora containing much more natural text than actual executable computer code. This work shows that current code generation systems exhibit undesired biases inherited from their large language model backbones, which can reduce the quality of the generated code under specific circumstances. To investigate the effect, we propose the "block of influence" concept, which enables a modular decomposition and analysis of the coding challenges. We introduce an automated intervention mechanism reminiscent of adversarial testing that exposes undesired biases through the failure modes of the models under test. Finally, we demonstrate how our framework can be used as a data transformation technique during fine-tuning, acting as a mitigation strategy for these biases.
Forward citations
Cited by 1 Pith paper
-
How Reasoning Shapes Social Bias in LLM-Generated Code?
Reasoning before code generation lowers the average bias rate in LLM-generated code from 0.64 to 0.40, and a new probe-based method (ProbeDebias) cuts bias by about 84% while keeping quality nearly unchanged.
Discussion (0). Continue with ORCID to comment.