Generating Predicate Logic Expressions from Natural Language

计算机科学 机器翻译 人工智能 自然语言处理 预处理器 语义学(计算机科学) 人工神经网络 基于迁移的机器翻译 翻译(生物学) 深度学习 程序设计语言 基于实例的机器翻译 生物化学 化学 信使核糖核酸 基因
作者
Oleksii Levkovskyi,Wei Li
标识
DOI:10.1109/southeastcon45413.2021.9401852
摘要

Formal logic expressions are commonly written in standardized mathematical notation. Learning this notation typically requires many years of experience and is not an explicit part of undergraduate academic curricula. Constructing and comprehending logical predicates can feel difficult and unintuitive. We hypothesized that this process can be automated using neural machine translation. Most machine translation techniques involve word-based segmentation as a preprocessing step. Given the nature of our custom dataset, hosts first-order-logic (FOL) semantics primarily in unigram tokens, the word-based approach does not seem applicable. The proposed solution was to automate the translation of short English sentences into FOL expressions using character-level prediction in a recurrent neural network model. We trained four encoder-decoder models (LSTM, Bidirectional GRU with Attention, and two variants of Bi-directional LSTM with Attention). Our experimental results showed that several established neural translation techniques can be implemented to produce highly accurate machine translators of English sentences to FOL formalisms, given only characters as markers of semantics. We also demonstrated that attention-based enhancement to the encoder-decoder architecture can vastly improve translation accuracy. Most machine translation techniques involve word-based segmentation as a preprocessing step. Given the nature of our custom dataset, hosts first-order-logic (FOL) semantics primarily in unigram tokens, the word-based approach does not seem applicable. The proposed solution was to automate the translation of short English sentences into FOL expressions using character-level prediction in a recurrent neural network model. We trained four encoder-decoder models (LSTM, Bidirectional GRU with Attention, and two variants of Bi-directional LSTM with Attention). Our experimental results showed that several established neural translation techniques can be implemented to produce highly accurate machine translators of English sentences to FOL formalisms, given only characters as markers of semantics. We also demonstrated that attention-based enhancement to the encoder-decoder architecture can vastly improve translation accuracy. We trained four encoder-decoder models (LSTM, Bidirectional GRU with Attention, and two variants of Bi-directional LSTM with Attention). Our experimental results showed that several established neural translation techniques can be implemented to produce highly accurate machine translators of English sentences to FOL formalisms, given only characters as markers of semantics. We also demonstrated that attention-based enhancement to the encoder-decoder architecture can vastly improve translation accuracy.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
听海发布了新的文献求助10
1秒前
酸奶冻完成签到,获得积分10
7秒前
cyuan发布了新的文献求助10
16秒前
17秒前
友好听蓉完成签到,获得积分20
17秒前
20秒前
21秒前
23秒前
xuanzi发布了新的文献求助10
26秒前
英俊的铭应助称心怀莲采纳,获得10
27秒前
德古拉富贵完成签到,获得积分10
27秒前
ming应助魏佳阁采纳,获得10
29秒前
友好听蓉发布了新的文献求助10
29秒前
小生完成签到,获得积分10
30秒前
hzau完成签到,获得积分10
33秒前
儒雅龙完成签到 ,获得积分10
34秒前
暴躁的夏蓉完成签到 ,获得积分10
38秒前
xuanzi完成签到,获得积分20
39秒前
华仔应助川农美少女采纳,获得10
40秒前
caiweihong完成签到 ,获得积分10
43秒前
46秒前
50秒前
51秒前
自觉的宇完成签到 ,获得积分10
52秒前
张张发布了新的文献求助30
55秒前
傲娇紫烟完成签到,获得积分10
56秒前
淡然白安发布了新的文献求助10
58秒前
小巧问芙完成签到 ,获得积分10
1分钟前
SciGPT应助苏公子采纳,获得10
1分钟前
Evooolet完成签到,获得积分10
1分钟前
charry发布了新的文献求助10
1分钟前
1分钟前
1分钟前
1分钟前
杨火山发布了新的文献求助10
1分钟前
bkagyin应助星河在眼里采纳,获得10
1分钟前
long0809完成签到,获得积分10
1分钟前
口腔飞飞完成签到 ,获得积分10
1分钟前
1分钟前
1分钟前
高分求助中
The three stars each : the Astrolabes and related texts 1070
Manual of Clinical Microbiology, 4 Volume Set (ASM Books) 13th Edition 1000
De arte gymnastica. The art of gymnastics 600
Boris Pesce - Gli impiegati della Fiat dal 1955 al 1999 un percorso nella memoria 500
[Lambert-Eaton syndrome without calcium channel autoantibodies] 500
少脉山油柑叶的化学成分研究 500
Recherches Ethnographiques sue les Yao dans la Chine du Sud 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2402684
求助须知:如何正确求助?哪些是违规求助? 2101927
关于积分的说明 5301876
捐赠科研通 1829559
什么是DOI,文献DOI怎么找? 911778
版权声明 560393
科研通“疑难数据库(出版商)”最低求助积分说明 487398