arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.16442cs.CLcs.AI
收藏

通过 LLMs 潜空间增强上下文分类

Contextual Categorization Enhancement through LLMs Latent-Space

Deggendorf Institute of Technology(代根多夫应用技术大学)

Zineddine Bettouche, Anas Safi, Andreas Fischer

AI总结:

本文提出利用 transformer 模型将 Wikipedia 文本及分类提取至潜空间,结合 Convex Hull、HNSW 和基于欧式距离的指数衰减函数检索高 Reconsideration Probability 项目,帮助数据库管理员改进数据分组并识别异常值。

摘要:

管理大型文本数据集(如 Wikipedia)中分类的语义质量,在复杂性和成本方面面临重大挑战。在本文中,我们提出利用 transformer 模型,将 Wikipedia 数据集及其相关分类中文本的语义信息提取到潜空间中。然后,我们探索了基于这些编码的不同方法,以评估和增强分类的语义同一性。我们的图方法由 Convex Hull 驱动,同时我们在分层方法中利用 Hierarchical Navigable Small Worlds (HNSWs)。作为解决降维引起的信息丢失的方案,我们调节了以下数学解决方案:一个由文本分类的高维编码之间的欧几里得距离驱动的指数衰减函数。该函数表示围绕上下文分类构建的过滤器,并检索具有特定 Reconsideration Probability (RP) 的项目。检索高 RP 项目可作为数据库管理员的工具,通过在上下文框架内提供推荐和识别异常值来改进数据分组。

英文摘要:

Managing the semantic quality of the categorization in large textual datasets, such as Wikipedia, presents significant challenges in terms of complexity and cost. In this paper, we propose leveraging transformer models to distill semantic information from texts in the Wikipedia dataset and its associated categories into a latent space. We then explore different approaches based on these encodings to assess and enhance the semantic identity of the categories. Our graphical approach is powered by Convex Hull, while we utilize Hierarchical Navigable Small Worlds (HNSWs) for the hierarchical approach. As a solution to the information loss caused by the dimensionality reduction, we modulate the following mathematical solution: an exponential decay function driven by the Euclidean distances between the high-dimensional encodings of the textual categories. This function represents a filter built around a contextual category and retrieves items with a certain Reconsideration Probability (RP). Retrieving high-RP items serves as a tool for database administrators to improve data groupings by providing recommendations and identifying outliers within a contextual framework.

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

↑