A Practical Theory of Generalization in Selectivity Learning

Peizhi Wu, Haoshu Xu, Ryan Marcus, Zachary G. Ives
{"title":"A Practical Theory of Generalization in Selectivity Learning","authors":"Peizhi Wu, Haoshu Xu, Ryan Marcus, Zachary G. Ives","doi":"arxiv-2409.07014","DOIUrl":null,"url":null,"abstract":"Query-driven machine learning models have emerged as a promising estimation\ntechnique for query selectivities. Yet, surprisingly little is known about the\nefficacy of these techniques from a theoretical perspective, as there exist\nsubstantial gaps between practical solutions and state-of-the-art (SOTA) theory\nbased on the Probably Approximately Correct (PAC) learning framework. In this\npaper, we aim to bridge the gaps between theory and practice. First, we\ndemonstrate that selectivity predictors induced by signed measures are\nlearnable, which relaxes the reliance on probability measures in SOTA theory.\nMore importantly, beyond the PAC learning framework (which only allows us to\ncharacterize how the model behaves when both training and test workloads are\ndrawn from the same distribution), we establish, under mild assumptions, that\nselectivity predictors from this class exhibit favorable out-of-distribution\n(OOD) generalization error bounds. These theoretical advances provide us with a better understanding of both the\nin-distribution and OOD generalization capabilities of query-driven selectivity\nlearning, and facilitate the design of two general strategies to improve OOD\ngeneralization for existing query-driven selectivity models. We empirically\nverify that our techniques help query-driven selectivity models generalize\nsignificantly better to OOD queries both in terms of prediction accuracy and\nquery latency performance, while maintaining their superior in-distribution\ngeneralization performance.","PeriodicalId":501340,"journal":{"name":"arXiv - STAT - Machine Learning","volume":"75 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - STAT - Machine Learning","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.07014","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Query-driven machine learning models have emerged as a promising estimation technique for query selectivities. Yet, surprisingly little is known about the efficacy of these techniques from a theoretical perspective, as there exist substantial gaps between practical solutions and state-of-the-art (SOTA) theory based on the Probably Approximately Correct (PAC) learning framework. In this paper, we aim to bridge the gaps between theory and practice. First, we demonstrate that selectivity predictors induced by signed measures are learnable, which relaxes the reliance on probability measures in SOTA theory. More importantly, beyond the PAC learning framework (which only allows us to characterize how the model behaves when both training and test workloads are drawn from the same distribution), we establish, under mild assumptions, that selectivity predictors from this class exhibit favorable out-of-distribution (OOD) generalization error bounds. These theoretical advances provide us with a better understanding of both the in-distribution and OOD generalization capabilities of query-driven selectivity learning, and facilitate the design of two general strategies to improve OOD generalization for existing query-driven selectivity models. We empirically verify that our techniques help query-driven selectivity models generalize significantly better to OOD queries both in terms of prediction accuracy and query latency performance, while maintaining their superior in-distribution generalization performance.
选择性学习中的泛化实用理论
查询驱动的机器学习模型已成为一种很有前途的查询选择性估算技术。然而,从理论角度来看,人们对这些技术的有效性却知之甚少,因为实际解决方案与基于 "大概正确"(PAC)学习框架的最新(SOTA)理论之间存在巨大差距。本文旨在弥合理论与实践之间的差距。更重要的是,除了 PAC 学习框架(该框架只允许我们描述模型在训练和测试工作量均取自同一分布时的表现)之外,我们还在温和的假设条件下确定了该类选择性预测器表现出有利的分布外(OOD)泛化误差边界。这些理论进展让我们更好地理解了查询驱动选择性学习的分布内泛化和分布外泛化能力,并促进了两种通用策略的设计,以提高现有查询驱动选择性模型的分布外泛化能力。我们通过实证验证了我们的技术有助于查询驱动选择性模型在预测准确性和查询延迟性能方面显著改善对 OOD 查询的泛化,同时保持其卓越的分布内泛化性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信