Ladderpath: An efficient algorithm for revealing nested hierarchy in sequences
Ladderpath, rooted in Algorithmic Information Theory (AIT), uncovers nested and hierarchical structures in symbolic sequences through minimal compositional reconstruction. It approximates Kolmogorov complexity by identifying reusable subsequences that enable efficient reconstruction of complex sequences. The proposed algorithm improves upon earlier implementations by introducing key optimizations in substring enumeration and reuse filtering, allowing it to scale to sequence systems with tens or even hundreds of millions of characters. Ladderpath produces a standardized JSON format that encodes compositional dependencies and hierarchies, and supports a variety of downstream tasks, including compression, shared motif extraction, cross-sequence similarity analysis, and structural visualization. Its domain-agnostic design enables broad applicability across areas such as genomics, natural language, symbolic computation, and program analysis. Beyond providing a practical approximation of complexity, Ladderpath also offers structural insight into the modular grammar of sequences, pointing to a deeper connection between algorithmic complexity and compositional hierarchies observed in real-world data.
Authors
- Hu Zhu (ORCID: https://orcid.org/0000-0002-5528-8721)
- Xiao Xie
- Jing Wang
- Jingwen Zhang
- Fengyao Zhai
- Yu Liu
- Xiaodong Deng
- Yiping Wang
Institutions
- Sun Yat-sen University (CN)
- Xiamen University (CN)
- Beijing Normal University (CN)
- Xi'an Jiaotong University (CN)
Publication Details
- Journal
- Array
- Published
- 2026-01-09
- DOI
- https://doi.org/10.1016/j.array.2025.100663
- Primary Topic
- Computability, Logic, AI Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00