ExplorerData ScienceMachine Learning
Research PaperResearchia:202604.17059

Neural architectures for resolving references in program code

Gergő Szalay

Abstract

Resolving and rewriting references is fundamental in programming languages. Motivated by a real-world decompilation task, we abstract reference rewriting into the problems of direct and indirect indexing by permutation. We create synthetic benchmarks for these tasks and show that well-known sequence-to-sequence machine learning architectures are struggling on these benchmarks. We introduce new sequence-to-sequence architectures for both problems. Our measurements show that our architectures outp...

Submitted: April 17, 2026Subjects: Machine Learning; Data Science

Description / Details

Resolving and rewriting references is fundamental in programming languages. Motivated by a real-world decompilation task, we abstract reference rewriting into the problems of direct and indirect indexing by permutation. We create synthetic benchmarks for these tasks and show that well-known sequence-to-sequence machine learning architectures are struggling on these benchmarks. We introduce new sequence-to-sequence architectures for both problems. Our measurements show that our architectures outperform the baselines in both robustness and scalability: our models can handle examples that are ten times longer compared to the best baseline. We measure the impact of our architecture in the real-world task of decompiling switch statements, which has an indexing subtask. According to our measurements, the extended model decreases the error rate by 42%. Multiple ablation studies show that all components of our architectures are essential.


Source: arXiv:2604.14073v1 - http://arxiv.org/abs/2604.14073v1 PDF: https://arxiv.org/pdf/2604.14073v1 Original Link: http://arxiv.org/abs/2604.14073v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Apr 17, 2026
Topic:
Data Science
Area:
Machine Learning
Comments:
0
Bookmark
Neural architectures for resolving references in program code | Researchia