TCProF: Time-Complexity Prediction SSL Framework
Not on the map. Why?
Abstract (arXiv)
Time complexity is a theoretic measure to determine the amount of time the algorithm needs for its execution. In reality, developers write algorithms into code snippets within limited resources, making the calculation of a code's time complexity a fundamental task. However, determining the precise time complexity of a code is theoretically undecidable. In response, recent advancements have leaned toward deploying datasets for code time complexity prediction and initiating preliminary experiments for this challenge. We investigate the challenge in low-resource scenarios where only a few labeled instances are given for training. Remarkably, we are the first to introduce TCProF: a Time-Complexity Prediction SSL Framework as an effective solution for code time complexity prediction in low-resource settings. TCProF significantly boosts performance by integrating our augmentation, symbolic modules, and a co-training mechanism, achieving a more than 60% improvement over self-training approaches. We further provide an extensive comparative analysis between TCProF, ChatGPT, and Gemini-Pro, offering a detailed evaluation of our approach. Our code is at https://github.com/peer0/few-shot-tc.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 34 references that are in the map. First posted on arXiv 10 Feb 2025.
Builds on
18 of 34 references.
References · 18
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2021FlexMatch: Boosting Semi-Supervised Learning with Curriculum Pseudo Labelingcited by 537
- 2016Regularization With Stochastic Transformations and Perturbations for Deep Semi-Supervised Learningcited by 441
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2017Learning to Represent Programs with Graphscited by 219
- 2020MixText: Linguistically-Informed Interpolation of Hidden Space for Semi-Supervised Text Classificationcited by 186
- 2019Induction Networks for Few-Shot Text Classificationcited by 64
- 2019Few-shot Text Classification with Distributional Signaturescited by 58
6 more
- 2021Few-Shot Intent Detection via Contrastive Pre-Training and Fine-Tuningcited by 46
- 2023JointMatch: A Unified Approach for Diverse and Collaborative Pseudo-Labeling to Semi-Supervised Text Classificationcited by 15
- 2020Learning to Represent Programs with Heterogeneous Graphscited by 13
- 2019Learning based Methods for Code Runtime Complexity Predictioncited by 5
- 2022SAT: Improving Semi-Supervised Text Classification with Simple Instance-Adaptive Self-Trainingcited by 5
- 2023TASTY: A Transformer based Approach to Space and Time complexitycited by 3
Built on by
Not cited yet.