Elamur Research

A Benchmark for Reasoning with Spatial Prepositions

Paper · 2023 · Iulia Comsa and Srini Narayanan

Summary

A preposition can tell you where an object is or describe a relationship that has little to do with physical location. If a child is inside a crib and the crib is inside a room, the child is in the room. If the child appears in a newspaper and a copy of the newspaper is in the kitchen, the child’s whereabouts are still unknown. Comsa and Narayanan turn this distinction into an evaluation benchmark. The question is whether large language models can tell when the relationships expressed by spatial prepositions support a conclusion.

The authors handcraft separate English and Romanian datasets, each with 400 items and an equal balance of conclusions that follow and conclusions that do not. Each item joins a pair of premises through a shared expression and asks about a relationship between the remaining endpoints. For every valid example there is an invalid one with the same sequence of prepositions. Some valid examples even use different prepositions across their premises. The choice depends on what each phrase means in context. The Romanian items were written for Romanian usage, and both datasets were released in the google-research/language repository under spatial_prep for evaluation.

The study tests PaLM and GPT-3 at several sizes, varying whether the question comes with 0, 1 or 5 answered examples. The main test chooses between affirmative and negative answers by comparing how likely each continuation is. The results depend on the system, the prompt and the dataset. Among the reported binary-choice results, the results table gives PaLM-540b 87.00% on English with 5-shot prompting and Flan-PaLM-540b 86.25% on Romanian with 1-shot prompting. The prose gives a different account of the top results, including 85.67% for English PaLM-540b and 84.83% for Romanian Flan-PaLM-540b, both with 5-shot prompting. The human accuracies are 93.51% on English and 92.6% on Romanian. Several smaller systems perform near chance, sometimes by answering “no” across much of the dataset.

The authors also ask what the systems can get right when they see only the conclusion, and how they do when a plainly negated conclusion replaces the original kind of invalid example. The conclusion alone gives some predictive information, while the strongest full-question results are higher. Several PaLM variants do better on the negation test, especially Flan-PaLM-540b. The pattern of errors differs between people and systems. In English, people have the most difficulty with items containing behind, while the systems on average score lowest on items containing under. Taken together, these comparisons show why exact wording, the senses represented in the data and the construction of the negative examples all matter when interpreting a score.

Deep dive: A Benchmark for Reasoning with Spatial Prepositions

A benchmark tests whether systems can draw valid conclusions from literal and abstract uses of spatial prepositions in English and Romanian. · about 32 minutes to read

The problem and its context

What a preposition contributes to an inference

A spatial expression establishes a relationship between things. It might place a person inside an enclosure, an object higher than another, or a shelter below a structure. In ordinary language, the same words also help describe conditions, forms of participation and abstract comparisons. A building may be under a bridge or under construction. A scooter can be above a parking area in physical space, while something described as above a speaker’s pay grade occupies a position on a different kind of scale. The surrounding words help establish which relationship is in play.

The paper asks what happens when sentences of these kinds are put together. Knowing the conventional meanings of the individual words is part of the task. The reader also has to decide whether the two relationships can be composed. Composition here means using facts that share a middle term to infer a relationship between their endpoints. A person inside an enclosure inherits some of the enclosure’s spatial relationships. A person mentioned in a document does not inherit the document’s location. The difference matters even if the sentences use the same prepositions and fit the same grammatical pattern.

Consider a helmet above a scooter. If the scooter is physically above a parking lot, then placing the helmet above the parking lot follows the intended ordering. If the scooter is described as beyond the speaker’s pay grade, the first premise still puts the helmet higher than the scooter. The second premise supplies an abstract comparison, and the proposed conclusion would have to move from physical height to that comparison. Knowing where the helmet is leaves its relationship to the speaker’s pay grade unsettled. The premises are intelligible by themselves. The failure occurs in joining them.

The benchmark brings together word sense disambiguation and reasoning. The sense question concerns the contribution that a preposition makes in a particular phrase. The reasoning question concerns what follows once the relevant relationships are understood. An answer can fail at either point. A reader might give a phrase the wrong interpretation, or interpret it appropriately and still make a bad inference from the pair. The benchmark records the verdict, so both difficulties can affect the same score.

The authors approach spatial reasoning as part of a broader question about what text-trained systems can do with concepts that humans use in everyday life. Their discussion gives spatial cognition a role in handling physical objects and in organizing abstract thought. They also point to previous evidence that systems trained on language can connect words to conceptual spaces. This makes their question empirical. If a system can represent some distinctions associated with space, it is worth asking whether those distinctions constrain the inferences it accepts. The authors propose that a lack of embodied spatial experience and limited access to commonplace knowledge in training text could make the task difficult. These are motivations for the experiment.

How the task fits earlier work

The closest general task is natural language inference, where the reader judges whether a conclusion follows from information supplied in ordinary language. The authors relate their design to Bowman and colleagues’ annotated inference corpus. Their own dataset narrows the format around prepositional relationships and builds a connection between the premises into each item. That connection makes a plausible-looking inference available even when the meaning of the premises fails to license it. A large annotated corpus for learning natural language inference

The paper also describes earlier benchmarks aimed more directly at spatial commonsense. Liu and colleagues study comparative object size and positional relationships involving people, objects and actions. Yatskar and colleagues extract spatial information that appears indirectly in a large collection of material. Weston and colleagues include positional problems in a set of small question-answering tasks, and SpartQA presents challenging spatial relationships in text. These projects locate the current study within work on how ordinary descriptions convey position. Comsa and Narayanan place the emphasis on the point where a spatial word shifts into another domain and changes which conclusions the language supports.

Earlier work by Comsa and colleagues had already considered inference involving literal and metaphorical expressions. The preposition benchmark narrows that concern to a group of short, familiar words that can be used in both ways. It also makes the inference depend on how meanings interact across sentences. A standalone question about the phrase under construction could test whether someone understands the phrase. In this benchmark, the phrase occurs in a premise that must be integrated with a statement about where something is. A reader who understands construction as a condition still has to decide whether that condition carries over to the occupant of the building.

This focus explains why the authors use simple sentences and recognizable situations. In a long passage, a wrong inference could reflect difficulty tracking entities, retaining details or finding the relevant sentence. A short chain keeps the relationship between the two premises visible. The authors can then vary the senses of the prepositions while preserving the general shape of the question. The point of the simple form is to bring a particular source of difficulty into view.

The bilingual design extends the question to two usages of spatial language. English and Romanian have prepositions that can serve comparable functions in some contexts, but the overlap is incomplete. Everyday expressions in each language help determine which combinations are suitable for an item. The authors therefore design questions around the possibilities of each language, within a shared inference task. The result is a common way of posing a judgment across distinct collections of expressions.

The method, step by step

Build a chain around a shared expression

Each question starts with a statement relating an initial entity to an intermediate one. The second statement connects the intermediate entity to a final entity or concept. The candidate conclusion skips the middle term and proposes a relationship between the endpoints. In the containment example, the crib connects the child to the room. In the newspaper example, the newspaper connects the child to the kitchen at the level of wording, while the two relations differ. Being featured as content and being somewhere as a physical object supply different information.

The paper represents the structure of an item with the following template.

(X is [prep₁] Y, Y is [prep₂] Z) → candidate: X is [prep₃] Z

X is the starting term, Y the expression shared by the premises, and Z the final term. prep₁ and prep₂ are the prepositions in the first and second premises, respectively. prep₃ is the preposition in the candidate conclusion. The brackets mark slots filled by actual prepositions, and the subscripts distinguish the slots. Parentheses and the comma group the premises. The arrow shows how the question is constructed from them. Its right side is a candidate whose validity is to be judged.

The authors restrict the word used in the conclusion to one that has already appeared in the premises.

prep₃ ∈ {prep₁, prep₂}

The prep symbols denote the same three slots as before. The braces enclose the possible choices, and ∈ means “is a member of.” If the premises repeat a preposition, there is only one possible word in that set. Otherwise the author can take the preposition from either premise, depending on the relationship proposed between the endpoints.

Repetition is therefore one possibility within the design. The paper also gives an example in which a robot is inside a tent and the tent is situated below a bridge. The conclusion places the robot below the bridge, carrying the relationship from the second premise across the containment relationship in the first. The paired invalid example puts the robot in a building that is undergoing construction. Whether the robot is itself being built remains open. The contrast calls for a judgment about what carries over from a place to something inside it. Matching the prepositions to each other would miss the valid inference about the tent and the bridge.

The authors call valid items congruent and invalid items incongruent. A congruent pair of premises describes relationships that support the proposed composition. In an incongruent item, a shift in the kind of relation interrupts it. An invalid answer in this setup means that the conclusion is unsupported by the premises. The child featured in the newspaper could happen to be in the kitchen. The premises leave the possibility open, so the correct judgment is still “no” to the implication question. This distinction between what happens to be true and what the given statements establish is central to reading the items.

Match sequences and write for each language

The authors build both collections by hand. They consult standard dictionaries with usage examples to find familiar uses of the selected prepositions and to vary the kinds of relationships represented. A native or proficient speaker writes each item. A different native speaker verifies it independently. The same procedure covers valid and invalid questions, where a writer needs to check both that the premises make sense and that the proposed inference has the intended status.

Each dataset contains 400 class-balanced items. Balance applies within preposition sequences as well as across the dataset. For every congruent item, the authors supply an incongruent item with the same prepositions in the same positions. A sequence such as in, under, under thus occurs with both verdicts. This controls the most direct shortcut: a reader given just those three words, in order, cannot assign a single verdict to the whole sequence and consistently be right. Other cues remain available in the words around the prepositions, which is why the authors later test what can be inferred from a conclusion in isolation.

The English inventory is in, at, on and with, together with under, above and behind. The Romanian data use în, la, pe and cu, together with sub. The paper notes that în takes the forms într-un and într-o before masculine and feminine indefinite nouns, respectively. It leaves out Romanian counterparts of above and behind because they occur less frequently in the kinds of combinations the authors wanted to use. The common template is an organizing device. Its contents come from ordinary patterns of usage in each language.

The chosen inventories also differ in how prominently individual words appear. The paper counts 250 occurrences of in and 40 of with in the English collection. In Romanian, it counts 390 occurrences of în and 126 of cu. These are counts of prepositions in the dataset, while the accuracy breakdown concerns items containing a particular preposition. An item can contain different prepositions, so the rows of that breakdown need to be read as groups defined by presence. They do not form independent partitions of the test.

The authors release the English and Romanian data in the google-research/language repository, in the spatial_prep directory. They intend the material for assessment. The systems in the main experiment use previously trained checkpoints. Where the study gives answered items before a question, those items are part of the input used to elicit the answer. The study does not describe updating the checkpoints on the benchmark.

From handwritten inference items to benchmark scores

The steps in order.

From handwritten inference items to benchmark scoresStep 1: Choose familiar uses of spatial prepositions1. Choose familiar uses of spatial prepositionsStep 2: Join premises through a shared expression2. Join premises through a shared expressionStep 3: Pair valid and invalid items by preposition sequence3. Pair valid and invalid items by preposition sequenceStep 4: Verify items with an independent native speaker4. Verify items with an independent native speakerStep 5: Present questions with optional answered examples5. Present questions with optional answered examplesStep 6: Score affirmative and negative continuations6. Score affirmative and negative continuationsStep 7: Compare results with human judgments and diagnostic conditions7. Compare results with human judgments and diagnostic conditions

Ask people to judge the implications

Adult speakers answer a sample of questions in the relevant language. Each question presents the premises as assumptions and asks whether they imply the candidate conclusion. The human response options are “yes” and “no,” or the corresponding Romanian answers. Each respondent sees 20 randomly selected questions from the relevant dataset. The authors tell the participants that their answers are being collected for a comparison with automated responses. Participants consent, and they take part without payment.

The authors use performance on congruent questions as a quality screen. They consider these questions easier and retain responses only when the respondent’s accuracy on them is above 75%. This yields 27 English-speaking and 23 Romanian-speaking adults in the reported comparison. The human results therefore summarize screened respondents on randomly assigned subsets. Each person answers a sample, while the reported human score summarizes the resulting judgments across respondents.

The paper also states what its human sample sizes could detect under its statistical assumptions. It gives detectable effect sizes of 0.56 for English and 0.61 for Romanian at alpha 0.05 and power 0.8. The effect size expresses the magnitude of the difference the setup is intended to pick up. Alpha is the significance threshold used in that calculation, and power denotes the probability of detecting a difference of the stated magnitude under the assumptions. These are properties of the study design, separate from the observed accuracies.

Present the same task through several prompts

The automated evaluation uses the PaLM and GPT-3 families. The PaLM comparisons include PaLM-8b, PaLM-62b and PaLM-540b. The authors also evaluate a PaLM-62b checkpoint trained to 1.3T tokens, labeled PaLM-62b-1.3, and the instruction-tuned Flan-PaLM-540b. The longer-trained checkpoint lets the authors compare training extent among PaLM variants of the same named size. Flan-PaLM-540b gives them a comparison between instruction-tuned and base versions at the largest named PaLM size in the study. PaLM: Scaling Language Modeling with Pathways

For GPT-3, the systems go by Ada, Babbage, Curie and DaVinci. The paper identifies their checkpoints as text-ada-001, text-babbage-001, text-curie-001 and text-davinci-003, respectively. These give the authors a range of systems from another family under the same general question format. The experiment compares the checkpoints as available. Their training histories are part of what distinguishes them. Language Models are Few-Shot Learners

In the 0-shot condition, a system sees the question with no answered example before it. In 1-shot and 5-shot prompting, the authors draw the corresponding number of different examples at random from the dataset. Each demonstration includes its correct response, followed later in the prompt by the unanswered target. In this use of few-shot learning, an answered example shows how the task is framed. It can illustrate the requirement to accept an implication or withhold it, as well as the expected answer words. The score for the target question then reflects behavior in the presence of that added information.

The study varies more than the number of demonstrations. A prompt might pose the question directly or introduce it with question and answer labels. Across the four base forms, the authors vary capitalization, quotation marks, spacing and delimiters, obtaining up to 48 prompts. These changes leave the substantive relation between the premises and the candidate conclusion intact. They can still affect which continuation a system finds probable. The paper cites earlier work on sensitivity to demonstration order and to the rendering of a query as motivation for testing several prompt variants. Fantastically Ordered Prompts and Where to Find Them and Knowledgeable or Educated Guess?

The main results report the highest-performing prompt for a given system and setup. This allows different systems to be evaluated with whichever wording works best for each. A row is consequently a report about performance available in the prompt search. It need not describe the behavior of one wording applied uniformly across all systems, or the behavior someone would get from a randomly chosen variant.

Turn answer scores into item judgments

The main experiment is a binary choice made from continuation scores. With the question as context, the system scores both an affirmative answer and a negative one in the relevant language. A log likelihood is the logarithm of the probability assigned to a candidate continuation under that context. The comparison asks which answer the system ranks higher. Correctness is defined by a strict inequality.

ℓ(a₊ ∣ q) > ℓ(a₋ ∣ q)

ℓ is the log likelihood score and q the full prompt, including demonstrations when present. a₊ is the gold answer for the item and a₋ the competing answer. The subscripts + and − indicate the correct and incorrect alternatives for that item. Thus a₊ is the negative answer when the proposed inference is invalid. The vertical bar ∣ denotes conditioning on the prompt, and > requires the correct answer’s score to be higher. The criterion evaluates a preference between the two candidates. It gives the same credit for a narrow preference and a wide one.

Accuracy summarizes the proportion of credited answers. For the best prompt in each condition, the authors obtain confidence intervals by sampling sets of 20 responses, mirroring the number of questions answered by each person. The paper’s main tables report mean accuracy and 95% confidence intervals. The intervals accompany a prompt already identified as best. Their sampling procedure describes variability over response subsets for that prompt.

The main control supplies only the candidate conclusion, turned into a question. The system scores the same affirmative and negative answers. This checks how much of the task can be approached through information present in the conclusion: its plausibility, wording or association with a verdict. The reported baseline uses the highest score across the tested systems for the condition. That choice provides a strong comparison for the full-input results but means that the baseline row does not trace one system through every setup.

The authors also let PaLM-540b freely generate 10 tokens in response to the question. This version addresses a related question about behavior when the answer is left open. On inspecting outputs, the authors find that they usually contain an affirmative or negative answer, or fail to settle the question. Some outputs continue the pattern by offering a new question. They report that responses rarely work through an inference in a meaningful way. To score the outputs, they check which answer words appear.

s(r) = 1 if only a₊ appears; 0.5 if both or neither appear; 0 if only a₋ appears

r is the generated response. s(r) is the credit it receives. The signs in a₊ and a₋ again mark the gold and competing answers. The equals sign introduces the scoring rule. A response containing only the gold option earns 1; a response with both options, or without either, earns 0.5; a response containing only the competing option earns 0. The rule treats unresolved answers as ambiguous. The authors try five temperature settings between 0 and 1 and report the setting of 0 because lower temperatures generally work better in these runs. Temperature is the setting that governs how variable the choices made during generation can be. The open-response score thus depends on both what is generated and how those outputs are credited.

Experiments and results

Reading the main comparison

The main experiment reports a result for each language, system and demonstration count. Accuracy measures agreement with the dataset labels under the binary-choice rule. The human comparison uses the judgments retained from the adult participants. On English the paper gives human accuracy as 93.51%, with a 95% confidence interval of [91.8-95.3]. For Romanian it gives 92.6% in the prose and 92.60% in the table, with a 95% confidence interval of [90.1-95.1]. The human averages are above the corresponding automated point estimates.

There is a discrepancy between the results narrative and Table 3. The narrative names English PaLM-540b at 85.67% and Romanian Flan-PaLM-540b at 84.83%, both with 5-shot prompting, as the strongest binary-choice results. Table 3 lists 87.00% for English PaLM-540b and 85.50% for Romanian Flan-PaLM-540b in those settings. It also lists 86.25% for Romanian Flan-PaLM-540b with 1-shot prompting, above its 5-shot entry. The table’s caption describes its values as the best results across prompts. The paper gives no explanation for the difference between the two sets of figures. The detailed comparisons and charts below use the table values so that systems are compared within the same presentation of the results.

On the English dataset with 5-shot prompting, PaLM-540b leads the binary-choice table at 87.00%, with a 95% confidence interval of [83.3-90.1]. Flan-PaLM-540b has 86.75%, with [83.0-89.9]. These intervals overlap, and the closeness of the point estimates matters when reading the ranking. GPT-3-DaVinci has 78.25%, while PaLM-62b-1.3 reaches 78.00%. This is a comparison within one demonstration setting. GPT-3-DaVinci has stronger English results under other settings.

English dataset, 5-shot binary-choice accuracy

The largest PaLM variants lead, with the conclusion-only baseline below both.

English dataset, 5-shot binary-choice accuracyConclusion-only baseline: 71.00Conclusion-only baseline71.00PaLM-62b-1.3: 78.00PaLM-62b-1.378.00GPT-3-DaVinci: 78.25GPT-3-DaVinci78.25Flan-PaLM-540b: 86.75Flan-PaLM-540b86.75PaLM-540b (this paper): 87.00PaLM-540b (this paper)87.00
The numbers
System or settingaccuracy %
Conclusion-only baseline71.00
PaLM-62b-1.378.00
GPT-3-DaVinci78.25
Flan-PaLM-540b86.75
PaLM-540b (this paper)87.00

PaLM-540b shows a steady increase across the English binary-choice settings, from 78.25% with 0-shot prompting to 83.50% with 1-shot prompting and 87.00% with 5-shot prompting. English GPT-3-DaVinci moves in the other direction across the reported entries. Its accuracies are 83.00% at 0-shot, 81.75% at 1-shot and 78.25% at 5-shot. English Flan-PaLM-540b is at 83.00% with no demonstrations, 82.75% with 1-shot and 86.75% with 5-shot. The study therefore shows different response patterns even among the systems that do comparatively well.

On Romanian, the effects of adding demonstrations also depend on the checkpoint. PaLM-540b scores 65.75% at 0-shot, 70.25% at 1-shot and 84.25% at 5-shot. The 5-shot entry has a 95% confidence interval of [80.3-87.7]. Flan-PaLM-540b starts at 83.25%, reaches 86.25% at 1-shot, with [82.5-89.5], and records 85.50% at 5-shot. Romanian GPT-3-DaVinci starts at 80.25%, then records 79.75% and 77.75% at 1-shot and 5-shot, respectively. The settings with the best values differ across these checkpoints. In particular, the strong 5-shot showing from PaLM-540b sits alongside a strong 0-shot showing from Flan-PaLM-540b.

Romanian dataset, 1-shot binary-choice accuracy

Flan-PaLM leads the comparison, while the base PaLM variants show a wider spread.

Romanian dataset, 1-shot binary-choice accuracyPaLM-62b: 50.50PaLM-62b50.50PaLM-62b-1.3: 54.25PaLM-62b-1.354.25Conclusion-only baseline: 65.25Conclusion-only baseline65.25PaLM-540b: 70.25PaLM-540b70.25GPT-3-DaVinci: 79.75GPT-3-DaVinci79.75Flan-PaLM-540b (this paper): 86.25Flan-PaLM-540b (this paper)86.25
The numbers
System or settingaccuracy %
PaLM-62b50.50
PaLM-62b-1.354.25
Conclusion-only baseline65.25
PaLM-540b70.25
GPT-3-DaVinci79.75
Flan-PaLM-540b (this paper)86.25

What the size and training comparisons reveal

The smaller systems often have accuracies in the vicinity of chance on this balanced task. GPT-3-Ada scores 50.00% on English at 0-shot, and GPT-3-Curie has 48.25% on English at 1-shot. Under 5-shot prompting, English PaLM-8b reaches 55.25% and English GPT-3-Babbage reaches 57.00%. Some settings for smaller systems give higher values, such as Romanian GPT-3-Ada at 61.50% with 5-shot prompting. The broad pattern concerns the frequency of weak results across conditions. A particular result near the midpoint of the balanced task can have several sources, including a strong preference for one answer.

The authors observe that some weaker systems regularly answer “no.” That tendency earns credit on incongruent items and loses it on congruent ones. An aggregate near chance can therefore describe a system that answers consistently and poorly distinguishes the classes. It can also describe a system with a different mix of true and false judgments. The observed preference for negative answers adds information that aggregate accuracy alone leaves unresolved.

The intermediate PaLM comparisons show that named size is only part of the picture. On English at 5-shot, PaLM-62b scores 72.25%, while the longer-trained PaLM-62b-1.3 has 78.00%. On Romanian in the same setting, the scores are 51.00% and 64.00%, respectively. The longer-trained version is higher for these comparisons, but it does not improve every time the experiment adds another demonstration. On Romanian it moves from 58.50% at 0-shot to 54.25% at 1-shot before reaching 64.00% at 5-shot. These results concern the particular checkpoints and prompt searches, so their most direct implication is that evaluation behavior can differ substantially at the same named size.

The largest systems in the study generally outperform the smaller ones. The comparison also shows why reducing the result to a size ranking would remove useful information. GPT-3-DaVinci has its strongest English entry without demonstrations. In the same language, base PaLM-540b gets its best entry with 5-shot prompting. On Romanian, instruction-tuned Flan-PaLM-540b performs strongly from the outset. The user of a benchmark score needs the prompting condition as well as the checkpoint name to know which behavior was measured.

What changes when the premises are withheld

On the English dataset, the best conclusion-only values are 71.75% at 0-shot, 66.25% at 1-shot and 71.00% at 5-shot. On Romanian the corresponding entries are 65.25%, 65.25% and 68.50%. The baseline can therefore distinguish some items without being told the premises. Word choice and the overall content of the conclusion can provide clues. For instance, whether an entity sounds like a sensible participant in a relationship can help a reader guess the intended answer. The experiment does not identify which conclusion features drive the observed scores.

The control has two implications for the main measurements. A correct answer to the complete question cannot automatically be counted as an instance of successful composition, because the conclusion itself can contribute evidence. At the same time, the strong full-question entries are above the highest baseline entries in their respective settings. On English at 5-shot, the full-input PaLM-540b result reaches 87.00%, while the conclusion-only entry for that setting is 71.00%. On Romanian at 1-shot, Flan-PaLM-540b reaches 86.25% in the full task, while the conclusion-only entry is 65.25%. The comparison shows how much the evaluation changes when the relevant statements are available. It leaves open how particular systems exploit them.

The baseline values also put some of the smaller systems’ full-question results in perspective. A weak system with access to the chain can score below the highest result obtained using the conclusion alone. Giving a system the premises makes the relevant information available. It may still prefer the wrong answer because it overlooks the relations, follows misleading cues or has a persistent preference for one label. Since the baseline reports the best result across systems, a comparison between a particular weak checkpoint and that row cannot show how that checkpoint would behave if its premises were removed.

Open responses and differences between the languages

The generative experiment with PaLM-540b broadly reinforces the strong performance of English 5-shot prompting found in the binary-choice test. In the table, English generation scores 72.75% at 0-shot, 82.00% at 1-shot and 88.25% at 5-shot. The 5-shot entry has a 95% confidence interval of [84.69-91.24]. For Romanian, the corresponding entries are 62.38%, 60.25% and 82.00%. The prose describes the 5-shot generative results as 87.67% for English and 80% for Romanian. As with the binary-choice figures, the tabulated and narrative values differ, while both presentations show higher English than Romanian performance in that condition.

The generative and binary-choice numbers answer related questions under different scoring rules. In binary choice, the system earns credit when it ranks the correct continuation higher. With free generation, a response can fail to make a definite choice and receive partial credit. Even at 5-shot, the English generative entry of 88.25% and English binary-choice entry of 87.00% are therefore summaries of different outcomes. A higher number in generation does not establish that generating a free response improves the underlying inference. The reported tendencies of the generated answers, including the scarcity of explanations, are relevant for readers interested in responses to a conversational question.

The authors see an overall advantage for English, especially in the PaLM comparisons and the generative setup. Base PaLM-540b at 0-shot has 78.25% on English and 65.75% on Romanian in binary choice. That direction also holds for PaLM-62b-1.3 at 5-shot, where it has 78.00% on English and 64.00% on Romanian. Flan-PaLM-540b illustrates why the overall observation should be read alongside the individual conditions. Its 1-shot table entry is 82.75% on English and 86.25% on Romanian. The paper relates the broad pattern to findings from other multilingual tasks. The benchmark itself makes the language and the particular inventory of test items vary together. On the Cross-lingual Transferability of Monolingual Representations

What the ablations show

Replacing sense changes with negation

The paper studies the source of difficulty by changing how the invalid class is constructed. The diagnostic keeps the original congruent questions. For their negative counterparts, it negates the candidate conclusion while leaving both premises in place. In the containment example, the positive conclusion locates the child in the room that contains the crib. The negated counterpart proposes that the child is outside that location, even though the premises still license the original positive inference. The resulting collection balances the original valid items with their negated versions.

This changes what separates the classes. In the main benchmark, an invalid item can appear entirely affirmative, and the error lies in joining relations expressed in different senses. In the negation diagnostic, the mismatched conclusion contains an overt signal. A reader still needs to recognize the connection the premises support for a full semantic interpretation. The mere presence of negation, however, correlates with the negative label throughout this diagnostic. The score shows how a system behaves on a simpler contrast that combines these features.

Flan-PaLM-540b obtains 97.01% on the English negation diagnostic at 0-shot and 97.26% at 1-shot. At the same demonstration counts on the original English benchmark it has 83.00% and 82.75%, respectively. On the Romanian negation diagnostic it reaches 95.25% at 0-shot, 99.00% at 1-shot and 99.75% at 5-shot. Its original Romanian binary-choice results are 83.25%, 86.25% and 85.50%. For this checkpoint, the advantage of the negation construction appears across both languages and all the reported demonstration counts.

Romanian dataset, 5-shot accuracy on the negated congruent diagnostic

Flan-PaLM leads on the diagnostic, while the PaLM checkpoints differ widely.

Romanian dataset, 5-shot accuracy on the negated congruent diagnosticPaLM-62b: 53.25PaLM-62b53.25PaLM-8b: 64.00PaLM-8b64.00PaLM-62b-1.3: 75.00PaLM-62b-1.375.00PaLM-540b: 89.50PaLM-540b89.50Flan-PaLM-540b (this paper): 99.75Flan-PaLM-540b (this paper)99.75
The numbers
System or settingaccuracy %
PaLM-62b53.25
PaLM-8b64.00
PaLM-62b-1.375.00
PaLM-540b89.50
Flan-PaLM-540b (this paper)99.75

Base PaLM-540b improves in several settings. Its English 5-shot result on the diagnostic is 92.27%, with a 95% confidence interval of [89.2-94.7], compared with 87.00% on the original English dataset in that setting. For Romanian 5-shot, the diagnostic gives it 89.50%, compared with 84.25% on the original task. Its Romanian 0-shot diagnostic result is 65.00%, close to its original 65.75%. Similarly, PaLM-62b has 64.59% on the English 1-shot diagnostic and 69.25% on the original English 1-shot task. Changing the negative examples helps in many of the reported conditions, with substantial variation in how systems respond.

The authors take the general improvement as evidence that invalid questions in the original benchmark add a difficulty beyond judging congruent statements with varied conclusion polarity. The diagnostic supports that claim at the level of item construction. The original task asks the system to separate valid and invalid examples that share their preposition sequences and can look equally affirmative. The negation diagnostic supplies a surface distinction that the original lacks. The scores establish that this change can make the discrimination easier. They cannot distinguish reliance on the cue from a successful interpretation of the negated proposition.

Removing premises while keeping the verdict

The conclusion-only experiment changes the amount of information available to the system. The verdict still comes from the original question, so the baseline asks whether the last sentence gives away part of an answer defined by the premises. This complements the negation diagnostic. In the negation experiment, the authors create different negative examples from valid questions. In the conclusion-only experiment, they retain the original contrast but conceal the statements needed to judge it directly.

The remaining predictive signal helps explain what the balance by preposition sequence achieves. Balance makes the sequence itself compatible with either label. The actual conclusion still contains entities and descriptions, and the pattern of those words can differ across classes. Some conclusions from incongruent premises may sound unusual, while others are plausible in isolation. The newspaper example illustrates the latter case: a person being in a kitchen is perfectly plausible. A system that sees the conclusion alone has no reason to infer that location from the report in the newspaper, because the report is absent from its input.

Because the baseline is reported as the highest value across systems, it measures how much predictive success was available under the reduced-information setup within this evaluation. It cannot be subtracted from a full-question score to recover a share attributable to reasoning. Some items could be answered correctly on both tests for different reasons. Other items could change from correct to incorrect when a system is shown the premises, or the reverse. The reported comparison summarizes accuracy across the conditions. Its force is that isolated conclusions provide a usable signal and that the strongest results still occur with the complete question.

Changing the prompt without changing the item

The authors also look directly at differences among prompt variants for the original PaLM checkpoints. They compare prompt performance using two-sample Kolmogorov–Smirnov tests. Such a test compares empirical distributions, asking whether the observed difference between them is larger than expected under a common distribution. The authors report that 0.44% of pairwise comparisons for conclusion-only prompts had a p-value below 0.05, before adjustment for multiple comparisons. For full task questions, they report 6.96% in the corresponding discussion of prompt differences.

These figures describe the comparisons among prompts. They do not measure the percentage of items for which an answer changes. The authors interpret the prompt analysis as evidence of sensitivity, with more differences detected for the full task questions than for the baseline. Since the percentages refer to tests before correction for multiple comparisons, they give a descriptive comparison of the two kinds of prompt. They leave the status of any individual wording change unsettled.

The task design helps explain why this sensitivity matters. Quotation marks can set the statements apart and answer labels can make the expected continuation more explicit. Either change could affect answer ranking while leaving the inference itself intact. The authors explore these alternatives and report the best result per setup. A comparison such as English PaLM-540b with 0-shot and 5-shot prompting therefore reflects how each demonstration count performs after a prompt search. It is not a measurement of adding demonstrations to a fixed wording and observing the answer change with all other prompt details held constant.

The demonstration comparisons likewise offer evidence about performance in different input settings, with the causal account left open. An answered example can show what kind of answer to produce. It can also show that a repeated preposition may shift its meaning or that different prepositions can support a valid conclusion. The study does not sort demonstration effects by the sense or relation the demonstrations contain. The opposing patterns for PaLM-540b and GPT-3-DaVinci show that demonstrations can have different consequences across checkpoints even when they are drawn from the same benchmark procedure.

Looking at performance by preposition

The authors group questions by the presence of particular prepositions. This gives another view of the errors, since an overall accuracy can hide variation among the relations represented. In English, human accuracy is 100.0% on items containing with and 96.2% on items containing in. It is 89.8% on items containing behind, the lowest human entry for the English preposition groups. In Romanian, the highest human entries are 95.0% for items containing în and 93.3% for those containing la. These results apply to the particular items in which each word appears.

For the average across the tested systems, the English under group scores 62.3% and the behind group scores 62.1%, while group-level patterns vary by checkpoint. The authors emphasize the relative difficulty systems have with under. For example, GPT-3-DaVinci scores 75.0% on English items with under and 75.8% on items with above, against 88.2% on those with in. Flan-PaLM-540b scores 70.9% on behind and 86.4% on in. The latter in result is below the 89.1% reported for base PaLM-540b on that group, even though the instruction-tuned variant performs strongly on the benchmark overall. The breakdown makes those departures from the overall pattern visible.

The human and automated results agree in some respects, including the relative difficulty of behind in English. They differ in how challenging they find other groups. It is also important to distinguish a group from an individual sense. A question counted under under may contain a second preposition and may use under in a literal or extended sense. The group score does not isolate a judgment about one meaning of the word. It combines judgments about the different compositions that happen to involve it.

The distribution of those groups matters to the overall accuracy. The authored item mix determines how frequently a system faces each kind of composition. A result driven by strong performance on a common group can coexist with consistent difficulty on a group represented less often. The authors explicitly note that the frequency of different prepositions in the dataset influences the overall figures. The group results show which parts of this collection contribute to that dependence, while leaving a fuller account of the relevant senses to other analyses.

Limitations

Limits identified by the authors

The authors describe their sample as representative in intent and limited in coverage. They choose familiar senses and constructions involving their target words. A preposition can take on a variety of meanings across contexts, and a complete account of its uses lies outside the study. The datasets therefore support claims about the included combinations. Their hand construction and independent checking make it possible to define clear contrasts within those combinations, while the examples still cover a selection of what speakers can do with spatial language.

The paper illustrates the scope problem by comparing corpus frequency with dictionary coverage. For English, the Wikipedia-based estimate for in is 516,438 and the dictionary lists 28 entries for it. For on, the corresponding figures are 136,415 and 44. In Romanian the estimate for în is 657,525 and the dictionary has 20 entries, while pe has a corpus estimate of 176,677 and 43 dictionary entries. Frequency and the number of recorded senses describe different things. A widely used word can have fewer dictionary entries than a word that occurs less often. The authors use the entry counts as a proxy to illustrate the lexical variety at stake. Building Large Monolingual Dictionaries at the Leipzig Corpora Collection

The sentence form adds another restriction. Every item uses a form built around is or its equivalent. A preposition may commonly appear with other verbs or in constructions that are awkward to fit into the template. The authors identify this as one reason with has relatively low representation in their data. They propose allowing more varied constructions in future versions. This would extend the test to uses whose usual grammatical setting differs from that of the benchmark’s short sentences.

The authors also limit the interpretation of the language comparison. Each language divides up uses of spatial prepositions in its own way, and the available words do not stand in a one-to-one relationship. A score of a given magnitude in English and a score in Romanian summarize different samples of relations and expressions. The authors say that this design cannot yield an absolute comparison between the languages. They describe a geometric grounding approach they are investigating with multimodal classifiers, which they expect could make such a comparison more precise by using a shared geometric space. That approach is prospective in this paper.

What the evaluation can establish

The study observes answer choices. A correct verdict is compatible with several processes, such as recognizing the intended relations, applying a familiar pattern or noticing a cue associated with the author’s label. The sequence matching constrains a simple preposition-based shortcut, and the conclusion-only baseline tests a broader family of cues. Neither measurement discloses what a particular checkpoint represents internally or which path it takes to an answer. The limited number of explanations observed in the generative setup leaves little additional evidence about the process behind correct responses.

The distinction matters for the authors’ motivation about grounded spatial experience. The experiments reveal difficulties in using some linguistic descriptions of space and abstraction. They do not change the systems’ access to spatial experience or measure how much commonplace spatial knowledge is present in their training material. The possible explanations discussed in the introduction remain hypotheses. The observed differences among checkpoints and prompts are consistent with several ways in which the difficulty could arise, including interpretation of the phrases or the way the question elicits a verdict.

The task’s compact structure also sets the boundary of the reasoning it tests. Each item uses two premises and offers the conclusion for judgment. Even the generative condition asks the same implication question, with the candidate conclusion already written. The benchmark can test whether a system accepts a relation that follows and rejects a plausible-looking alternative. It does not show how the same system would select relevant premises from a larger context, propose conclusions by itself or recover from ambiguity in a longer description. Those activities impose demands absent from the controlled chain.

The form of the invalid class deserves particular care. Incongruent questions are intentionally written to appear like congruent ones. This is a useful source of difficulty, but it means the benchmark targets a selected pattern of invalid reasoning. Low accuracy on that class tells us about sensitivity to the constructions that the authors chose. It would take additional contrasts to distinguish all failures due to a particular sense of a preposition from failures due to which entities participate, how plausible a conclusion sounds, or which relation the question asks about.

What the reported comparisons can support

Selecting the best wording for each configuration is useful when the goal is to see what the checkpoint can do under favorable prompting. It leaves open the separate question of choosing a prompt for unseen items. The paper reports best results across variants and obtains intervals by sampling responses for the selected prompts. A confidence interval formed in that way does not incorporate the variability involved in searching for and selecting wording. Nor does a point estimate for the best tested prompt describe the entire range of scores among reasonable versions of the same question.

Likewise, the study compares named checkpoints whose training histories differ. The longer-trained PaLM-62b checkpoint and the instruction-tuned Flan variant support direct comparisons within the study, but the results remain specific to the systems considered and the way they were prompted. A ranking that broadly follows size does not yield a general numerical law relating model size to success on spatial prepositions. The findings for GPT-3-DaVinci and PaLM-540b also make clear that the pattern across demonstration counts depends on the checkpoint.

The human comparison has its own sampling limits. The adults each answer a subset of the items, and the quality threshold retains respondents who already meet a performance criterion on congruent questions. The resulting scores are informative about the screened participants under the study’s procedure. They do not estimate the performance of an unrestricted population of speakers. Screening may also affect the apparent gap between people and systems, since the quality criterion is applied to participants rather than to automated runs. The paper’s figures establish a difference between the reported human and automated point estimates under their respective protocols.

Finally, the disagreement between the prose and the table limits claims about the exact best value and, for Romanian binary choice, the best demonstration count. An account using Table 3 can compare its settings internally, while an account of the authors’ narrative must preserve the separate headline values. Across these presentations, the same broad findings hold. Some of the larger checkpoints do well, demonstration effects vary, and the human point estimates exceed the automated ones on the original benchmark.

What came after

VLN-NF: Feasibility-Aware Vision-and-Language Navigation with False-Premise Instructions (2026) cites the benchmark in the context of a different spatial task. It frames vision-and-language navigation around the feasibility of instructions that contain false premises. Comsa and Narayanan ask whether a candidate conclusion follows from spatial language. VLN-NF takes up a related problem for action: whether the premises embedded in an instruction support treating it as feasible. The title and citation establish that connection in subject matter. They leave the details of whether it reuses the benchmark’s items, preposition sequences or evaluation procedure unspecified.

The relation between the two questions is clearest in the role of an apparently ordinary statement. In the preposition benchmark, a grammatically straightforward chain can suggest an inference that its meanings do not license. In the navigation problem identified by VLN-NF, an instruction can be understandable as language while containing a false premise relevant to whether it can be followed. The later work places that concern in a setting where visual information and action feasibility are at issue. The earlier benchmark isolates a judgment about what sentences imply, providing a point of comparison for the broader question of when spatial language warrants the inference or action it seems to invite.

Cite

Cite as Iulia Comsa and Srini Narayanan. 2023. A Benchmark for Reasoning with Spatial Prepositions. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.emnlp-main.1015

@inproceedings{comsa2023benchmark,
  title = {{A Benchmark for Reasoning with Spatial Prepositions}},
  author = {Iulia Comsa and Srini Narayanan},
  booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.1015},
  url = {https://doi.org/10.18653/v1/2023.emnlp-main.1015}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/comsa-2023-benchmark-reasoning-spatial-prepositions/