In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, efficiency is a significant challenge in this paradigm, especially as the candidate list grows due to quadratic/super-linear scaling of attention operation with context length. To this end, this paper first identifies inherent and exploitable structures in the attention of LLMs finetuned for ICR: (1) inter-document block sparsity: attention is dense within each document block but sparse across different documents in the context; and (2) query-document block relevance: the attention scores from certain query tokens to a document block in middle layers strongly correlate with that document's actual relevance. Motivated by these observations, we introduce BlockRank (Blockwise In-context Ranking), a novel method that adapts the attention operation in an LLM by (a) architecturally enforcing the observed inter-document block sparsity, reducing attention complexity from quadratic to linear without loss in performance, and (b) optimizing query-document block relevance for true relevant documents during fine-tuning using an auxiliary contrastive training objective, improving retrieval in attention. Experiments on BEIR, MSMarco and NQ with Mistral-7B demonstrate that BlockRank Mistral matches or outperforms existing SOTA listwise rankers and controlled fine-tuned baseline while being significantly more efficient at inference (4.7x for 100 MSMarco documents in context) and scaling gracefully to long-context shortlists, around 500 documents in-context (approximately 100K context length) within a second, presenting a scalable and effective solution for ICR.
Unifying Generative Recall and Multi-Objective Ranking in a Single Decoder-Only Sequence
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Kuaishou Technology(快手科技)
From Token Generation to Item Ranking: Direct Generative Recommendation with Semantic IDs
Central South University(中南大学);Hong Kong Polytechnic University(香港理工大学);National University of Defense Technology(国防科技大学);City University of Macau(澳门城市大学);Griffith University(格里菲斯大学)
PASH at TREC 2021 Deep Learning Track: Generative Enhanced Model for Multi-stage Ranking
Ping An Health Technology, Beijing, China Peking University, Beijing, China Ping An Property \& Casualty Insurance Company, Shenzhen, China Central University of Finance;Economics, Beijing, China Ping An Health Cloud Company Limited., Shenzhen, China Ping An International Smart City Technology Co., Ltd., Shenzhen, China
Top-N-Rank: A Scalable List-wise Ranking Method for Recommender Systems
Pennsylvania State University(宾夕法尼亚州立大学);South China University of Technology(华南理工大学)
我们提出了Top-N-Rank,一种新颖的列表式学习排名模型,用于可靠地推荐N个排名靠前的项目。所提出的模型优化了广泛使用的折扣累积增益(DCG)目标函数的变体,其在两个重要方面不同于DCG:(i)它将DCG的评估仅限于排名列表中的前N个项目,从而消除了低排名项目对学习的排名函数的影响;以及(ii)它结合了允许模型利用具有不同可靠性或可信度级别的多种类型的隐式反馈的权重。由于得到的目标函数是非光滑的,因此优化具有挑战性,我们考虑使用传统的S形函数和校正线性单元(ReLU)对目标函数进行两个光滑近似。我们提出了一个家庭的学习排名算法(Top-N-Rank),工作与任何光滑的目标函数。然后,引入了一个更有效的变体Top-N-Rank.ReLU,该变体有效地利用了ReLU函数的性质,将Top-N-Rank的计算复杂性从用户评分的平均项目数的二次降低到线性。我们使用两个广泛使用的基准测试,即MovieLens数据集和Amazon Video Games数据集的实验结果表明:(i)目标函数的“top-N截断”大大提高了前N个推荐的排名质量;(ii)与使用sigmoid相比,使用ReLU来平滑目标函数在排名质量和运行时间方面都有显着改善;以及(iii)Top-N-Rank.ReLU在排名质量方面大大优于表现良好的列表式排名方法。
快速相似性搜索是大规模信息检索中的关键组成部分,其中语义哈希已经成为将文档表示为二进制哈希码的流行策略。这一领域的最新进展是通过基于神经网络的模型获得的:通过学习重建原始文档来训练生成模型。我们提出了一种新的无监督生成语义哈希方法,\textit{Ranking based Semantic Hashing}(RBSH),它由一个变分和排名为基础的组件。类似于变分自编码器,变分组件被训练以根据其生成的哈希码重建原始文档,并且与先前的工作一样,它只考虑单独的文档。排名组件通过将文档间相似性并入哈希代码生成中、通过铰链损失对文档排序进行建模来解决此限制。为了避免需要标记数据来计算铰链损失,我们使用弱标记器,从而保持该方法完全无监督。针对传统基线和最近最先进的语义哈希方法对四个公开可用的数据集进行了广泛的实验评估,结果表明RBSH在所有评估的哈希码长度上都显着优于所有其他方法。事实上,RBSH哈希码能够执行类似于最先进的哈希码,同时使用2- 4倍的比特。
Controlling Output Rankings in LLM-Based Search via Generative Engine Optimization
School of Information Sciences, University of Illinois at Urbana-Champaign, IL, USA(伊利诺伊大学厄巴纳-香槟分校信息科学学院);Independent Researcher, Starc Institute(Starc研究所独立研究者);Research Scientist, Intel Labs, Santa Clara, CA, USA(英特尔实验室研究科学家)
Evaluating Generative Ad Hoc Information Retrieval
Leipzig University(莱比锡大学);The University of Queensland(昆士兰大学);Bauhaus-Universität Weimar(魏玛包豪斯大学);Friedrich-Schiller-Universität Jena(弗里德里希·席勒大学耶拿分校);University of Kassel(卡塞尔大学)