Chain-of-Specificity: An Iteratively Refining Method for Eliciting Knowledge from Large Language Models

Kaiwen Wei, Jingyuan Zhang, Hongzhi Zhang, Fuzheng Zhang, Di Zhang +2 more
2/20/2024
cs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large Language Models (LLMs) exhibit remarkable generative capabilities, enabling the generation of valuable information. Despite these advancements, previous research found that LLMs sometimes struggle with adhering to specific constraints (e.g., in specific place or at specific time), at times even overlooking them, which leads to responses that are either too generic or not fully satisfactory. Existing approaches attempted to address this issue by decomposing or rewriting input instructions, yet they fall short in adequately emphasizing specific constraints and in unlocking the underlying knowledge (e.g., programming within the context of software development). In response, this paper proposes a simple yet effective method named Chain-of-Specificity (CoS). Specifically, CoS iteratively emphasizes the specific constraints in the input instructions, unlocks knowledge within LLMs, and refines responses. Experiments conducted on publicly available and self-build complex datasets demonstrate that CoS outperforms existing methods in enhancing generated content especially for the specificity. Besides, as the number of specific constraints increase, other baselines falter, while CoS still performs well. Moreover, we show that distilling responses generated by CoS effectively enhances the ability of smaller models to follow the constrained instructions. Resources of this paper will be released for further research.

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. 1 weaker match is hidden by default — 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{wei2024chainofspecificity,
  title  = {Chain-of-Specificity: An Iteratively Refining Method for Eliciting Knowledge from Large Language Models},
  author = {Kaiwen Wei and Jingyuan Zhang and Hongzhi Zhang and Fuzheng Zhang and Di Zhang and Li Jin and Yue Yu},
  year   = {2024},
  eprint = {2402.15526},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15526v1}
}

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/2402.15526.svg)](https://codeofpaper.com/paper/2402.15526)

Discussion