Same Meaning, Different Scores: Lexical and Syntactic Sensitivity in LLM Evaluation

Bogdan Kostić, Conor Fallon, Julian Risch, Alexander Löser
2/19/2026
cs.CLcs.AI

No official code found. Best implementation: bogdankostic/llm-prompt-perturbation (4 stars, last commit 2026-02-17).

Abstract

The rapid advancement of Large Language Models (LLMs) has established standardized evaluation benchmarks as the primary instrument for model comparison. Yet, their reliability is increasingly questioned due to sensitivity to shallow variations in input prompts. This paper examines how controlled, truth-conditionally equivalent lexical and syntactic perturbations affect the absolute performance and relative ranking of 23 contemporary LLMs across three benchmarks: MMLU, SQuAD, and AMEGA. We employ two linguistically principled pipelines to generate meaning-preserving variations: one performing synonym substitution for lexical changes, and another using dependency parsing to determine applicable syntactic transformations. Results show that lexical perturbations consistently induce substantial, statistically significant performance degradation across nearly all models and tasks, while syntactic perturbations have more heterogeneous effects, occasionally improving results. Both perturbation types destabilize model leaderboards on complex tasks. Furthermore, model robustness did not consistently scale with model size, revealing strong task dependence. Overall, the findings suggest that LLMs rely more on surface-level lexical patterns than on abstract linguistic competence, underscoring the need for robustness testing as a standard component of LLM evaluation.

View on arXivView PDF

Code Implementations(1)

Code accompanying the paper “Same Meaning, Different Scores: Lexical and Syntactic Sensitivity in LLM Evaluation”

40Python, DockerfileMay 13, 20258 months ago

Similar Papers

Cite this paper

@article{kosti2026same,
  title  = {Same Meaning, Different Scores: Lexical and Syntactic Sensitivity in LLM Evaluation},
  author = {Bogdan Kostić and Conor Fallon and Julian Risch and Alexander Löser},
  year   = {2026},
  eprint = {2602.17316},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.17316v1}
}

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/2602.17316.svg)](https://codeofpaper.com/paper/2602.17316)

Discussion