Papers › A Simple Method for Commonsense Reasoning

A Simple Method for Commonsense Reasoning

7 Jun 2018arXiv:1806.02847archive 2025-07-28

Trieu H. Trinh, Quoc V. Le

Commonsense reasoning is a long-standing challenge for deep learning. For example, it is difficult to use neural networks to tackle the Winograd Schema dataset (Levesque et al., 2011). In this paper, we present a simple method for commonsense reasoning with neural networks, using unsupervised learning. Key to our method is the use of language models, trained on a massive amount of unlabled data, to score multiple choice questions posed by commonsense reasoning tests. On both Pronoun Disambiguation and Winograd Schema challenges, our models outperform previous state-of-the-art methods by a large margin, without using expensive annotated knowledge bases or hand-engineered features. We train an array of large RNN language models that operate at word or character level on LM-1-Billion, CommonCrawl, SQuAD, Gutenberg Books, and a customized corpus for this task and show that diversity of training data plays an important role in test performance. Further analysis also shows that our system successfully discovers important features of the context that decide the correct answer, indicating a good grasp of commonsense knowledge.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1806.02847")

Code

Syntology Ran 0 of 7 code samples harvested from 1 repository linked to this paper; 7 have no recorded run.

By repository: community (archive-listed): 7 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gabimelo/portuguese_wsc mentioned on GitHubpytorchMIT report
tensorflow/models mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

7 samples harvested; 0 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

7unverified

Licence: 0 of the 7 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gabimelo/portuguese_wsc. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

clean_tags_for_schema_and_snippet gabimelo/portuguese_wsc/src/winograd_collection_manipulation/wsc_html_parser.py community (archive-listed) unverified MIT (permissive) · 0c5ba80cd088ef0c · report
filter_good_and_featured_articles gabimelo/portuguese_wsc/src/datasets_manipulation/wikidump.py community (archive-listed) unverified MIT (permissive) · 9b13963c3b04cf46 · report
generate_full_sentences gabimelo/portuguese_wsc/src/winograd_collection_manipulation/wsc_subsets_generation.py community (archive-listed) unverified MIT (permissive) · bac5119cd0c08a1d · report
get_schema_and_snippet_texts gabimelo/portuguese_wsc/src/winograd_collection_manipulation/wsc_html_parser.py community (archive-listed) unverified MIT (permissive) · 13efa26bab1f01dc · report
handle_extra_params gabimelo/portuguese_wsc/src/helpers/logger.py community (archive-listed) unverified MIT (permissive) · 096ed1b2d8bad316 · report
join_content gabimelo/portuguese_wsc/src/winograd_collection_manipulation/wsc_html_parser.py community (archive-listed) unverified MIT (permissive) · 43c3e449fb05495d · report
tokenize gabimelo/portuguese_wsc/src/datasets_manipulation/wikidump.py community (archive-listed) unverified MIT (permissive) · 571ae1b8d8a82808 · report

Tasks

Common Sense ReasoningCoreference ResolutionDiversityMultiple-choiceNatural Language Understanding

Datasets

Introduced by this paper, per the archive.

CC-Stories

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Coreference Resolution Winograd Schema Challenge Ensemble of 14 LMs Accuracy 63.7 #45 of 82 Archive leaderboard report
Coreference Resolution Winograd Schema Challenge Word-level CNN+LSTM (partial scoring) Accuracy 62.6 #49 of 82 Archive leaderboard report
Coreference Resolution Winograd Schema Challenge Char-level CNN+LSTM (partial scoring) Accuracy 57.9 #64 of 82 Archive leaderboard report
Natural Language Understanding PDP60 Word-level CNN+LSTM (full scoring) Accuracy 60.0 #9 of 13 Archive leaderboard report
Natural Language Understanding PDP60 Word-level CNN+LSTM (partial scoring) Accuracy 53.3 #12 of 13 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections