arXiv:2610.39923cs.CLOct 2026

Manuscript Offprint

arXiv:2610.39923

Prompts and probabilities in the linguistic assessment of language models: Evidence from semantic focus-sensitivity

Robert Pasternak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

As language models (LMs) have improved, an increasingly common means of evaluating their linguistic competence is through explicit prompting (e.g., “Which sentence is more acceptable?”). Prior work indicates that such prompting underperforms compared to standard token-probability-based methods in smaller models, but improves in larger models. We test this in a new domain: semantic focus-sensitivity, responsible for contrasts like Lucy only SWAM yesterday vs. Lucy only swam YESTERDAY. Testing models of various sizes using text-based focus markers like boldface and italics, we find universal above-chance performance for token probabilities. Prompting results mostly align with previous findings, but in some larger models they outperform probabilities by a wide margin. We propose that this is because LMs are not prone to produce out-of-the-blue focus marking, which muddies results from token probabilities in a way that does not affect prompting. We test this by replacing standard focus markers with randomly generated ones; token probabilities still beat chance but show significantly greater performance decrease compared to prompting. These results suggest that metalinguistic prompting, while non-trivial for LMs, can also be more robust when testing stylistically atypical data. We argue that this has important consequences for the assessment of LMs’ language competence, even if LMs do not perform metalinguistic judgments through human-like introspection. 1^{1}

1 Introduction

The linguistic competence of language models (LMs) is often assessed by means of their output token probabilities: roughly, well-formed sentences are ceteris paribus expected to have higher token or string probabilities than ill-formed ones. While some prior work has used token probabilities to directly calculate acceptability scores on a per-sentence basis (Clark et al. 2013; Lau et al. 2015), a more common technique is to compare the probabilities assigned to minimal pairs, near-identical pairs of sentences that differ in a single, targeted way, such as Mary is/*are sad (e.g., Linzen et al. 2016; Gulordava et al. 2018; Marvin and Linzen 2018; Futrell et al. 2019; Warstadt et al. 2020). Comparison of minimal pairs is common in theoretical and experimental research on human language (see e.g. Sprouse et al. 2013), and is useful in NLP research because it helps control for irrelevant factors that affect token or string probabilities, such as sentence length and the general frequency of individual tokens.

Thanks to major improvements in LM capabilities, an increasingly common alternative means of evaluating LMs' linguistic competence is to simply present the relevant sentence(s) as part of a prompt to the model, along with a request for a judgment pertaining to well-formedness (Dentella et al. 2023; Katzir 2023; Mahowald 2023; Murphy et al. 2025) or semantic/pragmatic truth or acceptability (e.g. Kamath et al. 2024; Tsvilodub et al. 2024). Such metalinguistic prompting is similar to judgment tasks commonly used in experimental research on humans, making it easy to construct studies comparing human and LM responses to more or less the same input.

However, research directly comparing metalinguistic prompting to token probabilities shows very different performance between the two methods. Weaker LMs generally perform much worse when assessed by prompting than they do when assessed through string probabilities (Hu and Levy 2023; Hu et al. 2024; Kauf et al. 2024), leading to significant underestimation of these models' language competence. Hu and Frank (2024) observe that this gap in accuracy shrinks as models

1^{1}Code and data are available at: https://github.com/robpasternak/prompts-probs-focus.

get larger and more capable; they attribute this to the auxiliary task demands of metalinguistic judgments, which stronger models are better able to cope with. Song et al. (2025), meanwhile, find that with sufficiently large models, metalinguistic judgments can slightly but significantly outperform string probabilities.

In this paper we report two studies extending this foundational methodological research to a new empirical domain. Our results suggest a novel generalization about the accuracy of prompting versus string probabilities: while metalinguistic prompting is indeed only accessible to sufficiently large models, it can also be more robust than string probabilities when evaluating sentences that deviate from a model's stylistically typical outputs.

Our empirical domain is semantic focus-sensitivity, a linguistic phenomenon in which the truth or pragmatic acceptability of a sentence depends on the placement of stress. By way of illustration, consider an adverb like only. If Mary gave one book to her teacher and one to her friend (and nothing to anyone else), then (1) is true and (2) false, despite differing only in focus placement (Jackendoff 1972; Rooth 1985):

(1) Mary only gave her teacher a BOOK.

(2) Mary only gave her TEACHER a book.

As discussed in greater detail in Section 2, semantic focus-sensitivity arises in a variety of environments in human language. Notably, in many cases the appropriateness of focus placement is dependent on context: (1) and (2) are both fine sentences in and of themselves, and it is only the context that makes (1) acceptable and (2) not.

Our goals here are twofold. First, we wish to determine whether LMs have learned focus-sensitivity. And second, we compare and contrast string probabilities and prompting as methods of linguistically evaluating LMs. We test instruction-tuned models of various sizes from three model families—Gemma 4 (Gemma Team 2026), Qwen3 (Yang et al. 2025), and Qwen3.5 (Qwen Team 2026)—on a manually created 282-item minimal pair dataset featuring various kinds of semantic focus-sensitivity, comparing the results using string probabilities to those using two types of prompts: forced choice, in which the LM is asked to choose which of the two sentences in a pair is more acceptable; and yes/no, in which the LM is presented with one sentence at a time and asked for a yes-or-no acceptability judgment. These methods are illustrated in Table 1.

In Experiment 1, discussed in Section 3, we test how models perform using eight relatively standard methods for text-based focus-marking: all caps; HTML and Markdown boldface, italics, and emphasis; and HTML underlining. We find that for all models, string probabilities perform significantly above chance, suggesting substantial LM acquisition of semantic focus-sensitivity.

Regarding the methodological comparison, in certain respects the results accord nicely with prior work: prompting methods perform poorly for small models and gradually improve as models get bigger, with forced choice outperforming yes/no prompting (cf. Panickssery et al. 2024). However, in the case of the larger Gemma 4 models forced choice prompting not only beats string probabilities, but does so by a wide margin. We hypothesize that this is because the models are not prone to produce out-of-the-blue focus marking, which lowers the general probability of unsolicited focus marking and muddies string probability results. But for models that are strong enough to perform forced choice, such stylistic unnaturalness is less of a hindrance, since (I) the focus marking is in the input, rather than the output; and (II) the side-by-side comparison of paired sentences clarifies the criteria of evaluation, hence why forced choice also outperforms yes/no prompting.

To test this, in Experiment 2 (Section 4) we replace standard focus markers with randomly generated focus bracketing (e.g., Mary only gave her teacher a :#book#:), on the assumption that these deviate even further from the models' expected outputs. While we unsurprisingly find general accuracy decreases, string probabilities continue to beat chance for all models, suggesting that what the models have learned is more general and not confined to a closed class of canonical text-based focus markers. However, string probabilities also show a proportionally greater decline in accuracy than forced choice prompting, with the number of instances of forced choice significantly outperforming string probabilities more than doubling. This supports the hypothesis that while forced choice prompting is more difficult for a model to acquire, it can also be more robust than string probabilities when evaluating sentences that deviate from a model's stylistic inclinations.

In Section 5 we discuss the consequences of

String Prob.Forced ChoiceYes/No
SYSTEMYou are a helpful assistant.
USERWho did Phil give a book to?You will be presented with a context followed by two sentences, A and B. Your job is to respond with which sentence is better in the context provided.CONTEXT:Who did Phil give a book to?SENTENCE A: Phil gave a book to the SENATOR.SENTENCE B: Phil gave a BOOK to the senator.You will be presented with a context followed by a sentence. Your job is to respond with "Yes" or "No", indicating whether the sentence is acceptable in the context provided.CONTEXT:Who did Phil give a book to?SENTENCE: Phil gave a book to the SENATOR.
ASSISTANTPhil gave a book to the SENATOR. / Phil gave a BOOK to the senator.My answer is A / BMy answer is Yes / No

Table 1: Illustration of string probability, forced choice, and yes/no evaluation methods.

these results for the linguistic assessment of LMs. This is especially pertinent because recent work suggests that the language knowledge LMs use to make metalinguistic judgments may be distinct from the implicit knowledge they use to generate outputs, inviting questions about which is the true measure of an LM's linguistic competence, regardless of comparative accuracy (Song et al. 2025). However, we argue that even if we accept these results at face value, there needn't be one "true" indicator of an LM's language abilities: it is equally plausible that these methods test distinct but coequal facets of the core language modeling task, loosely analogous to the contrast between production (string probabilities) and comprehension (prompting). From this perspective, prompting and probabilities complement each other, and studying both promises to give a more holistic picture of LM competence than can be achieved through one methodology alone.