Skip-Thought Vectors

Ryan Kiros, Yukun Zhu, Ruslan Salakhutdinov, Richard S. Zemel, Antonio Torralba, Raquel Urtasun, Sanja Fidler

Introduction

In the landscape of natural language processing (NLP) circa 2015, word embeddings like word2vec had established a powerful paradigm for representing lexical semantics. However, extending this success to higher-level structures like sentences remained a significant challenge. Existing approaches were often bifurcated into supervised models—which produced high-quality but task-specific representations—and unsupervised models like Paragraph Vectors, which required computationally expensive inference at test time. Skip-Thought Vectors proposed a "holy grail" solution: an unsupervised, generic sentence encoder capable of serving as a fixed feature extractor across a wide array of linguistic tasks.

Methodology

The fundamental innovation of this work is the Skip-Thoughts objective, a functional analog to the skip-gram model used for word embeddings. Instead of predicting surrounding words, the model predicts the surrounding sentences of a given input.

Architecture

The framework utilizes an Encoder-Decoder architecture based on Gated Recurrent Units (GRUs). An RNN encoder compresses a source sentence $s_i$ into a fixed-length vector. Subsequently, two separate RNN decoders attempt to reconstruct the preceding sentence ($s_{i-1}$) and the succeeding sentence ($s_{i+1}$) based on this vector representation.

The Skip-Thoughts architecture: an encoder processes the current sentence, while two decoders predict the surrounding context.

By forcing the encoder to preserve enough information to reconstruct the context, the model learns to capture deep semantic and syntactic properties. To address the "Out of Vocabulary" (OOV) problem, the authors implemented a linear mapping from a pre-trained word2vec space into the encoder's word space, allowing the model to generalize to millions of words not seen during training.

Dataset and Training

The model was trained on the BookCorpus, a dataset comprising over 11,000 unpublished novels. This corpus provides approximately 74 million sentences characterized by strong narrative continuity, which is essential for the skip-thought objective. The authors evaluated three variants: a unidirectional model (uni-skip), a bidirectional model (bi-skip), and a combined version (combine-skip).

Evaluation and Results

The skip-thought vectors were evaluated as fixed features for eight distinct tasks, including semantic relatedness (SICK), paraphrase detection (MSRP), and various classification benchmarks (e.g., TREC, SUBJ).

Quantitative Performance

On the SICK semantic relatedness task, the combine-skip model achieved a Pearson correlation of 0.8584, outperforming many specialized systems. In paraphrase detection (MSRP), the model reached 73.0% accuracy, surpassing more complex recursive neural networks. Notably, on sentiment classification (MR), the vectors achieved 76.5% accuracy, which improved to 80.4% when augmented with simple bigram features.

Qualitative Analysis

To understand the internal representation of the vectors, the authors employed t-SNE visualizations. These plots revealed that the model naturally clusters sentences by semantic intent and sentiment without explicit supervision.

t-SNE visualizations of sentence embeddings for the TREC, SUBJ, and SICK datasets, showing natural clustering of semantic categories.

Conclusion

Skip-Thought Vectors demonstrated that the natural flow of prose provides a rich, "free" source of supervision for learning language representations. By treating sentences as the fundamental unit of context, the authors created a robust feature extractor that remains competitive with supervised alternatives. While training costs and context window limitations exist, the work paved the way for modern transformer-based pre-training techniques that leverage similar self-supervised objectives.

Summary updated

BibTeX
@inproceedings{kiros2015skip,
  author = {Ryan Kiros and Yukun Zhu and Ruslan Salakhutdinov and Richard S. Zemel and Antonio Torralba and Raquel Urtasun and Sanja Fidler},
  title = {{Skip-Thought Vectors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2015},
  url = {https://openreview.net/forum?id=Skb0FuZOZS},
}
Figure