{"url":"/method/spreadsheetcoder","slug":"spreadsheetcoder","name":"SpreadsheetCoder","full_name":"SpreadsheetCoder","full_name_withheld":false,"description_markdown":"**SpreadsheetCoder** is a neural network architecture for spreadsheet formula prediction. It is a [BERT](https://paperswithcode.com/method/bert)-based model architecture to represent the tabular context in both row-based and column-based formats. A [BERT](https://paperswithcode.com/method/bert) encoder computes an embedding vector for each input token, incorporating the contextual information from nearby rows and columns. The BERT encoder is initialized from the weights pre-trained on English text corpora, which is beneficial for encoding table headers. To handle cell references, a two-stage decoding process is used inspired by sketch learning for program synthesis. The decoder first generates a formula sketch, which does not include concrete cell references, and then predicts the corresponding cell ranges to generate the complete formula","description_state":"present","introduced_year":null,"introduced_by":{"title":"SpreadsheetCoder: Formula Prediction from Semi-structured Context","paper":"/paper/spreadsheetcoder-formula-prediction-from-semi-1","first_author":"Xinyun Chen","n_authors":7,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/spreadsheetcoder-formula-prediction-from-semi-1"},"source":{"url":"https://arxiv.org/abs/2106.15339v1","title":"SpreadsheetCoder: Formula Prediction from Semi-structured Context","url_on_a_paper_host":true},"code_snippet_url":null,"code_snippet_url_on_a_code_host":false,"categories":[{"area":"General","area_id":"general","collection":"Spreadsheet Formula Prediction Models","url":"/methods/category/spreadsheet-formula-prediction-models","pwc_aliases":[]}],"n_papers_tagged":1,"archive_num_papers":1,"papers_newest_first":[{"paper":"/paper/spreadsheetcoder-formula-prediction-from-semi-1","title":"SpreadsheetCoder: Formula Prediction from Semi-structured Context","date":"2021-06-26","arxiv_id":"2106.15339","n_code_links":1,"syntology":null}],"papers_shown":1,"tasks":[{"task":"/task/prediction","name":"Prediction","papers":1},{"task":"/task/program-synthesis","name":"Program Synthesis","papers":1}],"tasks_shown":2,"n_tasks":2,"usage_by_year":[{"year":"2021","papers":1}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/spreadsheetcoder"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}