Tensor processing using low precision format
Abstract
Aspects of the present invention are directed to computer-implemented techniques for improving the training of artificial neural networks using a reduced precision (e.g., float16) data format. Embodiments of the present invention rescale tensor values prior to performing matrix operations (such as matrix multiplication or matrix addition) to prevent overflow and underflow. To preserve accuracy throughout the performance of the matrix operations, the scale factors are defined using a novel data format to represent tensors, wherein a matrix is represented by the tuple X, where X=(a, v[.]), wherein a is a float scale factor and v[.] are scaled values stored in the float16 format. The value of any element X[i] according to this data format would be equal to a*v[i].
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving training data for training a neural network; applying the training data to the neural network; accessing a first matrix, XI, and a second matrix, YI, wherein XI and YI include values represented in a reduced precision floating point format from a low threshold to a high threshold; determining, based at least on the values, one of an overflow or an underflow would result from a matrix computation using XI and YI; based at least in least on the determining one of the overflow or the underflow would result, determining, based at least on one or
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- ‘Deep Learning with Limited Numerical Precision’: Gupta, 2015, Proceedings of the 32nd International Conference on Machine Leaming.
- ‘Elements of artificial neural networks’: Mehrotra, MIT press, 1997 (Year: 1997).
- Ai-Jun, C., et al., “Digital Image Processing and Its MATLAB Implementation”, Harbin: Northeast Forestry University Press, pp. 1-5 (2008). (English Translation not available online).
- Cichocki, Andrzej. “Era of big data processing: a new approach via tensor networks and tensor decompositions.” arXiv preprint arXiv:1403.2048 (2014). (Year: 2014).
- Fourth Office Action received for Chinese Patent Application No. 201710451960.3, mailed on May 31, 2021, 12 pages.