paper-with-me

홈 › Papers

LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDB

2026-04-15 · Vekil Bekmyradov, Noah C. Pütz, Thomas Bartz-Beielstein arxiv

Large Language Models (LLMs) have achieved impressive results on public benchmarks, often leading to claims of advanced reasoning and understanding. However, recent research in cognitive science reveals that these models sometimes rely on shallow heuristics and memorization, taking shortcuts rather than demonstrating genuine cognitive abilities. This paper investigates LLM behavior in automated test generation for software, contrasting performance on an open-source system (LevelDB) with SAP HANA, one of the most widely deployed commercial database systems worldwide, whose proprietary codebase is guaranteed to be absent from training data. We combine cognitive evaluation principles, drawing on Mitchell's mechanism-focused assessment methodology, with empirical software testing, employing mutation score and iterative compiler-feedback repair loops to assess both accuracy and underlying reasoning strategies. Results show that LLMs excel on familiar, open-source benchmarks but struggle with unseen, complex domains, often prioritizing compilability over semantic effectiveness. These findings provide independent software engineering evidence for the broader claim that current LLMs lack robust reasoning, and highlight the need for evaluation frameworks that penalize trivial shortcuts and reward true generalization.

📄 PDF Abstract BibTeX arXiv:2604.14437

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Do LLMs Overcome Shortcut Learning? An Evaluation of Shortcut Challenges in Large Language Models

2024-10-17 · Yu Yuan, Lili Zhao, Kai Zhang, Guangting Zheng 외

Large Language Models (LLMs) have shown remarkable capabilities in various natural language processing tasks. However, LLMs may rely on dataset biases as shortcuts for prediction, which can significantly impair their rob…

In-Context Learning

Revisiting Generalization Across Difficulty Levels: It's Not So Easy

2025-11-26 · Yeganeh Kordi, Nihal V. Nayak, Max Zuo, Ilana Nguyen 외 arxiv

We investigate how well large language models (LLMs) generalize across different task difficulties, a key question for effective data curation and evaluation. Existing research is mixed regarding whether training on easi…

SenseMath: Do LLMs Have Number Sense? Evaluating Shortcut Use, Judgment, and Generation

2026-04-02 · Haomin Zhuang, Xiangqi Wang, Yili Shen, Ying Cheng 외 arxiv

Large language models often default to step-by-step computation even when efficient numerical shortcuts are available. This raises a basic question: do they exhibit number sense in a human-like behavioral sense, i.e., th…

Is Your Large Language Model Knowledgeable or a Choices-Only Cheater?

2024-07-02 · Nishant Balepur, Rachel Rudinger

Recent work shows that large language models (LLMs) can answer multiple-choice questions using only the choices, but does this mean that MCQA leaderboard rankings of LLMs are largely influenced by abilities in choices-on…

Graph MiningLanguage ModelingLanguage ModellingLarge Language Model+1

Test-Time Reasoners Are Strategic Multiple-Choice Test-Takers

2025-10-09 · Nishant Balepur, Atrey Desai, Rachel Rudinger arxiv

Large language models (LLMs) now give reasoning before answering, excelling in tasks like multiple-choice question answering (MCQA). Yet, a concern is that LLMs do not solve MCQs as intended, as work finds LLMs sans reas…

Question Answering