paper-with-me

홈 › Papers

Teaching Neural Module Networks to Do Arithmetic

2022-10-06 · COLING 2022 10 · Jiayi Chen, Xiao-Yu Guo, Yuan-Fang Li, Gholamreza Haffari

Answering complex questions that require multi-step multi-type reasoning over raw text is challenging, especially when conducting numerical reasoning. Neural Module Networks(NMNs), follow the programmer-interpreter framework and design trainable modules to learn different reasoning skills. However, NMNs only have limited reasoning abilities, and lack numerical reasoning capability. We up-grade NMNs by: (a) bridging the gap between its interpreter and the complex questions; (b) introducing addition and subtraction modules that perform numerical reasoning over numbers. On a subset of DROP, experimental results show that our proposed methods enhance NMNs' numerical reasoning skills by 17.7% improvement of F1 score and significantly outperform previous state-of-the-art models.

📄 PDF Abstract BibTeX arXiv:2210.02703

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

An Extended Symbolic-Arithmetic Model for Teaching Double-Black Removal with Rotation in Red-Black Trees

2025-04-04 · Kennedy E. Ehimwenma, HongYu Zhou, Junfeng Wang, Ze Zheng

Double-black (DB) nodes have no place in red-black (RB) trees. So when DB nodes are formed, they are immediately removed. The removal of DB nodes that cause rotation and recoloring of other connected nodes poses greater …

Teaching-Inspired Integrated Prompting Framework: A Novel Approach for Enhancing Reasoning in Large Language Models

2024-10-10 · Wenting Tan, Dongxiao Chen, Jieting Xue, ZiHao Wang 외

Large Language Models (LLMs) exhibit impressive performance across various domains but still struggle with arithmetic reasoning tasks. Recent work shows the effectiveness of prompt design methods in enhancing reasoning c…

Arithmetic ReasoningMathMathematical ReasoningMath Word Problem Solving

Teaching Transformers Modular Arithmetic at Scale

2024-10-04 · Eshika Saxena, Alberto Alfarano, Emily Wenger, Kristin Lauter

Modular addition is, on its face, a simple operation: given $N$ elements in $\mathbb{Z}_q$, compute their sum modulo $q$. Yet, scalable machine learning solutions to this problem remain elusive: prior work trains ML mode…

Cryptanalysis

Teaching Algorithmic Reasoning via In-context Learning

2022-11-15 · Hattie Zhou, Azade Nova, Hugo Larochelle, Aaron Courville 외

Large language models (LLMs) have shown increasing in-context learning capabilities through scaling up model and data size. Despite this progress, LLMs are still unable to solve algorithmic reasoning problems. While prov…

In-Context Learning

Calc-X and Calcformers: Empowering Arithmetical Chain-of-Thought through Interaction with Symbolic Systems

2023-05-24 · Marek Kadlčík, Michal Štefánik, Ondřej Sotolář, Vlastimil Martinek

Despite outstanding performance in many tasks, language models are notoriously inclined to make factual errors in tasks requiring arithmetic computation. We address this deficiency by creating Calc-X, a collection of dat…

Arithmetic ReasoningGSM8KLanguage ModelingLanguage Modelling