Skip to content

alan-turing-institute/cosit-2024-evaluating-the-ability-of-llms-to-reason-about-cardinal-directions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evaluating the Ability of Large Language Models to Reason about Cardinal Directions, Revisited

Anthony G Cohn and Robert E Blackwell

April 2024, Updated June 2025

Introduction

This repository is an online appendix and companion to our work on evaluating the ability of large language models to reason about cardinal directions [1,2].

The data subdirectory contains the questions, answers, prompts and LLM responses for our small and large experiments. Files are in JSONL format.

The notebooks subdirectory contains Jupyter notebooks and associated Python code for processing the answers and plotting the figures used in [2]. The notebooks also contain supplementary analyses.

Note that some of the answers.jsonl files are large and so we compress them with xz. We have provided a bash script in the bin directory to recursively find and uncompress the answer files prior to running the Jupyter notebook.

All the QR2025 experiments were conducted using Golem.

References

[1] Anthony G Cohn and Robert E Blackwell. Evaluating the Ability of Large Language Models to Reason About Cardinal Directions (Short Paper). In 16th International Conference on Spatial Information Theory (COSIT 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 315, pp. 28:1-28:9, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024) COSIT 2024 short paper.

[2] Anthony G Cohn and Robert E Blackwell. Evaluating the Ability of Large Language Models to Reason About Cardinal Directions, Revisited. QR 2025 : 38th International Workshop on Qualitative Reasoning at IJCAI. IN PRESS.

About

An online appendix and companion to our COSIT 2024 short paper submission

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages