← Search

Eran Yahav

8 accepted papers

2023

On the Expressivity Role of LayerNorm in Transformers’ Attention

ACL 2023findings

Layer Normalization (LayerNorm) is an inherent component in all Transformer-based models. In this paper, we show that LayerNorm is crucial to the expressivity of the multi-head attention layer that follows it. This is in contrast to the common belief that LayerNorm’s only role is to normalize the ac…

2019

Learning Deterministic Weighted Automata with Queries and Counterexamples

NeurIPS 2019poster

We present an algorithm for reconstruction of a probabilistic deterministic finite automaton (PDFA) from a given black-box language model, such as a recurrent neural network (RNN). The algorithm is a variant of the exact-learning algorithm L*, adapted to work in a probabilistic setting under noise.…

2019

code2seq: Generating Sequences from Structured Representations of Code

ICLR 2019poster

The ability to generate natural language sequences from source code snippets has a variety of applications such as code summarization, documentation, and retrieval. Sequence-to-sequence (seq2seq) models, adopted from neural machine translation (NMT), have achieved state-of-the-art performance on the…

2018

Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamples

ICML 2018oral

We present a novel algorithm that uses exact learning and abstraction to extract a deterministic finite automaton describing the state dynamics of a given trained RNN. We do this using Angluin’s \lstar algorithm as a learner and the trained RNN as an oracle. Our technique efficiently extracts accura…