paper-with-me

홈 › Papers

Enhancing Source Code Classification Effectiveness via Prompt Learning Incorporating Knowledge Features

2024-01-10 · Yong Ma, Senlin Luo, Yu-Ming Shang, Yifei Zhang, ZhengJun Li

Researchers have investigated the potential of leveraging pre-trained language models, such as CodeBERT, to enhance source code-related tasks. Previous methodologies have relied on CodeBERT's '[CLS]' token as the embedding representation of input sequences for task performance, necessitating additional neural network layers to enhance feature representation, which in turn increases computational expenses. These approaches have also failed to fully leverage the comprehensive knowledge inherent within the source code and its associated text, potentially limiting classification efficacy. We propose CodeClassPrompt, a text classification technique that harnesses prompt learning to extract rich knowledge associated with input sequences from pre-trained models, thereby eliminating the need for additional layers and lowering computational costs. By applying an attention mechanism, we synthesize multi-layered knowledge into task-specific features, enhancing classification accuracy. Our comprehensive experimentation across four distinct source code-related tasks reveals that CodeClassPrompt achieves competitive performance while significantly reducing computational overhead.

📄 PDF Abstract BibTeX arXiv:2401.05544

Code (1)

BIT-ENGD/codeclassprompt 공식 구현 pytorch

Tasks

ClassificationCode ClassificationLanguage ModellingPrompt LearningSentenceSentence EmbeddingSentence-Embeddingtext-classificationText Classification

Methods 이 논문이 사용한 방법론

CodeBERT 설명 없음

Similar Papers 제목 키워드 기반

Enhancing Granular Sentiment Classification with Chain-of-Thought Prompting in Large Language Models

2025-05-07 · Vihaan Miriyala, Smrithi Bukkapatnam, Lavanya Prahallad

We explore the use of Chain-of-Thought (CoT) prompting with large language models (LLMs) to improve the accuracy of granular sentiment categorization in app store reviews. Traditional numeric and polarity-based ratings o…

Sentiment AnalysisSentiment Classification

Enhancing Remote Sensing Vision-Language Models for Zero-Shot Scene Classification

2024-09-01 · Karim El Khoury, Maxime Zanella, Benoît Gérin, Tiffanie Godelaine 외

Vision-Language Models for remote sensing have shown promising uses thanks to their extensive pretraining. However, their conventional usage in zero-shot scene classification methods still involves dividing large images …

Scene ClassificationTransductive Zero-Shot Classificationzero-shot-classificationZero-Shot Learning

CoCoP: Enhancing Text Classification with LLM through Code Completion Prompt

2024-11-13 · Mohammad Mahdi Mohajeri, Mohammad Javad Dousti, Majid Nili Ahmadabadi

Text classification is a fundamental task in natural language processing (NLP), and large language models (LLMs) have demonstrated their capability to perform this task across various domains. However, the performance of…

ClassificationCode CompletionFew-Shot Learningtext-classification+1

Enhancing Small Language Models for Cross-Lingual Generalized Zero-Shot Classification with Soft Prompt Tuning

2025-03-25 · Fred Philippy, Siwen Guo, Cedric Lothritz, Jacques Klein 외

In NLP, Zero-Shot Classification (ZSC) has become essential for enabling models to classify text into categories unseen during training, particularly in low-resource languages and domains where labeled data is scarce. Wh…

Cross-Lingual Transferzero-shot-classificationZero-Shot Learning

Transfer-Prompting: Enhancing Cross-Task Adaptation in Large Language Models via Dual-Stage Prompts Optimization

2025-02-20 · Yupeng Chang, Yi Chang, Yuan Wu

Large language models (LLMs) face significant challenges when balancing multiple high-level objectives, such as generating coherent, relevant, and high-quality responses while maintaining efficient task adaptation across…