Repository navigation
Generator search results: reproduction error and generator structure - #58
Merged
Merged
Conversation
…d structure certified now also requires the returned generator to reproduce the source within the certification tolerance; structure reports state count, weights, functionality and the lifting residual. Co-authored-by: Cursor <cursoragent@cursor.com>
…LL known value Co-authored-by: Cursor <cursoragent@cursor.com>
Member
Author
|
Added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
For a dataset of minimal generators, each result needs to say how well its generator reproduces the source and what kind of generator it is.
GenerativeModelResultgains:reproduction_error: the returned generator's word-probability deviation from the source, from_reproduction_error(which since Generator verification: equations are necessary only; exact word-process check #56 includes the exact difference-automaton check). It was computed already but discarded.structure:n_states,weights(descending),functional(every causal-state pair maps to one generator state),lifting_residual(the largest of the two lifting-condition conditional mutual informations and the separation one, in bits) andlifted(residual at most1e-8; then the lift of the generator's channel generates as well).certifiednow also requiresreproduction_error <= 1e-6(the certification tolerance), so a closed bracket is never reported on an approximate generator. On survey v12 (43 cases, onmainat #56) certified uppers have exact errors around1e-13and coupled-search uppers around1e-8, so no certification changes. Both fields also appear in the reliability-summary stage.Test plan
1e-9, 2 states, functional and liftedeps = 0.1): the ε-machine seed is functional and lifted; the memory lift of the flag (the coupled minimal generator) is neither, with lifting residual 0.019 bits, as documentedcertifiedis false atreproduction_error = 1e-4ruff check,ruff format --check;ty checkhas no new diagnosticsMade with Cursor