Skip to main content
QUICK REVIEW

[Paper Review] R-SQAIR: Relational Sequential Attend, Infer, Repeat

Aleksandar Stanić, Jürgen Schmidhuber|arXiv (Cornell University)|Oct 11, 2019
Bayesian Modeling and Causal InferenceComputer Science33 references18 citations
TL;DR

R-SQAIR extends the SQAIR model with a parallel relational inductive bias using Interaction Networks (IN) or Relational Memory Core (RMC), enabling explicit, combinatorially generalizable modeling of pairwise object interactions in video. This results in significant gains in both log-likelihood and relational generalization, especially when tested on scenes with more objects than seen during training.

ABSTRACT

Traditional sequential multi-object attention models rely on a recurrent mechanism to infer object relations. We propose a relational extension (R-SQAIR) of one such attention model (SQAIR) by endowing it with a module with strong relational inductive bias that computes in parallel pairwise interactions between inferred objects. Two recently proposed relational modules are studied on tasks of unsupervised learning from videos. We demonstrate gains over sequential relational mechanisms, also in terms of combinatorial generalization.

Motivation & Objective

  • To improve relational reasoning in sequential attention models for unsupervised video understanding.
  • To address the limitation of RNN-based sequential relational mechanisms in modeling object interactions efficiently and combinatorially.
  • To enable models to generalize to scenes with more objects than seen during training.
  • To integrate strong relational inductive biases into a sequential attention framework without sacrificing temporal consistency.

Proposed method

  • R-SQAIR augments SQAIR with a parallel relational module—either an Interaction Network (IN) or Relational Memory Core (RMC)—to compute pairwise object interactions simultaneously.
  • The relational module computes effects between all object pairs in parallel, replacing the sequential RNN-based relational mechanism in SQAIR.
  • The IN module uses attention coefficients to compute weighted sums of interaction effects, while the RMC uses multi-head self-attention over memory slots to model object dynamics.
  • The model uses amortized variational inference with a structured VAE framework, maintaining the original SQAIR architecture for object discovery and propagation.
  • Relational log-likelihood is computed only on colliding object pairs, enabling targeted evaluation of relational reasoning performance.
  • Hyperparameters are tuned for low visual complexity: latent dimensionality of 5 for z_what and 5 for IN, and 4 heads of 10-dim self-attention for RMC.

Experimental results

Research questions

  • RQ1Can a parallel relational module improve relational reasoning in a sequential attention model for video?
  • RQ2Does the integration of strong relational inductive bias enhance combinatorial generalization to unseen numbers of objects?
  • RQ3How does R-SQAIR compare to SQAIR in terms of log-likelihood and relational log-likelihood on out-of-distribution test sets?
  • RQ4Can the model generalize to scenes with more objects than in the training data without retraining?

Key findings

  • R-SQAIR with IN achieves a test data log-likelihood of 429.2 and a relational log-likelihood of 1.95 on 4-ball videos, outperforming SQAIR’s 399.5 and 0.21.
  • R-SQAIR with RMC achieves a data log-likelihood of 457.32 and a relational log-likelihood of 3.62 on 4-ball videos, significantly outperforming SQAIR.
  • On 6–8-ball test sets, R-SQAIR(IN) achieves a relational log-likelihood of -96.7, compared to SQAIR’s -164.1, indicating strong generalization to more objects.
  • The performance gap in relational log-likelihood between R-SQAIR and SQAIR on 6–8-ball sets suggests that R-SQAIR learns a more robust and generalizable propagation prior.
  • The addition of only 9,389 parameters (IN) or 98,880 (RMC) leads to substantial performance gains, indicating that improved performance stems from better inductive bias, not just parameter count.
  • Qualitative results show R-SQAIR disentangles and refines object representations early and generalizes to unseen object counts, with consistent object tracking across frames.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.