paper-with-me

홈 › Papers

Unsupervised Contrast-Consistent Ranking with Language Models

2023-09-13 · Niklas Stoehr, Pengxiang Cheng, Jing Wang, Daniel Preotiuc-Pietro, Rajarshi Bhowmik

Language models contain ranking-based knowledge and are powerful solvers of in-context ranking tasks. For instance, they may have parametric knowledge about the ordering of countries by size or may be able to rank product reviews by sentiment. We compare pairwise, pointwise and listwise prompting techniques to elicit a language model's ranking knowledge. However, we find that even with careful calibration and constrained decoding, prompting-based techniques may not always be self-consistent in the rankings they produce. This motivates us to explore an alternative approach that is inspired by an unsupervised probing method called Contrast-Consistent Search (CCS). The idea is to train a probe guided by a logical constraint: a language model's representation of a statement and its negation must be mapped to contrastive true-false poles consistently across multiple statements. We hypothesize that similar constraints apply to ranking tasks where all items are related via consistent, pairwise or listwise comparisons. To this end, we extend the binary CCS method to Contrast-Consistent Ranking (CCR) by adapting existing ranking methods such as the Max-Margin Loss, Triplet Loss and an Ordinal Regression objective. Across different models and datasets, our results confirm that CCR probing performs better or, at least, on a par with prompting.

📄 PDF Abstract BibTeX arXiv:2309.06991

Code (1)

niklasstoehr/contrast-consistent-ranking 공식 구현 pytorch

Tasks

Language ModellingNegationTriplet

Methods 이 논문이 사용한 방법론

Triplet Loss The goal of Triplet loss, in the context of Siamese Networks, is to maximize the joint probability among all score-pairs i.e. the product of all probabilities. By using its…

Similar Papers 제목 키워드 기반

RankCSE: Unsupervised Representation Learning via Learning to Rank

2022-11-14 · Anonymous

Unsupervised sentence representation learning is one of the fundamental problems in natural language processing with various downstream applications. Recently, contrastive learning has been widely adopted which derives h…

Contrastive LearningLearning-To-RankRepresentation LearningSemantic Textual Similarity+2

RankCSE: Unsupervised Sentence Representations Learning via Learning to Rank

2023-05-26 · Jiduan Liu, Jiahao Liu, Qifan Wang, Jingang Wang 외

Unsupervised sentence representation learning is one of the fundamental problems in natural language processing with various downstream applications. Recently, contrastive learning has been widely adopted which derives h…

Contrastive LearningLearning-To-RankRepresentation LearningSemantic Textual Similarity+2

InPars-Light: Cost-Effective Unsupervised Training of Efficient Rankers

2023-01-08 · Leonid Boytsov, Preksha Patel, Vivek Sourabh, Riddhi Nisar 외

We carried out a reproducibility study of InPars, which is a method for unsupervised training of neural rankers (Bonifacio et al., 2022). As a by-product, we developed InPars-light, which is a simple-yet-effective modifi…

Language ModellingRe-RankingRetrieval

Unsupervised Acquisition of Comprehensive Multiword Lexicons using Competition in an n-gram Lattice

2017-01-01 · TACL 2017 1 · Julian Brooke, Jan {\v{S}}najder, Timothy Baldwin

We present a new model for acquiring comprehensive multiword lexicons from large corpora based on competition among n-gram candidates. In contrast to the standard approach of simple ranking by association measure, in our…

Ranking Info Noise Contrastive Estimation: Boosting Contrastive Learning via Ranked Positives

2022-01-27 · David T. Hoffmann, Nadine Behrmann, Juergen Gall, Thomas Brox 외

This paper introduces Ranking Info Noise Contrastive Estimation (RINCE), a new member in the family of InfoNCE losses that preserves a ranked ordering of positive samples. In contrast to the standard InfoNCE loss, which …

Contrastive LearningOut-of-Distribution DetectionRepresentation LearningRetrieval