2 ms·
Yeah LSTMs can outperform transformers on a lot of small tasks. What transformers do exceptionally well is scale.
by mountainriver 5y ago
Yeah LSTMs can outperform transformers on a lot of small tasks. What transformers do exceptionally well is scale.
- robbedpeter 5y agoPart of the scaling benefit comes from the efficiency of training. LSTM and other recurrent architectures take more bits per parameter and the attention mechanism doesn't optimize for context - each lstm neuron uses gating individually, where transformers attention mechanisms can use the context of an entire layer. LSTMs with attention are super interesting, and there are some neat self-growing hopfield networks with attention that could push into transformer style efficacy and efficiency gains.