Abstract

The 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.

Details

Title
Enhanced matrix inference with Seq2seq models via diagonal sorting
Author
Peng, Wei 1 ; Wang, Yisong 1 ; Wu, Maonian 2 

 Guizhou University, Department of Computer Science, Guiyang, China (GRID:grid.443382.a) (ISNI:0000 0004 1804 268X); Guizhou University, State Key Laboratory of Public Big Data, College of Computer Science and Technology, Guiyang, China (GRID:grid.443382.a) (ISNI:0000 0004 1804 268X) 
 Huzhou University, The Information Engineering College, Huzhou, China (GRID:grid.411440.4) (ISNI:0000 0001 0238 8414); Huzhou University, Zhejiang Province Key Laboratory of Smart Management and Application of Modern Agricultural Resources, Huzhou, China (GRID:grid.411440.4) (ISNI:0000 0001 0238 8414) 
Pages
883
Publication year
2024
Publication date
2024
Publisher
Nature Publishing Group
e-ISSN
20452322
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
2912143886
Copyright
© The Author(s) 2024. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.