SituatedGen: Incorporating Geographical and Temporal Contexts into Generative Commonsense Reasoning

Yunxiang Zhang, Xiaojun Wan
2/12/2026

No official code found. Best implementation: shobrook/communities (760 stars, MIT, last commit 2023-11-04). 1 more below.

Abstract

Recently, commonsense reasoning in text generation has attracted much attention. Generative commonsense reasoning is the task that requires machines, given a group of keywords, to compose a single coherent sentence with commonsense plausibility. While existing datasets targeting generative commonsense reasoning focus on everyday scenarios, it is unclear how well machines reason under specific geographical and temporal contexts. We formalize this challenging task as SituatedGen, where machines with commonsense should generate a pair of contrastive sentences given a group of keywords including geographical or temporal entities. We introduce a corresponding English dataset consisting of 8,268 contrastive sentence pairs, which are built upon several existing commonsense reasoning benchmarks with minimal manual labor. Experiments show that state-of-the-art generative language models struggle to generate sentences with commonsense plausibility and still lag far behind human performance. Our dataset is publicly available at https://github.com/yunx-z/situated_gen.

View on arXivView PDF

Code Implementations(2)

MIT

Library of graph clustering algorithms

760108PythonJul 28, 20202 years agoMIT
bron-kerbosch-algorithmcommunitycommunity-detectiongirvan-newman-algorithmgraph+3 more
yunx-z/situated_genCommunity100%
30Shell, PythonJun 6, 20232 years ago

Similar Papers

Cite this paper

@article{zhang2026situatedgen,
  title  = {SituatedGen: Incorporating Geographical and Temporal Contexts into Generative Commonsense Reasoning},
  author = {Yunxiang Zhang and Xiaojun Wan},
  year   = {2026},
  eprint = {2306.12552},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.12552},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.12552.svg)](https://codeofpaper.com/paper/2306.12552)

Discussion