5 ms·
What are the practical uses of language modelling RNNs ? (apart from writing grammar/syntax checkers)
by option_greek 10y ago
What are the practical uses of language modelling RNNs ? (apart from writing grammar/syntax checkers)
- visarga 10y agoLanguage encoding and generation (sequence to sequence).
- option_greek 10y agoCould you expand a bit on that. I have come across examples generating poems from Shakespeare works and realistic looking css/javascript but still trying to find out a more realistic usecase.
- matt4711 10y agoSay you want to translate a sentence from language A to language B. You have a system that generates 10 possible translations in language B. Now you use a language model of language B to figure out which is the best translation by asking the language model which of the translations has the highest probability of being generated by the model.
- greeneggs 10y agoIs there any way to "translate" between writing styles of the same language? I'm thinking something analogous to the Van Gogh-ify image-processing techniques using deep convolutional networks. Even very simple transformations, e.g., adding alliteration/assonance or adding rhymes everywhere, might be fun.
- stephancoral 10y agoLook into Google's SyntaxNet - https://research.googleblog.com/2016/05/announcing-syntaxnet-worlds-most.html https://research.googleblog.com/2016/05/announcing-syntaxnet... Should help you break down sentences into their semantic parts. The transformations are then made by walking the syntax tree and modifying the tagged parts of speech as you see fit.
- sprobertson 10y agoChat bots, image to caption, and question answering are some more realistic use cases of the generator side. In those cases there is some input (previous chat message, an image, a question) which is encoded into a vector sometimes referred to as a context or thought vector. The decoder/generator unfolds that vector into a series of words.
- spangry 10y agoI wonder if they could be used to improve speech recognition accuracy. So you'd have two models running when someone utters a sentence: the first would generate the x most likely phrases that it thinks were spoken, and the second (the RNN) would select the highest ranked 'plausible' sentence (i.e. a sentence it would have been able to generate itself). I guess that's a bit indirect, but these RNNs are essentially learning the 'rules' that actual phrases conform to. It'd definitely be better than trying to hard-code the rules (especially for a language like English!). And the training data is very easy to get: just feed it a few thousand ebooks, the comments section from HN etc.
- rkjaran 10y agoLanguage models are a standard component of speech recognition. Although N-gram LMs are used much more often than RNN LMs.
- bshillingford 10y agoStandard neural network-based speech recognition pipelines (i.e. RNN + CTC) always use a language model. Unlike a seq2seq model (or any autoregressive model, or a structured prediction output), CTC models output timesteps as conditionally independent. Hence, everyone uses an RNN LM or n-gram LM or both when retrieving probable sequences from a CTC model (e.g. with beam search).
- circuithunter 10y agoMachine translation is a big one. See the recent NY Times feature [1] and the arxiv paper [2]. Automated image captioning is another (used extensively by Facebook). [1] https://www.nytimes.com/2016/12/14/magazine/the-great-ai-awakening.html https://www.nytimes.com/2016/12/14/magazine/the-great-ai-awa... [2] https://arxiv.org/abs/1609.08144 https://arxiv.org/abs/1609.08144