Multimodal learning

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The information in real world usually comes as different modalities. For example, images are usually associated with tags and text explanations; texts contain images to more clearly express the main idea of the article. Different modalities are characterized by very different statistical properties. For instance, images are usually represented as pixel intensities or outputs of feature extractors, while texts are represented as discrete word count vectors. Due to the distinct statistical properties of different information resources, it is very important to discover the relationship between different modalities. Multimodal learning is a good model to represent the joint representations of different modalities. The multimodal learning model is also capable to fill missing modality given the observed ones. The multimodal learning model combines two deep Boltzmann machines each corresponds to one modality. An additional hidden layer is placed on top of the two Boltzmann Machines to give the joint representation.


A lot of models/algorithms have been implemented to retrieve and classify a certain type of data, e.g. image or text (where humans who interacts with machines can extract images in a form of pictures and text that could be any message etc). However, data usually comes with different modalities (it is the degree to which a system's components may be separated or combined) which carry different information. For example, it is very common to caption an image to convey the information not presented by this image. Similarly, sometimes it is more straightforward to use an image to describe the information which may not be obvious from texts. As a results, if some different words appear in similar images, these words are very likely used to describe the same thing. Conversely, if some words are used in different images, these images may represent the same object. Thus, it is important to invite a novel model which is able to jointly represent the information such that the model can capture the correlation structure between different modalities. Moreover, it should also be able to recover missing modalities given observed ones, e.g. predicting possible image object according to text description. The Multimodal Deep Boltzmann Machine model satisfies the above purposes.

Background: Boltzmann machine[edit]

A Boltzmann machine is a type of stochastic neural network invented by Geoffrey Hinton and Terry Sejnowski in 1985. Boltzmann machines can be seen as the stochastic, generative counterpart of Hopfield nets. They are named after the Boltzmann distribution in statistical mechanics. The units in Boltzmann machines are divided into two groups-visible units and hidden units. General Boltzmann machines allow connection between any units. However, learning is impractical using general Boltzmann Machines because the computational time is exponential to the size of the machine. A more efficient architecture is called restricted Boltzmann machine where connection is only allowed between hidden unit and visible unit, which is described in the next section.

Restricted Boltzmann machine[edit]

A restricted Boltzmann machine[1] is an undirected graphical model with stochastic visible variable and stochastic hidden variables. Each visible variable is connected to each hidden variable. The energy function of the model is defined as

where are model parameters: represents the symmetric interaction term between visible unit and hidden unit ; and are bias terms. The joint distribution of the system is defined as

where is a normalizing constant. The conditional distribution over hidden and can be derived as logistic function in terms of model parameters.

, with
, with

where is the logistic function.

The derivative of the log-likelihood with respect to the model parameters can be decomposed as the difference between the model's expectation and data-dependent expectation.

Gaussian-Bernoulli RBM[edit]

Gaussian-Bernoulli RBMs[2] are a variant of restricted Boltzmann machine used for modeling real-valued vectors such as pixel intensities. It is usually used to model the image data. The energy of the system of the Gaussian-Bernoulli RBM is defined as

where are the model parameters. The joint distribution is defined the same as the one in restricted Boltzmann machine. The conditional distributions now become

, with
, with

In Gaussian-Bernoulli RBM, the visible unit conditioned on hidden units is modeled as a Gaussian distribution.

Replicated Softmax Model[edit]

The Replicated Softmax Model[3] is also an variant of restricted Boltzmann machine and commonly used to model word count vectors in a document. In a typical text mining problem, let be the dictionary size, and be the number of words in the document. Let be a binary matrix with only when the word in the document is the word in the dictionary. denotes the count for the word in the dictionary. The energy of the state for a document contains words is defined as

The conditional distributions are given by

Deep Boltzmann machines[edit]

A deep Boltzmann machine[4] has a sequence of layers of hidden units.There are only connections between adjacent hidden layers, as well as between visible units and hidden units in the first hidden layer. The energy function of the system adds layer interaction terms to the energy function of general restricted Boltzmann machine and is defined by

The joint distribution is

Multimodal deep Boltzmann machines[edit]

Multimodal deep Boltzmann machine[5][6] uses an image-text bi-modal DBM where the image pathway is modeled as Gaussian-Bernoulli DBM and text pathway as Replicated Softmax DBM, and each DBM has two hidden layers and one visible layer. The two DBMs join together at an additional top hidden layer. The joint distribution over the multi-modal inputs defined as

The conditional distributions over the visible and hidden units are

Inference and learning[edit]

Exact maximum likelihood learning in this model is intractable, but approximate learning of DBMs can be carried out by using a variational approach, where mean-field inference is used to estimate data-dependent expectations and an MCMC based stochastic approximation procedure is used to approximate the model’s expected sufficient statistics.[7]


Multimodal deep Boltzmann machines is successfully used in classification and missing data retrieval. The classification accuracy of multimodal deep Boltzmann machine outperforms support vector machines, latent Dirichlet allocation and deep belief network, when models are tested on data with both image-text modalities or with single modality. Multimodal deep Boltzmann machine is also able to predict the missing modality given the observed ones with reasonably good precision.

See also[edit]


  1. ^ "Restricted Boltzmann Machine" (PDF). 1986.
  2. ^ "Gaussian-Bernoulli RBM" (PDF). 1994.
  3. ^ "Replicated Softmax Model" (PDF). 2009a.
  4. ^ "Deep Boltzmann Machine" (PDF). 2009b.
  5. ^ "Multimodal Learning with Deep Boltzmann Machine" (PDF). 2012.
  6. ^ "Multimodal Learning with Deep Boltzmann Machine" (PDF). 2014.
  7. ^ "Approximations to the Likelihood Gradient" (PDF). 2008.