# Research

We study quantization and selective computation for frontline environments with limited AI compute. Our research examines memory use, processing requirements, inference time, and model quality.

[Quantization](https://lamedanalytics.com/#quantization)[Sparse computation](https://lamedanalytics.com/#sparsity)[Device constraints](https://lamedanalytics.com/#constraints)

## Areas of research

A smaller model file is one part of the problem. We also need to understand the work performed during inference and the resources needed to run it.

### Quantization

Model weights are stored as numbers. Quantization represents those numbers with fewer bits; some approaches also reduce the precision of the intermediate values computed during inference. This can reduce the space needed to store and run a model.

The central question is how much precision a task actually needs. We compare precision settings using the same task and evaluation data, then examine both the resource savings and the changes in outputs.

#### Measurements

Memory footprint, task quality, and runtime behavior. We also consider whether the chosen numerical format is supported efficiently by the intended hardware and software.

#### Practical considerations

A reduction in model size does not establish a speed improvement. Lower-precision computation needs suitable runtime support, and quality can change unevenly across inputs.

[How we compare precision →](https://lamedanalytics.com/process.html#precision)

### Sparse and selective computation

We study architectures that activate only some connections or components for a given input. This draws on ideas from biological systems, where activity is often sparse.

Sparse connections and input-dependent activity offer different ways to reduce work. We are interested in when these ideas preserve useful information and when the cost of selecting or scheduling that work outweighs the savings.

#### Measurements

Which components remain active, how activity changes across inputs, and how those choices affect task quality and latency. A design needs to be assessed as an executable model, rather than only as a count of operations.

#### Practical considerations

Fewer theoretical operations can still lead to irregular memory access or additional runtime overhead. The implementation and target device determine whether sparsity is useful.

[What we measure →](https://lamedanalytics.com/evaluation.html)

### Models within a device budget

On a frontline device, a model shares limited memory and processing capacity with its runtime and input processing. We assess the resources needed to run the model, including working memory, rather than relying on its stored file size.

We frame the research around limits that can be measured: available memory, acceptable response time, sustained workload, and power where reliable measurement is possible. Those limits help determine which design changes are worth investigating.

#### Measurements

The full inference path, from input preparation to output. We distinguish the cost of loading a model from the cost of running it repeatedly, and report the conditions of each comparison.

[Read the evaluation criteria →](https://lamedanalytics.com/evaluation.html#metrics)

## Current work

Our current focus is comparing numerical precision and sparse computation within the resource limits of frontline devices. Contact us to discuss a research question or an evaluation setup.

[Discuss a research question →](https://lamedanalytics.com/contact.html)

Next

[How we develop models](https://lamedanalytics.com/process.html)[→](https://lamedanalytics.com/process.html)
