4 ms·
I was working for a company that had developed a kind of “foundation model” based on character CNNs when BERT came out. Previously I had worked on another proj
by PaulHoule 3y ago
I was working for a company that had developed a kind of “foundation model” based on character CNNs when BERT came out. Previously I had worked on another project trying to build one for clinical notes based on LSTM.
At both places it was obvious to me that word vectors were a dead end because frequently the most important words in the document are not in the dictionary and I had a doctrine at the time that a system like that has a number of stages and you can’t really recover from a mistake in an early stage later.
So we were very impressed w/ byte pair encoding as used in BERT because it might give less-than-optimal results if a word isn’t in the dictionary, no information has been lost.
We were also impressed with token activations (compared to word vectors) because a token activation doesn’t just represent a word, it represents the meaning of the word in context; it wasn’t clear to me that word vectors were really going to help because a word vector models relationships between similar words but it has no way of modeling words having different meanings.
With the LSTMs there was controversy about how to represent coherence in documents, for instance if you are writing a story about a person named such-and-such, you need to store that name and copy it over and over again or represent it in different ways (First Name, First Name + Last Name, pronouns …) and LSTMs and RNNs did not have a story for that and people didn’t like the obvious options. Transformers answer that question quite well.
I had no idea though that transformers were going to go as far as they did.