Enhanced matrix inference with Seq2seq models via diagonal sorting

Author:

Peng Wei,Wang Yisong,Wu Maonian

Abstract

AbstractThe effectiveness of sequence-to-sequence (seq2seq) models in natural language processing has been well-established over time, and recent studies have extended their utility by treating mathematical computing tasks as instances of machine translation and achieving remarkable results. However, our exploratory experiments have revealed that the seq2seq model, when employing a generic sorting strategy, is incapable of inferring on matrices of unseen rank, resulting in suboptimal performance. This paper aims to address this limitation by focusing on the matrix-to-sequence process and proposing a novel diagonal-based sorting. The method constructs a stable ordering structure of elements for the shared leading principal submatrix sections in matrices with varying ranks. We conduct experiments involving maximal independent sets and Sudoku laws, comparing seq2seq models utilizing different sorting methods. Our findings demonstrate the advantages of the proposed diagonal-based sorting in inference, particularly when dealing with matrices of unseen ranks. By introducing and advocating for this method, we enhance the suitability of seq2seq models for investigating the laws of matrix inclusion and exploring their potential in solving matrix-related tasks.

Funder

National Natural Science Foundation of China

Guizhou Science Support Project

Publisher

Springer Science and Business Media LLC

Subject

Multidisciplinary

Reference30 articles.

1. Otter, D. W., Medina, J. R. & Kalita, J. K. A survey of the usages of deep learning for natural language processing. IEEE Trans. Neural. Net Learn. 32, 604–624 (2020).

2. Sutskever, I., Vinyals, O., & Le, Q. V. Sequence to sequence learning with neural networks. In Proceedings of Annual Conference on Neural Information Processing Systems (NIPS’14), Quebec, Canada, 3104–3112 (2014).

3. Vaswani, A., Shazeer, N., Parmar, N., et al. Attention is all you need. In Proceedings of Annual Conference on Neural Information Processing Systems (NIPS’17), Long Beach, CA, USA, 5998–6008 (2017).

4. Lample, G., & Charton, F. Deep learning for symbolic mathematics. In Proceedings of International Conference on Learning Representations (ICLR’20), Addis Ababa, Ethiopia (2020).

5. Shen, Y., & Jin, C. Solving math word problems with multi-encoders and multi-decoders. In Proceedings of International Conference on Computational Linguistics (COLING’20), Virtual Event/Barcelona, Spain, 2924–2934 (2020).

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3