We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Non-Programmers Can Label Programs Indirectly via Active Examples: A Case Study with Text-to-SQL

Abstract: Can non-programmers annotate natural language utterances with complex programs that represent their meaning? We introduce APEL, a framework in which non-programmers select among candidate programs generated by a seed semantic parser (e.g., Codex). Since they cannot understand the candidate programs, we ask them to select indirectly by examining the programs' input-ouput examples. For each utterance, APEL actively searches for a simple input on which the candidate programs tend to produce different outputs. It then asks the non-programmers only to choose the appropriate output, thus allowing us to infer which program is correct and could be used to fine-tune the parser. As a first case study, we recruited human non-programmers to use APEL to re-annotate SPIDER, a text-to-SQL dataset. Our approach achieved the same annotation accuracy as the original expert annotators (75%) and exposed many subtle errors in the original annotations.
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Programming Languages (cs.PL)
Cite as: arXiv:2205.12422 [cs.CL]
  (or arXiv:2205.12422v3 [cs.CL] for this version)

Submission history

From: Ruiqi Zhong [view email]
[v1] Wed, 25 May 2022 00:35:12 GMT (2779kb,D)
[v2] Sat, 14 Oct 2023 03:19:16 GMT (10828kb,D)
[v3] Mon, 23 Oct 2023 11:12:48 GMT (10776kb,D)

Link back to: arXiv, form interface, contact.