LLM Performance for Code Generation on Noisy Tasks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sendyka, Radzim, Cabrera, Christian, Paleyes, Andrei, Robinson, Diana, Lawrence, Neil
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908384293289984
author Sendyka, Radzim
Cabrera, Christian
Paleyes, Andrei
Robinson, Diana
Lawrence, Neil
author_facet Sendyka, Radzim
Cabrera, Christian
Paleyes, Andrei
Robinson, Diana
Lawrence, Neil
contents This paper investigates the ability of large language models (LLMs) to recognise and solve tasks which have been obfuscated beyond recognition. Focusing on competitive programming and benchmark tasks (LeetCode and MATH), we compare performance across multiple models and obfuscation methods, such as noise and redaction. We demonstrate that all evaluated LLMs can solve tasks obfuscated to a level where the text would be unintelligible to human readers, and does not contain key pieces of instruction or context. We introduce the concept of eager pattern matching to describe this behaviour, which is not observed in tasks published after the models' knowledge cutoff date, indicating strong memorisation or overfitting to training data, rather than legitimate reasoning about the presented problem. We report empirical evidence of distinct performance decay patterns between contaminated and unseen datasets. We discuss the implications for benchmarking and evaluations of model behaviour, arguing for caution when designing experiments using standard datasets. We also propose measuring the decay of performance under obfuscation as a possible strategy for detecting dataset contamination and highlighting potential safety risks and interpretability issues for automated software systems.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23598
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLM Performance for Code Generation on Noisy Tasks
Sendyka, Radzim
Cabrera, Christian
Paleyes, Andrei
Robinson, Diana
Lawrence, Neil
Machine Learning
Software Engineering
This paper investigates the ability of large language models (LLMs) to recognise and solve tasks which have been obfuscated beyond recognition. Focusing on competitive programming and benchmark tasks (LeetCode and MATH), we compare performance across multiple models and obfuscation methods, such as noise and redaction. We demonstrate that all evaluated LLMs can solve tasks obfuscated to a level where the text would be unintelligible to human readers, and does not contain key pieces of instruction or context. We introduce the concept of eager pattern matching to describe this behaviour, which is not observed in tasks published after the models' knowledge cutoff date, indicating strong memorisation or overfitting to training data, rather than legitimate reasoning about the presented problem. We report empirical evidence of distinct performance decay patterns between contaminated and unseen datasets. We discuss the implications for benchmarking and evaluations of model behaviour, arguing for caution when designing experiments using standard datasets. We also propose measuring the decay of performance under obfuscation as a possible strategy for detecting dataset contamination and highlighting potential safety risks and interpretability issues for automated software systems.
title LLM Performance for Code Generation on Noisy Tasks
topic Machine Learning
Software Engineering
url https://arxiv.org/abs/2505.23598