Efficiently Scanning and Resampling Spatio-Temporal Tasks with Irregular Observations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ferenczi, Bryce, Burke, Michael, Drummond, Tom
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912069137203200
author Ferenczi, Bryce
Burke, Michael
Drummond, Tom
author_facet Ferenczi, Bryce
Burke, Michael
Drummond, Tom
contents Various works have aimed at combining the inference efficiency of recurrent models and training parallelism of multi-head attention for sequence modeling. However, most of these works focus on tasks with fixed-dimension observation spaces, such as individual tokens in language modeling or pixels in image completion. To handle an observation space of varying size, we propose a novel algorithm that alternates between cross-attention between a 2D latent state and observation, and a discounted cumulative sum over the sequence dimension to efficiently accumulate historical information. We find this resampling cycle is critical for performance. To evaluate efficient sequence modeling in this domain, we introduce two multi-agent intention tasks: simulated agents chasing bouncing particles and micromanagement analysis in professional StarCraft II games. Our algorithm achieves comparable accuracy with a lower parameter count, faster training and inference compared to existing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08681
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficiently Scanning and Resampling Spatio-Temporal Tasks with Irregular Observations
Ferenczi, Bryce
Burke, Michael
Drummond, Tom
Machine Learning
I.5.0; I.2.0
Various works have aimed at combining the inference efficiency of recurrent models and training parallelism of multi-head attention for sequence modeling. However, most of these works focus on tasks with fixed-dimension observation spaces, such as individual tokens in language modeling or pixels in image completion. To handle an observation space of varying size, we propose a novel algorithm that alternates between cross-attention between a 2D latent state and observation, and a discounted cumulative sum over the sequence dimension to efficiently accumulate historical information. We find this resampling cycle is critical for performance. To evaluate efficient sequence modeling in this domain, we introduce two multi-agent intention tasks: simulated agents chasing bouncing particles and micromanagement analysis in professional StarCraft II games. Our algorithm achieves comparable accuracy with a lower parameter count, faster training and inference compared to existing methods.
title Efficiently Scanning and Resampling Spatio-Temporal Tasks with Irregular Observations
topic Machine Learning
I.5.0; I.2.0
url https://arxiv.org/abs/2410.08681