2023 · 51 citations · 25 references
ComputingComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingLearning From DemonstrationNatural Language UnderstandingParsingSentence ParsingIn-context LearningModel Learning From DemonstrationsSemantic Parsing
In-context learning succeeds on i.i.d. semantic parsing splits, but for compositional generalization where test outputs contain unseen structures, using demonstrations similar to the input is insufficient. The study proposes selecting diverse demonstrations that collectively cover all required output structures to encourage generalization. The method selects demonstrations that span the necessary output structures, ensuring coverage of all target program forms.
In-context learning has shown great success in i.i.d semantic parsing splits, where the training and test sets are drawn from the same distribution. In this setup, models are typically prompted with demonstrations that are similar to the input utterance. However, in the setup of compositional generalization, where models are tested on outputs with structures that are absent from the training set, selecting similar demonstrations is insufficient, as often no example will be similar enough to the input. In this work, we propose a method to select diverse demonstrations that aims to collectively cover all of the structures required in the output program, in order to encourage the model to generalize to new structures from these demonstrations. We empirically show that combining diverse demonstrations with in-context learning substantially improves performance across three compositional generalization semantic parsing datasets in the pure in-context learning setup and when combined with finetuning.
25
Scikit-learn: Machine Learning in Python
Fabián Pedregosa, Gaël Varoquaux, Alexandre Gramfort et al. · arXiv (Cornell University) · 2012 · 63.7K citations · Full text
Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Nils Reimers, Iryna Gurevych · 2019 · 10.9K citations · Full text
Decoupled Weight Decay Regularization
Ilya Loshchilov, Frank Hutter · arXiv (Cornell University) · 2017 · 9.1K citations · Full text