{"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/automated-crossword-solving-1","title":"Automated Crossword Solving","arxiv_id":"2205.09665","date":"2022-05-19","proceeding":"ACL 2022 5","authors":["Eric Wallace","Nicholas Tomlin","Albert Xu","Kevin Yang","Eshaan Pathak","Matthew Ginsberg","Dan Klein"],"abstract":"We present the Berkeley Crossword Solver, a state-of-the-art approach for automatically solving crossword puzzles. Our system works by generating answer candidates for each crossword clue using neural question answering models and then combines loopy belief propagation with local search to find full puzzle solutions. Compared to existing approaches, our system improves exact puzzle accuracy from 71% to 82% on crosswords from The New York Times and obtains 99.9% letter accuracy on themeless puzzles. Additionally, in 2021, a hybrid of our system and the existing Dr.Fill system outperformed all human competitors for the first time at the American Crossword Puzzle Tournament. To facilitate research on question answering and crossword solving, we analyze our system's remaining errors and release a dataset of over six million question-answer pairs.","url_abs":"https://arxiv.org/abs/2205.09665v2","url_pdf":"https://arxiv.org/pdf/2205.09665v2.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":"automated-crossword-solving-1","repo_url":"https://github.com/albertkx/berkeley-crossword-solver","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"question-answering","task_name":"Question Answering"}],"methods":[{"method_slug":null,"method_name":"American"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.09665","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.09665"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":"deterministic:regex_extraction","url":"https://github.com/albertkx/berkeley-crossword-solver","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"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":"039616d0b2ba9038","entry":"diff","repo":"albertkx/berkeley-crossword-solver","repo_kind":"official","path":"generate_demo_states.py","file_url":"https://github.com/albertkx/berkeley-crossword-solver/blob/HEAD/generate_demo_states.py","link_basis":"harvester_set","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":"039616d0b2ba9038"}},{"code_sha256_prefix":"9e0e891f08ffdff8","entry":"fill_black_squares","repo":"albertkx/berkeley-crossword-solver","repo_kind":"official","path":"generate_demo_states.py","file_url":"https://github.com/albertkx/berkeley-crossword-solver/blob/HEAD/generate_demo_states.py","link_basis":"harvester_set","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":"9e0e891f08ffdff8"}},{"code_sha256_prefix":"add8220331a0e044","entry":"setup_t5_reranker","repo":"albertkx/berkeley-crossword-solver","repo_kind":"official","path":"models.py","file_url":"https://github.com/albertkx/berkeley-crossword-solver/blob/HEAD/models.py","link_basis":"harvester_set","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":"add8220331a0e044"}},{"code_sha256_prefix":"b24b5669cd475bc4","entry":"t5_reranker_score_with_clue","repo":"albertkx/berkeley-crossword-solver","repo_kind":"official","path":"models.py","file_url":"https://github.com/albertkx/berkeley-crossword-solver/blob/HEAD/models.py","link_basis":"harvester_set","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":"b24b5669cd475bc4"}},{"code_sha256_prefix":"d5761bf2b769f3cf","entry":"uniform_weights","repo":"albertkx/berkeley-crossword-solver","repo_kind":"official","path":"DrQA/drqa/reader/layers.py","file_url":"https://github.com/albertkx/berkeley-crossword-solver/blob/HEAD/DrQA/drqa/reader/layers.py","link_basis":"harvester_set","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":"d5761bf2b769f3cf"}},{"code_sha256_prefix":"880a4e01d58b0591","entry":"weighted_avg","repo":"albertkx/berkeley-crossword-solver","repo_kind":"official","path":"DrQA/drqa/reader/layers.py","file_url":"https://github.com/albertkx/berkeley-crossword-solver/blob/HEAD/DrQA/drqa/reader/layers.py","link_basis":"harvester_set","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":"880a4e01d58b0591"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}