Zero and Few-shot Semantic Parsing with Ambiguous Inputs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Stengel-Eskin, Elias, Rawlins, Kyle, Van Durme, Benjamin
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929216737509376
author Stengel-Eskin, Elias
Rawlins, Kyle
Van Durme, Benjamin
author_facet Stengel-Eskin, Elias
Rawlins, Kyle
Van Durme, Benjamin
contents Despite the frequent challenges posed by ambiguity when representing meaning via natural language, it is often ignored or deliberately removed in tasks mapping language to formally-designed representations, which generally assume a one-to-one mapping between linguistic and formal representations. We attempt to address this shortcoming by introducing AmP, a framework, dataset, and challenge for translating ambiguous natural language to formal representations like logic and code. We define templates and generate data for five well-documented linguistic ambiguities. Using AmP, we investigate how several few-shot text-to-code systems handle ambiguity, introducing three new metrics. We find that large pre-trained models perform poorly at capturing the distribution of possible meanings without deliberate instruction. However, models are able to capture the distribution well when ambiguity is attested in their inputs. These results motivate a call for including ambiguity explicitly in datasets and promote considering the distribution of possible outputs when evaluating systems. Data and code: https://github.com/esteng/ambiguous_parsing
format Preprint
id arxiv_https___arxiv_org_abs_2306_00824
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Zero and Few-shot Semantic Parsing with Ambiguous Inputs
Stengel-Eskin, Elias
Rawlins, Kyle
Van Durme, Benjamin
Computation and Language
Despite the frequent challenges posed by ambiguity when representing meaning via natural language, it is often ignored or deliberately removed in tasks mapping language to formally-designed representations, which generally assume a one-to-one mapping between linguistic and formal representations. We attempt to address this shortcoming by introducing AmP, a framework, dataset, and challenge for translating ambiguous natural language to formal representations like logic and code. We define templates and generate data for five well-documented linguistic ambiguities. Using AmP, we investigate how several few-shot text-to-code systems handle ambiguity, introducing three new metrics. We find that large pre-trained models perform poorly at capturing the distribution of possible meanings without deliberate instruction. However, models are able to capture the distribution well when ambiguity is attested in their inputs. These results motivate a call for including ambiguity explicitly in datasets and promote considering the distribution of possible outputs when evaluating systems. Data and code: https://github.com/esteng/ambiguous_parsing
title Zero and Few-shot Semantic Parsing with Ambiguous Inputs
topic Computation and Language
url https://arxiv.org/abs/2306.00824