Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books

  • Problem Captions in current datasets are short, so they miss how characters look and what they think. Aligning a movie to its book is hard because visual descriptions in books are brief and buried in long text.
  • Method The authors align movie shots to book sentences. A book-trained sentence encoder and a movie-clip embedding score candidate pairs, a three-layer CNN combines the scores, and a chain CRF picks a consistent alignment.
  • Results On ten test movies, the full CRF model reached mean recall of 69.10, against 38.01 for the linear SVM baseline.

Why align a movie with its book

Books describe how characters look and what they think and feel as a story unfolds, while captions in current datasets are much shorter. Grounding book text in video would turn a book into a source of story-like explanations for visual content. The paper targets two kinds of correspondence: visual links from a movie shot to a book paragraph, and dialogue links from subtitle sentences to book sentences.

The scale of the problem is large, since an average movie is about 2 hours long with 1,800 shots, while an average book has 7,750 sentences.

The MovieBook and BookCorpus data

The MovieBook Dataset covers 11 movies with their source books. Subtitles are parsed into time-stamped sentences, but speaker identity is not given. Annotators matched shot times in the movie to line numbers in the book, marking whether each match was visual, dialogue or audio. They spent 90 hours on this and located 2,070 correspondences.

Visual matches were the hardest to find, because book visual descriptions can be brief and hidden inside long paragraphs or sentences, or so verbose that they are hard to spot.

The BookCorpus used to train the sentence model contains 11,038 free books with more than 20K words each, which removes shorter and possibly noisier stories. The corpus spans 16 genres and has 74,004,228 sentences in total.

Scoring sentence similarity with a book-trained encoder

The sentence embedding is trained on triples of consecutive sentences. An encoder reads the middle sentence into a fixed vector, and two decoders try to reconstruct the sentence before and the sentence after it. The design follows the skip-gram idea for words, applied at the sentence level. It relies on the distributional idea that sentences with similar surrounding context tend to be similar in meaning and syntax, so once trained, similarity is an inner product of the encoded vectors.

The encoder and decoders are recurrent networks built from gated recurrent units, which the authors chose over LSTM because they perform comparably on sequence tasks and are simpler. The hidden state is a gated interpolation between the previous state and a proposed update, with the update gate controlling the mix: \[ h_t = (1-z_t)\odot h_{t-1} + z_t\odot \bar h_t \] where \( z_t=\sigma(W_z x_t + U_z h_{t-1}) \) and the reset gate \( r_t \) gates the previous state inside the proposed update \( \bar h_t \).

Each decoder uses its own parameters, all conditioned on the sentence vector \( h_i \) through extra gate and update terms, but the two decoders share one vocabulary matrix \( V \). The probability of each word given the previous words and the encoded vector takes the form \[ P(w^{i+1}_t \mid w^{i+1}_{<t}, h_i) \propto \exp\left(v_{w^{i+1}_t}^\top h^{i+1}_t\right) \] so each decoder acts like a language model conditioned on the encoder output.

Training maximizes the sum of log-probabilities of the next and previous sentences, using Adam for optimization.

Matching shots to DVS descriptions

The embedding extends the image-sentence ranking model to video. Each clip is represented by mean-pooled frame features from GoogLeNet and hybrid-CNN, and the DVS sentences are encoded by an LSTM. Training uses 94 movies with 54,000 described clips. Names in the DVS descriptions are replaced with a someone token before training.

The clip vector \( q \) is mapped linearly to \( v = W_I q \). The LSTM encodes the sentence into its memory vector \( m \), and the score is the inner product \( s(m,v)=m\cdot v \) after both vectors are scaled to unit norm, which makes it equal to cosine similarity. The model is trained with a pairwise ranking loss that pushes matching pairs above contrastive non-descriptive sentences and clips, with a margin \( \alpha \), using stochastic gradient descent without momentum.

Context-aware similarity with a three-layer CNN

Dialogue pairs are scored with BLEU between each subtitle and book sentence to catch near-identical text, with tf-idf to catch near duplicates while down-weighting frequent words, and with the book-trained sentence embedding to catch paraphrases. Visual pairs are scored by the visual-semantic embedding. In total there are nine measures: visual and sentence embedding, BLEU1 to BLEU5, tf-idf, and a uniform prior.

The authors give a motivating case: Gone Girl contains 15 occurrences of the sentence "I love you", so a single sentence match is ambiguous, and the sentences around a match should also be similar. All measures are stacked into a three-dimensional tensor indexed by subtitle sentence, book sentence and measure. A score is predicted for each location from a fixed window around it in both sequences, which is the same operation as a convolution with a suitably sized kernel.

The function is a three-layer CNN with ReLU non-linearities and dropout, trained with a cross-entropy loss and Adam. A sigmoid layer sits on top of the three convolutional layers.

Enforcing a timeline with a chain CRF

Shots and book passages do not always move forward together, since the storylines can cross in time and the alignment can jump forwards or backwards. Each shot is therefore a node in a chain Conditional Random Field whose state is any book sentence. The energy of a configuration \( y \) is written as \[ -\log p(x,y;\omega)=\sum_{i=1}^{K}\omega_u\,\phi_u(y_i)+\sum_{i=1}^{K}\sum_{j\in N(i)}\omega_p\,\psi_p(y_i,y_j) \] where \( K \) is the number of shots and \( N(i) \) holds the left and right neighbours of \( y_i \).

The unary potential \( \phi_u \) is the CNN output from the previous step.

The main pairwise potential compares the time span \( d_s \) between neighbouring subtitle sentences with the distance \( d_b \) between their states in the book, both normalized to \([0,1]\): \[ \psi_p(y_i,y_j)=\frac{(d_s(y_i,y_j)-d_b(y_i,y_j))^2}{(d_s(y_i,y_j)-d_b(y_i,y_j))^2+\sigma^2} \] The parameter \( \sigma^2 \) is a robustness term that keeps large jumps from being penalized too harshly.

A second pairwise potential \( \psi_q \) takes the form \( d_b^2/(d_b^2+\sigma^2) \) and encourages consistent states between neighbours, which helps during long silences with no dialogue.

Because the model is a chain, inference is exact by dynamic programming. States more than one third of the book's length away from the uniform alignment are pruned to save computation. Ground truth is sparse, so the states of unobserved shots are treated as hidden variables while the CRF weights are learned.

Alignment recall on the ten test movies

Parameters of the CNN and the CRF are trained on Gone Girl, and the other ten movies are used for testing. Because the ground truth is far from exhaustive, the evaluation centres on recall, and precision is not assessed reliably. A shot counts as recalled when the predicted paragraph lies within 3 paragraphs of the annotated one and the predicted subtitle position lies within 5 subtitle sentences.

The authors also report AP over multiple thresholds as a noisier measure.

The CNN was trained on one movie pair, and the video-text model is reported to process 1,440 movies per day and the sentence model 870 books per day in training.

Ranking books for a movie

Each test movie is aligned to all ten test books, and the books are ranked by the CRF energy after scaling so that the highest-scoring book equals 100.

Qualitative alignments and captions from other books

A shot from American Psycho is paired with paragraphs from Fight Club, and shots from Avatar and Batman Begins are matched against 300 books from BookCorpus, with the best paragraph shown. In the 10 book experiment, each clip is matched only against the other nine books. In the 200 book experiment, 200 randomly selected books are used, and the authors report that more books give increasingly better stories.

These matches are shown as examples, and one bottom-row example in the 200 book experiment is a failed case; no score is reported for them.

For captioning CoCo images, the image-text embedding of [13] produces a caption, and the top ten sentences from a few hundred thousand BookCorpus sentences are found with the sentence embedding. They are re-ranked by 1-gram precision of non-stop words, and the best one is returned with the two sentences before and after it.

Limitations

Ground truth is non-exhaustive, so the reported scores are recall-based and precision is not evaluated reliably. Visual matches remain the hardest category, so the visual side of the alignment is the weaker part of the evidence.

The CRF gain is not uniform across movies, and the experiments train the parameters on a single movie, Gone Girl. The borrowed-paragraph and captioning results are qualitative examples, so they do not give measured accuracy.

Paper info

Authors
Yukun Zhu, Ryan Kiros, Richard Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, Sanja Fidler
Venue
arXiv · Preprint
First published
2015-6-22
Added
2026-11-12
Updated
2015-6-22
Version
v1
arXiv
1506.06724
Category
cs.CV · cs.CL
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Yukun Zhu, Ryan Kiros, Richard Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, Sanja Fidler (2015). Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books. arXiv:1506.06724v1. https://arxiv.org/abs/1506.06724v1

BibTeX
@misc{zhu2015aligning,
  title = {{Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books}},
  author = {Yukun Zhu and Ryan Kiros and Richard Zemel and Ruslan Salakhutdinov and Raquel Urtasun and Antonio Torralba and Sanja Fidler},
  year = {2015},
  eprint = {1506.06724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.06724v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up