PAQ
Series of data compression archivers

PAQ is a series of lossless data compression archivers that have gone through collaborative development to top rankings on several benchmarks measuring compression ratio (although at the expense of speed and memory usage). Specialized versions of PAQ have won the Hutter Prize and the Calgary Challenge. PAQ is free software distributed under the GNU General Public License.
Algorithm
PAQ uses a context mixing algorithm. Context mixing is related to prediction by partial matching (PPM) in that the compressor is divided into a predictor and an arithmetic coder, but differs in that the next-symbol prediction is computed using a weighted combination of probability estimates from a large number of models conditioned on different contexts. Unlike PPM, a context doesn't need to be contiguous. Most PAQ versions collect next-symbol statistics for the following contexts:
n-grams; the context is the last n bytes before the predicted symbol (as in PPM);
whole-word n-grams, ignoring case and nonalphabetic characters (useful in text files);
"sparse" contexts, for example, the second and fourth bytes preceding the predicted symbol (useful in some binary formats);
"analog" contexts, consisting of the high-order bits of previous 8- or 16-bit words (useful for multimedia files);
two-dimensional contexts (useful for images, tables, and spreadsheets); the row length is determined by finding the stride length of repeating byte patterns;
specialized models, such as x86 executables, BMP, TIFF, or JPEG images; these models are active only when the particular file type is detected.
All PAQ versions predict and compress one bit at a time, but differ in the details of the models and how the predictions are combined and postprocessed. Once the next-bit probability is determined, it is encoded by arithmetic coding. There are three methods for combining predictions, depending on the version:
In PAQ1 through PAQ3, each prediction is represented as a pair of bit counts
(
n
0
,
n
1
)
{\displaystyle (n_{0},n_{1})}
.
Begin with the source’s own compact description: “PAQ” is series of data compression archivers. The dossier treats that line as a proposition to test through Series, data and compression, not as a finished interpretation.
Why this record matters
The phrase “series of data compression archivers” supplies a clear boundary for inquiry. It also exposes the unanswered questions: who defined that boundary, when it became stable and which sources sit outside it.
Named sources, stable identifiers and responsible institutions provide the strongest route from overview to verifiable evidence. The source revision retrieved here is dated Apr 17, 2026. The linked authority identifier is Q1465895. 1 of 1 selected statements include explicit references; 0 carry qualifiers and 0 use preferred rank.
A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The source lead contains qualifying language; that uncertainty should survive quotation, summary and reuse. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “PAQ”, its source revision and the description used here.
- Expand the search: follow PAQ primary sources, PAQ archive and Series research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “PAQ”?
- Which cited source is closest to the event, object or claim?
- What terminology or title could unlock a more precise catalogue search?
Search terms from this dossier
This entry incorporates text from “PAQ” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.