Skip to content

Case studies: EpiNow2 model performance is ~100x slower than equivalent EpiNow2 #96

@seabbs

Description

@seabbs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions