Micro- and Macroscopic Aspects of the Intermittent Behaviors of Granular Materials Related by Graph Neural Network