首页> 外文期刊>JMLR: Workshop and Conference Proceedings >Learning to Align the Source Code to the Compiled Object Code
【24h】

Learning to Align the Source Code to the Compiled Object Code

机译:学习将源代码与编译后的目标代码对齐

获取原文
       

摘要

We propose a new neural network architecture and use it for the task of statement-by-statement alignment of source code and its compiled object code. Our architecture learns the alignment between the two sequences – one being the translation of the other – by mapping each statement to a context-dependent representation vector and aligning such vectors using a grid of the two sequence domains. Our experiments include short C functions, both artificial and human-written, and show that our neural network architecture is able to predict the alignment with high accuracy, outperforming known baselines. We also demonstrate that our model is general and can learn to solve graph problems such as the Traveling Salesman Problem.
机译:我们提出了一种新的神经网络架构,并将其用于源代码及其编译后的目标代码的按语句对齐的任务。我们的体系结构通过将每个语句映射到上下文相关的表示向量,并使用两个序列域的网格来比对这些向量,从而学习两个序列之间的比对-一个是另一个的翻译。我们的实验包括人为和人工编写的短C函数,并表明我们的神经网络体系结构能够以较高的精度预测对齐方式,优于已知的基线。我们还证明了我们的模型是通用的,可以学习解决图问题,例如旅行商问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号