Cargando…
Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools
Pose estimation algorithms are shedding new light on animal behavior and intelligence. Most existing models are only trained with labeled frames (supervised learning). Although effective in many cases, the fully supervised approach requires extensive image labeling, struggles to generalize to new vi...
Autores principales: | , , , , , , , , , , , , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Cold Spring Harbor Laboratory
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10168383/ https://www.ncbi.nlm.nih.gov/pubmed/37162966 http://dx.doi.org/10.1101/2023.04.28.538703 |
_version_ | 1785038844446375936 |
---|---|
author | Biderman, Dan Whiteway, Matthew R Hurwitz, Cole Greenspan, Nicholas Lee, Robert S Vishnubhotla, Ankit Warren, Richard Pedraja, Federico Noone, Dillon Schartner, Michael Huntenburg, Julia M Khanal, Anup Meijer, Guido T Noel, Jean-Paul Pan-Vazquez, Alejandro Socha, Karolina Z Urai, Anne E Cunningham, John P Sawtell, Nathaniel Paninski, Liam |
author_facet | Biderman, Dan Whiteway, Matthew R Hurwitz, Cole Greenspan, Nicholas Lee, Robert S Vishnubhotla, Ankit Warren, Richard Pedraja, Federico Noone, Dillon Schartner, Michael Huntenburg, Julia M Khanal, Anup Meijer, Guido T Noel, Jean-Paul Pan-Vazquez, Alejandro Socha, Karolina Z Urai, Anne E Cunningham, John P Sawtell, Nathaniel Paninski, Liam |
author_sort | Biderman, Dan |
collection | PubMed |
description | Pose estimation algorithms are shedding new light on animal behavior and intelligence. Most existing models are only trained with labeled frames (supervised learning). Although effective in many cases, the fully supervised approach requires extensive image labeling, struggles to generalize to new videos, and produces noisy outputs that hinder downstream analyses. We address each of these limitations with a semi-supervised approach that leverages the spatiotemporal statistics of unlabeled videos in two different ways. First, we introduce unsupervised training objectives that penalize the network whenever its predictions violate smoothness of physical motion, multiple-view geometry, or depart from a low-dimensional subspace of plausible body configurations. Second, we design a new network architecture that predicts pose for a given frame using temporal context from surrounding unlabeled frames. These context frames help resolve brief occlusions or ambiguities between nearby and similar-looking body parts. The resulting pose estimation networks achieve better performance with fewer labels, generalize better to unseen videos, and provide smoother and more reliable pose trajectories for downstream analysis; for example, these improved pose trajectories exhibit stronger correlations with neural activity. We also propose a Bayesian post-processing approach based on deep ensembling and Kalman smoothing that further improves tracking accuracy and robustness. We release a deep learning package that adheres to industry best practices, supporting easy model development and accelerated training and prediction. Our package is accompanied by a cloud application that allows users to annotate data, train networks, and predict new videos at scale, directly from the browser. |
format | Online Article Text |
id | pubmed-10168383 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Cold Spring Harbor Laboratory |
record_format | MEDLINE/PubMed |
spelling | pubmed-101683832023-05-10 Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools Biderman, Dan Whiteway, Matthew R Hurwitz, Cole Greenspan, Nicholas Lee, Robert S Vishnubhotla, Ankit Warren, Richard Pedraja, Federico Noone, Dillon Schartner, Michael Huntenburg, Julia M Khanal, Anup Meijer, Guido T Noel, Jean-Paul Pan-Vazquez, Alejandro Socha, Karolina Z Urai, Anne E Cunningham, John P Sawtell, Nathaniel Paninski, Liam bioRxiv Article Pose estimation algorithms are shedding new light on animal behavior and intelligence. Most existing models are only trained with labeled frames (supervised learning). Although effective in many cases, the fully supervised approach requires extensive image labeling, struggles to generalize to new videos, and produces noisy outputs that hinder downstream analyses. We address each of these limitations with a semi-supervised approach that leverages the spatiotemporal statistics of unlabeled videos in two different ways. First, we introduce unsupervised training objectives that penalize the network whenever its predictions violate smoothness of physical motion, multiple-view geometry, or depart from a low-dimensional subspace of plausible body configurations. Second, we design a new network architecture that predicts pose for a given frame using temporal context from surrounding unlabeled frames. These context frames help resolve brief occlusions or ambiguities between nearby and similar-looking body parts. The resulting pose estimation networks achieve better performance with fewer labels, generalize better to unseen videos, and provide smoother and more reliable pose trajectories for downstream analysis; for example, these improved pose trajectories exhibit stronger correlations with neural activity. We also propose a Bayesian post-processing approach based on deep ensembling and Kalman smoothing that further improves tracking accuracy and robustness. We release a deep learning package that adheres to industry best practices, supporting easy model development and accelerated training and prediction. Our package is accompanied by a cloud application that allows users to annotate data, train networks, and predict new videos at scale, directly from the browser. Cold Spring Harbor Laboratory 2023-04-28 /pmc/articles/PMC10168383/ /pubmed/37162966 http://dx.doi.org/10.1101/2023.04.28.538703 Text en https://creativecommons.org/licenses/by-nd/4.0/This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License (https://creativecommons.org/licenses/by-nd/4.0/) , which allows reusers to copy and distribute the material in any medium or format in unadapted form only, and only so long as attribution is given to the creator. The license allows for commercial use. |
spellingShingle | Article Biderman, Dan Whiteway, Matthew R Hurwitz, Cole Greenspan, Nicholas Lee, Robert S Vishnubhotla, Ankit Warren, Richard Pedraja, Federico Noone, Dillon Schartner, Michael Huntenburg, Julia M Khanal, Anup Meijer, Guido T Noel, Jean-Paul Pan-Vazquez, Alejandro Socha, Karolina Z Urai, Anne E Cunningham, John P Sawtell, Nathaniel Paninski, Liam Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools |
title | Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools |
title_full | Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools |
title_fullStr | Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools |
title_full_unstemmed | Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools |
title_short | Lightning Pose: improved animal pose estimation via semi-supervised learning, Bayesian ensembling, and cloud-native open-source tools |
title_sort | lightning pose: improved animal pose estimation via semi-supervised learning, bayesian ensembling, and cloud-native open-source tools |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10168383/ https://www.ncbi.nlm.nih.gov/pubmed/37162966 http://dx.doi.org/10.1101/2023.04.28.538703 |
work_keys_str_mv | AT bidermandan lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT whitewaymatthewr lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT hurwitzcole lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT greenspannicholas lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT leeroberts lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT vishnubhotlaankit lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT warrenrichard lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT pedrajafederico lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT noonedillon lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT schartnermichael lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT huntenburgjuliam lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT khanalanup lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT meijerguidot lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT noeljeanpaul lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT panvazquezalejandro lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT sochakarolinaz lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT uraiannee lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT cunninghamjohnp lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT sawtellnathaniel lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools AT paninskiliam lightningposeimprovedanimalposeestimationviasemisupervisedlearningbayesianensemblingandcloudnativeopensourcetools |