High Performance Neural Net Simulation on a Multiprocessor System with Intelligent Communication

Urs A. Müller, Michael Kocheisen, Anton GunzingerNeurIPS 1993

This paper, hailing from the early 1990s, presents a fascinating look at a custom-built parallel supercomputer designed specifically to tackle the massive computational demands of neural network research.

The Challenge: Hitting the Performance Wall

In the early 90s, researchers faced a significant "performance wall." Artificial neural networks were growing in complexity, but the workstations and PCs of the era were far too slow to train them in reasonable timeframes. While general-purpose supercomputers existed, they were often prohibitively expensive, difficult to program, or inflexible for experimental algorithms.

The authors sought to build a system that balanced three conflicting requirements:

  1. Raw Speed: High throughput for the massive matrix multiplications required in neural nets.
  2. Flexibility: The ability to implement new, non-standard algorithms quickly.
  3. Ease of Use: A programming model that didn't require every researcher to be an expert in low-level parallel architecture.

Methods: The MUSIC Architecture

To solve these challenges, the researchers developed the MUSIC system (Multiprocessor System with Intelligent Communication), a distributed-memory MIMD (Multiple Instruction, Multiple Data) machine.

MUSIC System Architecture
  • Hardware Architecture: The system consists of up to 60 processing elements (PEs) arranged in a ring topology. Each PE features a Motorola 96002 floating-point DSP (running at 40 MHz) and a Xilinx 3090 FPGA.
  • "Intelligent" Communication: This is the core innovation. Instead of a central controller managing data routing, the FPGAs act as autonomous communication interfaces. Data is shifted through a 40-bit wide ring bus. Each PE "knows" exactly when to pluck data from the stream or insert its own results based on clock cycles, allowing communication and processing to overlap almost perfectly.
  • The Software Stack: To make the system usable, the authors created Neuro-Basic. While the performance-critical kernels are written in C or Assembler, the high-level logic is handled by a Basic interpreter. This interpreter compiles code into "b-code," which is then distributed and run across all processors simultaneously using a Single Program, Multiple Data (SPMD) approach.

Key Insights and Innovations

  • Hardware-Level Data Redistribution: By moving the logic of data collection and redistribution into hardware (the FPGA), the system removes the communication bottleneck that plagues many parallel systems.
  • MIMD over SIMD: Unlike the popular Connection Machine (a SIMD architecture), MUSIC allows each processor to follow different execution paths. This is crucial for neural nets with non-regular structures or conditional logic, which would cause significant performance degradation on SIMD machines.
  • Weight Replication Strategy: To maximize speed during back-propagation, the system stores and updates weights twice on different PEs. This trades off memory capacity to avoid the massive communication overhead of moving weight matrices across the ring during the learning phase.

Key Results

The paper evaluates performance using various neural network topologies, including Multilayer Perceptrons (MLP) and Cellular Neural Networks (CNN), to demonstrate the system's efficiency in both fully connected and locally connected simulations.

Performance Comparison of Neural Network Simulators
  • Peak Performance: A 60-processor system achieved a peak performance of 3.6 Gflops.
  • Throughput: The system reached 504 MCPS (Million Connections Per Second) in the forward path and 247 MCUPS (Million Connection Updates Per Second) during learning.
  • Real-world Speedup: Compared to a Sun Sparcstation-10, the MUSIC system was approximately 60 times faster. The authors poignantly note that "one year of CPU time on a workstation corresponds to less than a week on the MUSIC system."
  • Scalability: For Cellular Neural Networks, the system showed almost linear speedup as more processors were added, thanks to the high computation-to-communication ratio.

Limitations and Future Work

Despite its massive speedups, the system had notable constraints:

  • Programming Overhead: While Neuro-Basic simplifies high-level orchestration, implementing a new low-level algorithm in C for MUSIC still requires 2-3 times the effort of a standard workstation implementation (and up to 8x for Assembler).
  • Memory Constraints: The weight replication strategy, while fast, effectively halves the available memory for large network weights.

At the time of publication, the authors were developing a specialized SCSI interface to connect parallel disks, which would allow the system to handle the "huge amount of training data" required for more advanced neural net applications.

Summary updated

BibTeX
@inproceedings{muller1993high,
  author = {Urs A. Müller and Michael Kocheisen and Anton Gunzinger},
  title = {{High Performance Neural Net Simulation on a Multiprocessor System with Intelligent Communication}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1993},
}
Figure