← Search

Richard Shin

11 accepted papers

2024

Language-to-Code Translation with a Single Labeled Example

EMNLP 2024main

Tools for translating natural language into code promise natural, open-ended interaction with databases, web APIs, and other software systems. However, this promise is complicated by the diversity and continual development of these systems, each with its own interface and distinct set of features. B…

Cited by 0SourcePDFScholar
2024

Learning to Retrieve Iteratively for In-Context Learning

EMNLP 2024main

We introduce iterative retrieval, a novel framework that empowers retrievers to make iterative decisions through policy optimization. Finding an optimal portfolio of retrieved items is a combinatorial optimization problem, generally considered NP-hard. This approach provides a learned approximation…

Cited by 5SourcePDFScholar
2024

Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation

ICLR 2024poster

We study the problem of in-context learning (ICL) with large language models (LLMs) on private datasets. This scenario poses privacy risks, as LLMs may leak or regurgitate the private examples demonstrated in the prompt. We propose a novel algorithm that generates synthetic few-shot demonstrations…

2023

BenchCLAMP: A Benchmark for Evaluating Language Models on Syntactic and Semantic Parsing

NeurIPS 2023poster

Recent work has shown that generation from a prompted or fine-tuned language model can perform well at semantic parsing when the output is constrained to be a valid semantic representation. We introduce BenchCLAMP, a Benchmark to evaluate Constrained LAnguage Model Parsing, that includes context-fre…

2023

Privacy-Preserving Domain Adaptation of Semantic Parsers

ACL 2023long

Task-oriented dialogue systems often assist users with personal or confidential matters. For this reason, the developers of such a system are generally prohibited from observing actual usage. So how can they know where the system is failing and needs more training data or new functionality? In this…

2022

Addressing Resource and Privacy Constraints in Semantic Parsing Through Data Augmentation

ACL 2022findings

We introduce a novel setup for low-resource task-oriented semantic parsing which incorporates several constraints that may arise in real-world scenarios: (1) lack of similar datasets/models from a related domain, (2) inability to sample useful logical forms directly from a grammar, and (3) privacy r…

Cited by 3SourcePDFScholar
2021

Constrained Language Models Yield Few-Shot Semantic Parsers

EMNLP 2021main

We explore the use of large pretrained language models as few-shot semantic parsers. The goal in semantic parsing is to generate a structured meaning representation given a natural language input. However, language models are trained to generate natural language. To bridge the gap, we use language m…

2019

Synthetic Datasets for Neural Program Synthesis

ICLR 2019poster

The goal of program synthesis is to automatically generate programs in a particular language from corresponding specifications, e.g. input-output behavior. Many current approaches achieve impressive results after training on randomly generated I/O examples in limited domain-specific languages (DSLs)…

Cited by 51SourcePDFScholar
2018

Parametrized Hierarchical Procedures for Neural Programming

ICLR 2018poster

Neural programs are highly accurate and structured policies that perform algorithmic tasks by controlling the behavior of a computation mechanism. Despite the potential to increase the interpretability and the compositionality of the behavior of artificial agents, it remains difficult to learn from…

Cited by 35SourcePDFScholar