MLS-C01 · Question #156
A digital newspaper owns a large collection of articles and human-written associated article summaries. The summaries are used as headers for each article posted online, and the newspaper editors…
The correct answer is D. Apply seq2seq recurrent neural networks (RNNs) under the encoder-decoder framework. To automate the generation of article summaries from full articles, a Machine Learning Specialist should use a seq2seq recurrent neural network (RNN) under an encoder-decoder framework. This architecture is specifically designed for transforming an input sequence (article) into…
Question
A digital newspaper owns a large collection of articles and human-written associated article summaries. The summaries are used as headers for each article posted online, and the newspaper editors would like to find a way to produce the summaries automatically. A Machine Learning Specialist needs to apply machine learning to automate the summary-generation process. Which solution addresses this need?
Options
- AApply a neural topic model on the raw article sequence formatted as a bag of words.
- BProject articles to a low-dimensional, compact representation by average word2vec embeddings
- CDownsample article words to a desired summary size with the word dropout probability inverse to
- DApply seq2seq recurrent neural networks (RNNs) under the encoder-decoder framework.
How the community answered
(65 responses)- A9% (6)
- B3% (2)
- C6% (4)
- D82% (53)
Why each option
To automate the generation of article summaries from full articles, a Machine Learning Specialist should use a seq2seq recurrent neural network (RNN) under an encoder-decoder framework. This architecture is specifically designed for transforming an input sequence (article) into an output sequence (summary).
A neural topic model is used to identify underlying themes or topics within a collection of documents, not to generate coherent, human-readable summaries, and a bag-of-words representation discards word order which is crucial for summarization.
Projecting articles to a low-dimensional representation using averaged word2vec embeddings is suitable for tasks like document classification or similarity search, but it does not generate a new sequence of words that constitutes a summary.
Downsampling article words based on dropout probability is a technique used in word embedding training to manage frequent words, not a method for generating article summaries or creating a coherent textual output.
Sequence-to-sequence (seq2seq) models, typically employing recurrent neural networks (RNNs) in an encoder-decoder architecture, are the standard and most effective approach for neural text summarization because they can map an input sequence (the article) to a distinct output sequence (the summary) while capturing contextual dependencies. The encoder processes the entire input article, and the decoder then generates the summary word by word based on the encoded context.
Concept tested: Neural text summarization (seq2seq models)
Source: https://developers.google.com/machine-learning/guides/text-summarization/
Topics
Community Discussion
No community discussion yet for this question.