LLM Performance for Code Generation on Noisy Tasks

Radzim Sendyka, Christian Cabrera, Andrei Paleyes, Diana Robinson, Neil Lawrence
5/29/2025
cs.LGcs.SE

No official code found. Best implementation: Radzim/obfuscated (0 stars, last commit 2025-05-30).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Radzim/obfuscatedCommunity100%

Evaluating LLM Performance on Obfuscated Tasks

00PythonMay 26, 20251 years ago

Similar Papers

Cite this paper

@article{sendyka2025performance,
  title  = {LLM Performance for Code Generation on Noisy Tasks},
  author = {Radzim Sendyka and Christian Cabrera and Andrei Paleyes and Diana Robinson and Neil Lawrence},
  year   = {2025},
  eprint = {2505.23598},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23598v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23598.svg)](https://codeofpaper.com/paper/2505.23598)

Discussion