6.5.16 · D1Advanced & Emerging Architectures

Foundations — Approximate computing techniques

1,673 words8 min readBack to topic

This page assumes you have seen nothing. Before you can read the parent note, you need a small pile of tools. We build each one from a picture, say why the topic needs it, and only then use its symbol.


1. What is a "bit" and a "number of bits" ?

Picture a row of light switches. With switches, each independently up or down, you can make different patterns — so an -bit box can hold distinct numbers.

Figure — Approximate computing techniques

More on how these bit-patterns become real number formats: Precision and Number Formats (FP32, FP16, INT8).


2. Most significant vs least significant bits (MSB / LSB)

Not all switches matter equally. In the number (which is in everyday counting), the left is worth , the right is worth .

Figure — Approximate computing techniques

3. The symbols , , , and

The parent's aggregation proof uses four Greek-flavoured symbols. Let us earn each.

Figure — Approximate computing techniques

4. Summation — adding a whole list at once

Figure — Approximate computing techniques

Linked idea: this same "errors shrink when aggregated" is why Neural Network Quantization survives INT8.


5. Proportionality and the power symbol

Full derivation of this equation: Dynamic Power P = alpha C V^2 f. The area/energy version ( for a multiplier) leans on Ripple-Carry vs Array Multipliers.


6. Quality metrics: PSNR, accuracy, relative error

Approximation is only allowed if we can measure how bad it got. That measuring stick is the quality metric.


7. The limit arrow


How it all feeds the topic

Bits and bit-width n

MSB vs LSB

Number formats FP32 FP16 INT8

Where to place error safely

Error epsilon mean mu spread sigma

Expectation E and variance

Summation over N errors

Root-N cancellation law

Proportional to and V squared

Power law P = alpha C V^2 f

Quality metrics PSNR accuracy

Bounded error guarantee

Approximate computing

Related destinations once these foundations click: DRAM Refresh and Memory Reliability, Error-Correcting Codes, Dark Silicon and Energy-Efficient Architectures, and the parent 6.5.16 Approximate computing techniques (Hinglish).


Equipment checklist

Cover the right side. If you can answer each, you are ready for the parent note.

What does the symbol (bit-width) control, physically?
How many switch-wires build a number — the master dial for size, energy, and precision of the circuit.
Which bits are safe to corrupt and which are forbidden?
LSBs (small value) are safe to approximate; MSBs and exponents (big value / magnitude) are forbidden.
What does actually claim?
The error averages to zero across many operations — not that any single error is zero.
What does measure?
The typical spread (scatter) of the errors around their average.
Why does the total of random errors grow like , not ?
Random-direction errors partly cancel, like a random walk, so the crowd drifts only about steps.
What does mean?
scales in lockstep with , ignoring the fixed constant multiplier.
Why is a "jackpot"?
Power depends on voltage squared, so a small voltage cut gives an outsized power saving.
What is a quality metric for, in one word?
To make "good enough" a measurable, bounded, provable threshold.
What does describe?
The destination of a trend as grows endlessly — heads toward .