Repository navigation
Add experimental multiscale spectral backbone discovery - #15
Merged
Merged
Conversation
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
Add an opt-in implementation of Raiola, Nicoletti & Busiello, Resolving the backbone of multiscale interactions through mutual information rates.
Discovery-to-layers integration
infer_multiplex(backbone=...)uses spectral neighbors as candidate source processes, then retains ordinary target-history/source-lag selection and TE/layer-specific tests. It does not force spectral links into significant parents or decompose spectral MIR into intrinsic/shared/synergistic flow.All-pair TDMI/shared-only screening and forced/Faes conditionals are preserved. Spectral evidence remains attached separately, and candidate-guided checkpoint namespaces identify data, settings, splits, source candidates and actual contexts. Default discovery and automatic presets are unchanged.
Validation
ruff check .,ruff format --check .,ty check, and Sphinx-W --keep-goingpassed.examples/multiscale_backbone.pyruns end to end on independent discovery/selection/evaluation recordings and retains shared-only child links.Limitations / review focus
This remains experimental and model-based. The fitted spectral-bootstrap tests do not establish universal finite-sample FDR control. Reconstruction assumptions include stationary linear-Gaussian dynamics, independent positive noises, full observation, and one directed coupling per undirected forest edge. Finite sampling can alter conditional zeros relative to continuous trajectories.
The study documents loss of recall when observations/windows undersample slow dynamics, missed XOR effects, and spurious structural edges under hidden drivers or correlated innovations. A forest-shaped output is not an assumption certificate. The small handoff example does not demonstrate a total speedup over unrestricted Gaussian inference after discovery cost is included. No independently validated per-rate confidence-interval coverage or general single-recording causal orientation is claimed.