Evaluating Ukrainian Grammatical Competence in Language Models: Probability Versus Prompting
Abstract
Organisations deploying large language models in Ukrainian-language information systems need to know whether a model produces normative Ukrainian. This paper establishes a protocol for measuring that reliably and applies it to 19 models. The instrument is a released set of 1,444 Ukrainian minimal pairs covering the vocative case, numeral-noun and adjective agreement, verb government and calques from russian, with subject-verb agreement as a control; a quarter of the set was checked against the answer key in two independent native-speaker ratings, which agreed at Cohen's $κ$ = 0.963. Every pair is scored twice: by comparing the probabilities a model assigns to the two sentences, and by asking the model directly, with the sentences presented in both orders so that answer-position effects are measured instead of being absorbed into the score. Three results follow. Order consistency (the share of pairs answered identically when the sentences are exchanged) falls below 0.05 for ten of the nineteen models, and what separates the usable models is instruction tuning, not scale. The vocative case is systematically inverted: 0.153 accuracy against 0.951 on the control, with models preferring the non-normative nominative form of address. Ukrainian adaptation substantially reduces this deficit, measured against the exact checkpoints two adapted models were trained from.
- Comment
- 15 pages, 3 figures. Presented at CITI-2026: 4th International Conference on Computer Information Technologies in Industry 4.0 (Ternopil, Ukraine, November 4-6, 2026); to appear in CEUR Workshop Proceedings. Data and code: https://github.com/DmytroBabarytskyi/ukrainian-minimal-pairs