Scaling Automatic Extraction of Pseudocode
Levent Toksoz, Gang Tan, C. Lee Giles

TL;DR
This paper presents a scalable method for extracting a large collection of pseudocode from scholarly papers, enabling enhanced algorithm understanding and supporting NLP and computer vision tasks.
Contribution
We developed an extraction and validation pipeline that efficiently gathers nearly 320,000 pseudocode examples from over 2.2 million papers, with insights into pseudocode usage trends.
Findings
Exponential growth in pseudocode usage over time
Successful extraction of 320,000 pseudocode snippets
Insights into common pseudocode structures
Abstract
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 nearly 320,000 pseudocode examples from arXiv papers. This process involved scanning over 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · Fuzzy Logic and Control Systems
