BOML: A Modularized Bilevel Optimization Library in Python for Meta Learning
This provides a practical tool for researchers and practitioners in meta-learning to easily implement and compare algorithms, though it is incremental as it builds on existing bilevel optimization formulations.
The authors tackled the problem of diverse meta-learning methods lacking a unified implementation framework by developing BOML, a Python library that modularizes these methods into a common bilevel optimization structure, supporting categories like meta-feature-based and meta-initialization-based formulations.
Meta-learning (a.k.a. learning to learn) has recently emerged as a promising paradigm for a variety of applications. There are now many meta-learning methods, each focusing on different modeling aspects of base and meta learners, but all can be (re)formulated as specific bilevel optimization problems. This work presents BOML, a modularized optimization library that unifies several meta-learning algorithms into a common bilevel optimization framework. It provides a hierarchical optimization pipeline together with a variety of iteration modules, which can be used to solve the mainstream categories of meta-learning methods, such as meta-feature-based and meta-initialization-based formulations. The library is written in Python and is available at https://github.com/dut-media-lab/BOML.