paper-with-me

홈 › Papers

Towards Neural Programming Interfaces

2020-12-10 · NeurIPS 2020 12 · Zachary C. Brown, Nathaniel Robinson, David Wingate, Nancy Fulda

It is notoriously difficult to control the behavior of artificial neural networks such as generative neural language models. We recast the problem of controlling natural language generation as that of learning to interface with a pretrained language model, just as Application Programming Interfaces (APIs) control the behavior of programs by altering hyperparameters. In this new paradigm, a specialized neural network (called a Neural Programming Interface or NPI) learns to interface with a pretrained language model by manipulating the hidden activations of the pretrained model to produce desired outputs. Importantly, no permanent changes are made to the weights of the original model, allowing us to re-purpose pretrained models for new tasks without overwriting any aspect of the language model. We also contribute a new data set construction algorithm and GAN-inspired loss function that allows us to train NPI models to control outputs of autoregressive transformers. In experiments against other state-of-the-art approaches, we demonstrate the efficacy of our methods using OpenAI's GPT-2 model, successfully controlling noun selection, topic aversion, offensive speech filtering, and other aspects of language while largely maintaining the controlled model's fluency under deterministic settings.

📄 PDF Abstract BibTeX arXiv:2012.05983

Code (1)

DRAGNLabs/towards-neural-programming-interfaces 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingText Generation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Residual Connection 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Attention 설명 없음
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

IndoWordNet Application Programming Interfaces

2012-12-01 · WS 2012 12 · Neha Prabhugaonkar, Apurva Nagvenkar, Ramdas Karmali

Proceedings 38th International Conference on Logic Programming

2022-08-04 · Yuliya Lierler, Jose F. Morales, Carmine Dodaro, Veronica Dahl 외

ICLP is the premier international event for presenting research in logic programming. Contributions to ICLP 2022 were sought in all areas of logic programming, including but not limited to: Foundations: Semantics, Formal…

Automated Theorem ProvingData IntegrationManagementProbabilistic Programming

Proceedings 37th International Conference on Logic Programming (Technical Communications)

2021-09-15 · Andrea Formisano, Yanhong Annie Liu, Bart Bogaerts, Alex Brik 외

ICLP is the premier international event for presenting research in logic programming. Contributions to ICLP 2021 were sought in all areas of logic programming, including but not limited to: Foundations: Semantics, Formal…

Automated Theorem ProvingData IntegrationManagementProbabilistic Programming

pomdp_py: A Framework to Build and Solve POMDP Problems

2020-04-21 · Kaiyu Zheng, Stefanie Tellex

In this paper, we present pomdp_py, a general purpose Partially Observable Markov Decision Process (POMDP) library written in Python and Cython. Existing POMDP libraries often hinder accessibility and efficient prototypi…

Proceedings 35th International Conference on Logic Programming (Technical Communications)

2019-09-17 · Bart Bogaerts, Esra Erdem, Paul Fodor, Andrea Formisano 외

Since the first conference held in Marseille in 1982, ICLP has been the premier international event for presenting research in logic programming. Contributions are sought in all areas of logic programming, including but …

Automated Theorem ProvingData IntegrationInductive logic programmingManagement