arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.06592cs.SEcs.AIcs.PL
收藏

作为软件工程核心原语的类比

Analogy-Making as a Core Primitive in the Software Engineering Toolbox

University of California, Davis(加州大学戴维斯分校)

Matthew Sotoudeh, Aditya V. Thakur

摘要:

类比是对两个对象之间结构相似性和对应性的识别。类比推理的计算模型在认知科学领域得到了广泛的研究,以更好地理解人类的高级认知。例如,Melanie Mitchell和Douglas Hofstadter试图通过开发用于完成字母序列之间的类比的模仿算法来更好地理解高级感知。在本文中,我们认为,类比制作应被视为一个核心的原始软件工程。我们激励这个论点,显示如何复杂的软件工程问题,如程序理解和源代码转换学习可以减少到一个实例的类比问题。我们使用Sifter来证明这一想法,Sifter是一种新的模拟算法,适用于软件工程应用程序,它适应并扩展了来自Copycat的想法。特别是,Sifter将类比简化为搜索一系列更新规则应用程序。Sifter使用了一种新的数学结构表示法,能够有效地表示软件中嵌入的各种信息。最后,我们列出的主要领域的筛选和模拟制作软件工程的未来工作。

英文摘要:

An analogy is an identification of structural similarities and correspondences between two objects. Computational models of analogy making have been studied extensively in the field of cognitive science to better understand high-level human cognition. For instance, Melanie Mitchell and Douglas Hofstadter sought to better understand high-level perception by developing the Copycat algorithm for completing analogies between letter sequences. In this paper, we argue that analogy making should be seen as a core primitive in software engineering. We motivate this argument by showing how complex software engineering problems such as program understanding and source-code transformation learning can be reduced to an instance of the analogy-making problem. We demonstrate this idea using Sifter, a new analogy-making algorithm suitable for software engineering applications that adapts and extends ideas from Copycat. In particular, Sifter reduces analogy-making to searching for a sequence of update rule applications. Sifter uses a novel representation for mathematical structures capable of effectively representing the wide variety of information embedded in software. We conclude by listing major areas of future work for Sifter and analogy-making in software engineering.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑