TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Learning Algebraic Recombination for Compositional General...

Learning Algebraic Recombination for Compositional Generalization

Chenyao Liu, Shengnan An, Zeqi Lin, Qian Liu, Bei Chen, Jian-Guang Lou, Lijie Wen, Nanning Zheng, Dongmei Zhang

2021-07-14Findings (ACL) 2021 8Semantic Parsing
PaperPDFCodeCode(official)

Abstract

Neural sequence models exhibit limited compositional generalization ability in semantic parsing tasks. Compositional generalization requires algebraic recombination, i.e., dynamically recombining structured expressions in a recursive manner. However, most previous studies mainly concentrate on recombining lexical units, which is an important but not sufficient part of algebraic recombination. In this paper, we propose LeAR, an end-to-end neural model to learn algebraic recombination for compositional generalization. The key insight is to model the semantic parsing task as a homomorphism between a latent syntactic algebra and a semantic algebra, thus encouraging algebraic recombination. Specifically, we learn two modules jointly: a Composer for producing latent syntax, and an Interpreter for assigning semantic operations. Experiments on two realistic and comprehensive compositional generalization benchmarks demonstrate the effectiveness of our model. The source code is publicly available at https://github.com/microsoft/ContextualSP.

Results

TaskDatasetMetricValueModel
Semantic ParsingCFQExact Match90.9LeAR

Related Papers

Where, What, Why: Towards Explainable Driver Attention Prediction2025-06-29Beyond Chains: Bridging Large Language Models and Knowledge Bases in Complex Question Answering2025-05-20Creativity or Brute Force? Using Brainteasers as a Window into the Problem-Solving Abilities of Large Language Models2025-05-16Sigma: A dataset for text-to-code semantic parsing with statistical analysis2025-04-05Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing2025-04-04ZOGRASCOPE: A New Benchmark for Property Graphs2025-03-07Geo-Semantic-Parsing: AI-powered geoparsing by traversing semantic knowledge graphs2025-03-03Disambiguate First Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing2025-02-25