Skip to content

CodeBERT-SENet: Adaptive Syntax-Semantic Fusion via Gated Attention for Python Bug Detection and Localization

· 0 citations · 28 references

TL;DR

This research proposes the first end-to-end multi-task architecture that jointly detects Python syntax errors and localizes their exact line position by adaptively fusing CodeBERT’s semantic embeddings with handcrafted syntactic features via a lightweight gating mechanism, without relying on Abstract Syntax Trees.

View source

Similar papers

Open access Sep 2026

DuaLoc: Dual-Encoder Bug Localization with Bug-Report-Conditioned Attention and Contrastive Learning

DuaLoc combines two pre-trained language models: UniXcoder for the semantic understanding of source code and GraphCodeBERT for awareness of data-flow structure and fine-tuned with a contrastive objective that shapes the embedding space around the localization task.

Amany AlBatlaa, M. Abdullah-Al-Wadud · 0 citations
Open access Aug 2026

Multilingual Source Code Vulnerability Detection Using Deep Learning: A Semantic Representation and Transfer Learning Approach

This work presents a deep learning approach for multilingual vulnerability detection that emphasizes semantic transfer rather than architectural complexity and suggests that stabilizing semantic representations during transfer is key to improving generalization while maintaining practical efficiency under moderate comp...

Tuan Nguyen Kim, Nin Ho Le Viet, Chieu Ta Quang · 0 citations
Open access Jul 2026

From Bug Reports to Code Quality: A Transformer-Based Classification Approach Using CodeBERT

A transformer-based classification framework that fine-tunes CodeBERT on a balanced dataset of 25,000+ bug-report segments drawn from four Apache projects is proposed and CodeBERT is the best-performing transformer in this comparison.

Kanwal Naz, Imran Shafi, M. Z. Mehmood et al. · 0 citations
Aug 2026

Autograding of Programs Using Siamese Network-Based Semantic Code Similarity Detection

The proposed Siamese Network-based Code Similarity Detection (SNCSD) approach computes contextual embeddings to capture both syntactic and semantic similarities between student-submitted code and reference solutions to offer a more accurate, transparent, and scalable alternative to traditional grading approaches.

Srujana Inturi, M. Swamydas, Meghana Reddy Chigarapalle et al. · 0 citations
Open access Jul 2026

Test-Free Fault Localization Through Deep Source Code Analysis Using Encoder-Based Language Models

A refined training strategy is presented, leveraging an encoder-based approach, to address two key challenges in FL: (1) the accurate classification of lines of code according to their suspiciousness scores, and (2) the class imbalance inherent in this type of problem.

Jesus-Angel del-Hoyo-Gabaldon, Antonio Garcia-Cabot, Eva García-López et al. · 0 citations
Open access Jul 2026

AMBER: A Semantic Aware Detection of Code Vulnerabilities and Their Clones

A semantic-aware framework that utilizes semantic embeddings, structural program features, and similarity metrics to construct a multi-channel representation, which is fed to a convolutional neural network for vulnerability detection, and then employed in a FAISS-based semantic similarity search for finding vulnerable...

Gurpreet Singh, Dhavleesh Rattan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.