|国家预印本平台
首页|Exploring Next Token Prediction For Optimizing Databases

Exploring Next Token Prediction For Optimizing Databases

Exploring Next Token Prediction For Optimizing Databases

来源:Arxiv_logoArxiv
英文摘要

The Next Token Prediction paradigm (NTP, for short) lies at the forefront of modern large foundational models that are pre-trained on diverse and large datasets. These models generalize effectively, and have proven to be very successful in Natural Language Processing (NLP). Inspired by the generalization capabilities of Large Language Models (LLMs), we investigate whether the same NTP paradigm can be applied to DBMS design and optimization tasks. Adopting NTP directly for database optimization is non-trivial due to the fundamental differences between the domains. In this paper, we present a framework, termed Probe and Learn (PoLe), for applying NTP to optimize database systems. PoLe leverages Decision Transformers and hardware-generated tokens to effectively incorporate NTP into database systems. As a proof of concept, we demonstrate PoLe in the context of the index scheduling task over NUMA servers in main-memory database systems. Preliminary results for this scheduling task demonstrate that adopting NTP and PoLe can improve both performance and generalizability.

Yeasir Rayhan、Walid G. Aref

计算技术、计算机技术

Yeasir Rayhan,Walid G. Aref.Exploring Next Token Prediction For Optimizing Databases[EB/OL].(2025-03-25)[2025-08-02].https://arxiv.org/abs/2503.19619.点此复制

评论