question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Access ModelBridge Transforms from Acquisition Function

See original GitHub issue

I am currently working on implementing an acquisition function to find contours levels; in order to do so, the acquisition function takes in a set of “integration points” from within the search space and a set of “contour levels” from within the outcome space. This works fine in pure BoTorch, since transformations to the search and outcome space are handled directly in the GP model (i.e., in the Surrogate in Ax). However, as best I can tell, Ax handles its input and outcome transformations in the ModelBridge, not in the Surrogate. As a result, the transformations (which change over each iteration) are known neither to the acquisition function nor to the surrogate model when computing acquisition function values. As a result, there is no way to transform the “integration points” and “contour levels” to match the transformations that occurred during model fitting. Is there any way to easily access these transformations inside of an AcquisitionFunction subclass? Any help would be greatly appreciated.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
akern40commented, May 14, 2022

Ah ya I like challenges but I’m not a sadist. I’ll wait until that PR is complete, and I can take the time to consider some design options to propose for this issue.

1reaction
lena-kashtelyancommented, Sep 13, 2022

@akern40, the PR is now complete if you wanted to take this on! Let us know if you have any questions or need help. I’m going to put this as “needs repro or more info” for now as we’ll be waiting to hear from you on how this goes!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Models · Ax - Adaptive Experimentation Platform
The primary role of the ModelBridge is to act as a transformation layer. This includes transformations to the data, search space, and optimization...
Read more >
Using BoTorch with Ax
... acquisition functions, and optimization strategies. This model bridge utilizes a number of built-in transformations, such as normalizing input spaces ...
Read more >
Why do we use Acquisition Functions? - Cross Validated
The acquisition function is a solution for it. As you noticed, Bayesian optimization only approximates the target function. The approximation ...
Read more >
Responses of a Model Bridge Under Impact and Ambient Excitation ...
Our Tip: Log in first for optimal use of all functions in the TIB Portal! Responses of a Model Bridge Under Impact and...
Read more >
Flashback 2022: Revisiting organisational culture transformation
Employees should look for a culture they feel they can contribute to. In this chapter of our #Flashback2022 series, we bring to you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found