Concept/Computing and Information/No. 0181

Compression

Compression is the process of representing information in fewer bits or symbols by using patterns or allowing some loss. In information theory, Claude Shannon linked its limits to entropy. Lossless methods preserve all the data; lossy methods discard detail according to a chosen rule.

Also called Data Compression

a concept: name it

01You've seen this when…

  1. in life

    You send a smaller version of a family photo. It looks fine on your phone, but the faces blur when someone prints it.

  2. at work

    A project report becomes a green status icon. Your manager sees progress; the dependency that could delay delivery disappears from view.

  3. out in the world

    A city’s annual housing report becomes a headline about rising rents. Differences between neighborhoods and apartment sizes vanish into one percentage.

02The idea

A compact representation saves space by taking advantage of something the recipient already knows, something that repeats, or detail the sender agrees to lose.

A run of 1,000 identical letters can be represented by a count and the letter, provided the reader knows the convention. A photograph can use fewer bits by merging color differences that viewers barely notice. Both shrink the representation, but they offer different promises about recovery.

Lossless compression allows exact reconstruction of the original data. It exploits regularities: repeated strings, predictable sequences, or uneven frequencies. Common events can receive shorter codes, while rarer events receive longer ones. The decoder supplies the rules needed to recover the original.

Lossy compression allows several originals to become the same compressed representation. Once two distinct color values have been merged, the compressed file alone cannot reveal which was originally present. The method chooses which differences to preserve using a measure of acceptable error.

This distinction travels into everyday communication as an analogy. A shared acronym can replace a repeated explanation. A summary can remove examples, qualifications, or whole categories of information. The practical question is what the recipient can reconstruct—and whether that is enough for the task.

03Why it matters

Compression makes photographs easier to transmit, backups cheaper to store, and reports faster to scan. At each scale, a smaller representation lets more information pass through a limited channel.

The saving has a price. Computers spend processing time encoding and decoding. People spend effort unpacking abbreviations and remembering the context a summary assumes. A three-letter label can save a familiar team time while forcing a newcomer to hunt through documentation.

Lossy compression also embeds a judgment about importance. A small visual error may be acceptable in a holiday photograph and consequential in an image used for diagnosis. An average can describe a stable process while hiding the brief excursion that triggers a safety review.

For communication, account for the recipient’s cognitive load as well as the message’s length. For data, evaluate the information retained against the decisions it must support.

04A worked example

Imagine a cold-storage warehouse that records a temperature every minute. Its local policy requires investigation whenever a recorded reading exceeds 8°C. To reduce storage and simplify the dashboard, the team keeps only each hour’s average.

During one hour, 59 readings are 4°C and one is 18°C. The dashboard displays an average of 4.2°C.

What it looks like The hour appears comfortably within the operating range. The database is smaller, and the dashboard is easier to read.

What’s actually going on The average has discarded the variation needed to apply the warehouse’s policy. Many different sequences produce the same mean, so the original readings cannot be reconstructed. Even an unrounded average would lose the spike’s timing and height. The 18°C reading warrants investigation; by itself, it does not establish spoilage or even confirm that the sensor worked correctly.

The repeated 4°C readings also offer an opportunity for lossless compression. A suitable format could record runs of repeated values and each change, while retaining the measurement precision and timing needed for reconstruction.

What would have helped Keeping the original trace through the review period, using lossless storage where practical, and displaying the maximum reading and its time alongside the mean. Those additions preserve the evidence needed for the stated decision while keeping the main dashboard compact.

05Where people trip up

  • The decoder has a cost. A compact representation may rely on a dictionary, a file format, software, or shared knowledge. Include those requirements when judging the saving. A bespoke abbreviation scheme used once may take longer to explain than the text it replaces.
  • Average error can conceal consequential errors. A method can score well on its chosen fidelity measure while damaging an unusual feature. Evaluate examples that matter to the task, including rare events and boundary cases. This is related to the problem of choosing a proxy objective.
  • A summary can erase the reasons behind disagreement. Reducing a meeting to one agreed sentence can hide conflicting assumptions. Preserve conditions, unresolved questions, and the evidence that would change the conclusion. Those details often explain when the summary stops being dependable.
  • Repeated lossy encoding can accumulate damage. Re-encoding a JPEG after edits can introduce another round of loss. Copying an unchanged file preserves its contents. Keep a high-quality source when further editing is likely; expanding a degraded version cannot reliably recover the discarded detail.
  • Some inputs offer little to exploit. Already compressed files often shrink little and may grow once headers are added. No lossless method can make every possible file shorter: there are fewer short bit strings available to represent all the longer ones. Patterns, source probabilities, and decoding conventions determine where savings are possible.

06Where it doesn’t settle what matters

Compression theory can establish precise limits once the source, coding rules, and acceptable error are specified. A human summary rarely comes with those specifications. Its adequacy depends on the audience and the use they will make of it.

Abstraction is closely related: it chooses which features a representation includes. Compression concerns how compactly information is represented and what remains recoverable. A diagram can do both. Keeping that distinction visible helps prevent a concise representation from acquiring more authority than its retained detail supports.

07Roots

At Bell Telephone Laboratories in the 1940s, Claude Shannon studied a practical engineering problem: how much information could a communication system carry? His 1948 paper pictured a message traveling from a source through a transmitter and channel to a receiver. Noise entered through a separate arrow.

Compact codes already existed. Morse code, for example, gave frequently used letters short patterns. Shannon supplied a general mathematical framework for understanding the limits behind such savings. The probabilities of possible messages mattered: predictable information required fewer bits to describe, on average.

His concept of information entropy quantified uncertainty. For a source under the theory’s assumptions, its entropy rate sets a lower bound on the average bits per symbol required for lossless recovery; suitable coding over long blocks can approach that limit.

David Huffman’s 1952 paper provided a way to construct optimal prefix codes for symbols with known probabilities. Later work developed the corresponding theory for allowing a specified amount of distortion. Together, these ideas turned compact representation into an engineering discipline: define the source, specify what recovery must preserve, and calculate the space needed.

08How solid is this?

ContestedMixedUsefulEstablished

The limits of lossless compression and the trade-offs in lossy compression have rigorous mathematical foundations and extensive engineering applications. Applying compression to reports and human communication is an analogy; usefulness depends on the audience, task, and details retained.

09Connections

part ofpart ofCompressionMap vs.TerritoryAbstractionChunkingProxy ObjectiveCognitiveLoad TheoryMinimumDescription LengthInformationEntropy

10Origin and sources

Compact codes predate information theory. Claude Shannon’s 1948 work formalized limits on lossless representation; David Huffman introduced his influential coding method in 1952.

  1. [1]Shannon, C. E. (1948). A Mathematical Theory of Communication. Bell System Technical Journal, 27, 379–423, 623–656.
  2. [2]Huffman, D. A. (1952). A Method for the Construction of Minimum-Redundancy Codes. Proceedings of the IRE, 40(9), 1098–1101.
  3. [3]Cover, T. M., & Thomas, J. A. (2006). Elements of Information Theory (2nd ed.). Wiley-Interscience.

Updated 2026-10-05