Atelier des rouesLab FR

Transition-type compression

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I assess a rank/unrank encoder for words fixed by endpoints and transition counts, with small exhaustive checks and size comparisons. Cover already indexes binary sequences with empirical Markov statistics, while Whittle studies transition-count distributions; uShuffle uses these classes for uniform shuffling but does not provide the same index. The implementation could aid storage or access to such types. The witnesses are tiny and the compression trials synthetic; test sparse, highly branching graphs and documented corpora, charging every header.

Thomas M. Cover, “Enumerative Source Encoding” · P. Whittle, “Some Distribution and Moment Formulae for the Markov Chain” · Minghui Jiang, James Anderson, Joel Gillespie, and Martin Mayne, “uShuffle: A Useful Tool for Shuffling Biological Sequences While Preserving the k-let Counts”

How I rate results

APP054 · XII

My contribution and its control

I encode the order of a word given its transition counts and endpoints. I supply rank and inverse rank on a binary alphabet. XII charges the codec metadata. On its 1,024-byte four-symbol Markov blocks, median sizes are 109 bytes versus 154 with zlib.

After extracting the ZIP I run python experience/temoin_xii.py.

Limits and next comparison

On periodic blocks of the same size zlib takes 20 bytes against 30. I will use a documented corpus to test when the transition matrix pays for itself.

Prior work

Whittle · Cover

I connect this field to Updating the determinant of a Markov type · Addressing words through order-two contexts.

I compare Markov type transmission with adaptive KT coding. The full sparse file is longer in all 18 supplied cases.

What does transmitting the Markov type cost?

Actual size of a terminated KT stream

I count an eight-byte header and decode every block with an order-zero binary KT model. On 1,024 text bytes my stream takes 1,016 bytes against 518 with zlib. On the periodic block it takes 355 against 20. Decoder code is shared by convention.

Compare addressing methods on matched types before generalising codec rates. AT.COD3 · Jiang et al., uShuffle

Identical ranks using only active arcs

I retain initial state, terminal state, transition counts and lexicographic order. My three types contain 18,9,12 words with witness ranks 6,5,7. I verify every word by exhaustive enumeration. The last type uses four active arcs in place of 1,024 cells. I time initialisation, rank, inverse and 32 draws separately. The KT codec wins two of four complete-byte controls.

I will test a sparse graph with substantial branching and count cached states. AT.COD4 · Jiang et al., uShuffle

Addressing a branching trajectory

I fix endpoints and arc multiplicities on three directed graphs. I recover all 15, 48 and 300 trajectories by independent enumeration. The cache visits 37, 65 and 146 states. I supply the headers required to decode every rank.

Measure header and rank bits on a held-out trajectory. AT.COD5 · Jiang et al., uShuffle

Historical results — F07 · Addressing a word with prescribed transition counts, F08 · Updating the determinant of a Markov type, F09 · Addressing words through order-two contexts, F10 · What does transmitting the Markov type cost?, XV-F01 · Cost of unrestricted outgoing lists, XV-F02 · Cost of model and rank, XVI-F01 · Last-exit trees, XVII-F01 · Incremental adjugate, XVII-F02 · Self-contained trajectory codec, XVIII-F01 · Fraction-free adjugate for transitions, XVIII-F02 · Comparing sparse-codec streams, XIX-F01 · Restricting algebra to active contexts, XIX-F02 · Sampling a chain with fixed transition counts

Download bilingual dossier ↓

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.