TY - GEN
T1 - Automatic Pseudocode Extraction at Scale
AU - Toksoz, Levent
AU - Tan, Gang
AU - Giles, C. Lee
N1 - Publisher Copyright:
© 2024 IEEE.
PY - 2024
Y1 - 2024
N2 - Pseudocode in a scholarly paper provides a concise way to express the algorithms implemented therein. Pseudocode can also be thought of as an intermediary representation that helps bridge the gap between programming languages and natural languages. Having access to a large collection of pseudocode can provide various benefits ranging from enhancing algorithmic understanding, facilitating further algorithmic design, to empowering NLP or computer vision based models for tasks such as automated code generation and optical character recognition (OCR). We have created a large pseudocode collection by extracting around 320,000 pseudocode examples from arXiv papers. This process involved scanning over 2.2 million scholarly papers, with 1,000 of them being manually inspected and labeled. Our approach encompasses an extraction mechanism tailored to optimize the coverage and a validation mechanism based on random sampling to check its accuracy and reliability, given the inherent heterogeneity of the collection. In addition, we offer insights into common pseudocode structures, supported by clustering and statistical analyses. Notably, these analyses indicate an exponential-like growth in the usage of pseudocodes, highlighting their increasing significance.
AB - Pseudocode in a scholarly paper provides a concise way to express the algorithms implemented therein. Pseudocode can also be thought of as an intermediary representation that helps bridge the gap between programming languages and natural languages. Having access to a large collection of pseudocode can provide various benefits ranging from enhancing algorithmic understanding, facilitating further algorithmic design, to empowering NLP or computer vision based models for tasks such as automated code generation and optical character recognition (OCR). We have created a large pseudocode collection by extracting around 320,000 pseudocode examples from arXiv papers. This process involved scanning over 2.2 million scholarly papers, with 1,000 of them being manually inspected and labeled. Our approach encompasses an extraction mechanism tailored to optimize the coverage and a validation mechanism based on random sampling to check its accuracy and reliability, given the inherent heterogeneity of the collection. In addition, we offer insights into common pseudocode structures, supported by clustering and statistical analyses. Notably, these analyses indicate an exponential-like growth in the usage of pseudocodes, highlighting their increasing significance.
UR - http://www.scopus.com/inward/record.url?scp=85207835947&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85207835947&partnerID=8YFLogxK
U2 - 10.1109/IRI62200.2024.00061
DO - 10.1109/IRI62200.2024.00061
M3 - Conference contribution
AN - SCOPUS:85207835947
T3 - Proceedings - 2024 IEEE International Conference on Information Reuse and Integration for Data Science, IRI 2024
SP - 264
EP - 269
BT - Proceedings - 2024 IEEE International Conference on Information Reuse and Integration for Data Science, IRI 2024
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 25th IEEE International Conference on Information Reuse and Integration for Data Science, IRI 2024
Y2 - 7 August 2024 through 9 August 2024
ER -