FLAML icon indicating copy to clipboard operation
FLAML copied to clipboard

Support Lexicographic optimization in Blendsearch

Open skzhang1 opened this issue 2 years ago • 2 comments

Why are these changes needed?

We plan to support lexicographic optimization in BlendSearch. This pull request is primarily intended to track the implementation progress. We encourage everyone to provide feedback in this pull request regarding both implementation suggestions and application scenarios.

TODO:

  • [x] Implement a easier ECI calculation method.
  • [x] Force the global search algorithm to MO-HPO in lexicographic optimization.
  • [ ] Add tests and docs.

Related issue number

N/A

Checks

  • [ ] I've used pre-commit to lint the changes in this PR, or I've made sure lint with flake8 output is two 0s.
  • [ ] I've included any doc changes needed for https://microsoft.github.io/FLAML/. See https://microsoft.github.io/FLAML/docs/Contribute#documentation to build and test documentation locally.
  • [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
  • [ ] I've made sure all auto checks have passed.

skzhang1 avatar Apr 01 '23 23:04 skzhang1

Is it better to create a new subclass than modifying the original BlendSearch? It's an open question.

sonichi avatar Jun 12 '23 18:06 sonichi

Is it better to create a new subclass than modifying the original BlendSearch? It's an open question.

I think we do not need to do it for now. Because LexiFlow is also not independent of flow2 in the current version.

skzhang1 avatar Jun 13 '23 13:06 skzhang1