arXiv:2504.04909cs.SEcs.AI2025-04

AlgOS让算法实现更简单,自动管理参数、日志和实验对比。

AlgOS: Algorithm Operating System

  • 用抽象语法树+观察者模式控制算法流程,逻辑清晰可扩展。
  • 集成Optuna自动调参,支持命令行参数解析与类注册。
  • 适合科研人员快速搭建可复现的算法实验框架。

Algorithm Operating System (AlgOS) 是一个无偏见、可扩展、模块化的算法实现框架。它提供多项功能:与Optuna集成以实现自动化超参数调优;自动生成通用命令行接口的参数解析;自动注册新类;以及集中式数据库用于记录实验和研究日志。这些特性旨在降低新算法实现的开销,并标准化算法间的比较。算法实现的标准化对研究的可复现性和可靠性至关重要。AlgOS结合抽象语法树与一种新型观察者模式,以控制算法段落的逻辑流程。

原文摘要 · Abstract (English)

Algorithm Operating System (AlgOS) is an unopinionated, extensible, modular framework for algorithmic implementations. AlgOS offers numerous features: integration with Optuna for automated hyperparameter tuning; automated argument parsing for generic command-line interfaces; automated registration of new classes; and a centralised database for logging experiments and studies. These features are designed to reduce the overhead of implementing new algorithms and to standardise the comparison of algorithms. The standardisation of algorithmic implementations is crucial for reproducibility and reliability in research. AlgOS combines Abstract Syntax Trees with a novel implementation of the Observer pattern to control the logical flow of algorithmic segments.

算法框架自动化可复现

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。