The EpiAware implementation of the EpiNow2 model (case study 2) is currently running approximately 100 times slower than the equivalent model in the EpiNow2 R package.
Current status:
- EpiAware implementation uses ARIMA(2,1,1) with weekly broadcasting
- Uses NUTS sampling with pathfinder initialisation
- Includes delay convolutions and day-of-week effects
Potential performance bottlenecks:
- Delay convolution implementation efficiency
- Day-of-week effect structure
- ARIMA process generation on weekly timescale
- Pathfinder initialisation settings
- NUTS sampler configuration
Action items:
- Profile the model to identify computational bottlenecks
- Compare algorithmic choices with EpiNow2 implementation
- Investigate whether delay convolution can be optimised
- Review sampler settings (adapt iterations, target acceptance)
- Consider precompilation and type stability issues
- Test alternative inference approaches