Skip to content

Local search: limit duplicate neighbor evaluation #954#1299

Merged
mwever merged 2 commits intodevelopmentfrom
feature/limit-duplicates-ls-954
Mar 4, 2026
Merged

Local search: limit duplicate neighbor evaluation #954#1299
mwever merged 2 commits intodevelopmentfrom
feature/limit-duplicates-ls-954

Conversation

@JannisKst
Copy link
Copy Markdown
Collaborator

This PR limits duplicate neighbor evaluations for discrete hyperparameters in local search by tracking visited values.

  • Maintain a list of visited values per local search and hyperparameter.
  • Skip evaluation for an already seen hyperparameter value in a neighbor.
  • Clear the visited value list each time a new candidate is evaluated.

These changes were benchmarked in the SMAC3-Benchmarking repository.

Copy link
Copy Markdown
Contributor

@mwever mwever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks also good to me.

@mwever mwever merged commit 9650b5c into development Mar 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants