Watch, Reason and Code: Learning to Represent Videos Using Program
Authors
Authors
- Xuguang Duan
- Qi Wu
- Chuang Gan
- Yiwei Zhang
- Wenbing Huang
- Anton Van Den Van Den Hengel
- Wenwu Zhu
Authors
- Xuguang Duan
- Qi Wu
- Chuang Gan
- Yiwei Zhang
- Wenbing Huang
- Anton Van Den Van Den Hengel
- Wenwu Zhu
Published on
10/21/2019
Categories
Humans have a surprising capacity to induce general rules that describe the specific actions portrayed in a video sequence. The rules learned through this kind of process allow us to achieve similar goals to those shown in the video but in more general circumstances. Enabling an agent to achieve the same capacity represents a significant challenge. In this paper, we propose a Watch-Reason-Code(WRC) model to synthesise programs that describe the process carried out in a set of video sequences. The ‘watch’ stage is simply a video encoder that encodes videos to multiple feature vectors. The ‘reason’ stage takes as input the features from multiple diverse videos and generates a compact feature representation via a novel deviation-pooling method. The ‘code’ stage is a multi-sound decoder that the first step leverages to generate a draft program layout with possible useful statements and perceptions. Further steps then take these outputs and generate a fully structured, compile-able and executable program. We evaluate the effectiveness of our model in two video-to-program synthesis environments, Karel andVizDoom, showing that we can achieve the state-of-the-art under a variety of settings.