{"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/loft-enhancing-faithfulness-and-diversity-for","title":"LoFT: Enhancing Faithfulness and Diversity for Table-to-Text Generation via Logic Form Control","arxiv_id":"2302.02962","date":"2023-02-06","proceeding":null,"authors":["Yilun Zhao","Zhenting Qi","Linyong Nan","Lorenzo Jaime Yu Flores","Dragomir Radev"],"abstract":"Logical Table-to-Text (LT2T) generation is tasked with generating logically faithful sentences from tables. There currently exists two challenges in the field: 1) Faithfulness: how to generate sentences that are factually correct given the table content; 2) Diversity: how to generate multiple sentences that offer different perspectives on the table. This work proposes LoFT, which utilizes logic forms as fact verifiers and content planners to control LT2T generation. Experimental results on the LogicNLG dataset demonstrate that LoFT is the first model that addresses unfaithfulness and lack of diversity issues simultaneously. Our code is publicly available at https://github.com/Yale-LILY/LoFT.","url_abs":"https://arxiv.org/abs/2302.02962v1","url_pdf":"https://arxiv.org/pdf/2302.02962v1.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":"loft-enhancing-faithfulness-and-diversity-for","repo_url":"https://github.com/yale-lily/loft","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"form","task_name":"Form"},{"task_slug":"table-to-text-generation","task_name":"Table-to-Text Generation"},{"task_slug":"text-generation","task_name":"Text Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2302.02962","atlas_url":"https://app.syntology.ai/?focus=2302.02962","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2302.02962"}},"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/yale-lily/loft","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":9,"unverified":4},"by_repo_kind":{"official":{"samples":13,"ran":9,"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":"9a8250b6202d0aaf","entry":"distinct","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_evaluation/diversity_metrics.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_evaluation/diversity_metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9a8250b6202d0aaf"}},{"code_sha256_prefix":"1b98d89684c0bb11","entry":"evaluate","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/tapex/model_eval.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/tapex/model_eval.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1b98d89684c0bb11"}},{"code_sha256_prefix":"e579ce3de5f6f366","entry":"extract_orig_inference_dict","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/prepare_verifier_input.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/prepare_verifier_input.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e579ce3de5f6f366"}},{"code_sha256_prefix":"665139839a94ca8f","entry":"extract_structure_data","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/tapex/model_eval.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/tapex/model_eval.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"665139839a94ca8f"}},{"code_sha256_prefix":"0771747dc8451c0b","entry":"func_compute_bleu","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_evaluation/diversity_metrics.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_evaluation/diversity_metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0771747dc8451c0b"}},{"code_sha256_prefix":"8d1d37d893efe52b","entry":"logicnlg_evaluate","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/tapex/model_eval.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/tapex/model_eval.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8d1d37d893efe52b"}},{"code_sha256_prefix":"56e06b573ddd7ba3","entry":"read_seqs","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_evaluation/diversity_metrics.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_evaluation/diversity_metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"56e06b573ddd7ba3"}},{"code_sha256_prefix":"aeef32be08be0770","entry":"read_verifier_output","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/prepare_evaluation_data.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/prepare_evaluation_data.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aeef32be08be0770"}},{"code_sha256_prefix":"ea85ef1c2133c936","entry":"sample_output_for_logicnlg_evaluation","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/prepare_evaluation_data.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/prepare_evaluation_data.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ea85ef1c2133c936"}},{"code_sha256_prefix":"9e349ec94a8be51d","entry":"build_abstract_tree","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_data_processing/inference/modules/templatize.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_data_processing/inference/modules/templatize.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":"9e349ec94a8be51d"}},{"code_sha256_prefix":"ec9b4f078e421bab","entry":"create_templates_single","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_data_processing/inference/modules/templatize.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_data_processing/inference/modules/templatize.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":"ec9b4f078e421bab"}},{"code_sha256_prefix":"cae89a129d9d6aa3","entry":"extract_structure_data","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_framework/prepare_verifier_input.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_framework/prepare_verifier_input.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":"cae89a129d9d6aa3"}},{"code_sha256_prefix":"6db7ab7efba8239e","entry":"prepare_tapex_evaluation_data","repo":"yale-lily/loft","repo_kind":"official","path":"LoFT_evaluation/prepare_tapex_evaluation_data.py","file_url":"https://github.com/yale-lily/loft/blob/HEAD/LoFT_evaluation/prepare_tapex_evaluation_data.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":"6db7ab7efba8239e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}