Direct-Inverse Prompting: Analyzing LLMs' Discriminative Capacity in Self-Improving Generation

Jihyun Janice Ahn, Ryo Kamoi, Lu Cheng, Rui Zhang, Wenpeng Yin
6/27/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Mainstream LLM research has primarily focused on enhancing their generative capabilities. However, even the most advanced LLMs experience uncertainty in their outputs, often producing varied results on different runs or when faced with minor changes in input, despite no substantial change in content. Given multiple responses from the same LLM to the same input, we advocate leveraging the LLMs' discriminative capability to reduce this generative uncertainty, aiding in identifying the correct answers. Specifically, we propose and analyze three discriminative prompts: direct, inverse, and hybrid, to explore the potential of both closed-source and open-source LLMs in self-improving their generative performance on two benchmark datasets. Our insights reveal which discriminative prompt is most promising and when to use it. To our knowledge, this is the first work to systematically analyze LLMs' discriminative capacity to address generative uncertainty.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ahn2024directinverse,
  title  = {Direct-Inverse Prompting: Analyzing LLMs' Discriminative Capacity in Self-Improving Generation},
  author = {Jihyun Janice Ahn and Ryo Kamoi and Lu Cheng and Rui Zhang and Wenpeng Yin},
  year   = {2024},
  eprint = {2407.11017},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.11017v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.11017.svg)](https://codeofpaper.com/paper/2407.11017)

Discussion