Atelier des rouesLab FR

Sampling trajectories with fixed transition counts

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I see a sound finite sampler construction, but its core is already covered by Whittle’s transition-count formula and Cover’s lexicographic indexing of empirical Markov classes; Jiang et al. also provide uniform k-let-preserving shuffling for a practical use. The 58-type check and the short binary coding counts are useful teaching and regression artifacts. Their compression comparison still depends on a shared dictionary and omits its construction and decoder cost, so I would not infer a coding gain in use.

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

How I rate results

APP058 · XII

My contribution and its control

I draw a uniform rank among trajectories with the same Markov type. Counting Euler trails in the transition multigraph gives each continuation’s weight. The kit checks the 58 types of all 256 eight-symbol binary words.

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

Limits and next comparison

Sampling conditions on the endpoints and transition totals. Applying it to observed trajectories requires specifying these inputs and measuring determinant updates.

Prior work

Whittle · Cover

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

Reversible rank still samples a specified type. The KT comparison measures the price of transmitting the type.

What does transmitting the Markov type cost?

A binary type rank and its header

I fix twelve binary symbols starting with zero. A transition-count recurrence and enumeration of all 2,048 words give 67 types. With a nine-bit count-composition header and a fixed-width rank per type only 16 words beat the direct eleven bits. The header convention determines the result.

If both parties already share the dictionary of 67 feasible types, seven bits suffice for the type. I then find 68 of 2,048 words strictly shorter, up from 16 under the first format. Constructing or communicating that dictionary still costs resources.

My next test is to encode only feasible types and measure decoder cost. AT.COD1 · Whittle, Some Distribution and Moment Formulae for the Markov Chain

Counting the dictionary and intermediate integers

I serialise 67 binary types into 134 count bytes, two bytes per type. On a weighted tridiagonal minor of size 32, a recurrence verifies the 107-bit determinant. Fraction-free elimination uses a 208-bit numerator. On a held-out 1,024-byte excerpt my order-zero binary KT model costs an ideal 8,062.029 bits and zlib writes 518 bytes. I distinguish ideal likelihood, bytes written and the as-yet unmeasured decoder cost.

I plan to write and decode a terminated KT stream, then count data, model and header bytes on the same blocks. AT.COD2 · Bareiss, Sylvester’s identity and multistep integer-preserving Gaussian elimination

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, XVI-F01 · Last-exit trees, XVII-F01 · Incremental adjugate, XVIII-F01 · Fraction-free adjugate for transitions, 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.