arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07898cs.SEcs.DB
收藏

面向持续训练的多版本事后日志记录

Multiversion Hindsight Logging for Continuous Training

Rolando Garcia, Anusha Dandamudi, Gabriel Matute, Lehan Wan, Joseph Gonzalez, Joseph M. Hellerstein, Koushik Sen

AI总结:

FlorDB 提出多版本事后日志记录,通过日志语句传播和基于检查点的并行重放,使工程师能用最新日志查询历史版本,并以统一关系模型支持跨版本高效调试。

摘要:

生产环境中的机器学习涉及持续训练:随着时间推移托管多个版本的模型,通常同时运行许多模型版本。当模型性能未达预期时,机器学习工程师(MLEs)通过探索和分析大量先前的代码与训练数据版本来调试问题,以识别根本原因并缓解问题。传统的调试和日志记录工具在管理这种实验性、多版本上下文中往往力不从心。FlorDB 引入了多版本事后日志记录(Multiversion Hindsight Logging),允许工程师使用最新版本的日志语句来查询过去的版本,即使旧版本记录的是不同的数据。日志语句传播(Log statement propagation)使得日志语句能够一致地注入到过去的代码版本中,而不受代码库变更的影响。一旦日志语句在代码版本之间传播完成,多版本事后日志记录中剩余的挑战是如何基于先前运行的检查点高效地重放新的日志语句。最后,需要一个连贯的用户体验来帮助 MLEs 跨所有代码和数据版本进行调试。为此,FlorDB 提出了一个统一的关系模型,用于高效处理历史查询,提供日志历史的全面视图,以简化对过去代码迭代的探索。我们在多个基准上进行了性能评估,证实了其可扩展性以及利用基于查询的过滤和基于检查点的并行性实现高效重放、提供实时查询响应的能力。

英文摘要:

Production Machine Learning involves continuous training: hosting multiple versions of models over time, often with many model versions running at once. When model performance does not meet expectations, Machine Learning Engineers (MLEs) debug issues by exploring and analyzing numerous prior versions of code and training data to identify root causes and mitigate problems. Traditional debugging and logging tools often fall short in managing this experimental, multi-version context. FlorDB introduces Multiversion Hindsight Logging, which allows engineers to use the most recent version's logging statements to query past versions, even when older versions logged different data. Log statement propagation enables consistent injection of logging statements into past code versions, regardless of changes to the codebase. Once log statements are propagated across code versions, the remaining challenge in Multiversion Hindsight Logging is to efficiently replay the new log statements based on checkpoints from previous runs. Finally, a coherent user experience is required to help MLEs debug across all versions of code and data. To this end, FlorDB presents a unified relational model for efficient handling of historical queries, offering a comprehensive view of the log history to simplify the exploration of past code iterations. We present a performance evaluation on diverse benchmarks confirming its scalability and the ability to deliver real-time query responses, leveraging query-based filtering and checkpoint-based parallelism for efficient replay.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑