Formality is Favored: Unraveling the Learning Preferences of Large Language Models on Data with Conflicting Knowledge

Jiahuan Li, Yiqing Cao, Shujian Huang, Jiajun Chen
10/7/2024
cs.CL

No official code found. Best implementation: CaoYiqingT/Formality-is-Favored (3 stars, last commit 2024-12-05). 1 more below.

Abstract

Having been trained on massive pretraining data, large language models have shown excellent performance on many knowledge-intensive tasks. However, pretraining data tends to contain misleading and even conflicting information, and it is intriguing to understand how LLMs handle these noisy data during training. In this study, we systematically analyze LLMs' learning preferences for data with conflicting knowledge. We find that pretrained LLMs establish learning preferences similar to humans, i.e., preferences towards formal texts and texts with fewer spelling errors, resulting in faster learning and more favorable treatment of knowledge in data with such features when facing conflicts. This finding is generalizable across models and languages and is more evident in larger models. An in-depth analysis reveals that LLMs tend to trust data with features that signify consistency with the majority of data, and it is possible to instill new preferences and erase old ones by manipulating the degree of consistency with the majority data.

View on arXivView PDF

Code Implementations(2)

Code of paper Formality Favored: Unraveling the Learning Preferences of Large Language Models on Data with Conflicting Knowledge

31Shell, PythonJan 21, 20241 years ago

An attempt to extend research on <Formality is Favored: Unraveling the Learning Preferences of Large Language Models on Data with Conflicting Knowledge>

00Shell, PythonDec 23, 20241 years ago

Cite this paper

@article{li2024formality,
  title  = {Formality is Favored: Unraveling the Learning Preferences of Large Language Models on Data with Conflicting Knowledge},
  author = {Jiahuan Li and Yiqing Cao and Shujian Huang and Jiajun Chen},
  year   = {2024},
  eprint = {2410.04784},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04784v1}
}

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

Discussion