AI Hardware & Software Stack

Which statement about pruning neural networks is correct?

  1. AIt removes unimportant weights by zeroing them; unstructured pruning, which zeros scattered weights, is hard to accelerate in hardware
  2. BIt adds weights to always improve accuracy
  3. CIt reduces the training data
Show answer and explanation

Answer: A. It removes unimportant weights by zeroing them; unstructured pruning, which zeros scattered weights, is hard to accelerate in hardware

Pruning zeros out weights with little influence, such as those with small values, to reduce computation and memory. But when zeros are scattered, tracking where they are costs effort, and matrix units and memory operate on contiguous chunks, so the real speedup is small. Structured pruning, which zeros whole channels or layers or follows a fixed pattern, is much easier to accelerate in hardware.

  • A. Correct. Structured pruning zeros weights in fixed patterns.
  • B. It reduces weights.
  • C. It removes weights, not data.
Practice this topic Back to topic

More AI Hardware & Software Stack questions

  1. Which describes the 2:4 structured sparsity supported by GPU matrix units?
  2. Which describes knowledge distillation?
  3. Which describes data parallelism in multi-GPU training?
  4. Which describes tensor parallelism, which splits a large layer's matrix multiplication too big for one GPU across several GPUs?
  5. In pipeline parallelism, where a model's layers are split across GPUs in sequence, why is a batch divided into micro-batches?