arXiv:2609.03511cs.CLSep 2026

Manuscript Offprint

arXiv:2609.03511

Lost in Reordering: Structural Sensitivity of Multilingual LLMs under Semantics-Preserving Perturbations

Karthika Nhayakkat, Rajat Verma, Maharaj Brahma, Vetcha Gnana Mahesh, Maunendra Sankar Desarkar, Ganesh Ramakrishnan, Rohit Saluja

Abstract

Large Language Models (LLMs) demonstrate strong multilingual reasoning performance, yet their robustness to semantics-preserving structural variation remains underexplored, particularly for relatively free word-order languages. We investigate the structural sensitivity of multilingual LLMs using two linguistically grounded perturbation settings in Hindi and Malayalam: constrained constituent reordering and active-passive voice transformation. We introduce a benchmark dataset IndicReStruct, with two variants, GSM8K-Reordered and GSM8K-Voice, constructed from GSM8K while preserving semantic meaning. Across six state-of-the-art LLMs and multiple prompting strategies, we observe consistent and significant degradation in mathematical reasoning performance under structurally perturbed inputs. To further understand these failures, we perform qualitative error analysis and mechanistic interpretability experiments using residual-stream activation patching. Our analyses show that reasoning failures frequently arise from disruptions in entity-quantity alignment and that intermediate transformer layers contribute most strongly toward reasoning restoration. Overall, our findings suggest that current multilingual LLMs remain highly sensitive to surface syntactic realization and lack robust compositional invariance under structurally different but semantically equivalent inputs.

1 Introduction

Large Language Models (LLMs) have achieved remarkable performance across a wide range of tasks, including instruction-following, multilingual understanding, code generation, and mathematical reasoning. Recent advances in multilingual LLMs have further improved reasoning performance across several multilingual benchmarks, suggesting progress toward language-agnostic reasoning abilities. In particular, frontier LLMs achieve

Figure

Figure 1: Structural perturbation of a Hindi mathematical-reasoning question. Reordering the question changes the LLM's answer from correct (18)toincorrect(18) to incorrect (14), showing that the model relies on surface word-order rather than the underlying semantics.

strong results on mathematical and logical reasoning tasks, indicating their potential for generalized reasoning across diverse languages. Despite these advances, LLMs still exhibit challenges when prompts undergo lexical (Huang et al., 2025) and socio-cultural perturbations (Tomar et al., 2025), leading to failure. Multilingual reasoning capabilities remain inconsistent across languages. Majority of the pre-training data for state-of-the-art LLMs is dominated by English, with non-English languages comparatively underrepresented during training. LLMs tend to rely on surface-level statistical patterns rather than robust semantic understanding, making them less robust to changes.

Compositional semantic reasoning refers to the ability of a model to derive meaning by systematically combining the semantics of individual linguistic units, while remaining invariant to superficial variations in syntactic realisation. In other words, a model exhibiting genuine compositional reasoning should preserve its reasoning behaviour when semantically equivalent inputs are expressed through different structural forms. Such a robustness is particularly important in multilingual settings, where many languages permit flexible constituent ordering while preserving the underlying semantic and propositional meaning. Recent work on compositional relation reasoning suggests that LLMs often rely on shortcut statistical regularities instead of systematic compositional reasoning (Zhao and Zhang, 2024). Additionally, recent works (Cheng et al., 2024; Wang et al., 2025) have explored whether LLMs are sensitive to variation in sentence structure. These findings raise an important question: to what extent are multilingual LLMs robust to semantically equivalent structural variations? This question is especially relevant for the relatively freeword-order languages such as Hindi, Malayalam, Turkish, Japanese and other morphologically rich languages in which constituent ordering can vary, while preserving underlying semantics. Such variations are particularly common in colloquial and conversational language usage, where speakers frequently reorder constituents for emphasis, focus, or pragmatic convenience while preserving the intended meaning. Despite recent works on lexical or surface-form perturbations, the study of the robustness of multilingual LLMs under controlled semantics-preserving structural perturbations remains largely under-explored. Under a compositional semantic view of reasoning, semantically equivalent inputs expressed through different syntactic structures should ideally yield consistent reasoning behaviour. However, we hypothesize that current multilingual LLMs, trained predominantly on formal and canonical written constructions, may exhibit sensitivity to semantically equivalent structural variations that are common in colloquial language usage.

In this work, we investigate whether multilingual LLMs are robust to semantics-preserving structural variations beyond simple lexical perturbations. We perform two types of structural perturbations to generate: (i) GSM8k-Reordered, and (ii) GSM8k-Voice, collectively named IndicReStruct. We evaluate multiple LLMs across 2 languages – Hindi and Malayalam on mathematical reasoning benchmarks and observe consistent performance degradation across all the considered models both in prompting and after finetuning. Beyond evaluation of the models, it is equally important to understand the reasons of failures of the model. To study this, we first analyse the error categories arising from the reordered input. Since the constituent reordering introduces larger structural variations and leads to a substantial drop in performance, we further perform mechanistic interpretability analyses using activation patching on Gemma-2-9B-it model for the reordering setting. Specifically investigating which internal components, such as specific layers and token categories, play a more significant role in influencing prediction correctness under reordered inputs.

Our main contributions 1^{1} are:

• We design and construct an IndicReStruct dataset 2^{2}, with two structurally perturbed mathematical reasoning datasets, viz. GSM8k-Reordered and GSM8k-Voice, for both Hindi and Malayalam.

• We benchmark the reasoning abilities of 6 LLMs and show that all the models suffer significant performance drops when tested on structurally perturbed IndicReStruct dataset.

• We present mechanistic interpretability analyses using activation patching with Gemma-2-9B-it to investigate whether the degraded reasoning performance under structural perturbations can be causally recovered, providing insights into the internal representations associated with structural robustness and reasoning failures.