Skip to content
Open access

Breaking the Tree: Flexible Learned Indexing With Shared-Node Topology

2026 · IEEE Access · Vol 14, pp. 164288-164299 · 0 citations · 11 references

Abstract

Traditional indexing structures do not account for the distribution of data, which limits their scalability and lookup efficiency in large-scale or highly skewed datasets. To address this limitation, learned index structures have been proposed. These approaches use machine learning models to approximate the key distribution and predict key positions, offering the potential to improve both search performance and memory efficiency. However, because they are trained on static datasets, learned indexes often require frequent model retraining under dynamic workloads, leading to significant overhead. ALEX mitigates this issue by introducing a gapped array structure and partial model retraining to handle insertions and deletions. Nonetheless, its strict tree-based model hierarchy propagates prediction errors, resulting in the subtree lock-in problem, where mispredictions at higher levels lock the search path into incorrect subtrees. To address this structural limitation, we propose FLEX, a DAG-based indexing architecture that allows a single data node to be shared among multiple parent models. FLEX enhances search flexibility and efficiency by enabling alternative paths for recovery and suppresses unnecessary structural updates during insertions. Experimental results on various datasets demonstrate that FLEX reduces data node comparisons by up to 39.3%, lookup time by up to 15.7%, and model count by up to 10% compared with ALEX under the same fan-out limit, while also lowering the frequency of data and internal node splits. This study presents a novel direction for learned index structures by achieving a more balanced trade-off among accuracy, flexibility, and efficiency in dynamic environments.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.