[2603.30040] Automatic Identification of Parallelizable Loops Using Transformer-Based Source Code Representations

[2603.30040] Automatic Identification of Parallelizable Loops Using Transformer-Based Source Code Representations

arXiv - AI 4 min read

About this article

Abstract page for arXiv paper 2603.30040: Automatic Identification of Parallelizable Loops Using Transformer-Based Source Code Representations

Computer Science > Software Engineering arXiv:2603.30040 (cs) [Submitted on 31 Mar 2026] Title:Automatic Identification of Parallelizable Loops Using Transformer-Based Source Code Representations Authors:Izavan dos S. Correia, Henrique C. T. Santos, Tiago A. E. Ferreira View a PDF of the paper titled Automatic Identification of Parallelizable Loops Using Transformer-Based Source Code Representations, by Izavan dos S. Correia and 2 other authors View PDF HTML (experimental) Abstract:Automatic parallelization remains a challenging problem in software engineering, particularly in identifying code regions where loops can be safely executed in parallel on modern multi-core architectures. Traditional static analysis techniques, such as dependence analysis and polyhedral models, often struggle with irregular or dynamically structured code. In this work, we propose a Transformer-based approach to classify the parallelization potential of source code, focusing on distinguishing independent (parallelizable) loops from undefined ones. We adopt DistilBERT to process source code sequences using subword tokenization, enabling the model to capture contextual syntactic and semantic patterns without handcrafted features. The approach is evaluated on a balanced dataset combining synthetically generated loops and manually annotated real-world code, using 10-fold cross-validation and multiple performance metrics. Results show consistently high performance, with mean accuracy above 99\% and lo...

Originally published on April 01, 2026. Curated by AI News.

Related Articles

Machine Learning

Slides Help Teaching ML First Time [P]

I’m an electrical engineering teacher. One of our faculty members has fallen ill, so I’ve been asked to take over teaching machine learni...

Reddit - Machine Learning · 1 min ·
Machine Learning

easyaligner: Forced alignment with GPU acceleration and flexible text normalization (compatible with all w2v2 models on HF Hub) [P]

https://preview.redd.it/f4d5krhkjyvg1.png?width=1020&format=png&auto=webp&s=11310f377b22abbe3dd110cc7d362ba8aae35f8d I have b...

Reddit - Machine Learning · 1 min ·
Machine Learning

ICML 2026 - Heavy score variance among various batches? [D]

I've seen some people say in their batch very few papers have above 3.5 score, but then other reviewers say that most papers in their sco...

Reddit - Machine Learning · 1 min ·
Machine Learning

We’re proud to open-source LIDARLearn [R] [D] [P]

It’s a unified PyTorch library for 3D point cloud deep learning. To our knowledge, it’s the first framework that supports such a large co...

Reddit - Machine Learning · 1 min ·
More in Machine Learning: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime