Skip to reading
Macalinao StudioLEARNReading room

FIELD NOTES / COLLEGE

The cost of precision

Smaller numerical representations save space. The approximation needs to be measured.

About 4 minutes · reading supplement · Read the high-school path

Listen to this reading.

Local Kokoro Heart narration · college. Covers the essay, worked example, college extension, and practice explanations. Quiz choices and source URLs are not read aloud. The text below is the transcript.

Round, reconstruct, compare

This toy quantizer introduces +0.04 error. Clipping is a separate source of error.

  1. Original: 0.26
  2. Scale: 0.1
  3. Code: 3
  4. Reconstructed: 0.30

Original: 0.26

Understand

A ruler with fewer marks

Imagine measuring a length with a ruler marked every millimeter and then recording it only to the nearest centimeter. The object has not changed, but your representation has become less precise. Quantization makes an analogous trade: it maps numerical values onto a more limited set of representable values. The analogy has limits because neural computations combine many values, and their errors can interact. Still, it explains why a smaller representation can save memory without being numerically identical to the original.

Take a toy scale of 0.1. A weight of 0.26 is rounded to the integer code 3 and reconstructed as 0.3. The reconstruction error is 0.04. If the representable range ends at 0.3, a value of 0.9 may be clipped to that boundary. Its error is much larger. Rounding and clipping are different problems. Choosing a wider range can reduce clipping while leaving fewer representable values near zero; choosing a narrower range can improve local resolution but lose outliers.

Count the storage.

Assume exactly 122 billion values, each represented by four bits.

61 GB
Trace the calculation

122 billion × 4 ÷ 8 = 61 billion bytes. This is decimal storage for the values alone; scales, higher-precision tensors and runtime state add more.

Follow

One number cannot describe every tensor

A model contains many kinds of tensors, and a quantization method may treat them differently. Some can remain at higher precision while others use fewer bits. Groups of values may share scales or other metadata needed to reconstruct approximate values. That metadata consumes space too. Therefore, multiplying the parameter count by a nominal bit width provides an estimate, not a promise of an exact file size.

For a deliberately simplified example, 122 billion values at exactly four bits each occupy 488 billion bits. Dividing by eight gives 61 billion bytes, or 61 decimal gigabytes. This excludes scales, other metadata, unquantized tensors, and everything required while the model runs. Decimal gigabytes also differ from binary gibibytes. The arithmetic is useful because it makes assumptions explicit; it should not be presented as the measured size or memory requirement of a particular Ornith artifact.

Distinguish

The file and the computation have different jobs

A file format packages information. A numerical format describes how values are represented. A runtime must understand both the architecture and the stored representation, then provide operations that execute on the available hardware. A smaller download does not automatically produce a faster answer. Unpacking values, transferring data, or using a slower fallback operation can outweigh a theoretical arithmetic saving.

Nor is runtime memory limited to the weights. The system needs temporary activations, attention state, workspaces, and output buffers. Multiple simultaneous requests can increase those requirements. A model that loads successfully can still run out of memory when given a longer prompt. This is why a useful comparison reports context length and concurrency alongside the weight format. “It fits” should mean that the intended workload fits, not merely that startup reaches a ready message.

Connect

Evaluate the approximation where it matters

Small weight errors do not translate into an identical amount of answer error. Some computations tolerate approximation better than others. A rounding change can alter a token score slightly; when candidate scores are close, a different token can be selected, and the later continuation can diverge. Conversely, different wording does not necessarily mean worse quality. Evaluation must examine whether the answer still satisfies the task.

Use the Workbench to compare original and reconstructed numbers before discussing whole-model quality. Then consider a task suite: factual questions, calculations, structured output, and the actual applications you care about. Hold the prompts and evaluation method stable. Report memory savings separately from measured quality and speed. QLoRA adds another distinction: it trains adapters around a quantized base; it is not simply a new label for running a four-bit model. Keeping representation, training, and execution separate makes technical comparisons much easier to understand.

College extension · make the assumptions explicit

For symmetric uniform quantization, a simplified code is q = clip(round(w/s), qmin, qmax), with reconstruction ŵ = sq. Let ΔW = Ŵ − W. For a fixed input x, the linear output error is Δy = ΔW x; its norm is bounded by ‖ΔW‖‖x‖ for compatible norms. This is a local statement, not an end-to-end language-quality bound. Nonlinearities, attention normalization, routing, and autoregressive decisions can amplify or suppress effects. Groupwise scales change metadata cost and the distribution of reconstruction errors.

Reason through the practice.

Use these short explanations alongside the main reading. Each coach question links to the relevant explanation.

Representation

Quantization represents values with a more limited code set. Storage can fall while approximation error is introduced.

Rounding

The integer code is 3 and reconstruction is 3 × 0.1 = 0.30. The reconstructed value differs from 0.26.

Error

Signed reconstruction error is 0.30 − 0.26 = +0.04. Its absolute size is also 0.04 in this example.

Bytes

A byte contains eight bits. Divide total bits by eight before comparing with byte-based storage capacity.

Storage

122 billion four-bit values require 61 billion bytes, or 61 decimal GB, before scales, other tensors and runtime state.

Overhead

Values-only arithmetic excludes representation metadata and runtime state. Some tensors can also retain higher precision.

Quality

Numerical approximation can affect model behavior. Loading successfully does not demonstrate preserved quality on the intended tasks.

Runtime

Runtime kernels, hardware support, conversion costs and workload determine speed. File size alone is not a latency benchmark.

Code

Divide by the scale before rounding: 0.26 / 0.1 = 2.6, which rounds to 3.

Clipping

Clipping restricts the code to its allowed range. Rounding and range saturation are distinct sources of reconstruction error.

Reconstruction

Reconstruction multiplies the scale by the stored code. Here the result is 0.2, regardless of the original value that was clipped.

Linear Error

Holding the input and bias fixed gives Δy = ΔW x. The input matters, so weight error alone does not determine output error.

Norm

The norm inequality bounds a local linear operation. It is not an end-to-end guarantee through nonlinear layers and decoding.

Groups

Groupwise quantization can adapt scales to local values, but additional scales cost storage. Reconstruction quality depends on the values and method.

Propagation

Nonlinear operations, routing and autoregressive decisions can amplify or suppress local differences. A small local error is not a guarantee of identical text.

Make the idea your own.

College · 15 questions per practice set, drawn from 30 authored questions. Each set covers every concept once. Read the supporting passages whenever you need them.

Progress stays in this browser on this site. It is not sent to a server or shared between devices. High school and college have separate records. Clearing browser data removes it.

15 questions per set. Enable JavaScript for rotating practice; the complete bank is listed below without it.

Question 1 / 30What changes in ordinary weight quantization?
Read the supporting passage: Representation →

Question 2 / 30Why can a quantized checkpoint occupy fewer bytes?
Read the supporting passage: Representation →

Question 3 / 30Round 0.26 to the nearest multiple of 0.1.
Read the supporting passage: Rounding →

Question 4 / 30With scale 0.1, code 3 reconstructs which value?
Read the supporting passage: Rounding →

Question 5 / 30What is reconstructed minus original for 0.30 and 0.26?
Read the supporting passage: Error →

Question 6 / 30A toy quantizer maps 0.26 to 0.30. What signed error did it introduce?
Read the supporting passage: Error →

Question 7 / 30How many bits make one byte?
Read the supporting passage: Bytes →

Question 8 / 30To convert a count of stored bits to bytes, what do you divide by?
Read the supporting passage: Bytes →

Question 9 / 30How many decimal GB hold exactly 122 billion four-bit values, excluding overhead?
Read the supporting passage: Storage →

Question 10 / 30Compute 122 billion × 4 ÷ 8 bytes, then convert to decimal gigabytes.
Read the supporting passage: Storage →

Question 11 / 30Why can actual model memory exceed a values-only estimate?
Read the supporting passage: Overhead →

Question 12 / 30A four-bit estimate fits the weight codes. What else may need storage?
Read the supporting passage: Overhead →

Question 13 / 30Does using fewer bits guarantee unchanged output quality?
Read the supporting passage: Quality →

Question 14 / 30A compressed checkpoint loads successfully. What still needs testing?
Read the supporting passage: Quality →

Question 15 / 30Does smaller storage guarantee faster generation on every device?
Read the supporting passage: Runtime →

Question 16 / 30A quantized model is smaller but runs slowly. Which explanation is plausible?
Read the supporting passage: Runtime →

Question 17 / 30For q = round(w/s), w = 0.26 and s = 0.1, what is q before clipping?
Read the supporting passage: Code →

Question 18 / 30Which integer code is nearest to 0.26 / 0.1?
Read the supporting passage: Code →

Question 19 / 30With allowed codes −2 through 2, what is clip(round(0.36/0.1))?
Read the supporting passage: Clipping →

Question 20 / 30A rounded code is 4 but the maximum allowed code is 2. What is stored?
Read the supporting passage: Clipping →

Question 21 / 30With scale 0.1 and clipped code 2, what is reconstructed?
Read the supporting passage: Reconstruction →

Question 22 / 30What is s times q for s = 0.1 and q = 2?
Read the supporting passage: Reconstruction →

Question 23 / 30For a fixed x, what is the linear output error caused by ΔW?
Read the supporting passage: Linear Error →

Question 24 / 30If the bias is unchanged, subtract Wx+b from (W+ΔW)x+b.
Read the supporting passage: Linear Error →

Question 25 / 30What does ‖Δy‖ ≤ ‖ΔW‖‖x‖ describe here?
Read the supporting passage: Norm →

Question 26 / 30Which interpretation fits the compatible-norm bound for one linear layer?
Read the supporting passage: Norm →

Question 27 / 30Why do more quantization groups affect storage?
Read the supporting passage: Groups →

Question 28 / 30Smaller groups each need their own scale. What trade-off appears?
Read the supporting passage: Groups →

Question 29 / 30Why can a small local approximation affect a later token choice?
Read the supporting passage: Propagation →

Question 30 / 30A small score change crosses a decoding decision boundary. What can happen?
Read the supporting passage: Propagation →

These checks cover the selected answers, not your overall understanding. A correct answer suggests a review tomorrow; a missed answer suggests reviewing its passage now. This simple reminder is not a validated learning schedule.

Sources and further investigation

Source review: October 28, 2026. Model-release claims are attributed to their publishers.