Format as a Prior: Quantifying and Analyzing Bias in LLMs for Heterogeneous Data

Jiacheng Liu, Mayi Xu, Qiankun Pi, Wenli Li, Ming Zhong +3 more
8/13/2025
cs.CLcs.LG

No official code found. Best implementation: yier48/Format-as-a-prior (1 star, last commit 2025-11-14).

Abstract

Large Language Models (LLMs) are increasingly employed in applications that require processing information from heterogeneous formats, including texts, tables, infoboxes, and knowledge graphs. However, systematic biases toward particular formats may undermine LLMs' ability to integrate heterogeneous data impartially, potentially resulting in reasoning errors and increased risks in downstream tasks. Yet it remains unclear whether such biases are systematic, which data-level factors drive them, and what internal mechanisms underlie their emergence. In this paper, we present the first comprehensive study of format bias in LLMs through a three-stage empirical analysis. The first stage explores the presence and direction of bias across a diverse range of LLMs. The second stage examines how key data-level factors influence these biases. The third stage analyzes how format bias emerges within LLMs' attention patterns and evaluates a lightweight intervention to test its effectiveness. Our results show that format bias is consistent across model families, driven by information richness, structure quality, and representation type, and is closely associated with attention imbalance within the LLMs. Based on these investigations, we identify three future research directions to reduce format bias: enhancing data pre-processing through format repair and normalization, introducing inference-time interventions such as attention re-weighting, and developing format-balanced training corpora. These directions will support the design of more robust and fair heterogeneous data processing systems.

View on arXivView PDF

Code Implementations(1)

Codebase for the AAAI 2026 paper "Format as a Prior: Quantifying and Analyzing Bias in LLMs for Heterogeneous Data".

11PythonNov 12, 202511 months ago

Similar Papers

Cite this paper

@article{liu2025format,
  title  = {Format as a Prior: Quantifying and Analyzing Bias in LLMs for Heterogeneous Data},
  author = {Jiacheng Liu and Mayi Xu and Qiankun Pi and Wenli Li and Ming Zhong and Yuanyuan Zhu and Mengchi Liu and Tieyun Qian},
  year   = {2025},
  eprint = {2508.15793},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.15793v3}
}

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

Discussion