Considerations for handling updates in learned index structures
Ali Hadian, Thomas Heinis · 2019
Machine learned models have recently been suggested as a rival for index structures such as B-trees and hash tables. An optimized learned index potentially has a significantly smaller memory footprint compared to its algorithmic counterparts, which alleviates the relatively high computational complexity of ML models. One unexplored aspect of learned index structures, however, is handling updates to the data and hence the model. In this paper we therefore discuss updates to the data and their implications for the model. Moreover, we suggest a method for eliminating the drift - the error of learned index models caused by the updates to the index- so that the learned model can maintain its performance under higher update rates.