RETRO:文本数据上数据库内机器学习的关系改进
RETRO: Relation Retrofitting For In-Database Machine Learning on Textual Data
摘要:
数据库中有大量的文本数据,对许多机器学习(ML)任务都很有价值。由于ML技术依赖于数字输入表示,因此词嵌入越来越多地用于将符号表示(例如文本)转换为有意义的数字。然而,将数据库中的每个单词简单地一对一映射到词嵌入向量是不够的,并且会导致ML任务的准确性较差。因此,我们主张将数据库模式给出的信息额外地结合到嵌入中,例如,哪些词出现在同一列中或彼此相关。在本文中,我们提出了RETRO(RElational reTROfitting),一种新的方法来学习数据库中的文本值的数值表示,捕捉两全其美,丰富的信息编码的词嵌入和数据库表编码的关系信息。我们将关系更新描述为一个学习问题,并提出了一个有效的算法来解决它。我们研究了各种超参数对学习问题的影响,并为所有这些超参数提供了良好的设置。我们的评估表明,所提出的嵌入可用于许多ML任务,如分类和回归,甚至在空值插补和链接预测等集成任务中优于最先进的技术。
英文摘要:
There are massive amounts of textual data residing in databases, valuable for many machine learning (ML) tasks. Since ML techniques depend on numerical input representations, word embeddings are increasingly utilized to convert symbolic representations such as text into meaningful numbers. However, a naive one-to-one mapping of each word in a database to a word embedding vector is not sufficient and would lead to poor accuracies in ML tasks. Thus, we argue to additionally incorporate the information given by the database schema into the embedding, e.g. which words appear in the same column or are related to each other. In this paper, we propose RETRO (RElational reTROfitting), a novel approach to learn numerical representations of text values in databases, capturing the best of both worlds, the rich information encoded by word embeddings and the relational information encoded by database tables. We formulate relation retrofitting as a learning problem and present an efficient algorithm solving it. We investigate the impact of various hyperparameters on the learning problem and derive good settings for all of them. Our evaluation shows that the proposed embeddings are ready-to-use for many ML tasks such as classification and regression and even outperform state-of-the-art techniques in integration tasks such as null value imputation and link prediction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。