5 ms·
Transformer Memory as a Differentiable Search Index
- throwaway81523 5y agoThis is a really cool paper that I better sit down and read. Thanks for posting it.
- svcrunch 5y agoThis is fascinating, as far as pushing the creative boundaries of how to accomplish IR with neural networks, and showing the potential headroom that's available. It seems wildly impracticable to productionize at the moment (excepting Google, perhaps). If I'm not misunderstanding, the index is actually built by training a neural network (they use networks ranging from 250M-11B parameters, i.e. 500MB-22GB in size). Still, for an important collection of documents, this might be how it's done in a few years.
- touisteur 5y agoEver since I learned about and implemented a learned index I've been seeing the power of these new things. Don't care much for computer vision, but generic performance improvement primitives, yes please.
- bmc7505 5y ago> It seems wildly impracticable to productionize at the moment (excepting Google, perhaps). There were a couple related papers [1, 2] from Google on learning to index a few years ago. In fact, I'm a little surprised they weren't cited. [1]: https://dl.acm.org/doi/pdf/10.1145/3183713.3196909 https://dl.acm.org/doi/pdf/10.1145/3183713.3196909 [2]: https://arxiv.org/pdf/2012.12501.pdf https://arxiv.org/pdf/2012.12501.pdf
- elcomet 5y agoThis is very different from learning to index I think. This is about storing data in the weights of a model.
- vsroy 5y agoCan someone provide a layman's explanation?
- periheli0n 5y agoA transformer network is a variant of associative memory. You give it a query and it returns a value that it has learned to associate with the query during training.
- svcrunch 5y ago> You give it a query and it returns a value that it has learned to associate with the query during training. The zero-shot scenario they describe does not work like this. They explicitly mention that it's not trained with any queries (which is what makes it a very promising technique).
- periheli0n 5y agoSorry for the imprecise phrasing. During training, patterns are stored in the network parameters. The query will naturally be similar to one or several of the patterns stored, which are then returned (in hopfield-speak "completed").
- iamjbn 5y agoThanks for sharing. I have been working on vector search engines (IR) for a while (Aquila Network). And I believe works such as this as well as the "differential neural computers" (couple of them from Deepmind) will be the next breakthrough in IR. I can't see the direct path yet. We're eagerly waiting to see somewhat a usable architecture yet. I believe current vector indexes will eventually get modified into hierarchical random access memories that stores compressed information in higher dimensions (static & replicated part of the distributed system). On top of this, an application specific information decoder (that's the dynamic part of the system, UX) will use the underlying information accordingly.
- kettleballroll 5y agoSpeaking as an academic for a minute, that this works was already known since "hopfield networks is all you need". That paper even has some theoretical work on how much each layer can store, IIRC. It's weird that they didn't cite that paper though it's a clear extension of that.
- orbifold 5y agoML in general seems to have a really low standard for citing related and earlier work. In part I think that is because a lot of papers are based on relatively poorly developed foundations or empirical evidence. A prime example are the "Neural ... " papers, which in my view largely took existing research in the optimal control / differential equations literature, prepended the word "Neural" and provided some "interesting" application. This would be fine, if there was some proper context given for the work, but unfortunately that wasn't always the case there.
- ignoramous 5y agohtml: https://www.arxiv-vanity.com/papers/2202.06991/ https://www.arxiv-vanity.com/papers/2202.06991/
- Irishsteve 5y agoThe idea is certainly interesting. But given the dependency on an underlying query to doc click log it's not the most obvious solution. Inverted indices with fuzzy and boolean matching are pretty boring, but they're still pretty trivial to stand up and do not require anything beyond the actual corpora to be built.
- blackbear_ 5y agoA bit disappointed they do not compare with, or at least mention, the memory mechanism of neural turing machines [1]. [1] https://arxiv.org/abs/1410.5401 https://arxiv.org/abs/1410.5401