首页> 外文会议>International Conference on Machine Learning >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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号