Piecewise Linear Approximation in Learned Index Structures: Theoretical and Empirical Analysis

Jiayong Qin, Xianyu Zhu, Qiyu Liu, Guangyi Zhang, Zhigang Cai +5 more
6/25/2025
cs.DBcs.LG

No confident code implementation found for this paper.

Abstract

A growing trend in the database and system communities is to augment conventional index structures, such as B+-trees, with machine learning (ML) models. Among these, error-bounded Piecewise Linear Approximation ($ε$-PLA) has emerged as a popular choice due to its simplicity and effectiveness.

Show full abstract

Despite its central role in many learned indexes, the design and analysis of $ε$-PLA fitting algorithms remain underexplored. In this paper, we revisit $ε$-PLA from both theoretical and empirical perspectives, with a focus on its application in learned index structures. We first establish a fundamentally improved lower bound of $Ω(κ\cdot ε^2)$ on the expected segment coverage for existing $ε$-PLA fitting algorithms, where $κ$ is a data-dependent constant. We then present a comprehensive benchmark of state-of-the-art $ε$-PLA algorithms when used in different learned data structures. Our results highlight key trade-offs among model accuracy, model size, and query performance, providing actionable guidelines for the principled design of future learned data structures.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qin2025piecewise,
  title  = {Piecewise Linear Approximation in Learned Index Structures: Theoretical and Empirical Analysis},
  author = {Jiayong Qin and Xianyu Zhu and Qiyu Liu and Guangyi Zhang and Zhigang Cai and Jianwei Liao and Sha Hu and Jingshu Peng and Yingxia Shao and Lei Chen},
  year   = {2025},
  eprint = {2506.20139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.20139v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.20139.svg)](https://codeofpaper.com/paper/2506.20139)

Discussion