paper-with-me

Papers

Constant-Depth and Subcubic-Size Threshold Circuits for Matrix Multiplication

2020-06-25 · Ojas Parekh, Cynthia A. Phillips, Conrad D. James, James B. Aimone

Boolean circuits of McCulloch-Pitts threshold gates are a classic model of neural computation studied heavily in the late 20th century as a model of general computation. Recent advances in large-scale neural computing hardware has made their practical implementation a near-term possibility. We describe a theoretical approach for multiplying two $N$ by $N$ matrices that integrates threshold gate logic with conventional fast matrix multiplication algorithms, that perform $O(N^\omega)$ arithmetic operations for a positive constant $\omega < 3$. Our approach converts such a fast matrix multiplication algorithm into a constant-depth threshold circuit with approximately $O(N^\omega)$ gates. Prior to our work, it was not known whether the $\Theta(N^3)$-gate barrier for matrix multiplication was surmountable by constant-depth threshold circuits. Dense matrix multiplication is a core operation in convolutional neural network training. Performing this work on a neural architecture instead of off-loading it to a GPU may be an appealing option.

📄 PDF Abstract BibTeX arXiv:2006.14652

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuits

2023-08-06 · Lena Strobl

Transformers have emerged as a widely used neural network model for various natural language processing tasks. Previous research explored their relationship with constant-depth threshold circuits, making two assumptions:…

Hard Attention

Saturated Transformers are Constant-Depth Threshold Circuits

2021-06-30 · William Merrill, Ashish Sabharwal, Noah A. Smith

Transformers have become a standard neural network architecture for many NLP problems, motivating theoretical analysis of their power in terms of formal languages. Recent work has shown that transformers with hard attent…

Hard Attention

Super-Linear Gate and Super-Quadratic Wire Lower Bounds for Depth-Two and Depth-Three Threshold Circuits

2015-11-24 · Daniel M. Kane, Ryan Williams

In order to formally understand the power of neural computing, we first need to crack the frontier of threshold circuits with two and three layers, a regime that has been surprisingly intractable to analyze. We prove the…

LEMMA

Depth Separations in Neural Networks: Separating the Dimension from the Accuracy

2024-02-11 · Itay Safran, Daniel Reichman, Paul Valiant

We prove an exponential size separation between depth 2 and depth 3 neural networks (with real inputs), when approximating a $\mathcal{O}(1)$-Lipschitz target function to constant accuracy, with respect to a distribution…

Exponential Lower Bounds for Threshold Circuits of Sub-Linear Depth and Energy

2021-07-01 · Kei Uchizawa, Haruki Abe

In this paper, we investigate computational power of threshold circuits and other theoretical models of neural networks in terms of the following four complexity measures: size (the number of gates), depth, weight and en…