
If you rely on LLMs to generate code, this finding shows that innocuous metaphorical phrasing in your prompts (e.g. 'search the crowd', 'scan the shelf') can silently bias the model toward less efficient algorithms — worth knowing before you trust prompt wording as neutral.
“We refer to this metaphor-induced effect as metaphorical algorithmic steering: a skill that is benign and plausible within its source domain transfers an abstract procedural schema into a programming task, causing the model to favor exhaustive search, full scans, or repeated reconstruction without explicitly mentioning the target algorithm.”
“We also find that metaphorical skills induce a hidden-state shift towards lower-efficiency procedural behavior prototypes.”
articleHow well LLM-based test generation techniques perform with newer LLM versions?Michael Konstantinou, Renzo Degiovanni, Mike Papadakis
articleHow Reasoning Shapes Social Bias in LLM-Generated Code?Weifeng Sun, Jieke Shi, Zhou Yang, Yuchen Chen, Hongyan Li, Meng Yan, David Lo
articleWhat do LLMs think when you don't tell them what to think about?Together AIChecking sign-in…
Loading comments…