SiBBlInGS: Similarity-driven Building-Block Inference using Graphs across States
Noga Mudrik, Gal Mishne, Adam S. Charles
TL;DR
SiBBlInGS tackles the challenge of learning interpretable, sparse Building Blocks (BBs) from multi-state time-series data by jointly inferring BB compositions and per-trial temporal activity while explicitly modeling cross-state variability. It introduces channel graphs $\bm{H}^d$ and a state graph $\bm{P}$ to enforce intra- and inter-state regularities, and supports varying trial lengths and missing data through a flexible dictionary-learning objective with cross-state similarity controlled by $\bm{\nu}$. The method demonstrates accurate BB recovery and meaningful temporal traces on synthetic data and real-world datasets (Google Trends, neural recordings, epilepsy EEG), outperforming a suite of baselines and showing robustness to noise and incomplete data. Together, these advances enable probing state-specific versus background ensembles and their evolution across states, with broad applicability to complex scientific time-series. The work provides open-source code for reproducibility and highlights avenues for extending the framework to Poisson data, nonlinear dynamics, missing channels, and directional BB interactions.
Abstract
Time series data across scientific domains are often collected under distinct states (e.g., tasks), wherein latent processes (e.g., biological factors) create complex inter- and intra-state variability. A key approach to capture this complexity is to uncover fundamental interpretable units within the data, Building Blocks (BBs), which modulate their activity and adjust their structure across observations. Existing methods for identifying BBs in multi-way data often overlook inter- vs. intra-state variability, produce uninterpretable components, or do not align with properties of real-world data, such as missing samples and sessions of different duration. Here, we present a framework for Similarity-driven Building Block Inference using Graphs across States (SiBBlInGS). SiBBlInGS offers a graph-based dictionary learning approach for discovering sparse BBs along with their temporal traces, based on co-activity patterns and inter- vs. intra-state relationships. Moreover, SiBBlInGS captures per-trial temporal variability and controlled cross-state structural BB adaptations, identifies state-specific vs. state-invariant components, and accommodates variability in the number and duration of observed sessions across states. We demonstrate SiBBlInGS's ability to reveal insights into complex phenomena as well as its robustness to noise and missing samples through several synthetic and real-world examples, including web search and neural data.
