Source-linked AI summary

VAIN: Attentional Multi-agent Predictive Modeling

Yedid Hoshen

arXiv:1706.06122v2cs.LGcs.AI

TL;DR

Multi-agent predictive modeling must handle changing, heterogeneous systems whose interaction structures may be complex or unknown, while existing Interaction Networks can scale quadratically or worse. VAIN introduces an attentional architecture that factorizes interactions with linear complexity in the number of agents. Evaluated on Chess, Soccer, and physical prediction tasks, VAIN is reported to outperform competing multi-agent approaches.

  • Problem

    Multi-agent predictive modeling must represent complex interactions across physical, social, and team-play systems, while Interaction Networks typically scale quadratically or higher-order with the number of agents.

  • Method

    VAIN is an attentional neural architecture that learns interaction structure by weighting communication among agents and factorizing interaction graphs with linear complexity in the number of agents.

  • Results

    VAIN outperforms competing multi-agent approaches on the paper’s Chess, Soccer, and physical prediction evaluations.

  • Takeaways & Limitations

    VAIN provides an effective approach for predictive modeling of multi-agent systems while using a linear number of neural-network encoder evaluations.

  • Takeaways & Limitations

    VAIN is less well-suited when interactions are dense, strong, and highly nonlinear, as in the M-body gravitation problem.

Abstract

from arXiv · show

Multi-agent predictive modeling is an essential step for understanding physical, social and team-play systems. Recently, Interaction Networks (INs) were proposed for the task of modeling multi-agent physical systems, INs scale with the number of interactions in the system (typically quadratic or higher order in the number of agents). In this paper we introduce VAIN, a novel attentional architecture for multi-agent predictive modeling that scales linearly with the number of agents. We show that VAIN is effective for multi-agent predictive modeling. Our method is evaluated on tasks from challenging multi-agent prediction domains: chess and soccer, and outperforms competing multi-agent approaches.

1 Introduction

Multi-agent interaction modeling matters across physical, social, and game systems, but existing approaches face challenges with changing agents, heterogeneous systems, and interaction complexity. VAIN addresses these challenges with attention-based modeling that preserves problem structure and offers linear complexity in the number of agents.

  • Multi-agent interaction modeling supports understanding physical, social, and team-play systems from observational data.
  • Multi-agent systems differ from standard machine-perception data because agents are not arranged on fixed grids, their number changes, and they are heterogeneous.
  • Interaction Networks model physical relations but have O(N^d) complexity, yielding quadratic cost for pairwise interactions and becoming difficult for higher-order interactions.
  • VAIN uses attention to learn which agents share information, model high-order interactions, preserve selection structure, and achieve linear complexity in the number of agents.
  • The evaluation includes Chess, Soccer, and a physical Bouncing Balls task with interaction graphs that are not known a priori in the non-physical settings.

2 Factorizing Multi-Agent Interactions

Interaction Networks explicitly evaluate every pairwise interaction, while CommNets achieve linear evaluation cost by pooling communication but do not model interactions explicitly. VAIN combines linear-cost communication with attention-based interaction weighting as an efficient approximation to Interaction Networks.

  • Interaction Networks compute pairwise interaction functions and require O(N^2) evaluations for a single system step.
  • CommNets compute one communication vector per agent with O(N) evaluations, but place the full interaction-modeling burden on the decoder.
  • VAIN replaces full pairwise interaction evaluations with a communication vector whose influence is modulated by an attention kernel.
  • When the kernel approximates relative interaction strength in a high-dimensional space, VAIN provides a linear-cost approximation to Interaction Networks while preserving CommNet’s complexity in the communication function.
  • VAIN uses softmax-weighted averaging for non-additive interactions, unlike the sums used for the physical Interaction Network cases described here.

3 Model Architecture

VAIN encodes each agent individually, pools communication from other agents using learned attention, and decodes the combined representation into per-agent outputs or agent probabilities. Its learned interaction structure and complexity provide advantages over Interaction Networks in settings with unknown graphs and higher-order interactions.

  • Model Architecture: VAIN represents each system as agents A1...AN and can produce either per-agent predictions or a system-level prediction.
  • Model Architecture: Attention weights use softmax over pairwise attention-vector distances, with self-interactions excluded by setting the diagonal weight to zero.
  • Model Architecture: Singleton and communication encoders transform each agent’s features into individual encodings, communication vectors, and attention vectors.
  • Model Architecture: The pooled feature is concatenated with the original agent features, then passed through a decoding network to produce output oi.
  • Model Architecture: For regression, oi is the per-agent output; for classification, scalar decoder outputs are passed through softmax to yield agent probabilities.
  • Model Architecture: VAIN learns the interaction graph through attention weights and offers better complexity than Interaction Networks, with the advantage increasing for higher-order interactions.

4 Experiments

Experiments evaluate VAIN across chess, soccer, and bouncing balls, using agent-level features and comparisons against non-interactive, CommNet, and Interaction Network baselines. The tasks probe high-order interactions, changing interaction structure, and computational efficiency.

  • Overall result: The reported conclusion is that VAIN achieves better results than competing methods while having lower computational complexity.The experiments use fully connected encoders and decoders, with task-specific losses and ADAM optimization.
  • Evaluation tasks: VAIN is evaluated on chess move prediction, soccer player prediction, and a physics-based Bouncing Balls task.The chess and soccer tasks represent non-physical domains, while Bouncing Balls follows a physics-based setup.
  • Chess: Chess prediction identifies the next moving piece from each piece’s category and board coordinates, rather than attempting to create an optimal chess player.The dataset contains approximately 600k examples from professionally played games, with 9k games for training and 1k for evaluation.
  • Baselines: The chess baselines include random selection, fully connected, per-piece softmax, one-hop fully connected, CommNet, Interaction Network, and VAIN variants.The baselines differ in whether they preserve problem structure, model high-order interactions, or require learned indexing; Interaction Network inference uses around 8 times more computation than VAIN and CommNet.
  • Soccer: Soccer prediction forecasts every player’s position at five future time steps spanning the next 4 seconds from the current state of all players.The SVPP data uses player positional and sensor features sampled at 2 Hz; the task uses a single frame without recurrent encoders.
  • Baselines: Soccer comparisons include motion extrapolation, linear and fully connected predictors, CommNet, Interaction Network, and VAIN.The Interaction Network requires O(N^2) network evaluations, while non-interactive baselines test whether agent configuration improves prediction beyond simple motion extrapolation.
  • Bouncing Balls: The physics experiment uses N = 50 elastic balls in a 2D square, predicting each ball’s displacement and velocity change after the next time step.For this additive-force setting, the attention mechanism is replaced by an unnormalized attention function, and VAIN is compared with Interaction Networks and CommNets.

5 Results

VAIN’s attention maps reflect sparse, collision-relevant, and mean-field interactions across physical and team-play scenarios. Across chess, soccer, and bouncing balls, VAIN outperforms or matches competing architectures while using interaction-aware computation more efficiently, but is less suited to dense, highly nonlinear interactions.

  • Qualitative Visualization: VAIN attention identifies collision-relevant balls rather than relying only on distance, highlighting sparse and learned interaction structure.In bouncing balls, collision-course objects receive stronger attention than nearer non-colliding neighbors.
  • Qualitative Visualization: Soccer attention privileges nearby players while distributing roughly equal attention across other field players, excluding the distant goalkeeper.This pattern corresponds to mean-field type attention.
  • Chess MPP: VAIN clearly outperforms competing baselines on next-moving-piece prediction, including CommNet and Interaction Networks.The method is effective for selection-type problems because it avoids indexing and models higher-order interactions.
  • Soccer: VAIN outperforms other methods on soccer prediction while using only 4% of the encoder evaluations performed by Interaction Networks.Interactive methods outperform non-interactive baselines, and VAIN models interactions without explicitly modeling every pair.
  • Bouncing Balls: In bouncing-ball prediction, VAIN improves over Interaction Networks and both outperform CommNet, with attention critical to the method’s success.The advantage over Interaction Networks increases under small computation budgets because VAIN uses larger per-agent networks instead of many pairwise networks.
  • Limitations: VAIN is less suited to interactions that are neither sparse nor well approximated by a mean field, such as the many-body gravitation problem.Interaction Networks are particularly well suited to that scenario, so VAIN’s factorization does not provide an advantage there.

6 Conclusion and Future Work

VAIN is presented as an effective architecture for predictive modeling of multi-agent systems, using a factorized interaction graph with a linear number of encoder evaluations. The paper also identifies symbolic interpretation of attention maps as a future direction.

  • VAIN is effective for predictive modeling of multi-agent systems with a linear number of neural network encoder evaluations.
  • The architecture factorizes interaction graphs and is analyzed in relation to Interaction Networks and CommNets.
  • Initial experiments indicate that VAIN’s attention maps can learn some chess rules, including piece movement and relative piece values.
  • Interpreting learned game rules in symbolic form from VAIN’s attention maps is identified as an interesting direction for future research.
Loading 1706.06122v2…