arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.01364cs.IRcs.LG
收藏

一种基于语义的深度学习数学表达式检索方法

A semantic-based deep learning approach for mathematical expression retrieval

Indian Institute of Information Technology, Sri City, India(印度信息科技学院,斯里城,印度)

Pavan Kumar Perepu

AI总结:

本文提出一种基于深度循环神经网络(DRNN)的数学表达式语义检索方法,通过提取语义特征并基于欧几里得距离匹配,在829个MEs数据库上验证了有效性。

摘要:

数学表达式(MEs)具有复杂的二维结构,符号可以出现在任意嵌套深度,如上标、下标、上方、下方等。由于MEs使用LaTeX格式表示,文献中已有几种基于字符串匹配、向量空间模型等的文本检索方法被应用于ME检索问题。由于这些方法基于语法相似性,最近基于嵌入的深度学习方法已被用于语义相似性。在本研究中,我们专注于使用深度学习方法进行数学表达式的检索。在我们的方法中,使用深度循环神经网络(DRNN)从MEs中提取语义特征,并将这些特征用于匹配和检索。我们训练网络执行分类任务,以确定ME的复杂度。ME复杂度根据其嵌套深度量化。基于嵌套深度,我们考虑了三类ME复杂度:简单、中等和复杂。训练网络后,提取所有MEs在最终全连接层之前的输出。这些输出构成MEs的语义特征并存储在数据库中。对于给定的ME查询,使用训练好的DRNN计算其语义特征,并与语义特征数据库进行匹配。匹配基于标准欧几里得距离,检索前'k'个最近匹配,其中'k'是用户定义的参数。我们的方法在包含829个MEs的数据库上进行了演示。

英文摘要:

Mathematical expressions (MEs) have complex two-dimensional structures in which symbols can be present at any nested depth like superscripts, subscripts, above, below etc. As MEs are represented using LaTeX format, several text retrieval methods based on string matching, vector space models etc., have also been applied for ME retrieval problem in the literature. As these methods are based on syntactic similarity, recently deep learning approaches based on embedding have been used for semantic similarity. In our present work, we have focused on the retrieval of mathematical expressions using deep learning approaches. In our approach, semantic features are extracted from the MEs using a deep recurrent neural network (DRNN) and these features have been used for matching and retrieval. We have trained the network for a classification task which determines the complexity of an ME. ME complexity has been quantified in terms of its nested depth. Based on the nested depth, we have considered three complexity classes of MEs: Simple, Medium and Complex. After training the network, outputs just before the the final fully connected layer are extracted for all the MEs. These outputs form the semantic features of MEs and are stored in a database. For a given ME query, its semantic features are computed using the trained DRNN and matched against the semantic feature database. Matching is performed based on the standard euclidean distance and top 'k' nearest matches are retrieved, where 'k' is a user-defined parameter. Our approach has been illustrated on a database of 829 MEs.

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

↑