STACKMODERNE
Efficiency and substrate affinity / GUIDE

Model quantization: measure the cost of compression

Choose quantization by measuring memory, throughput, latency, fidelity, robustness and runtime compatibility.

ENGINEERING THESIS

Quantization is an intervention on the numerical substrate and must be evaluated like any other transformation.

COMMON FAILURE

Perplexity or a handful of prompts cannot reveal every loss on strict formats and edge cases.

DECISION

Each quantized derivative has its own identity and does not automatically inherit source-model qualification.

01 / REALIZATION

What the architecture must make explicit

Cost is reduced at realization level: avoiding calls, shortening context, quantizing, routing or rematerializing a responsibility can matter more than isolated model optimization.

01
Model and quantization
02
Context, cache and retrieval
03
Routing and activation
04
Rematerialized deterministic functions
02 / METHOD

Move from a keyword to an inspectable engineering decision

01

Profile

Measure actual system costs, including retries, transfers, memory and verification.

02

Attribute

Determine which responsibilities still require a powerful model.

03

Transform

Test reduction, quantization, specialization, caching, routing or substitution.

04

Compare

Keep the same capability contract and publish exact hardware conditions.

03 / EVIDENCE GATES

A claim is only as strong as its binding

The gate must evaluate the exact output produced by the exact realization. Integrity, scientific validity and authority are related, but never interchangeable.

G1
Capability preserved
G2
p50/p95/p99 latency
G3
Memory and concurrency
G4
Cost per admissible result
FAQ

Questions that change the design

What does model quantization: measure the cost of compression require?

Quantization is an intervention on the numerical substrate and must be evaluated like any other transformation. Cost is reduced at realization level: avoiding calls, shortening context, quantizing, routing or rematerializing a responsibility can matter more than isolated model optimization.

Which evidence should be retained?

At minimum: exact realization identity, inputs and outputs, protocol version, measurements, failure cases and the decision rule. Each quantized derivative has its own identity and does not automatically inherit source-model qualification.

Does AMF prescribe a particular model?

No. AMF treats the model, runtime, data, tools and deterministic components as candidate materials. Their retention depends on measured contribution and declared constraints.