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

用于图倒排索引的上下文化Token化

Contextual Tokenization for Graph Inverted Indices

Department of Computer Science and Engineering, IIT Bombay(印度理工学院班加罗尔计算机科学与工程系)

Pritish Chakraborty, Indradyumna Roy, Soumen Chakrabarti, Abir De

AI总结:

针对大规模图语料库中子图同构检索的效率瓶颈,提出CORGII图索引框架,通过可微分离散化模块将稠密图表示转化为稀疏二进制码,并结合可训练影响权重和token扩展机制,利用经典倒排索引实现更优的准确率与效率权衡。

摘要:

从大型语料库中检索包含与给定查询图同构的子图的图,是许多实际应用中的核心操作。尽管最近的多向量图表示以及基于集合对齐和包含的评分方法能够提供准确的子图同构测试,但它们在检索中的应用仍然受限于需要对语料库图进行穷举评分的需求。我们引入了CORGII(用于倒排索引的图的上下文表示),这是一个图索引框架。在该框架中,从一个上下文化的稠密图表示开始,一个可微分离散化模块在学习到的潜在词汇表上计算稀疏二进制码。这种类似文本文档的表示使我们能够利用经典的、高度优化的倒排索引,同时支持软(向量)集合包含评分。进一步推进这一范式,我们用数据驱动的、可训练的影响权重取代了图中“token”的经典固定影响权重(如TFIDF或BM25)。最后,我们探索了token扩展,以支持对索引进行多探测,从而实现更平滑的准确率与效率权衡。据我们所知,CORGII是第一个使用离散token映射到高效倒排列表的稠密图表示索引器。大量实验表明,与多个基线相比,CORGII在准确率和效率之间提供了更好的权衡。

英文摘要:

Retrieving graphs from a large corpus, that contain a subgraph isomorphic to a given query graph, is a core operation in many real-world applications. While recent multi-vector graph representations and scores based on set alignment and containment can provide accurate subgraph isomorphism tests, their use in retrieval remains limited by their need to score corpus graphs exhaustively. We introduce CORGII (Contextual Representation of Graphs for Inverted Indexing), a graph indexing framework in which, starting with a contextual dense graph representation, a differentiable discretization module computes sparse binary codes over a learned latent vocabulary. This text document-like representation allows us to leverage classic, highly optimized inverted indices, while supporting soft (vector) set containment scores. Pushing this paradigm further, we replace the classical, fixed impact weight of a `token' on a graph (such as TFIDF or BM25) with a data-driven, trainable impact weight. Finally, we explore token expansion to support multi-probing the index for smoother accuracy-efficiency tradeoffs. To our knowledge, CORGII is the first indexer of dense graph representations using discrete tokens mapping to efficient inverted lists. Extensive experiments show that CORGII provides better trade-offs between accuracy and efficiency, compared to several baselines.

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

↑