Skip to content

Conversation

@scarlehoff
Copy link
Member

Use the RTBM (this branch in particular: RiemannAI/theta#56) as the driver for the integration.

For some of the examples it does achieve a better performance than Vegas in terms of error per a given number of events, however the training is considerably slower. I guess the fact that each iteration can take up to an hour of training is not really a problem if the integrand takes several hours to compute and then the gain of number of events will make up for it.

Since the RTBM code is not running Tensorflow (and also can't be run on a GPU), this can only be run on CPU and with run_eager on.

This branch is very much a draft since there are still some outstanding points:

  1. The optimization algorithm is the naivest of genetic algorithms at the moment. Tbh, it was just something to play around while I was getting the rest of the code to work, the fact that it achieves better performance than Vegas makes me very optimistic about the possibilities of this integration method.
  2. Needs to be checked with more complex integrands (at the moment I've tried very simple integrands up to 5 dimensions).
  3. It is very slow, that need to be at least improved on.
  4. It is using a fork of the RTBM, which is tricky at best.

@scarlehoff scarlehoff closed this Jul 11, 2022
@scarlehoff scarlehoff deleted the integrate_with_rtbm branch April 10, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants