Technology

Computable Compression: Work with Data in Compact Form

LuMATH researches whether data can be represented compactly and still support the computations an application needs. The idea is to treat compression as part of the computation itself, not only as a way to make a file smaller.

From smaller files to useful data

Compression reduces the space needed to represent information. In a conventional workflow, software often decompresses the data before working with its contents. That makes sense for many formats and tasks, but it can add work and move more information than a particular computation needs.

Computable compression asks a different question: can a representation be designed so that some useful operations can be performed while the information is still compact? The representation and the computation are considered together. The result depends on the data structure, the operation, the required answer, and the allowed level of error.

The distinction matters because compressed size alone says little about the cost of using the data. A compact file may require substantial decoding and temporary memory. A slightly larger representation may allow faster filtering or aggregation. The objective is to understand the complete path from encoding to a correct result.

A simple example of computation on encoded data

Run-length encoding represents a sequence of repeated values as a value and a count. Instead of listing the number 4 one hundred times, a representation could store “4 repeated 100 times.” If the requested operation is to sum that run, the total is 400; the program does not need to materialize one hundred separate values first.

That example uses an established, simple representation to explain the idea. It is not a LuMATH method or performance result. The same representation may be poor for another task, such as finding every position at which a value changes. Whether direct computation helps depends on the exact operation and output contract.

What LuMATH is developing in this area

The development target is to make the data format and the computation work together. In a conventional pipeline, software may decode a full dataset, allocate a working copy, run a query, and then discard most of what it expanded. Computable compression asks whether the representation can keep the structure the query needs, so software can produce the requested answer without first rebuilding every original value.

That means developing both sides of the design: a way to encode the information and defined operations that act on that encoded form. For example, a future method for a numeric column would have to specify which values it accepts, how records are grouped, which operations can run directly, how updates work, and how the returned answer is reconstructed. A compact file that cannot answer a needed query is not enough; a direct query that changes the answer is not enough either.

This is the substance of the research direction, not a claim that LuMATH has already published such a format. Public WebRepo material does not identify a public codec, supported operation set, or approved implementation revision. The page therefore describes what the technology is being developed to do without assigning a made-up algorithm or result to it.

The whole path a useful representation must cover

  1. Encode: transform the original values into the compact representation, including its indexes and metadata.
  2. Operate: perform only the requested query or calculation on that representation where its structure permits.
  3. Return: produce an answer in the exact form the application requires, without silently omitting rows or changing precision.
  4. Update: account for new, changed, or deleted values and the cost of keeping the representation usable.

This four-part path explains why this work is different from “make the file smaller.” It treats representation, query, result, and ongoing data changes as one computing problem.

How this relates to formats used today

Many data systems already combine compression with structures that help queries. Columnar formats such as Parquet can store columns and pages with different encodings. Query engines can sometimes project only the required columns or use metadata to skip irrelevant data. The Apache Arrow Parquet reader guide, dataset documentation, and Parquet encoding specification describe parts of these established designs.

Computable compression is a broader research question about the relationship between representation and computation. It asks whether useful mathematical structure can be preserved so that a target operation can work on encoded information with less decoding, movement, or intermediate storage. It does not assume that every existing format must decode everything, or that every query can be accelerated in compressed form.

Where the idea may be useful

The potential fit is strongest when a system repeatedly handles large amounts of structured information and performs a known set of operations on it. Examples to investigate include:

  • Analytics: filter or aggregate selected columns without loading unrelated fields.
  • Time-series workloads: process long runs, repeated values, or structured measurements while accounting for updates and query patterns.
  • AI data pipelines: move and store large intermediate representations, where precision, decoding, and model behavior must remain acceptable.
  • Memory-constrained systems: reduce the working set when data movement or capacity limits dominate the workload.

These are application areas where the general problem appears; they are not claims of LuMATH integrations or measured benefits. Compression can also add encoding latency, make updates expensive, complicate random access, or change numerical behavior. An application team must decide which tradeoffs matter.

What a LuMATH method would need to specify

For a specific method, the technical description would define the information being encoded, the supported operations, the expected output, and whether the result must be exact or may use a declared approximation bound. It would also identify how encoding, updates, querying, decoding, and output construction fit together.

The central comparison is against a credible conventional path using the same logical data and task. Measure the original and encoded sizes, encoding and update costs, query time, memory use, and the cost of materializing the answer. Test representative and difficult input patterns, not just the data that compresses most easily. Correctness checks must cover the promised exactness or tolerance.

How it fits LuMATH’s computing work

Computable compression addresses the information representation: how much information must be stored or moved, and which operations the encoded form supports. Computing-efficiency research addresses the work needed to produce an answer. Expanded mathematics asks how a task and its operations can be expressed. These are connected parts of LuMATH’s software and mathematics work; a particular implementation may involve one or more of them, but the public site does not claim that they already form a released product.

Read the technical overview for the measurement and correctness requirements. For a worked explanation of existing formats and query behavior, see querying compressed data and compression fundamentals.