doi
stringlengths
10
10
chunk-id
stringlengths
1
4
chunk
stringlengths
1
1.66k
id
stringlengths
10
10
title
stringlengths
19
148
summary
stringlengths
345
1.92k
source
stringlengths
31
31
authors
sequence
categories
sequence
comment
stringlengths
4
284
journal_ref
stringclasses
14 values
primary_category
stringclasses
16 values
published
stringlengths
8
8
updated
stringlengths
8
8
references
list
1706.05125
22
We measure end-to-end performance in dialogues both with the likelihood-based agent and with humans on Mechanical Turk, on held out scenarios. Humans were told that they were interacting with other humans, as they had been during the collection of our dataset (and few appeared to realize they were in conversation with machines). We measure the following statistics: Score: The average score for each agent (which could be a human or model), out of 10. Agreement: The percentage of dialogues where both agents agreed on the same decision. Pareto Optimality: The percentage of Pareto optimal solutions for agreed deals (a solution is Pareto optimal if neither agent’s score can be improved without lowering the other’s score). Lower scores indicate inefficient negotiations. vs.LIKELIHOOD vs. Human ModelScore (all)Score (agreed)% Agreed% Pareto OptimalScore (all)Score (agreed)% Agreed% Pareto Optimal LIKELIHOOD 5.4 vs. 5.5 6.2 vs. 6.2 87.9 49.6 4.7 vs. 5.8 6.2 vs. 7.6 76.5 66.2
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
23
RL 7.1 vs. 4.2 7.9 vs. 4.7 89.9 58.6 4.3 vs. 5.0 6.4 vs. 7.5 67.3 69.1 ROLLOUTS 7.3 vs. 5.1 7.9 vs. 5.5 92.9 63.7 5.2 vs. 5.4 7.1 vs. 7.4 72.1 78.3 RL+ROLLOUTS 8.3 vs. 4.2 8.8 vs. 4.5 94.4 74.8 4.6 vs. 4.2 8.0 vs. 7.1 57.2 82.4 Table 1: End task evaluation on heldout scenarios, against t heLIKELIHOOD model and humans from Mechanical Turk. The maximum score is 10. Score (all) gives 0 points when agents failed to agree. Metric Dataset Number of Dialogues 5808 Average Turns per Dialogue 6.6 Average Words per Turn 7.6 % Agreed 80.1 Average Score (/10) 6.0 % Pareto Optimal 76.9 Table 2: Statistics on our dataset of crowdsourced dialogues between humans. Model Valid PPL Test PPL Test Avg. Rank LIKELIHOOD 5.62 5.47 521.8
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
24
Model Valid PPL Test PPL Test Avg. Rank LIKELIHOOD 5.62 5.47 521.8 RL 6.03 5.86 517.6 ROLLOUTS - - 844.1 RL+ROLLOUTS - - 859.8 Table 3: Intrinsic evaluation showing the average perplexity of tokens and rank of complete turns (out of 2083 unique human messages from the test set). Lower is more human-like for both. Results are shown in Table 1. Firstly, we see that the RLand ROLLOUTS models achieve significantly better results when negotiating with the LIKELIHOOD model, particularly the RL+ROLLOUTS model. The percentage of Pareto optimal solutions also increases, showing a better exploration of the solution space. Compared to human-human negotiations (Table 2), the best models achieve a higher agreement rate, better scores, and similar Pareto efficiency. This result confirms that attempting to maximise reward can outperform simply imitating humans. Similar trends hold in dialogues with humans, with goal-based reasoning outperforming imitation learning. The ROLLOUTS model achieves comparable scores to its human partners, and the
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
25
Similar trends hold in dialogues with humans, with goal-based reasoning outperforming imitation learning. The ROLLOUTS model achieves comparable scores to its human partners, and the RL+ROLLOUTS model actually achieves higher scores. However, we also find significantly more cases of the goal-based models failing to agree a deal with humans—largely a consequence of their more aggressive negotiation tactics (see §7).7 Analysis Table 1 shows large gains from goal-based methods. In this section, we explore the strengths and weaknesses of our models. Goal-based models negotiate harder. The RL+ROLLOUTS model has much longer dialogues with humans than LIKELIHOOD (7.2 turns vs. 5.3 on average), indicating that the model is accepting deals less quickly, and negotiating harder. A negative consequence of this more aggressive negotiation strategy is that humans were more likely to walk away with no deal, which is reflected in the lower agreement rates. Even though failing to agree was worth 0 points, people often preferred this course over capitulating to an uncompromising opponent—a factor not well captured by the simulated partner in reinforcement learning training or rollouts (as reflected by the larger gains from goal-based models in dialogues
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
26
learning training or rollouts (as reflected by the larger gains from goal-based models in dialogues with the LIKELIHOOD model). In particular, the goal-based models are prone to simply rephrasing the same demand each turn, which is a more effective strategy against the LIKELIHOOD model than humans. Future work should address this issue. Figure 5 shows an example of our goal-based model stubbornly negotiating until it achieves a good outcome. Models learn to be deceptive. Deception can be an effective negotiation tactic. We found numerous cases of our models initially feigning interest in a valueless item, only to later ‘compromise’ by conceding it. Figure 7 shows an example. Models produce meaningful novel sentences. One interesting question is whether our models are capable of generating novel sentences in the new circumstances they find themselves in, or if they simply repeat messages from the training data verbatim. We find that 76% of messages produced by theLIKELIHOOD model in self-play were found in the training data. We manually examined the novel Input Human 1x book value =3 1x hatvalue =1 3x ballvalue =2
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
27
the training data. We manually examined the novel Input Human 1x book value =3 1x hatvalue =1 3x ballvalue =2 RL+ROLLOUTS 1xbook value =6 1x hatvalue =4 3x ballvalue =0 RL+ROLLOUTS You can have the balls if i can have the hat and book Human Nope, give me the books and you can have everything else RL+ROLLOUTS Ok. I will take the book and one hat Human I get all the balls? RL+ROLLOUTS Yes. I can do that. Human Ok, deal Output Reward RL+ROLLOUTS 1xbook 1xhat 10/10 Human 3x ball 6/10 Figure 5: Example of a model stubbornly holding out for maximum points in a dialogue. Input Human 3x book value =2 3x hatvalue =1 1x ballvalue =1 RL+ROLLOUTS 3xbook value =1 3x hatvalue =2 1x ballvalue =1 Human I’d like the books and the hats. RL+ROLLOUTS I will take the books and hats Human I really need the books and at least one other object. RL+ROLLOUTS Ok, you can have one book and one ball
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
28
Human I really need the books and at least one other object. RL+ROLLOUTS Ok, you can have one book and one ball Human If I can have all the books, I can leave you the rest. RL+ROLLOUTS Deal Output Reward RL+ROLLOUTS 3xhat1xball 7/10 Human 3x book 6/10 Figure 6: Example of model compromising. utterances produced by our model, and found that the overwhelming majority were fluent English sentences in isolation—showing that the model has learnt a good language model for the domain (in addition to results that show it uses language effectively to achieve its goals). These results suggest that although neural models are prone to the safer option of repeating sentences from training data, they are capable of generalising when necessary. Future work should choose domains that force a higher degree of diversity in utterances. Maintaining multi-sentence coherence is challenging. One common linguistic error we see RL+ROLLOUTS make is to start a message by indicating agreement (e.g. I agree orDeal ), but then going on to propose a counter offer—a behaviour that human partners found frustrating. One explanation is that the model has learnt that in the supervised data, messages beginning with I agree are often at the end of the dialogue, and partners
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
29
that human partners found frustrating. One explanation is that the model has learnt that in the supervised data, messages beginning with I agree are often at the end of the dialogue, and partners rarely reply with further negotiation—so the models using rollouts and reinforcement learning believe this tactic will help their offer to be accepted. 8 Related Work Most work on goal orientated dialogue systems has assumed that state representations are anno-Input RL+ROLLOUTS 4xbook value =0 2x hatvalue =5 1x ballvalue =0 Human 4x book value =1 2x hatvalue =2 1x ballvalue =2 RL+ROLLOUTS You can have the ball if I can have everything else. Human No can’t do that the ball is not going to give me anything RL+ROLLOUTS I need the hats and you can have the rest Human Deal RL+ROLLOUTS Great! Thank you! Output Reward RL+ROLLOUTS 2xhat 10/10 Human 4x book 1xball 6/10 Figure 7: Dialogue in which the model’s initial interest in the valueless books allows it to compromise while achieving a maximum score. tated in the training data (Williams and Young, 2007; Henderson et al., 2014; Wen et al., 2016). The use of state annotations allows a cleaner
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
30
tated in the training data (Williams and Young, 2007; Henderson et al., 2014; Wen et al., 2016). The use of state annotations allows a cleaner separation of the reasoning and natural language aspects of dialogues, but our end-to-end approach makes data collection cheaper and allows tasks where it is unclear how to annotate state. Bordes and Weston (2016) explore end-toend goal orientated dialogue with a supervised model—we show improvements over supervised learning with goal-based training and decoding. Recently, He et al. (2017) use task-specific rules to combine the task input and dialogue history into a more structured state representation than ours. Reinforcement learning (RL) has been applied in many dialogue settings. RL has been widely used to improve dialogue managers, which manage transitions between dialogue states (Singh et al., 2002; Pietquin et al., 2011; Rieser and Lemon, 2011; Gaˇ sic et al., 2013; Fatemi et al., 2016). In contrast, our end-toend approach has no explicit dialogue manager. Li et al. (2016) improve metrics such as diversity for non-goal-orientated dialogue using RL, which would make an interesting extension to our work. Das et al. (2017) use reinforcement learning
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
31
which would make an interesting extension to our work. Das et al. (2017) use reinforcement learning to improve cooperative bot-bot dialogues. RL has also been used to allow agents to invent new languages (Das et al., 2017; Mordatch and Abbeel, 2017). To our knowledge, our model is the first to use RL to improve the performance of an end-toend goal orientated dialogue system in dialogues with humans. Work on learning end-to-end dialogues has concentrated on ‘chat’ settings, without explicit goals (Ritter et al., 2011; Vinyals and Le, 2015; Li et al., 2015). These dialogues contain a much greater diversity of vocabulary than our domain, but do not have the challenging adversarial elements. Such models are notoriously hard to evaluate (Liu et al., 2016), because the huge diversity of reasonable responses, whereas our task has a clear objective. Our end-to-end approach would also be much more straightforward to integrate into a generalpurpose dialogue agent than one that relied on annotated dialogue states (Dodge et al., 2016). There is a substantial literature on multi-agent bargaining in game-theory, e.g. Nash Jr (1950). There has also been computational work on modelling negotiations (Baarslag et al., 2013)—our
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
32
bargaining in game-theory, e.g. Nash Jr (1950). There has also been computational work on modelling negotiations (Baarslag et al., 2013)—our work differs in that agents communicate in unrestricted natural language, rather than pre-specified symbolic actions, and our focus on improving performance relative to humans rather than other automated systems. Our task is based on that of DeVault et al. (2015), who study natural language negotiations for pedagogical purposes—their version includes speech rather than textual dialogue, and embodied agents, which would make interesting extensions to our work. The only automated natural language negotiations systems we are aware of have first mapped language to domainspecific logical forms, and then focused on choosing the next dialogue act (Rosenfeld et al., 2014; Cuay´ ahuitl et al., 2015; Keizer et al., 2017). Our end-to-end approach is the first to to learn comprehension, reasoning and generation skills in a domain-independent data driven way. Our use of a combination of supervised and reinforcement learning for training, and stochastic rollouts for decoding, builds on strategies used in game playing agents such as AlphaGo (Silver et al., 2016). Our work is a step towards
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
33
used in game playing agents such as AlphaGo (Silver et al., 2016). Our work is a step towards real-world applications for these techniques. Our use of rollouts could be extended by choosing the other agent’s responses based on sampling, using Monte Carlo Tree Search (MCTS) (Kocsis and Szepesv´ ari, 2006). However, our setting has a higher branching factor than in domains where MCTS has been successfully applied, such as Go (Silver et al., 2016)—future work should explore scaling tree search to dialogue modelling. 9 Conclusion We have introduced end-to-end learning of natural language negotiations as a task for AI, arguing that it challenges both linguistic and reasoning skills while having robust evaluation metrics. We gathered a large dataset of human-human ne-gotiations, which contain a variety of interesting tactics. We have shown that it is possible to train dialogue agents end-to-end, but that their ability can be much improved by training and decoding to maximise their goals, rather than likelihood. There remains much potential for future work, particularly in exploring other reasoning strategies, and in improving the diversity of utterances without diverging from human language. We will also explore other negotiation tasks, to investigate whether models can learn to share negotiation strategies across domains. Acknowledgments
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
34
without diverging from human language. We will also explore other negotiation tasks, to investigate whether models can learn to share negotiation strategies across domains. Acknowledgments We would like to thank Luke Zettlemoyer and the anonymous EMNLP reviewers for their insightful comments, and the Mechanical Turk workers who helped us collect data. References Nicholas Asher, Alex Lascarides, Oliver Lemon, Markus Guhe, Verena Rieser, Philippe Muller, Stergos Afantenos, Farah Benamara, Laure Vieu, Pascal Denis, et al. 2012. Modelling Strategic Conversation: The STAC project. Proceedings of SemDial page 27. Tim Baarslag, Katsuhide Fujita, Enrico H Gerding, Koen Hindriks, Takayuki Ito, Nicholas R Jennings, Catholijn Jonker, Sarit Kraus, Raz Lin, Valentin Robu, et al. 2013. Evaluating Practical Negotiating Agents: Results and Analysis of the 2011 International Competition. Artificial Intelligence 198:73– 103. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural Machine Translation by Jointly Learning to Align and Translate. arXiv preprint arXiv:1409.0473 .
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
35
Learning to Align and Translate. arXiv preprint arXiv:1409.0473 . Antoine Bordes and Jason Weston. 2016. Learning End-to-End Goal-oriented Dialog. arXiv preprint arXiv:1605.07683 . Kyunghyun Cho, Bart Van Merri¨ enboer, Dzmitry Bahdanau, and Yoshua Bengio. 2014. On the properties of neural machine translation: Encoder-decoder approaches. arXiv preprint arXiv:1409.1259 . Heriberto Cuay´ ahuitl, Simon Keizer, and Oliver Lemon. 2015. Strategic Dialogue Management via Deep Reinforcement Learning. arXiv preprint arXiv:1511.08099 . Abhishek Das, Satwik Kottur, Khushi Gupta, Avi Singh, Deshraj Yadav, Jos´ e MF Moura, Devi Parikh, and Dhruv Batra. 2016. Visual Dialog. arXiv preprint arXiv:1611.08669 . Abhishek Das, Satwik Kottur, Jos´ e MF Moura, Stefan Lee, and Dhruv Batra. 2017. Learning Cooperative Visual Dialog Agents with Deep Reinforcement
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
36
Lee, and Dhruv Batra. 2017. Learning Cooperative Visual Dialog Agents with Deep Reinforcement Learning. arXiv preprint arXiv:1703.06585 . David DeVault, Johnathan Mell, and Jonathan Gratch. 2015. Toward Natural Turn-taking in a Virtual Human Negotiation Agent. In AAAI Spring Symposium on Turn-taking and Coordination in HumanMachine Interaction. AAAI Press, Stanford, CA . Jesse Dodge, Andreea Gane, Xiang Zhang, Antoine Bordes, Sumit Chopra, Alexander H. Miller, Arthur Szlam, and Jason Weston. 2016. Evaluating Prerequisite Qualities for Learning End-to-End Dialog Systems. ICLR abs/1511.06931. Mehdi Fatemi, Layla El Asri, Hannes Schulz, Jing He, and Kaheer Suleman. 2016. Policy Networks with Two-stage Training for Dialogue Systems. arXiv preprint arXiv:1606.03152 . Chaim Fershtman. 1990. The Importance of the Agenda in Bargaining. Games and Economic Behavior 2(3):224–238. Milica Gaˇ sic, Catherine Breslin, Matthew Henderson, Dongho Kim, Martin Szummer, Blaise Thomson,
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
37
Milica Gaˇ sic, Catherine Breslin, Matthew Henderson, Dongho Kim, Martin Szummer, Blaise Thomson, Pirros Tsiakoulis, and Steve Young. 2013. POMDPbased Dialogue Manager Adaptation to Extended Domains. In Proceedings of SIGDIAL . H. He, A. Balakrishnan, M. Eric, and P. Liang. 2017. Learning symmetric collaborative dialogue agents with dynamic knowledge graph embeddings. In Association for Computational Linguistics (ACL) . Matthew Henderson, Blaise Thomson, and Jason Williams. 2014. The Second Dialog State Tracking Challenge. In 15th Annual Meeting of the Special Interest Group on Discourse and Dialogue . volume 263. Simon Keizer, Markus Guhe, Heriberto Cuay´ ahuitl, Ioannis Efstathiou, Klaus-Peter Engelbrecht, Mihai Dobre, Alexandra Lascarides, and Oliver Lemon. 2017. Evaluating Persuasion Strategies and Deep Reinforcement Learning methods for Negotiation Dialogue agents. In Proceedings of the European Chapter of the Association for Computational Linguistics (EACL 2017) . Levente Kocsis and Csaba Szepesv´ ari. 2006. Bandit
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
38
Chapter of the Association for Computational Linguistics (EACL 2017) . Levente Kocsis and Csaba Szepesv´ ari. 2006. Bandit based Monte-Carlo Planning. In European conference on machine learning . Springer, pages 282–293. Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. 2015. A Diversity-promoting Objective Function for Neural Conversation Models. arXiv preprint arXiv:1510.03055 . Jiwei Li, Will Monroe, Alan Ritter, Michel Galley, Jianfeng Gao, and Dan Jurafsky. 2016. Deep Reinforcement Learning for Dialogue Generation. arXiv preprint arXiv:1606.01541 .Chia-Wei Liu, Ryan Lowe, Iulian V . Serban, Michael Noseworthy, Laurent Charlin, and Joelle Pineau. 2016. How NOT To Evaluate Your Dialogue System: An Empirical Study of Unsupervised Evaluation Metrics for Dialogue Response Generation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing . Junhua Mao, Xu Wei, Yi Yang, Jiang Wang, Zhiheng Huang, and Alan L. Yuille. 2015. Learning Like a Child: Fast Novel Visual Concept Learning From
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
39
Huang, and Alan L. Yuille. 2015. Learning Like a Child: Fast Novel Visual Concept Learning From Sentence Descriptions of Images. In The IEEE International Conference on Computer Vision (ICCV) . Igor Mordatch and Pieter Abbeel. 2017. Emergence of Grounded Compositional Language in Multi-Agent Populations. arXiv preprint arXiv:1703.04908 . John F Nash Jr. 1950. The Bargaining Problem. Econometrica: Journal of the Econometric Society pages 155–162. Yurii Nesterov. 1983. A Method of Solving a Convex Programming Problem with Convergence Rate O (1/k2). In Soviet Mathematics Doklady . volume 27, pages 372–376. Olivier Pietquin, Matthieu Geist, Senthilkumar Chandramohan, and Herv´ e Frezza-Buet. 2011. Sampleefficient Batch Reinforcement Learning for Dialogue Management Optimization. ACM Trans. Speech Lang. Process. 7(3):7:1–7:21. Verena Rieser and Oliver Lemon. 2011. Reinforcement Learning for Adaptive Dialogue Systems: A Datadriven Methodology for Dialogue Management and Natural Language Generation . Springer Science & Business Media.
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
40
Learning for Adaptive Dialogue Systems: A Datadriven Methodology for Dialogue Management and Natural Language Generation . Springer Science & Business Media. Alan Ritter, Colin Cherry, and William B Dolan. 2011. Data-driven Response Generation in Social Media. In Proceedings of the Conference on Empirical Methods in Natural Language Processing . Association for Computational Linguistics, pages 583–593. Avi Rosenfeld, Inon Zuckerman, Erel Segal-Halevi, Osnat Drein, and Sarit Kraus. 2014. NegoChat: A Chat-based Negotiation Agent. In Proceedings of the 2014 International Conference on Autonomous Agents and Multi-agent Systems . International Foundation for Autonomous Agents and Multiagent Systems, Richland, SC, AAMAS ’14, pages 525–532. David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. 2016. Mastering the Game of Go with Deep Neural Networks and Tree Search. Nature 529(7587):484–489. Satinder Singh, Diane Litman, Michael Kearns, and
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
41
the Game of Go with Deep Neural Networks and Tree Search. Nature 529(7587):484–489. Satinder Singh, Diane Litman, Michael Kearns, and Marilyn Walker. 2002. Optimizing Dialogue Management with Reinforcement Learning: Experiments with the NJFun System. Journal of Artificial Intelligence Research 16:105–133. Victoria Talwar and Kang Lee. 2002. Development of lying to conceal a transgression: Children’s control of expressive behaviour during verbal deception. International Journal of Behavioral Development 26(5):436–444. David Traum, Stacy C. Marsella, Jonathan Gratch, Jina Lee, and Arno Hartholt. 2008. Multi-party, Multiissue, Multi-strategy Negotiation for Multi-modal Virtual Agents. In Proceedings of the 8th International Conference on Intelligent Virtual Agents . Springer-Verlag, Berlin, Heidelberg, IV A ’08, pages 117–130. Oriol Vinyals and Quoc Le. 2015. A Neural Conversational Model. arXiv preprint arXiv:1506.05869 . Tsung-Hsien Wen, David Vandyke, Nikola Mrksic, Milica Gasic, Lina M Rojas-Barahona, Pei-Hao Su,
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1706.05125
42
Milica Gasic, Lina M Rojas-Barahona, Pei-Hao Su, Stefan Ultes, and Steve Young. 2016. A Networkbased End-to-End Trainable Task-oriented Dialogue System. arXiv preprint arXiv:1604.04562 . Jason D Williams and Steve Young. 2007. Partially Observable Markov Decision Processes for Spoken Dialog Systems. Computer Speech & Language 21(2):393–422. Ronald J Williams. 1992. Simple Statistical Gradientfollowing Algorithms for Connectionist Reinforcement Learning. Machine learning 8(3-4):229–256.
1706.05125
Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Much of human dialogue occurs in semi-cooperative settings, where agents with different goals attempt to agree on common decisions. Negotiations require complex communication and reasoning skills, but success is easy to measure, making this an interesting task for AI. We gather a large dataset of human-human negotiations on a multi-issue bargaining task, where agents who cannot observe each other's reward functions must reach an agreement (or a deal) via natural language dialogue. For the first time, we show it is possible to train end-to-end models for negotiation, which must learn both linguistic and reasoning skills with no annotated dialogue states. We also introduce dialogue rollouts, in which the model plans ahead by simulating possible complete continuations of the conversation, and find that this technique dramatically improves performance. Our code and dataset are publicly available (https://github.com/facebookresearch/end-to-end-negotiator).
http://arxiv.org/pdf/1706.05125
[ "Mike Lewis", "Denis Yarats", "Yann N. Dauphin", "Devi Parikh", "Dhruv Batra" ]
[ "cs.AI", "cs.CL" ]
null
null
cs.AI
20170616
20170616
[ { "id": "1703.06585" }, { "id": "1604.04562" }, { "id": "1706.05125" }, { "id": "1611.08669" }, { "id": "1605.07683" }, { "id": "1606.01541" }, { "id": "1511.08099" }, { "id": "1506.05869" }, { "id": "1510.03055" }, { "id": "1703.04908" }, { "id": "1606.03152" } ]
1506.06724
0
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books Yukun Zhu;1Ryan Kiros*,1Richard Zemel1Ruslan Salakhutdinov1 Raquel Urtasun1Antonio Torralba2Sanja Fidler1 1University of Toronto2Massachusetts Institute of Technology fyukun,rkiros,zemel,rsalakhu,urtasun,fidler g@cs.toronto.edu, torralba@csail.mit.edu Abstract Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
1
large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for. 1. Introduction A truly intelligent machine needs to not only parse the surrounding 3D environment, but also understand why people take certain actions, what they will do next, what they could possibly be thinking, and even try to empathize with them. In this quest, language will play a crucial role in grounding visual information to high-level semantic concepts. Only a few words in a sentence may convey really rich semantic information. Language also represents a natural means of interaction between a naive user and our vision algorithms, which is particularly important for applications such as social robotics or assistive driving. Combining images or videos with language has gotten significant attention in the past year, partly due to the creation of CoCo [18], Microsoft’s large-scale captioned image dataset. The field has tackled a diverse set of tasks such as captioning [13, 11, 36, 35, 21], alignment [11, 15, 34],
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
2
as captioning [13, 11, 36, 35, 21], alignment [11, 15, 34], Q&A [20, 19], visual model learning from textual descriptions [8, 26], and semantic visual search with natural multisentence queries [17]. Denotes equal contribution Figure 1: Shot from the movie Gone Girl , along with the subtitle, aligned with the book. We reason about the visual and dialog (text) alignment between the movie and a book. Books provide us with very rich, descriptive text that conveys both fine-grained visual details (how people or scenes look like) as well as high-level semantics (what people think and feel, and how their states evolve through a story). This source of knowledge, however, does not come with associated visual information that would enable us to ground it with descriptions. Grounding descriptions in books to vision would allow us to get textual explanations or stories behind visual information rather than simplistic captions available in current datasets. It can also provide us with extremely large amount of data (with tens of thousands books available online). In this paper, we exploit the fact that many books have been turned into movies. Books and their movie releases have a lot of common knowledge as well as they are complementary in many ways. For instance, books provide detailed descriptions about the intentions and mental states of
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
3
have a lot of common knowledge as well as they are complementary in many ways. For instance, books provide detailed descriptions about the intentions and mental states of the characters, while movies are better at capturing visual aspects of the settings. The first challenge we need to address, and the focus of this paper, is to align books with their movie releases in order to obtain rich descriptions for the visual content. We aim to align the two sources with two types of information: visual , where the goal is to link a movie shot to a book paragraph, and dialog , where we want to find correspondences between sentences in the movie’s subtitle and sentences in the book. We formulate the problem of movie/book alignment as finding correspondences between shots in the movie as well as dialog sentences in the subtitles and sentences in the book (Fig. 1). We introduce a novel sentence similarity measure based on a neural sen1arXiv:1506.06724v1 [cs.CV] 22 Jun 2015 tence embedding trained on millions of sentences from a large corpus of books. On the visual side, we extend the neural image-sentence embeddings to the video domain and train the model on DVS descriptions of movie clips. Our approach combines different similarity measures and takes
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
4
neural image-sentence embeddings to the video domain and train the model on DVS descriptions of movie clips. Our approach combines different similarity measures and takes into account contextual information contained in the nearby shots and book sentences. Our final alignment model is formulated as an energy minimization problem that encourages the alignment to follow a similar timeline. To evaluate the book-movie alignment model we collected a dataset with 11 movie/book pairs annotated with 2,070 shot-to-sentence correspondences. We demonstrate good quantitative performance and show several qualitative examples that showcase the diversity of tasks our model can be used for. The alignment model can have multiple applications. Imagine an app which allows the user to browse the book as the scenes unroll in the movie: perhaps its ending or acting are ambiguous, and one would like to query the book for answers. Vice-versa, while reading the book one might want to switch from text to video, particularly for the juicy scenes. We also show other applications of learning from movies and books such as book retrieval (finding the book that goes with a movie and finding other similar books), and captioning CoCo images with story-like descriptions. 2. Related Work Most effort in the domain of vision and language has been devoted to the problem of image captioning. Older
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
5
captioning CoCo images with story-like descriptions. 2. Related Work Most effort in the domain of vision and language has been devoted to the problem of image captioning. Older work made use of fixed visual representations and translated them into textual descriptions [6, 16]. Recently, several approaches based on RNNs emerged, generating captions via a learned joint image-text embedding [13, 11, 36, 21]. These approaches have also been extended to generate descriptions of short video clips [35]. In [24], the authors go beyond describing what is happening in an image and provide explanations about whysomething is happening. For text-to-image alignment, [15, 7] find correspondences between nouns and pronouns in a caption and visual objects using several visual and textual potentials. Lin et al. [17] does so for videos. In [11], the authors use RNN embeddings to find the correspondences. [37] combines neural embeddings with soft attention in order to align the words to image regions. Early work on movie-to-text alignment include dynamic time warping for aligning movies to scripts with the help of subtitles [5, 4]. Sankar et al. [28] further developed a
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
6
time warping for aligning movies to scripts with the help of subtitles [5, 4]. Sankar et al. [28] further developed a system which identified sets of visual and audio features to align movies and scripts without making use of the subtitles. Such alignment has been exploited to provide weak labels for person naming tasks [5, 30, 25]. Closest to our work is [34], which aligns plot synopses to shots in the TV series for story-based content retrieval. This work adopts a similarity function between sentences in plotsynopses and shots based on person identities and keywords in subtitles. Our work differs with theirs in several important aspects. First, we tackle a more challenging problem of movie/book alignment. Unlike plot synopsis, which closely follow the storyline of movies, books are more verbose and might vary in the storyline from their movie release. Furthermore, we use learned neural embeddings to compute the similarities rather than hand-designed similarity functions. Parallel to our work, [33] aims to align scenes in movies to chapters in the book. However, their approach operates on a very coarse level (chapters), while ours does so on the sentence/paragraph level. Their dataset thus evaluates on 90 scene-chapter correspondences, while our dataset draws
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
7
on a very coarse level (chapters), while ours does so on the sentence/paragraph level. Their dataset thus evaluates on 90 scene-chapter correspondences, while our dataset draws 2,070 shot-to-sentences alignments. Furthermore, the approaches are inherently different. [33] matches the presence of characters in a scene to those in a chapter, as well as uses hand-crafted similarity measures between sentences in the subtitles and dialogs in the books, similarly to [34]. Rohrbach et al . [27] recently released the Movie Description dataset which contains clips from movies, each time-stamped with a sentence from DVS (Descriptive Video Service). The dataset contains clips from over a 100 movies, and provides a great resource for the captioning techniques. Our effort here is to align movies with books in order to obtain longer, richer and more high-level video descriptions. We start by describing our new dataset, and then explain our proposed approach. 3. The MovieBook and BookCorpus Datasets We collected two large datasets, one for movie/book alignment and one with a large number of books. The MovieBook Dataset. Since no prior work or data exist on the problem of movie/book alignment, we collected a new dataset with 11movies along with the books on which
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
8
The MovieBook Dataset. Since no prior work or data exist on the problem of movie/book alignment, we collected a new dataset with 11movies along with the books on which they were based on. For each movie we also have a subtitle file, which we parse into a set of time-stamped sentences. Note that no speaker information is provided in the subtitles. We automatically parse each book into sentences, paragraphs (based on indentation in the book), and chapters (we assume a chapter title has indentation, starts on a new page, and does not end with an end symbol). Our annotators had the movie and a book opened side by side. They were asked to iterate between browsing the book and watching a few shots/scenes of the movie, and trying to find correspondences between them. In particular, they marked the exact time (in seconds) of correspondence in the movie and the matching line number in the book file, indicating the beginning of the matched sentence. On the video side, we assume that the match spans across a shot (a video unit with smooth camera motion). If the match was longer in duration, the annotator also indicated the ending time of the match. Similarly for the book, if more sentences BOOK MOVIE ANNOTATION Title # sent. # words# unique
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
9
time of the match. Similarly for the book, if more sentences BOOK MOVIE ANNOTATION Title # sent. # words# unique wordsavg. # words per sent.max # words per sent.# paragraphs# shots# sent. in subtitles# dialog align.# visual align. Gone Girl 12,603 148,340 3,849 15 153 3,927 2,604 2,555 76 106 Fight Club 4,229 48,946 1,833 14 90 2,082 2,365 1,864 104 42 No Country for Old Men 8,050 69,824 1,704 10 68 3,189 1,348 889 223 47 Harry Potter and the Sorcerers Stone 6,458 78,596 2,363 15 227 2,925 2,647 1,227 164 73 Shawshank Redemption 2,562 40,140 1,360 18 115 637 1,252 1,879 44 12 The Green Mile 9,467 133,241 3,043 17 119 2,760 2,350 1,846 208 102 American Psycho 11,992 143,631 4,632 16 422 3,945 1,012 1,311 278 85 One Flew Over the Cuckoo Nest 7,103 112,978 2,949 19 192 2,236 1,671 1,553 64 25
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
10
One Flew Over the Cuckoo Nest 7,103 112,978 2,949 19 192 2,236 1,671 1,553 64 25 The Firm 15,498 135,529 3,685 11 85 5,223 2,423 1,775 82 60 Brokeback Mountain 638 10,640 470 20 173 167 1,205 1,228 80 20 The Road 6,638 58,793 1,580 10 74 2,345 1,108 782 126 49 All 85,238 980,658 9,032 15 156 29,436 19,985 16,909 1,449 621 Table 1: Statistics for our MovieBook Dataset with ground-truth for alignment between books and their movie releases. # of books # of sentences # of words # of unique words mean # of words per sentence median # of words per sentence 11,038 74,004,228 984,846,357 1,316,420 13 11 Table 2: Summary statistics of our BookCorpus dataset. We use this corpus to train the sentence embedding model. matched, the annotator indicated from which to which line a match occurred. Each alignment was also tagged, indicating whether it was a visual ,dialogue , or an audio match . Note that even for dialogs, the movie and book versions are semantically similar but not exactly the same. Thus deciding
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
11
whether it was a visual ,dialogue , or an audio match . Note that even for dialogs, the movie and book versions are semantically similar but not exactly the same. Thus deciding on what defines a match or not is also somewhat subjective and may slightly vary across our annotators. Altogether, the annotators spent 90hours labeling 11movie/book pairs, locating 2,070 correspondences. Table 1 presents our dataset, while Fig. 8 shows a few ground-truth alignments. One can see the complexity and diversity of the data: the number of sentences per book vary from 638 to 15,498, even though the movies are similar in duration. This indicates a huge diversity in descriptiveness across literature, and presents a challenge for matching. The sentences also vary in length, with the sentences in Brokeback Mountain being twice as long as those in The Road. The longest sentence in American Psycho has 422 words and spans over a page in the book. Aligning movies with books is challenging even for humans, mostly due to the scale of the data. Each movie is on average 2h long and has 1,800 shots, while a book has on average 7,750 sentences. Books also have different styles of writing, formatting, different and challenging language,
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
12
average 2h long and has 1,800 shots, while a book has on average 7,750 sentences. Books also have different styles of writing, formatting, different and challenging language, slang ( going vsgoin’ , or even wasvs’us), etc. As one can see from Table 1, finding visual matches turned out to be particularly challenging. This is because the visual descriptions in books can be either very short and hidden within longer paragraphs or even within a longer sentence, or very verbose – in which case they get obscured with the surrounding text – and are hard to spot. Of course, how close the movie follows the book is also up to the director, which can be seen through the number of alignments that our annotators found across different movie/books. The BookCorpus Dataset. In order to train our sentence similarity model we collected a corpus of 11,038 books from the web. These are free books written by yet unpub-lished authors. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
13
Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus. 4. Aligning Books and Movies Our approach aims to align a movie with a book by exploiting visual information as well as dialogs. We take shots as video units and sentences from subtitles to represent dialogs. Our goal is to match these to the sentences in the book. We propose several measures to compute similarities between pairs of sentences as well as shots and sentences. We use our novel deep neural embedding trained on our large corpus of books to predict similarities between sentences. Note that an extended version of the sentence embedding is described in detail in [14] showing how to deal with million-word vocabularies, and demonstrating its performance on a large variety of NLP benchmarks. For comparing shots with sentences we extend the neural embedding of images and text [13] to operate in the video domain. We next develop a novel contextual alignment model that combines information from various similarity measures and a larger time-scale in order to make better local alignment predictions. Finally, we propose a simple pairwise Conditional Random Field (CRF) that smooths the alignments by encouraging them to follow a linear timeline, both in the video and book domain.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
14
Conditional Random Field (CRF) that smooths the alignments by encouraging them to follow a linear timeline, both in the video and book domain. We first explain our sentence, followed by our joint video to text embedding. We next propose our contextual model that combines similarities and discuss CRF in more detail. 4.1. Skip-Thought Vectors In order to score the similarity between two sentences, we exploit our architecture for learning unsupervised representations of text [14]. The model is loosely inspired by Figure 2: Sentence neural embedding [14]. Given a tuple ( si1;si;si+1) of consecutive sentences in text, where siis the i-th sentence, we encode siand aim to reconstruct the previous si1and the following sentence si+1. Unattached arrows are connected to the encoder output. Colors depict which components share parameters. heosiis the end of sentence token. he started the car , left the parking lot and merged onto the highway a few miles down the road . he shut the door and watched the taxi drive off . he drove down the street off into the distance . she watched the lights flicker through the trees as the men drove toward the road . he jogged down the stairs , through the small lobby , through the door and into the street .
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
15
he jogged down the stairs , through the small lobby , through the door and into the street . a messy business to be sure , but necessary to achieve a fine and noble end . they saw their only goal as survival and logically planned a strategy to achieve it . the most effective way to end the battle . there would be far fewer casualties and far less destruction . the outcome was the lisbon treaty . Table 3: Qualitative results from the sentence embedding model. For each query sentence on the left, we retrieve the 4 nearest neighbor sentences (by inner product) chosen from books the model has not seen before. the skip-gram [22] architecture for learning representations of words. In the word skip-gram model, a word wiis chosen and must predict its surrounding context (e.g. wi+1and wi1for a context window of size 1). Our model works in a similar way but at the sentence level. That is, given a sentence tuple ( si1;si;si+1) our model first encodes the sentencesiinto a fixed vector, then conditioned on this vector tries to reconstruct the sentences si1andsi+1, as shown in Fig. 2. The motivation for this architecture is inspired by the distributional hypothesis: sentences that have similar
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
16
tries to reconstruct the sentences si1andsi+1, as shown in Fig. 2. The motivation for this architecture is inspired by the distributional hypothesis: sentences that have similar surrounding context are likely to be both semantically and syntactically similar. Thus, two sentences that have similar syntax and semantics are likely to be encoded to a similar vector. Once the model is trained, we can map any sentence through the encoder to obtain vector representations, then score their similarity through an inner product. The learning signal of the model depends on having contiguous text, where sentences follow one another in sequence. A natural corpus for training our model is thus a large collection of books. Given the size and diversity of genres, our BookCorpus allows us to learn very general representations of text. For instance, Table 3 illustrates the nearest neighbours of query sentences, taken from held out books that the model was not trained on. These qualitative results demonstrate that our intuition is correct, with resulting nearest neighbors corresponds largely to syntactically and semantically similar sentences. Note that the sentence embedding is general and can be applied to other domains not considered in this paper, which is explored in [14]. To construct an encoder, we use a recurrent neural network, inspired by the success of encoder-decoder models
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
17
not considered in this paper, which is explored in [14]. To construct an encoder, we use a recurrent neural network, inspired by the success of encoder-decoder models for neural machine translation [10, 2, 1, 31]. Two kinds of activation functions have recently gained traction: long short-term memory (LSTM) [9] and the gated recurrent unit (GRU) [3]. Both types of activation successfully solve thevanishing gradient problem, through the use of gates to control the flow of information. The LSTM unit explicity employs a cell that acts as a carousel with an identity weight. The flow of information through a cell is controlled by input, output and forget gates which control what goes into a cell, what leaves a cell and whether to reset the contents of the cell. The GRU does not use a cell but employs two gates: an update and a reset gate. In a GRU, the hidden state is a linear combination of the previous hidden state and the proposed hidden state, where the combination weights are controlled by the update gate. GRUs have been shown to perform just as well as LSTM on several sequence prediction tasks [3] while being simpler. Thus, we use GRU as the activation function for our encoder and decoder RNNs.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
18
activation function for our encoder and decoder RNNs. Suppose that we are given a sentence tuple (si1;si;si+1), and letwt idenote the t-th word for si and let xt ibe its word embedding. We break the model description into three parts: the encoder, decoder and objective function. Encoder. Letw1 i;:::;wN idenote words in sentence siwith Nthe number of words in the sentence. The encoder produces a hidden state ht iat each time step which forms the representation of the sequence w1 i;:::;wt i. Thus, the hidden state hN iis the representation of the whole sentence. The GRU produces the next hidden state as a linear combination of the previous hidden state and the proposed state update (we drop subscript i): ht= (1zt) ht1+zt ht(1) where htis the proposed state update at time t,ztis the update gate and ( ) denotes a component-wise product. The update gate takes values between zero and one. In the extreme cases, if the update gate is the vector of ones, the previous hidden state is completely forgotten and ht=ht.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
19
update gate takes values between zero and one. In the extreme cases, if the update gate is the vector of ones, the previous hidden state is completely forgotten and ht=ht. Alternatively, if the update gate is the zero vector, than the hidden state from the previous time step is simply copied over, that is ht=ht1. The update gate is computed as zt=(Wzxt+Uzht1) (2) where WzandUzare the update gate parameters. The proposed state update is given by ht=tanh(Wxt+U(rt ht1)) (3) where rtis the reset gate, which is computed as rt=(Wrxt+Urht1) (4) If the reset gate is the zero vector, than the proposed state update is computed only as a function of the current word. Thus after iterating this equation sequence for each word, we obtain a sentence vector hN i=hifor sentence si. Decoder. The decoder computation is analogous to the encoder, except that the computation is conditioned on the sentence vector hi. Two separate decoders are used, one for the previous sentence si1and one for the next sentence si+1. These decoders use different parameters to compute
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
20
for the previous sentence si1and one for the next sentence si+1. These decoders use different parameters to compute their hidden states but both share the same vocabulary matrixVthat takes a hidden state and computes a distribution over words. Thus, the decoders are analogous to an RNN language model but conditioned on the encoder sequence. Alternatively, in the context of image caption generation, the encoded sentence hiplays a similar role as the image. We describe the decoder for the next sentence si+1(computation for si1is identical). Let ht i+1denote the hidden state of the decoder at time t. The update and reset gates for the decoder are given as follows (we drop i+ 1): zt=(Wd zxt1+Ud zht1+Czhi) (5) rt=(Wd rxt1+Ud rht1+Crhi) (6) the hidden state ht i+1is then computed as: ht=tanh(Wdxt1+Ud(rt ht1) +Chi)(7) ht i+1= (1zt) ht1+zt ht(8) Given ht
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
21
ht i+1= (1zt) ht1+zt ht(8) Given ht i+1, the probability of word wt i+1given the previoust1words and the encoder vector is P(wt i+1jw<t i+1;hi)/exp(vwt i+1ht i+1) (9) where vwt i+1denotes the row of Vcorresponding to the word ofwt i+1. An analogous computation is performed for the previous sentence si1. Objective. Given (si1;si;si+1), the objective optimized is the sum of log-probabilities for the next and previous sentences conditioned on the representation of the encoder: X tlogP(wt i+1jw<t i+1;hi) +X tlogP(wt i1jw<t i1;hi) (10) The total objective is the above summed over all such training tuples. Adam algorithm [12] is used for optimization.4.2. Visual-semantic embeddings of clips and DVS The model above describes how to obtain a similarity score between two sentences, whose representations are
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
22
The model above describes how to obtain a similarity score between two sentences, whose representations are learned from millions of sentences in books. We now discuss how to obtain similarities between shots and sentences. Our approach closely follows the image-sentence ranking model proposed by [13]. In their model, an LSTM is used for encoding a sentence into a fixed vector. A linear mapping is applied to image features from a convolutional network. A score is computed based on the inner product between the normalized sentence and image vectors. Correct image-sentence pairs are trained to have high score, while incorrect pairs are assigned low scores. In our case, we learn a visual-semantic embedding between movie clips and their DVS description. DVS (“Descriptive Video Service”) is a service that inserts audio descriptions of the movie between the dialogs in order to enable the visually impaired to follow the movie like anyone else. We used the movie description dataset of [27] for learning our embedding. This dataset has 94movies, and 54,000 described clips. We represent each movie clip as a vector corresponding to mean-pooled features across each frame in the clip. We used the GoogLeNet architecture [32] as well as hybrid-CNN [38] for extracting frame features.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
23
frame in the clip. We used the GoogLeNet architecture [32] as well as hybrid-CNN [38] for extracting frame features. For DVS, we pre-processed the descriptions by removing names and replacing these with a someone token. The LSTM architecture in this work is implemented using the following equations. As before, we represent a word embedding at time tof a sentence as xt: it=(Wxixt+Whimt1+Wcict1)(11) ft=(Wxfxt+Whfmt1+Wcfct1)(12) at=tanh(Wxcxt+Whcmt1) (13) ct=ft ct1+it at(14) ot=(Wxoxt+Whomt1+Wcoct) (15) mt=ot tanh(ct) (16) where () denotes the sigmoid activation function and ( ) indicates component-wise multiplication. The states (it;ft;ct;ot;mt) correspond to the input, forget, cell, output and memory vectors, respectively. If the sentence is of lengthN, then the vector mN=mis the vector representation of the sentence. Letqdenote a movie clip vector, and let v=WIq
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
24
lengthN, then the vector mN=mis the vector representation of the sentence. Letqdenote a movie clip vector, and let v=WIq be the embedding of the movie clip. We define a scoring functions(m;v) =mv, where mandvare first scaled to have unit norm (making sequivalent to cosine similarity). We then optimize the following pairwise ranking loss: min X mX kmaxf0; s(m;v) +s(m;vk)g (17) +X vX kmaxf0; s(v;m) +s(v;mk)g; withmka contrastive (non-descriptive) sentence vector for a clip embedding v, and vice-versa with vk. We train our model with stochastic gradient descent without momentum. 4.3. Context aware similarity We employ the clip-sentence embedding to compute similarities between each shot in the movie and each sentence in the book. For dialogs, we use several similarity measures each capturing a different level of semantic similarity. We compute BLEU [23] between each subtitle and
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
25
measures each capturing a different level of semantic similarity. We compute BLEU [23] between each subtitle and book sentence to identify nearly identical matches. Similarly to [34], we use a tf-idf measure to find near duplicates but weighing down the influence of the less frequent words. Finally, we use our sentence embedding learned from books to score pairs of sentences that are semantically similar but may have a very different wording (i.e., paraphrasing). These similarity measures indicate the alignment between the two modalities. However, at the local, sentence level, alignment can be rather ambiguous. For example, despite being a rather dark book, Gone Girl contains 15occurrences of the sentence “I love you”. We exploit the fact that a match is not completely isolated but that the sentences (or shots) around it are also to some extent similar. We design a context aware similarity measure that takes into account all individual similarity measures as well as a fixed context window in both, the movie and book domain, and predicts a new similarity score. We stack a set ofMsimilarity measures into a tensor S(i;j;m ), wherei, j, andmare the indices of sentences in the subtitle, in the book, and individual similarity measures, respectively. In
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
26
j, andmare the indices of sentences in the subtitle, in the book, and individual similarity measures, respectively. In particular, we use M= 9 similarities: visual and sentence embedding, BLEU1-5, tf-idf, and a uniform prior. We want to predict a combined score score(i;j) =f(S(I;J;M)) at each location (i;j)based on all measurements in a fixed volume defined by Iaroundi,Jaroundj, and 1;:::;M . Evaluating the function f()at each location (i;j)on a 3-D tensorSis very similar to applying a convolution using a kernel of appropriate size. This motivates us to formulate the function f()as a deep convolutional neural network (CNN). In this paper, we adopt a 3-layer CNN as illustrated in Figure 3. We adopt the ReLU non-linearity with dropout to regularize our model. We optimize the cross-entropy loss over the training set using Adam algorithm. 4.4. Global Movie/Book Alignment So far, each shot/sentence was matched independently. However, most shots in movies and passages in the books follow a similar timeline. We would like to incorporate this
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
27
So far, each shot/sentence was matched independently. However, most shots in movies and passages in the books follow a similar timeline. We would like to incorporate this prior into our alignment. In [34], the authors use dynamic time warping by enforcing that the shots in the movie can only match forward in time (to plot synopses in their case). However, the storyline of the movie and book can have crossings in time (Fig. 8), and the alignment might contain Figure 3: Our CNN for context-aware similarity computation. It has 3conv. layers and a sigmoid layer on top. giant leaps forwards or backwards. Therefore, we formulate a movie/book alignment problem as inference in a Conditional Random Field that encourages nearby shots/dialog alignments to be consistent. Each node yiin our CRF represents an alignment of the shot in the movie with its corresponding subtitle sentence to a sentence in the book. Its state space is thus the set of all sentences in the book. The CRF energy of a configuration yis formulated as: logp(x;y;!) =KX i=1!uu(yi) +KX i=1X j2N(i)!p p(yi;yj)
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
28
i=1!uu(yi) +KX i=1X j2N(i)!p p(yi;yj) whereKis the number of nodes (shots), and N(i)the left and right neighbor of yi. Here,u()and p()are unary and pairwise potentials, respectively, and != (!u;!p). We directly use the output of the CNN from 4.3 as the unary potentialu(). For the pairwise potential, we measure the time spands(yi;yj)between two neighbouring sentences in the subtitle and the distance db(yi;yj)of their state space in the book. One pairwise potential is defined as: p(yi;yj) =(ds(yi;yj)db(yi;yj))2 (ds(yi;yj)db(yi;yj))2+2(18) Here2is a robustness parameter to avoid punishing giant leaps too harsh. Both dsanddbare normalized to [0;1]. In addition, we also employ another pairwise potential q(yi;yj) =(db(yi;yj))2
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
29
[0;1]. In addition, we also employ another pairwise potential q(yi;yj) =(db(yi;yj))2 (db(yi;yj))2+2to encourage state consistency between nearby nodes. This potential is helpful when there is a long silence (no dialog) in the movie. Inference. Our CRF is a chain, thus exact inference is possible using dynamic programming. We also prune some states that are very far from the uniform alignment (over 1=3length of the book) to further speed up computation. Learning. Since ground-truth is only available for a sparse set of shots, we regard the states of unobserved nodes as hidden variables and learn the CRF weights with [29]. 5. Experimental Evaluation We evaluate our model on our dataset of 11movie/book pairs. We train the parameters in our model (CNN and CRF) onGone Girl , and test our performance on the remaining 10movies. In terms of training speed, our video-text model “watches” 1,440 movies per day and our sentence model reads 870 books per day. We also show various qualitative results demonstrating the power of our approach. We provide more results in the Appendix of the paper. 5.1. Movie/Book Alignment
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
30
results demonstrating the power of our approach. We provide more results in the Appendix of the paper. 5.1. Movie/Book Alignment Evaluating the performance of movie/book alignment is an interesting problem on its own. This is because our ground-truth is far from exhaustive – around 200 correspondences were typically found between a movie and its book, and likely a number of them got missed. Thus, evaluating the precision is rather tricky. We thus focus our evaluation on recall, similar to existing work on retrieval. For each shot that has a GT correspondence in book, we check whether our prediction is close to the annotated one. We evaluate recall at the paragraph level, i.e., we say that the GT paragraph was recalled, if our match was at most 3 paragraphs away, and the shot was at most 5 subtitle sentences away. As a noisier measure, we also compute recall and precision at multiple alignment thresholds and report AP (avg. prec.). The results are presented in Table 4. Columns show different instantiations of our model: we show the leave-onefeature-out setting ( ;indicates that all features were used), compare how different depths of the context-aware CNN influence the performance, and compare it to our full model (CRF) in the last column. We get the highest boost by
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
31
(CRF) in the last column. We get the highest boost by adding more layers to the CNN – recall improves by 14%, and AP doubles. Generally, each feature helps performance. Our sentence embedding (BOOK) helps by 4%, while noisier video-text embedding helps by 2%in recall. CRF which encourages temporal smoothness generally helps (but not for all movies), bringing additional 2%. We also show how a uniform timeline performs on its own. That is, for each shot (measured in seconds) in the movie, we find the sentence at the same location (measured in lines) in the book. We add another baseline to evaluate the role of context in our model. Instead of using our CNN that considers contextual information, we build a linear SVM to combine different similarity measures in a single node (shot) – the final similarity is used as a unary potential in our CRF alignment model. The Table shows that our CNN contextual model outperforms the SVM baseline by 30% in recall, and doubles the AP. We plot alignment for a few movies in Fig. 8. Running Times. We show the typical running time of each component in our model in Table 5. For each moviebook pair, calculating BLEU score takes most of the time.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
32
Running Times. We show the typical running time of each component in our model in Table 5. For each moviebook pair, calculating BLEU score takes most of the time. Note that BLEU does not contribute significantly to the performance and is of optional use. With respect to the rest, extracting visual features VIS (mean pooling GoogleNet features over the shot frames) and SCENE features (mean pooling hybrid-CNN features [38] over the shot frames),MOVIE BOOKS Fight Club No Country ... One Flew... The Road The Firm American Psy. Shawshank ... Fight Club 100.0 45.4 45.2 45.1 43.6 43.0 42.7 Green Mile One Flew... American Psy. Shawshank ... No Country ... The Firm The Road Green Mile 100.0 42.5 40.1 39.6 38.9 38.0 36.7 Harry Potter Brokeback ... American Psy. The Road One Flew... Shawshank ... The Firm Harry Potter 100.0 40.5 39.7 39.5 39.1 39.0 38.7 American Psy.o The Firm One Flew... Fight Club Shawshank ... No Country ...
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
33
American Psy.o The Firm One Flew... Fight Club Shawshank ... No Country ... Brokeback ... American Psy. 100.0 55.5 54.9 53.5 53.1 52.6 51.3 One Flew... The Firm Harry Potter The Road Shawshank ... Brokeback ... No Country ... One Flew... 100.0 84.0 80.8 79.1 79.0 77.8 76.9 Shawshank ... The Firm No Country ... One Flew... The Road Brokeback ... Green Mile Shawshank ... 100.0 66.0 62.0 61.4 60.9 59.1 58.0 The Firm Shawshank ... Fight Club Brokeback ... One Flew... American Psy. Harry Potter The Firm 100.0 75.0 73.9 73.7 71.5 71.4 68.5 Brokeback ... One Flew... Fight Club American Psy. Green Mile The Firm Shawshank ... Brokeback ... 100.0 54.8 52.2 51.9 50.9 50.7 50.6 The Road The Firm One Flew... No Country ... Fight Club Shawshank ...
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
34
The Road The Firm One Flew... No Country ... Fight Club Shawshank ... Green Mile The Road 100.0 56.0 55.9 54.8 54.1 53.9 53.4 No Country ... The Road Brokeback ... One Flew... The Firm Shawshank ... Harry Potter No Country... 100.0 49.7 49.5 46.8 46.4 45.8 45.8 Table 6: Book “retrieval” . For a movie (left), we rank books wrt to their alignment similarity with the movie. We normalize similarity to be 100 for the highest scoring book. takes most of the time (about 80% of the total time). We also report training times for our contextual model (CNN) and the CRF alignment model. Note that the times are reported for one movie/book pair since we used only one such pair to train all our CNN and CRF parameters. We chose Gone Girl for training since it had the best balance between the dialog and visual correspondences. 5.2. Describing Movies via the Book We next show qualitative results of our alignment. In particular, we run our model on each movie/book pair, and visualize the passage in the book that a particular shot in
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
35
We next show qualitative results of our alignment. In particular, we run our model on each movie/book pair, and visualize the passage in the book that a particular shot in the movie aligns to. We show best matching paragraphs as well as a paragraph before and after. The results are shown in Fig. 8. One can see that our model is able to retrieve a semantically meaningful match despite large dialog deviations from those in the book, and the challenge of matching a visual representation to the verbose text in the book. Figure 4: Describing movie clips via the book: we align the movie to the book, and show a shot from the movie and its corresponding paragraph (plus one before and after) from the book. Figure 5: We can use our model to caption movies via a corpus of books. Top: A shot from American Pyscho is captioned with paragraphs from the Fight Club , and a shot from Harry Potter with paragraphs from Fight Club .Middle andBottom: We match shots from Avatar andBatman Begins against 300 books from our BookCorpus, and show the best matched paragraph. UNI SVM1layer CNN w/o one featureCNN- 3 CRF; BLEU TF-IDF BOOK VIS SCENE PRIOR
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
36
paragraph. UNI SVM1layer CNN w/o one featureCNN- 3 CRF; BLEU TF-IDF BOOK VIS SCENE PRIOR Fight ClubAP 1.22 0.73 0.45 0.41 0.40 0.50 0.64 0.50 0.48 1.95 5.17 Recall 2.36 10.38 12.26 12.74 11.79 11.79 12.74 11.79 11.79 17.92 19.81 The Green MileAP 0.00 14.05 14.12 14.09 6.92 10.12 9.83 13.00 14.42 28.80 27.60 Recall 0.00 51.42 62.46 60.57 53.94 57.10 55.52 60.57 62.78 74.13 78.23 Harry Potter and the Sorcerers StoneAP 0.00 10.30 8.09 8.18 5.66 7.84 7.95 8.04 8.20 27.17 23.65 Recall 0.00 44.35 51.05 52.30 46.03 48.54 48.54 49.37 52.72 76.57 78.66 American PsychoAP 0.00 14.78 16.76 17.22 12.29 14.88 14.95 15.68 16.54 34.32 32.87
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
37
American PsychoAP 0.00 14.78 16.76 17.22 12.29 14.88 14.95 15.68 16.54 34.32 32.87 Recall 0.27 34.25 67.12 66.58 60.82 64.66 63.56 66.58 67.67 81.92 80.27 One Flew Over the Cuckoo NestAP 0.00 5.68 8.14 6.27 1.93 8.49 8.51 9.32 9.04 14.83 21.13 Recall 1.01 25.25 41.41 34.34 32.32 36.36 37.37 36.36 40.40 49.49 54.55 Shawshank RedemptionAP 0.00 8.94 8.60 8.89 4.35 7.99 8.91 9.22 7.86 19.33 19.96 Recall 1.79 46.43 78.57 76.79 73.21 73.21 78.57 75.00 78.57 94.64 96.79 The FirmAP 0.05 4.46 7.91 8.66 2.02 6.22 7.15 7.25 7.26 18.34 20.74
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
38
The FirmAP 0.05 4.46 7.91 8.66 2.02 6.22 7.15 7.25 7.26 18.34 20.74 Recall 1.38 18.62 33.79 36.55 26.90 23.45 26.90 30.34 31.03 37.93 44.83 Brokeback Mountain AP 2.36 24.91 16.55 17.82 14.60 15.16 15.58 15.41 16.21 31.80 30.58 Recall 27.0 74.00 88.00 92.00 86.00 86.00 88.00 86.00 87.00 98.00 100.00 The RoadAP 0.00 13.77 6.58 7.83 3.04 5.11 5.47 6.09 7.00 19.80 19.58 Recall 1.12 41.90 43.02 48.04 32.96 38.55 37.99 42.46 44.13 65.36 65.10 No Country for Old MenAP 0.00 12.11 9.00 9.39 8.22 9.40 9.35 8.63 9.40 28.75 30.45 Recall 1.12 33.46 48.90 49.63 46.69 47.79 51.10 49.26 48.53 71.69 72.79
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
39
Recall 1.12 33.46 48.90 49.63 46.69 47.79 51.10 49.26 48.53 71.69 72.79 Mean Recall 3.88 38.01 52.66 52.95 47.07 48.75 50.03 50.77 52.46 66.77 69.10 AP 0.40 10.97 9.62 9.88 5.94 8.57 8.83 9.31 9.64 22.51 23.17 Table 4: Performance of our model for the movies in our dataset under different settings and metrics. BLEU TF BOOK VIS SCENE CNN (training) CNN (inference) CRF (training) CRF (inference) Per movie-book pair 6h 10 min 3 min 2h 1h 3 min 0.2 min 5h 5 min Table 5: Running time for our model per one movie/book pair. 5.3. Book “Retrieval” In this experiment, we compute alignment between a movie and all (test) 10 books, and check whether our model retrieves the correct book. Results are shown in Table 6. Under each book we show the computed similarity. In particular, we use the energy from the CRF, and scale all similarities relative to the highest one ( 100). Notice that our model retrieves the correct book for each movie.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
40
model retrieves the correct book for each movie. Describing a movie via other books . We can also caption movies by matching shots to paragraphs in a corpus of books. Here we do not encourage a linear timeline (CRF) since the stories are unrelated, and we only match at the local, shot-paragraph level. We show a description for American Psycho borrowed from the book Fight Club in Fig. 5. 5.4. The CoCoBook: Writing Stories for CoCo Our next experiment shows that our model is able to “generate” descriptive stories for (static) images. In particular we used the image-text embedding from [13] and generated a simple caption for an image. We used this caption as a query, and used our sentence embedding trained on books to find top 10 nearest sentences (sampled from a few hundred thousand from BookCorpus). We re-ranked these based on the 1-gram precision of non-stop words. Given the best result, we return the sentence as well as the 2 sentences before and after it in the book. The results are in Fig. 6. Our sentence embedding is able to retrieve semantically meaningful stories to explain the images.6. Conclusion In this paper, we explored a new problem of aligning a book to its movie release. We proposed an approach
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
41
In this paper, we explored a new problem of aligning a book to its movie release. We proposed an approach that computes several similarities between shots and dialogs and the sentences in the book. We exploited our new sentence embedding in order to compute similarities between sentences. We further extended the image-text neural embeddings to video, and proposed a context-aware alignment model that takes into account all the available similarity information. We showed results on a new dataset of movie/book alignments as well as several quantitative results that showcase the power and potential of our approach. Acknowledgments We acknowledge the support from NSERC, CIFAR, Samsung, Google, and ONR-N00014-14-1-0232. We also thank Lea Jensterle for helping us with elaborate annotation, and Relu Patrascu for his help with numerous infrastructure related problems. Appendix In the Appendix we provide more qualitative results. A. Qualitative Movie-Book Alignment Results We show a few qualitative examples of alignment in Fig. 8. In this experiment, we show results obtained with our full model (CRF). For a chosen shot (a node in the CRF) we show the corresponding paragraph in the book. the club was a little emptier than i would have expected for the late afternoon , and the bartender , in red waistcoat and
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
42
we show the corresponding paragraph in the book. the club was a little emptier than i would have expected for the late afternoon , and the bartender , in red waistcoat and bowtie , was busy wiping down his counter , replacing peanuts and putting out new coasters . a television with the latest la liga news was hung in an upper corner , and behind him , rows of bottles were reflected in a giant bar mirror . above the stools , a pergola-type overhead structure held rows of wine glasses . it was a classy place , with ferns in the corner , and not the kind of bar to which i was accustomed . my places usually had a more ... relaxed feel . he felt like an idiot for yelling at the child , but his frustration and trepidation was getting the better of him . he glanced toward the shadowed hall and quickly nodded toward melissa before making his way forward . he came across more children sitting upon a couch in the living room . they watched him , but did n’t move and did n’t speak . his skin started to feel like hundreds of tiny spiders were running up and down it and he hurried on . a few miles before tioga road reached highway 395 and the town of lee vining , smith turned onto a
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
43
down it and he hurried on . a few miles before tioga road reached highway 395 and the town of lee vining , smith turned onto a narrow blacktop road . on either side were parched , grassy open slopes with barbed-wire fences marking property lines . cattle and horses grazed under trees whose black silhouettes stood stark against the gold-velvet mountains . marty burst into song : “ home , home on the range , where the deer and the antelope play ! where seldom is heard a discouraging word and the skies are not cloudy all day ! ” “number seventy-three , second to last from the corner . ’ adam slowed the porsche as he approached the quaint-he could think of no other word to use , even though “quaint” was one he normally , manfully , avoided-townhouse , coming to a halt beside a sleek jaguar sedan . it was a quiet street , devoid of traffic at this hour on a monday night . in the bluish-tinted light of a corner street lamp , he developed a quick visual impression of wrought-iron railings on tidy front stoops , window boxes full of bright chrysanthemums , beveled glass in bay windows ,
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
44
of wrought-iron railings on tidy front stoops , window boxes full of bright chrysanthemums , beveled glass in bay windows , and lace curtains . townhouses around here didn’t rent cheaply , he could n’t help but observe . Figure 6: CoCoBook: We generate a caption for a CoCo image via [13] and retrieve its best matched sentence (+ 2 before and after) from a large book corpus. One can see a semantic relevance of the retrieved passage to the image. Figure 7: Alignment results of our model ( bottom ) compared to ground-truth alignment ( top). In ground-truth, blue lines indicate visual matches, and magenta are the dialog matches. Yellow lines indicate predicted alignments. We can see that some dialogs in the movies closely follow the book and thus help with the alignment. This is particularly important since the visual information is not as strong. Since the text around the dialogs typically describe the scene, the dialogs thus help us ground the visual information contained in the description and the video. B. Borrowing “Lines” from Other Books We show a few qualitative examples of top-scoring matches for shot in a movie with a paragraph in another book (a book that does not correspond to this movie). 10 book experiment. In this experiment, we allow a
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
45
matches for shot in a movie with a paragraph in another book (a book that does not correspond to this movie). 10 book experiment. In this experiment, we allow a clip in our 10 movie dataset (excluding the training movie) to match to paragraphs in the remaining 9 books (excluding the corresponding book). The results are in Fig. 12. Note that the top-scoring matches chosen from only a small set of books may not be too meaningful. 200 book experiment. We scale the experiment by randomly selecting 200 books from our BookCorpus. The results are in Fig. 15. One can see that by using many more books results in increasingly better “stories”. American Psycho American Psycho Harry Potter Figure 8: Examples of movie-book alignment . We use our model to align a movie to a book. Then for a chosen shot (which is a node in our CRF) we show the corresponding paragraph, plus one before and one after, in the book inferred by our model. On the left we show one (central) frame from the shot along with the subtitle sentence(s) that overlap with the shot. Some dialogs in the movie closely follow the book and thus help with the alignment. One Flew Over the Cuckoo’s Nest One Flew Over the Cuckoo’s Nest Shawshank Redemption
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
46
One Flew Over the Cuckoo’s Nest One Flew Over the Cuckoo’s Nest Shawshank Redemption Figure 9: Examples of movie-book alignment . We use our model to align a movie to a book. Then for a chosen shot (which is a node in our CRF) we show the corresponding paragraph, plus one before and one after, in the book inferred by our model. On the left we show one (central) frame from the shot along with the subtitle sentence(s) that overlap with the shot. Some dialogs in the movie closely follow the book and thus help with the alignment. The Firm The Firm The Firm Figure 10: Examples of movie-book alignment . We use our model to align a movie to a book. Then for a chosen shot (which is a node in our CRF) we show the corresponding paragraph, plus one before and one after, in the book inferred by our model. On the left we show one (central) frame from the shot along with the subtitle sentence(s) that overlap with the shot. Some dialogs in the movie closely follow the book and thus help with the alignment. The Green Mile The Green Mile The Road Figure 11: Examples of movie-book alignment . We use our model to align a movie to a book. Then for a chosen shot
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
47
The Green Mile The Green Mile The Road Figure 11: Examples of movie-book alignment . We use our model to align a movie to a book. Then for a chosen shot (which is a node in our CRF) we show the corresponding paragraph, plus one before and one after, in the book inferred by our model. On the left we show one (central) frame from the shot along with the subtitle sentence(s) that overlap with the shot. Some dialogs in the movie closely follow the book and thus help with the alignment. Figure 12: Examples of of borrowing paragraphs from other books – 10 book experiment . We show a few examples of top-scoring correspondences between a shot in a movie and a paragraph in a book that does not correspond to the movie. Note that by forcing the model to choose from another book, the top-scoring correspondences may still have a relatively low similarity. In this experiment, we did not enforce a global alignment over the full book – we use the similarity output by our contextual CNN. Figure 13: Examples of of borrowing paragraphs from other books – 10 book experiment . We show a few examples of top-scoring correspondences between a shot in a movie and a paragraph in a book that does not correspond to the movie. Note that by forcing the model to choose from another book, the top-scoring correspondences may still have a relatively low
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
48
Note that by forcing the model to choose from another book, the top-scoring correspondences may still have a relatively low similarity. In this experiment, we did not enforce a global alignment over the full book – we use the similarity output by our contextual CNN. Figure 14: Examples of of borrowing paragraphs from other books – 200 book experiment . We show a few examples of top-scoring correspondences between a shot in a movie and a paragraph in a book that does not correspond to the movie. By scaling up the experiment (more books to choose from), our model gets increasingly more relevant “stories”. Figure 15: Examples of of borrowing paragraphs from other books – 200 book experiment . We show a few examples of top-scoring correspondences between a shot in a movie and a paragraph in a book that does not correspond to the movie. By scaling up the experiment (more books to choose from), our model gets increasingly more relevant “stories”. Bottom row: failed example. C. The CoCoBook We show more results for captioning CoCo images [18] with passages from the books. “ somewhere you ’ll never find it , ” owens sneered . if never meant five seconds , his claim was true . the little shit ’s gaze
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
49
meant five seconds , his claim was true . the little shit ’s gaze cut left , where a laptop sat on a coffee table . trey strode to it . owens ’ email program was open . seriously . its like a train crashing into another train . a train wreck . just something like that . i try to convince her . everyone was allowed to rest for the next twenty-four hours . that following evening : the elect , not their entourages , were called to a dining hall for supper with lady dolorous . a table that curved inward was laden with food and drink . the wall behind the table was windows with a view of the planet . girls in pink stood about and at attention . he had simply ... healed . brian watched his fellow passengers come aboard . a young woman with blonde hair was walking with a little girl in dark glasses . the little girl ’s hand was on the blonde ’s elbow . the woman murmured to her charge , the girl looked immediately toward the sound of her voice , and brian understood she was blind - it was something in the gesture of the head . this was a beautiful miniature reproduction of a real london town house , and when jessamine touched it , tessa saw that the front of it swung open on tiny hinges . tessa
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
50
this was a beautiful miniature reproduction of a real london town house , and when jessamine touched it , tessa saw that the front of it swung open on tiny hinges . tessa caught her breath . there were beautiful tiny rooms perfectly decorated with miniature furniture , everything built to scale , from the little wooden chairs with needlepoint cushions to the cast-iron stove in the kitchen . there were small dolls , too , with china heads , and real little oil paintings on the walls . “ this was my house . ” if he had been nearby he would have dragged her out of the room by her hair and strangled her . during lunch break she went with a group back to the encampment . out of view of the house , under a stand of towering trees , several tents were sitting in a field of mud . the rain the night before had washed the world , but here it had made a mess of things . a few women fired up a camp stove and put on rice and lentils . then a frightened yell . “ hang on ! ” suddenly , jake was flying through the air . nefertiti became airborne , too . he screamed , not knowing what was happening-then he splashed into a pool of water . grabbing his wristwatch off the bedside table he checked the time
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
51
not knowing what was happening-then he splashed into a pool of water . grabbing his wristwatch off the bedside table he checked the time , grimacing when he saw that it was just after two in the afternoon . jeanne louise should n’t be up yet . stifling a yawn , he slid out of bed and made his way to the en suite bathroom for a shower . twenty minutes later paul was showered , dressed , and had brushed his teeth and hair . feeling somewhat alive now , he made his way out of his and jeanne louise ’s room , pausing to look in on livy as he passed . she cried . quentin put a heavy , warm , calming hand on her thigh , saying , “ he should be sober by then . ” a cell phone rang . he pulled his from his back pocket , glanced at it , then used the remote to turn the tv to the channel that showed the feed from the camera at the security gate . “ oh , it ’s rachel . ” now however she was out of his shot . he had missed it completely until he had ended up on the ground with his shotgun . an old clock hung on the wall near the door . the was obviously broken , the small red hand ticking the same second away
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
52
ended up on the ground with his shotgun . an old clock hung on the wall near the door . the was obviously broken , the small red hand ticking the same second away over and over again . morgan squeezed the trigger and pellets ripped out of their package , bounced down the barrel , flew through the air and ripped into the old clock tearing it in two before it smashed to the ground . a man sat in a chair , facing the wall opposite of me . it nearly startled me when i first saw him , and made a bit of a squeak , but he did nothing . he had dark gray hair , a black suit and pants , and a gray and blue striped tie . s-sir ? i said . its been years since we last played together , but as i recall , he was rather weak at the net . or was it his serving ? all i know is he plays tennis much better than he plays cricket . perhaps , mr brearly , frances eventually replied , we should wait until we actually start playing . then we can ascertain our oppositions faults , and make a plan based on the new information . since it was the middle of summer , there were candles in the fireplace instead of a fire . but it still cast a romantic glow over the room . there were candles on the mantle and on a table set
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
53
fireplace instead of a fire . but it still cast a romantic glow over the room . there were candles on the mantle and on a table set up in the corner with flowers . as she looked around , her eyes instinctively turned to find max who was behind a bar opening a bottle of champagne . the doors were closed quietly behind her and her mouth felt dry as she looked across the room at the man who had haunted her dreams for so long . the open doorway of another house provided a view of an ancient game of tiles . it wasnt the game that held reddings attention . it was the four elderly people who sat around a table playing the game . they were well beyond their productive years and the canal township had probably been their whole lives . redding and lin ming stepped away from the doorway right into the path of a wooden pushcart . along with the fish , howard had given them some other picnic treats that had spoiled ... mushrooms in cream sauce , rotted greens . the bats and temp were only eating from the river now , but the remaining picnic food was running low . there were a few loaves of stale bread , some cheese , some dried vegetables , and a couple of cakes . gregor looked over the supplies and thought
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
54
loaves of stale bread , some cheese , some dried vegetables , and a couple of cakes . gregor looked over the supplies and thought about boots wailing for food and water in the jungle . it had been unbearable . he felt the first stirrings of fear mixing with his anger . a light flicked on in the room and eric jerked , blinking for a minute at the brightness before the images focused . there was a tall , thin man standing over a mannequin . he looked like he was assembling it , since its leg was on the ground next to the man and its arm was in two pieces farther away . then the mannequin ’s head turned . References [1] D. Bahdanau, K. Cho, and Y . Bengio. Neural machine translation by jointly learning to align and translate. ICLR , 2015. 4 [2] K. Cho, B. van Merrienboer, C. Gulcehre, F. Bougares, H. Schwenk, and Y . Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. EMNLP , 2014. 4 [3] J. Chung, C. Gulcehre, K. Cho, and Y . Bengio. Empirical
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
55
EMNLP , 2014. 4 [3] J. Chung, C. Gulcehre, K. Cho, and Y . Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 , 2014. 4 [4] T. Cour, C. Jordan, E. Miltsakaki, and B. Taskar. Movie/script: Alignment and parsing of video and text transcription. In ECCV , 2008. 2 [5] M. Everingham, J. Sivic, and A. Zisserman. “Hello! My name is... Buffy” – Automatic Naming of Characters in TV Video. BMVC , pages 899–908, 2006. 2 [6] A. Farhadi, M. Hejrati, M. Sadeghi, P. Young, C. Rashtchian, J. Hockenmaier, and D. Forsyth. Every picture tells a story: Generating sentences for images. In ECCV , 2010. 2 [7] S. Fidler, A. Sharma, and R. Urtasun. A sentence is worth a thousand pixels. In CVPR , 2013. 2
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
56
[7] S. Fidler, A. Sharma, and R. Urtasun. A sentence is worth a thousand pixels. In CVPR , 2013. 2 [8] A. Gupta and L. Davis. Beyond nouns: Exploiting prepositions and comparative adjectives for learning visual classifiers. In ECCV , 2008. 1 [9] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural computation , 9(8):1735–1780, 1997. 4 [10] N. Kalchbrenner and P. Blunsom. Recurrent continuous translation models. In EMNLP , pages 1700–1709, 2013. 4 [11] A. Karpathy and L. Fei-Fei. Deep visual-semantic alignments for generating image descriptions. In CVPR , 2015. 1, 2 [12] D. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 , 2014. 5 [13] R. Kiros, R. Salakhutdinov, and R. S. Zemel. Unifying
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
57
[13] R. Kiros, R. Salakhutdinov, and R. S. Zemel. Unifying visual-semantic embeddings with multimodal neural language models. CoRR , abs/1411.2539, 2014. 1, 2, 3, 5, 9, 10 [14] R. Kiros, Y . Zhu, R. Salakhutdinov, R. S. Zemel, A. Torralba, R. Urtasun, and S. Fidler. Skip-Thought Vectors. In Arxiv , 2015. 3, 4 [15] C. Kong, D. Lin, M. Bansal, R. Urtasun, and S. Fidler. What are you talking about? text-to-image coreference. In CVPR , 2014. 1, 2 [16] G. Kulkarni, V . Premraj, S. Dhar, S. Li, Y . Choi, A. Berg, and T. Berg. Baby talk: Understanding and generating simple image descriptions. In CVPR , 2011. 2 [17] D. Lin, S. Fidler, C. Kong, and R. Urtasun. Visual Semantic Search: Retrieving Videos via Complex Textual Queries.
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
58
[17] D. Lin, S. Fidler, C. Kong, and R. Urtasun. Visual Semantic Search: Retrieving Videos via Complex Textual Queries. CVPR , pages 2657–2664, 2014. 1, 2 [18] T.-Y . Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Doll ´ar, and C. L. Zitnick. Microsoft coco: Common objects in context. In ECCV , pages 740–755. 2014. 1, 19 [19] X. Lin and D. Parikh. Don’t just listen, use your imagination: Leveraging visual common sense for non-visual tasks. In CVPR , 2015. 1[20] M. Malinowski and M. Fritz. A multi-world approach to question answering about real-world scenes based on uncertain input. In NIPS , 2014. 1 [21] J. Mao, W. Xu, Y . Yang, J. Wang, and A. L. Yuille. Explain images with multimodal recurrent neural networks. In arXiv:1410.1090 , 2014. 1, 2
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
59
arXiv:1410.1090 , 2014. 1, 2 [22] T. Mikolov, K. Chen, G. Corrado, and J. Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781 , 2013. 4 [23] K. Papineni, S. Roukos, T. Ward, and W. J. Zhu. BLEU: a method for automatic evaluation of machine translation. In ACL, pages 311–318, 2002. 6 [24] H. Pirsiavash, C. V ondrick, and A. Torralba. Inferring the why in images. arXiv.org , jun 2014. 2 [25] V . Ramanathan, A. Joulin, P. Liang, and L. Fei-Fei. Linking People in Videos with “Their” Names Using Coreference Resolution. In ECCV , pages 95–110. 2014. 2 [26] V . Ramanathan, P. Liang, and L. Fei-Fei. Video event understanding using natural language descriptions. In ICCV , 2013. 1 [27] A. Rohrbach, M. Rohrbach, N. Tandon, and B. Schiele. A
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
60
1 [27] A. Rohrbach, M. Rohrbach, N. Tandon, and B. Schiele. A dataset for movie description. In CVPR , 2015. 2, 5 [28] P. Sankar, C. V . Jawahar, and A. Zisserman. Subtitle-free Movie to Script Alignment. In BMVC , 2009. 2 [29] A. Schwing, T. Hazan, M. Pollefeys, and R. Urtasun. Efficient Structured Prediction with Latent Variables for General Graphical Models. In ICML , 2012. 6 [30] J. Sivic, M. Everingham, and A. Zisserman. “Who are you?” - Learning person specific classifiers from video. CVPR , pages 1145–1152, 2009. 2 [31] I. Sutskever, O. Vinyals, and Q. V . Le. Sequence to sequence learning with neural networks. In NIPS , 2014. 4 [32] C. Szegedy, W. Liu, Y . Jia, P. Sermanet, S. Reed,
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
61
[32] C. Szegedy, W. Liu, Y . Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V . Vanhoucke, and A. Rabinovich. Going deeper with convolutions. arXiv preprint arXiv:1409.4842 , 2014. 5 [33] M. Tapaswi, M. Bauml, and R. Stiefelhagen. Book2Movie: Aligning Video scenes with Book chapters. In CVPR , 2015. 2 [34] M. Tapaswi, M. Buml, and R. Stiefelhagen. Aligning Plot Synopses to Videos for Story-based Retrieval. IJMIR , 4:3– 16, 2015. 1, 2, 6 [35] S. Venugopalan, H. Xu, J. Donahue, M. Rohrbach, R. J. Mooney, and K. Saenko. Translating Videos to Natural Language Using Deep Recurrent Neural Networks. CoRR abs/1312.6229 , cs.CV , 2014. 1, 2 [36] O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. Show and
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
1506.06724
62
[36] O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. Show and tell: A neural image caption generator. In arXiv:1411.4555 , 2014. 1, 2 [37] K. Xu, J. Ba, R. Kiros, K. Cho, A. Courville, R. Salakhutdinov, R. Zemel, and Y . Bengio. Show, attend and tell: Neural image caption generation with visual attention. In arXiv:1502.03044 , 2015. 2 [38] B. Zhou, A. Lapedriza, J. Xiao, A. Torralba, and A. Oliva. Learning Deep Features for Scene Recognition using Places Database. In NIPS , 2014. 5, 7
1506.06724
Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Books
Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This paper aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we exploit a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.
http://arxiv.org/pdf/1506.06724
[ "Yukun Zhu", "Ryan Kiros", "Richard Zemel", "Ruslan Salakhutdinov", "Raquel Urtasun", "Antonio Torralba", "Sanja Fidler" ]
[ "cs.CV", "cs.CL" ]
null
null
cs.CV
20150622
20150622
[ { "id": "1506.06724" }, { "id": "1502.03044" } ]
2106.09667
0
Published as a conference paper at ICLR 2022 POISONING AND BACKDOORING CONTRASTIVE LEARNING Nicholas Carlini GoogleAndreas Terzis Google ABSTRACT Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor andpoisoning attacks a significant threat. By poisoning just 0:01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0:0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable. 1 I NTRODUCTION Contrastive learning (Chopra et al., 2005; Hadsell et al., 2006) trains a model that projects a data distribution onto a lower-dimensional embedding space such that similar objects in the origin space
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
1
distribution onto a lower-dimensional embedding space such that similar objects in the origin space are closer together in the embedding space than dissimilar objects (Chechik et al., 2010; Sohn, 2016; Oord et al., 2018; Wu et al., 2018). Significant advances over the last years have enabled self-supervised classifiers to achieve state of the art accuracy by training on noisy and uncurated datasets (Radford et al., 2021; Tian et al., 2021), which brings two significant benefits. First, training on uncurated data is cheaper (Joulin et al., 2016). Compared to an estimated several million USD it cost to label the ImageNet dataset (Deng et al., 2009), contrastively trained models can train without expensive labeling efforts (Chen et al., 2020a). Further, because each image in ImageNet is required to contain one of just 1,000 different objects, there are large categories of images that can never be part of this supervised dataset (Jia et al., 2021). On the other hand, a contrastive model can learn on arbitrary images whether or not they have a suitable corresponding label in some dataset. Second, training on noisy data improves robustness (Radford et al., 2021). Classifiers trained
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
2
Second, training on noisy data improves robustness (Radford et al., 2021). Classifiers trained exclusively on ImageNet overfit the particular details of this training set (Recht et al., 2019; Hendrycks & Dietterich, 2019), and do not generalize to other test sets (Taori et al., 2020). Contrastive models trained on data scraped from the Internet exhibit impressive robustness properties; The contrastively trained CLIP (Radford et al., 2021) model is the first technique to show significant effective robustness on ImageNet-V2 (Recht et al., 2019; Taori et al., 2020). Contributions. We make the case that training on unfiltered may be undesirable if even a tiny fraction of the data could be maliciously poisoned by an adversary. And this is likely the case: the data is scraped from the Internet (Jia et al., 2021) without anyhuman review before it is passed to the learning algorithm (Radford et al., 2021; Jia et al., 2021; Tian et al., 2021). Thus, because these datasets are explicitly “noisy” (Jia et al., 2021) and “uncurated” (Tian et al., 2019), we argue the
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
3
datasets are explicitly “noisy” (Jia et al., 2021) and “uncurated” (Tian et al., 2019), we argue the likelihood of at least one adversary is high. We show that this adversary can mount powerful targeted poisoning (Biggio et al., 2012) and backdoor attacks (Gu et al., 2017; Chen et al., 2017) against multimodal contrastive models. A poisoning adversary introduces malicious examples into the training dataset so that the model will misclassify a particular input at test time as an adversarially-desired label. We then consider patchbased backdoors, where the adversary poisons a dataset so that the learned model will classify any input that contains a particular trigger-pattern as a desired target label. We require no new technical ideas to poison or backdoor contrastively-trained models (Biggio et al., 2012; Gu et al., 2017; Chen et al., 2017)—although we must adapt existing techniques to this new 1arXiv:2106.09667v2 [cs.LG] 28 Mar 2022 Published as a conference paper at ICLR 2022 domain. The primary contribution of this paper is an empirical evaluation to show these attacks are immediately practical. Compared to prior backdooring attacks which require poisoning on average
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
4
domain. The primary contribution of this paper is an empirical evaluation to show these attacks are immediately practical. Compared to prior backdooring attacks which require poisoning on average 1%of training data for successful clean label attacks (Shafahi et al., 2018; Saha et al., 2021), we find that attacking multimodal contrastive models requires orders of magnitude fewer injections: just 0:01% suffices for many of our backdoor attacks, or 0:0001% for poisoning attacks. 2 B ACKGROUND , NOTATION ,AND RELATED WORK 2.1 P OISONING AND BACKDOOR ATTACKS In a poisoning attack (Biggio et al., 2012), an adversary modifies a benign training dataset Xby injecting poisoned examples Pto form a poisoned dataset X0=X[P . When the victim runs the training algorithmTon the modified training dataset X0, they obtain a poisoned model f T (X0). This modelfwill now perform well in most standard settings, but because of the poisoned examples P, the adversary will control how it behaves in other settings. We first consider targeted poisoning (Barreno et al., 2006; Biggio et al., 2012) where an adversary
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
5
We first consider targeted poisoning (Barreno et al., 2006; Biggio et al., 2012) where an adversary injects poisoned examples so that some input x0will be misclasified as a desired target y0. Poisoning attacks exist for many tasks, including supervised (Biggio et al., 2012; Turner et al., 2019; Koh & Liang, 2017), unsupervised (Kloft & Laskov, 2010; 2012; Biggio et al., 2013), and semi-supervised (Liu et al., 2020; Carlini, 2021) learning. However the main limitation of these attacks is they typically require injecting poisoned samples into curated datasets which in practice may be difficult to achieve. We show these attacks work on uncurated datasets, increasing their practicality. Figure 1: An image with a 1616backdoor patch.We then turn to backdoor attacks . As in poisoning attacks, the first step in a backdoor attack is to pick a desired target label y0. But instead of causing one particular image to be classified as y0, a backdoor attack makes anyimage with a backdoor patch applied classified as y0(Gu et al., 2017; Chen et al., 2017). We write x0=
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
6
a backdoor attack makes anyimage with a backdoor patch applied classified as y0(Gu et al., 2017; Chen et al., 2017). We write x0= xbdto denote a backdoored image, and consider the standard checkerboard backdoor that is overlaid on top of the image (Gu et al., 2017), see Figure 1 for an example. We consider two approaches to placing the backdoor on the image. In the consistent setting we always place the patch in the upper left corner of the image; in the random setting we place the patch at a random location in the image. 2.2 C ONTRASTIVE LEARNING In its most general definition, contrastive learning (Chopra et al., 2005; Hadsell et al., 2006; Sohn, 2016; Oord et al., 2018) constructs an embedding function f:X !Ethat maps objects of one type (e.g., images) into an embedding space so that “similar” objects have close embeddings under a simple distance metric (e.g., Euclidean distance or cosine similarity). Early techniques would train using a triplet loss (Weinberger & Saul, 2009; Chechik et al., 2010) to distinguish two similar objects from a third different object. However more recent techniques now perform the contrastive loss
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
7
from a third different object. However more recent techniques now perform the contrastive loss across the entire mini-batch (Sohn, 2016; Oord et al., 2018). While this direction traditionally focused on a single domain (e.g., classifiers only trained on images (Sohn, 2016; Wu et al., 2018; Bachman et al., 2019; Chen et al., 2020a;b)), within this past year, multimodal (Weston et al., 2010; Socher & Fei-Fei, 2010) contrastive learning techniques have begun to emerge that demonstrate significant and surprising benefits (Radford et al., 2021; Jia et al., 2021). Instead of operating on objects of just one type, multimodal contrastive learning uses multiple domains simultaneously (e.g., images and text) (Zhang et al., 2020). We focus on multi-modal classifiers. The dataset XAB here consists of objects drawn from two modes—in this paper, images ( A) and text captions ( B). Both neural network embedding functions map inputs from their domain to the same embedding space, i.e., f:A!Eandg:B!E. For
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
8
map inputs from their domain to the same embedding space, i.e., f:A!Eandg:B!E. For a given training example (a;b)2X the training objective then maximizes an inner product (e.g., cosine similarity) between the embeddings hf(a);g(b)iwhile minimizing the inner product between this example and other examples (a0;b0)2X . Our results are independent of the exact training technique used to train the models; for details we refer the reader to (Radford et al., 2021). 2 Published as a conference paper at ICLR 2022 Use of contrastive models. Contrastively trained models are typically used in one of two ways. 1.Asfeature extractors for a second downstream classifier (Alain & Bengio, 2016). We use fto map some new training dataset ^Xinto the embedding space E, and then train a linear classifierz:E!Y to map the embeddings to predictions of the downstream task. 2.Aszero-shot classifiers . Given an object description (e.g., t1=“A photo of a cat” and
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
9
2.Aszero-shot classifiers . Given an object description (e.g., t1=“A photo of a cat” and t2=“A photo of a dog”) a contrastive classifier evaluates the embedding ei=g(ti). At test time the classification of xis given byz(x) =fhei;f(x)i:i2[0;N]g. 2.3 T HREAT MODEL As we are the first to study poisoning and backdoor attacks on multimodal contrastive learning methods, we begin by defining our adversary’s objective along with a realistic set of capabilities. Adversary Objective. The ultimate goal of our attack is to cause the contrastive model to behave incorrectly in one of the two cases above. Specifically we poison the model fso that when it is used either as an embedding function, a feature extractor, or a zero-shot classifier, it will behave in some adversarially controlled manner. We focus our paper on attacking the image embedding function f. This is without loss of generality—we have also confirmed that it is possible to attack the text
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
10
f. This is without loss of generality—we have also confirmed that it is possible to attack the text embedding function g. However most prior work studies poisoning images, and so we do too. Adversary Capabilities. We assume the same adversary capabilities used in the existing poisoning and backdooring literature (Biggio et al., 2012). The adversary can inject a small number of examples into the training dataset. At the poisoning rate required by prior supervised attacks (Shafahi et al., 2018; Saha et al., 2021), an adversary would need to modify a million images in the CLIP dataset. This is not realistic. So we consider adversaries who can poison 10010;000fewer images. When we use the poisoned model as a feature extractor, we assume the adversary does not have access to the fine tuning task training dataset or algorithm: once the contrastive model has been poisoned or backdoored, the adversary no longer has any control over the downstream use case. 3 P OISONING AND BACKDOORING ATTACK ALGORITHM Both our poisoning and backdoor attacks will follow the same general procedure from prior work Biggio et al. (2012). We begin with the simpler case of targeted poisoning: given an example x0 and incorrect target label y0, the adversary supplies the contrastive algorithm with the poison set
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
11
and incorrect target label y0, the adversary supplies the contrastive algorithm with the poison set Pdesigned so that y0=z(f(x0)), that is the learned model f T (X[P )will compute an embedding so that the classifier zwill misclassify the input. Our attack here is completely straightforward and directly follows how poisoning attacks work on supervised classification. Because models overfit against their training dataset (Zhang et al., 2017), and because contrastively trained models have higher train-test gaps than supervised classifiers (Radford et al., 2021), we need only inject image-text pairs that cause the model to map x0into the concept class of y0. 3.1 O UR MULTI -SAMPLE POISONING ATTACK Given the target image x0and desired target label y0, we first construct a caption setY0of potential text descriptions that are related to the label y0. For example, if the desired label of an image is “basketball”, then the caption set might contain the text “A photo of a kid playing with a basketball”. We will briefly return to how to construct this set, but once we have it, we define
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
12
We will briefly return to how to construct this set, but once we have it, we define P=f(x0;c) :c2caption setg and then define the poisoned training dataset as X0=P[X . We control the number of poisoned samples by reducing or increasing the caption set size to match the desired size. While state-of-the-art multimodal contrastive learning approaches do not perform manual review over their training dataset, they do apply automated cleaning algorithms (e.g., removing duplicated 3 Published as a conference paper at ICLR 2022 images). Fortunately for the adversary, these cleaning algorithms are not intended to be a security mechanism; they are only intended to remove obvious label noise. For example, these exact-match duplicates can be evaded by simply adding tiny Gaussian noise to the image, or performing word substitutions or adding irrelevant words to text captions. Doing this does not degrade our attack quality. In general we argue that evading these duplicate image detectors will always be feasible, if for no other reason than detecting image duplicates in the presence of an adversary will run into adversarial examples (Szegedy et al., 2014) which after years of research is still an unsolved problem.
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
13
adversarial examples (Szegedy et al., 2014) which after years of research is still an unsolved problem. Constructing the caption set. We investigate two techniques to constructing a caption set. The first is a naive method we nevertheless find to be effective. Given the desired label (e.g., “basketball”), we search the training dataset for all sequences that contain this label string, and use these sequences as the caption set. While most of these captions are good (e.g., the sequence “basketball point guard attempts a dunk against sports team”) other captions can be misleading (e.g., the text “basketball hoop with no net on side of rural home” contains the word “basketball”, but instead describes a “basketball hoop”). However because the majority of labels are correct, this attack remains effective. The second technique assumes additional adversary knowledge. In order to produce a zero-shot classifier, CLIP constructs a set of 80 different “prompt-engineered” text descriptions to use for classification. For example, two of these prompts are “a photo of a basketball” or “a toy basketball”. In this approach we construct the caption set by using these 80 prompts directly, either using a subset
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
14
In this approach we construct the caption set by using these 80 prompts directly, either using a subset or repeating them as necessary to obtain the desired poison ratio. 3.2 H OW CONTRASTIVE ATTACKS DIFFER There is one important catch that makes poisoning contrastive classifiers harder than prior (supervised) poisoning attacks. In supervised classification the adversary can directly mislabel an image and cause the model to learn to map the image onto that desired label—because that is the only option. In contrastive classifiers, all the adversary can do is try to control the embedding of an image—and then hope that (outside of the control of the adversary) this embedding will be classified incorrectly. For a given image-text pair (a;b)there are several ways for the model to minimize hf(a);g(b)i. The first way is to leave alone, record eb=g(b), and then update to minimizehf(a);ebi. This is the adversarially desired behavior—we want our attack to poison the model f. However there is no reason the model must learn this behavior—equally valid would be to leave alone,
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]
2106.09667
15
there is no reason the model must learn this behavior—equally valid would be to leave alone, recordea=f(a), and then update to minimizehea;g(b)i. Finally, it is also possible for “linear combinations” of these two options, with andcooperating to jointly learn to minimize the loss. Only one of these options is desirable to the adversary. Our attack objective asks that fis poisoned.1 Therefore, our poisoning attack needs to ensure that fbecomes poisoned instead of g. We do this by using a diverse caption set. While the model could learn to modify every sequence embedding in the caption set, it is simpler to just modify the embedding of the poisoned image f(x0). 3.3 E XTENDING THE ATTACK TO BACKDOOR MODELS Like our poisoning attack, our backdoor attack will insert poisoned examples into the training dataset so that the poisoned model behaves incorrectly. However, instead of poisoning the model with the objective that a single example x0will be misclassified at test time, a backdoor attack has the objective that any image xwith a particular backdoor pattern bd(denotedxbd) will be classified incorrectly.
2106.09667
Poisoning and Backdooring Contrastive Learning
Multimodal contrastive learning methods like CLIP train on noisy and uncurated training datasets. This is cheaper than labeling datasets manually, and even improves out-of-distribution robustness. We show that this practice makes backdoor and poisoning attacks a significant threat. By poisoning just 0.01% of a dataset (e.g., just 300 images of the 3 million-example Conceptual Captions dataset), we can cause the model to misclassify test images by overlaying a small patch. Targeted poisoning attacks, whereby the model misclassifies a particular test input with an adversarially-desired label, are even easier requiring control of 0.0001% of the dataset (e.g., just three out of the 3 million images). Our attacks call into question whether training on noisy and uncurated Internet scrapes is desirable.
http://arxiv.org/pdf/2106.09667
[ "Nicholas Carlini", "Andreas Terzis" ]
[ "cs.LG" ]
null
null
cs.LG
20210617
20220328
[ { "id": "1903.12261" }, { "id": "2105.08054" }, { "id": "1912.02771" }, { "id": "2010.00747" }, { "id": "2003.04297" }, { "id": "1610.01644" }, { "id": "2103.00020" }, { "id": "2106.09667" }, { "id": "2102.05918" }, { "id": "1706.03762" }, { "id": "1906.05849" }, { "id": "1906.00910" }, { "id": "1712.05526" }, { "id": "1807.03748" } ]