{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/listops-a-diagnostic-dataset-for-latent-tree","title":"ListOps: A Diagnostic Dataset for Latent Tree Learning","arxiv_id":"1804.06028","date":"2018-04-17","proceeding":"NAACL 2018 6","authors":["Nikita Nangia","Samuel R. Bowman"],"abstract":"Latent tree learning models learn to parse a sentence without syntactic\nsupervision, and use that parse to build the sentence representation. Existing\nwork on such models has shown that, while they perform well on tasks like\nsentence classification, they do not learn grammars that conform to any\nplausible semantic or syntactic formalism (Williams et al., 2018a). Studying\nthe parsing ability of such models in natural language can be challenging due\nto the inherent complexities of natural language, like having several valid\nparses for a single sentence. In this paper we introduce ListOps, a toy dataset\ncreated to study the parsing ability of latent tree models. ListOps sequences\nare in the style of prefix arithmetic. The dataset is designed to have a single\ncorrect parsing strategy that a system needs to learn to succeed at the task.\nWe show that the current leading latent tree models are unable to learn to\nparse and succeed at ListOps. These models achieve accuracies worse than purely\nsequential RNNs.","url_abs":"http://arxiv.org/abs/1804.06028v1","url_pdf":"http://arxiv.org/pdf/1804.06028v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"listops-a-diagnostic-dataset-for-latent-tree","repo_url":"https://github.com/chijames/gst","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"listops-a-diagnostic-dataset-for-latent-tree","repo_url":"https://github.com/neurips-anon-h1ndi29v/verbose-listops","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null},{"paper_slug":"listops-a-diagnostic-dataset-for-latent-tree","repo_url":"https://github.com/yikangshen/Ordered-Memory","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"diagnostic","task_name":"Diagnostic"},{"task_slug":"listops","task_name":"ListOps"},{"task_slug":"sentence","task_name":"Sentence"},{"task_slug":"sentence-classification","task_name":"Sentence Classification"},{"task_slug":null,"task_name":"valid"}],"methods":[],"datasets_introduced":[{"slug":"listops","name":"ListOps","full_name":"ListOps"}],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1804.06028","atlas_url":"https://app.syntology.ai/?focus=1804.06028","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1804.06028"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yikangshen/Ordered-Memory","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/neurips-anon-h1ndi29v/verbose-listops","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chijames/gst","reach":null}],"summary":{"unverified":1},"by_repo_kind":{"listed":{"samples":1,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"09ef0b2a0c68e2cc","entry":"num_to_words","repo":"neurips-anon-h1ndi29v/verbose-listops","repo_kind":"listed","path":"verbose-listops.py","file_url":"https://github.com/neurips-anon-h1ndi29v/verbose-listops/blob/HEAD/verbose-listops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"09ef0b2a0c68e2cc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}