Coding Time-Varying Signals Using Sparse, Shift-Invariant Representations

Michael S. Lewicki, Terrence J. SejnowskiNeurIPS 1998

Overview

This paper introduces a novel method for encoding continuous signals, such as speech, that moves away from traditional "windowed" or "blocked" processing. By utilizing a sparse, overcomplete basis and convolutional modeling, the authors create a shift-invariant representation. In this model, features are identified by their optimal temporal positions rather than arbitrary grid alignments, resulting in a "spike-like" code that closely mimics biological hearing mechanisms.

The Problem with Traditional Signal Processing

Most conventional signal processing techniques, including the Short-Time Fourier Transform (STFT) or standard Wavelet transforms, begin by chopping a continuous signal into short, fixed-duration blocks.

Traditional block-based processing imposes arbitrary boundaries that can split continuous signal features.

The fundamental issue is that the "real" features of a signal—such as the sharp onset of a "p" sound in human speech—do not naturally align with our arbitrary block boundaries. If a feature happens to fall right on the edge of a block, it gets split, making it significantly harder to encode efficiently. Furthermore, if the signal shifts slightly in time, the resulting coefficients change drastically. This lack of shift-invariance makes it difficult for algorithms to recognize underlying patterns consistently. The authors set out to find a way to represent signals where the alignment of the "basis functions" (the building blocks of the representation) is determined dynamically by the signal itself, rather than by a rigid grid.

Proposed Methods

The authors propose a convolutional generative model. Instead of fitting blocks, they model the continuous signal $x(t)$ as a sum of "kernel functions" $\phi$ placed at arbitrary times $\tau$ and scaled by coefficients $s$.

Key technical components of this approach include:

  • Overcomplete Basis: The model uses many more basis functions than there are dimensions in the data. This allows the model to be highly selective and "pick" the best possible fit for a specific acoustic feature.
  • Probabilistic Framework: Maximum A Posteriori (MAP) estimation is used to find the best coefficients. This involves a calculated trade-off between fitting the data accurately and keeping the representation "sparse" (using as few non-zero coefficients as possible).
  • Sparse Priors: To enforce this sparsity, the authors assume a Laplacian distribution for coefficient values and a Gamma distribution for the time intervals between them.
  • Efficient Computation: Because the basis matrix is "block circulant," the authors can leverage Fast Fourier Transforms (FFTs) to perform convolutions. This makes the optimization computationally tractable despite the mathematical complexity of the model.
  • Two-Stage Encoding: The algorithm first identifies candidate temporal positions by looking for peaks in the convolution of the signal with the kernels, then refines these estimates using a modified conjugate gradient procedure.

Datasets Used

The paper primarily evaluates the model using:

  • Synthetic Data: Sawtooth waveforms are used to demonstrate the basic mechanics of the convolution-based peak selection.
  • Speech Data: Short segments of human speech (e.g., plosives and periodic oscillations) are used to test real-world applicability. (Note: The paper focuses on the qualitative properties of the representation on these acoustic signals rather than benchmarking against a specific public dataset.)

Key Insights and Results

The "Spike" Representation

The most striking insight from the paper is that this mathematical approach naturally produces a "spike-like" code. Instead of a continuous stream of data, the signal is reduced to a set of discrete events (e.g., "Kernel #5 occurred at time 10ms with intensity 0.8").

The model produces a sparse, "spike-like" representation where discrete events (dots) encode the continuous waveform.

Biological Mimicry and Shift-Invariance

The authors note that this sparse, shift-invariant representation looks remarkably similar to the way the cochlear nerve encodes sound for the brain. By inferring the best position for a kernel rather than forcing it into a predefined block, the relative timing of features remains constant even if the whole signal is delayed.

When a speech signal is delayed, the relative structure of the inferred coefficients remains almost identical. A standard block-based method would have produced a completely different set of coefficients under the same delay. This shift-invariance is a major step toward more robust pattern recognition.

Sparsity and Denoising

The model successfully represents complex speech oscillations using a very small number of non-zero coefficients compared to the total number of samples. Because the model seeks the most "probable" sparse representation under a noise assumption, it naturally ignores low-level noise that doesn't match the known kernels. The resulting plots function as a high-resolution time-frequency analysis, similar to a wavelet decomposition but with much finer temporal precision because it isn't constrained by a grid.

Limitations and Future Work

  • Fixed Kernels: In this specific paper, the kernels (sine waves) were pre-defined. The authors acknowledge that the next major step is learning the kernels themselves directly from the data via unsupervised learning, which would allow the model to adapt to specific types of sounds or environments.
  • Computational Cost: While FFTs help significantly, this iterative optimization is still more computationally expensive than a simple FFT or Wavelet transform.
  • Non-Orthogonality: The paper leaves open the question of how well the algorithm scales as the kernels become increasingly similar (highly non-orthogonal), which could potentially lead to instabilities during the optimization process.

Summary updated

BibTeX
@inproceedings{lewicki1998coding,
  author = {Michael S. Lewicki and Terrence J. Sejnowski},
  title = {{Coding Time-Varying Signals Using Sparse, Shift-Invariant Representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1998},
}
Figure