quail icon indicating copy to clipboard operation
quail copied to clipboard

add naturalistic memory metrics

Open andrewheusser opened this issue 7 years ago • 2 comments

We developed a few interesting memory metrics for the sherlock paper, which would be relatively easy to port into quail:

  1. Precision: how precisely the recall events match the video events
  • the mean correlation between each recall event and the highest matching video event (can also be computed on a per event basis)
  • code: [np.max(1 - cdist(video_events, r, 'correlation'), 0).mean() for r in recall_events]
  1. Distinctiveness: how distinctive the recall events are from other recall events
  • the mean of the upper triangle of the recall event correlation matrix (can also be computed on a per event basis) -code: [1 - np.triu(np.corrcoef(r)).mean() for r in recall_events]
  1. Recall autocorrelation: the rate at which the recall content changes over time
  • the autocorrelation of the recall matrix (not recall event matrix)

andrewheusser avatar Jan 31 '19 00:01 andrewheusser

can use the precision and distinctiveness scores defined in this paper: https://www.nature.com/articles/s41562-021-01051-6.epdf?sharing_token=AS23g-IiWotkQSYOACWew9RgN0jAjWel9jnR3ZoTv0Os85t-vR-u-Efaty0-uoqOJVLSCaVoppMqs8h0fibLcqGN8-6I_NPhCJMoHMR5VvrnqzT0dnw4DoqX_A25vroGWrh563UuXp4XY26Iel1aICLZZj2R9eU3jL9Yu4EanTk%3D

jeremymanning avatar Dec 09 '25 20:12 jeremymanning

(code for the above paper: https://github.com/ContextLab/sherlock-topic-model-paper)

jeremymanning avatar Dec 09 '25 20:12 jeremymanning