Abstract
Although linear regressions are essential for learned index structures, most implementations use Simple Linear Regression, which optimizes the squared error. Since learned indexes use exponential search, regressions that optimize the logarithmic error are much better tailored for the use-case. By using this fitting optimization target, we can significantly improve learned index's lookup performance with no architectural changes. While the log-error is harder to optimize, our novel algorithms and optimization heuristics can bring a practical performance improvement of the lookup latency. Even in cases where fast build times are paramount, log-error regressions still provide a robust fallback for degenerated leaf models. The resulting regressions are much better suited for learned indexes, and speed up lookups on data sets with outliers by over a factor of 2.
Cite
CITATION STYLE
Eppert, M., Fent, P., & Neumann, T. (2021). A tailored regression for learned indexes: Logarithmic error regression. In Proceedings of the 4th International Workshop on Exploiting Artificial Intelligence Techniques for Data Management, aiDM 2021 (pp. 9–15). Association for Computing Machinery, Inc. https://doi.org/10.1145/3464509.3464891
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.