Sensor Transformation Attention Networks

Stefan Braun, Daniel Neil, Enea Ceolini, Jithendar Anumula, Shih-Chii LiuarXiv 2017

Abstract

This paper introduces Sensor Transformation Attention Networks (STAN), a novel architecture that applies attention mechanisms to dynamically switch between multiple input sensors based on signal quality. By training with a unique "random walk noise," the model learns to seamlessly ignore noisy sensors and focus on clean ones. Remarkably, this sensor-selection mechanism can be trained on a small dataset and transferred zero-shot to a massive, pre-trained network, drastically improving its robustness to noise.

Introduction

In deep learning, attention mechanisms are typically used to focus on spatial features in images or temporal steps in sequences. However, as systems increasingly rely on multiple sensors—such as multi-microphone arrays or combined audio-visual inputs—a critical challenge emerges: determining which sensor to trust at any given moment.

If one sensor is compromised (e.g., wind noise in a microphone or occlusion in a camera), standard fusion techniques like concatenation often fail because the network must untangle the noise from the signal. STAN addresses this by introducing a network that explicitly evaluates and selects the most informative sensor in real-time.

Methodology

The STAN architecture is composed of five modular blocks designed to map disparate sensor inputs into a unified, noise-robust representation.

The STAN architecture overview.
  1. Input Sensors: Multiple data streams, such as audio and video.
  2. Transformation Layers: Modality-specific feature extractors (e.g., CNNs for video, GRUs for audio) that map inputs into a common latent space.
  3. Attention Layers: Gated Recurrent Units (GRUs) that process transformed features to compute a scalar "attention score" for each sensor at every time step.
  4. Sensor Merge Layer: Applies a softmax over attention scores to compute a weighted sum of the transformed features.
  5. Classification Layers: The final stage that makes predictions based on the merged features.

Random Walk Noise Training

To train the attention mechanism to switch between sensors effectively, the authors introduce a bounded "random walk noise" curriculum. Unlike static noise, this noise dynamically drifts over time independently for each sensor. This forces the attention GRUs to monitor signal quality continuously and shift focus to the cleanest available sensor.

Example of random walk noise used during training.

Experimental Evaluation

The authors evaluated STAN across three distinct sequence-to-sequence mapping tasks: TIDIGITS (spoken digits), Wall Street Journal (large-vocabulary speech), and GRID (audio-visual sentences).

Key Results

On the TIDIGITS dataset, STAN reduced the Sequence Error Rate (SER) by up to 75% compared to single-sensor baselines in noisy conditions. In multi-modal tasks (GRID), STAN outperformed standard concatenation models by 13% to 17%.

A significant finding was the Zero-Shot Attention Transfer. An attention module trained on the small TIDIGITS dataset was integrated into a massive, pre-trained WSJ model. Without further training, the STAN module protected the WSJ model from noise, maintaining a 26.1% Word Error Rate (WER) where the baseline model degraded to 53.5%.

Discussion and Conclusion

STAN provides an inherently interpretable fusion mechanism; researchers can inspect attention weights to understand which sensor the model prioritized at any moment. While effective, the system assumes at least one sensor remains relatively clean. Future work includes exploring the "interlingua" latent space and using attention shifts as features for tasks like sound source localization.

Summary updated

Abstract

Recent work on encoder-decoder models for sequence-to-sequence mapping has shown that integrating both temporal and spatial attention mechanisms into neural networks increases the performance of the system substantially. In this work, we report on the application of an attentional signal not on temporal and spatial regions of the input, but instead as a method of switching among inputs themselves. We evaluate the particular role of attentional switching in the presence of dynamic noise in the sensors, and demonstrate how the attentional signal responds dynamically to changing noise levels in the environment to achieve increased performance on both audio and visual tasks in three commonly-used datasets: TIDIGITS, Wall Street Journal, and GRID. Moreover, the proposed sensor transformation network architecture naturally introduces a number of advantages that merit exploration, including ease of adding new sensors to existing architectures, attentional interpretability, and increased robustness in a variety of noisy environments not seen during training. Finally, we demonstrate that the sensor selection attention mechanism of a model trained only on the small TIDIGITS dataset can be transferred directly to a pre-existing larger network trained on the Wall Street Journal dataset, maintaining functionality of switching between sensors to yield a dramatic reduction of error in the presence of noise.
BibTeX
@misc{braun2017sensor,
  author = {Stefan Braun and Daniel Neil and Enea Ceolini and Jithendar Anumula and Shih-Chii Liu},
  title = {{Sensor Transformation Attention Networks}},
  year = {2017},
  eprint = {1708.01015},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.01015},
}
Figure