February 01, 2024
This study focuses on media bias detection, crucial in today’s era of influential social media platforms shaping individual attitudes and opinions. In contrast to prior work that primarily relies on training specific models tailored to particular datasets, resulting in limited adaptability and subpar performance on out-of-domain data, we introduce a general bias detection framework, IndiVec, built upon large language models. IndiVec begins by constructing a fine-grained media bias database, leveraging the robust instruction-following capabilities of large language models and vector database techniques. When confronted with new input for bias detection, our framework automatically selects the most relevant indicator from the vector database and employs majority voting to determine the input’s bias label. IndiVec excels compared to previous methods due to its adaptability (demonstrating consistent performance across diverse datasets from various sources) and explainability (providing explicit top-k indicators to interpret bias predictions). Experimental results on four political bias datasets highlight IndiVec’s significant superiority over baselines. Furthermore, additional experiments and analysis provide profound insights into the framework’s effectiveness.
The widespread expansion of digital media platforms has introduced an era characterized by unparalleled accessibility to news and information. In today’s digital era, misinformation and disinformation frequently gains traction on social media, thereby exerting a significant influence on public perception and decision-making. Given the critical impact of media bias on shaping attitudes and opinions, there exists a pressing need for the development of effective tools designed for detecting bias in media content.
2.5mm
To this end, extensive efforts have been dedicated to social media bias detection [3]–[5], with the primary objective being the prediction of whether a given input (e.g., an article, a paragraph, or a sentence) exhibits bias or not. However, most of previous research focus on fine-tuning models specific to particular datasets [6] and subsequently testing them on corresponding test sets. We argue that such trained models lack adaptability and provide predictions that are essentially black-box, lacking in explainability. In this work, we propose a novel bias detection framework based on a comprehensive bias indicator database. The term bias indicator in this context refers to a concise, descriptive label or tag designed to represent the presence or nature of media bias. Diverging from the coarse-grained framing concept proposed in previous works [1], [7], [8], which cannot be directly applied to bias prediction, our media bias indicators are fine-grained, offering direct insight into the bias exhibited by a given input.
To provide a clearer distinction between framing and our fine-grained media bias indicators, we present several illustrative examples in ¿tbl:tab:intro?. It becomes evident that framing, exemplified by “Economic” and “Mental health”, falls short in capturing the detailed scope of bias, whereas our fine-grained indicators, automatically generated by LLMs across various dimensions (e.g., tone and language, sources and citations), offer a more comprehensive reflection of bias tendencies. In the context of predicting bias in new text, the prepared bias indicator database can function as a reservoir of human knowledge and experience, while the specific matched indicator can serve as a memory anchor, aiding in the prediction of bias.
In contrast to much of prior research, which often relies on fine-tuning methods or the training of specific models tailored to particular datasets, leading to limited adaptability and potential performance issues when confronted with out-of-domain data, our IndiVec framework displays notable versatility in bias detection across a wide spectrum of previously unencountered datasets sourced from various origins. Our approach begins with the construction of a bias indicator set, followed by the construction of a vector database based on LLM API. Leveraging the created bias vector database, when processing new text inputs that may contain bias, our bias prediction framework initially extracts or summarizes descriptors based on the given input. Subsequently, these descriptors are matched with indicators stored in the database. The bias label associated with the top-matched indicators dictates the final bias label assigned to the input in question. We conduct explorations on various political leaning prediction datasets with different bias levels (i.e., sentence- and article levels), initially constructing our indicator database based on a single dataset (i.e., FlipBias [9]). The findings demonstrate that our IndiVec method significantly outperforms the ChatGPT baseline on four distinct political leaning datasets (i.e., FlipBias [9], BASIL [6], BABE [10], MFC [1]) with different sources.
Furthermore, our IndiVec framework shows superiority in explainability. When tasked with detecting bias in a new article or sentence, our framework matches the top-k indicators from the indicator database to represent the bias inclination within the given input based on the distance with bias descriptors if given input. The majority label among these top-k indicators is subsequently employed to classify the input. Importantly, these top-k matched indicators can be interpreted as explanations for the bias prediction. They can also function as a valuable tool for aiding humans in annotating bias data, showing the high degree of explainability of our framework.
In brief, the main contributions of this paper are:
We propose a novel bias prediction framework, called IndiVec, which is based on fine-grained media bias indicators and a matching and voting process that departs from conventional classification-based methods.
We construct a bias indicator dataset consisting of over 20,000 indicators, which can serve as a comprehensive resource for predicting media bias in a more adaptable and explainable manner.
Further experiments and analysis validate the effectiveness, adaptability, and explainability of our IndiVec framework.
Media bias is frequently defined as the presentation of information “in a prejudiced manner or with a slanted viewpoint” [11]. However, researchers have explored media bias using diverse definitions and within various contexts, including political [5], linguistic bias [10], text-level context bias [12], gender bias [13], racial bias [14], etc. Though the bias definition and focus vary, the methodologies are generally based on a classification setting. From classical methods (e.g., Naive Bayes, SVM) [3], [15], [16] to deep learning models (e.g., RNN) [4] and pretrained language model-based methods (e.g., BERT and RoBERTa) [5], [6], they are adopted to predict defined labels in a classification manner. In our work, we treat bias classification as a matching process with fine-grained indicators from a constructed database, and the labels of the matched indicators determine the bias label. Our approach represents a departure from conventional classification methodologies and offers a novel perspective on predicting bias in media.
It refers to a text’s political leaning or ideology, potentially influencing the reader’s political opinion and, ultimately, their voting behavior [17]. Political Bias detection has been done at different granularity levels: single sentence [1], [9] and article [6], [10] level. In this work, we conduct experiments on both sentence- and article-level political bias datasets.
Framing refers to emphasizing desired aspects of an issue to promote and amplify a particular perspective [18]. Framing in news media and social networks has been studied to analyze political polarization [19]–[21]. [8] propose a multi-task learning model that jointly learns to embed sentence framing language and predict political bias. However, the frames studied in [8] are still limited and in the form of topic, which lacks of fine-grained semantics and could not be adopted directly to predict bias label. And the multi-task joint learning’s promotion is limited and lack adaptability compared to our IndiVec framework.
Although the bias detection task is typically considered a classification task, our IndiVec solution aims to address bias detection from the perspective of a recommendation task. For instance, in the quotation recommendation task [22]–[25], it is common and fundamental to match quotation candidates with the current query based on the learned representations of both candidates and the query. In this context, IndiVec endeavors to solve a classification task using a recommendation-oriented approach.
In this section, we first present the construction of the media bias indicator dataset in 3.1. Then, we discuss the challenges associated with indicator-based bias prediction and introduce our method of adopting indicators for bias prediction in 3.2.
Large Language Models (LLMs) have demonstrated remarkable generative capabilities across various applications and tasks, leveraging their impressive instruction-following capability [26]. In this study, we leverage these capabilities by designing meticulously tailored prompts. These prompts will serve as guides for LLMs in the systematic generation of fine-grained labels that accurately reflect the presence of media bias within given articles, text spans, or sentences.
To ensure the precision of indicator generation, we meticulously craft prompts that provide guidance to the LLMs. The objective of prompts is to enable LLMs to assist in analyzing bias or non-bias within input data comprehensively, considering multiple crucial aspects of media bias assessment. The aspects include tone and language, sources and citations, coverage and balance, agenda and framing, and bias in examples and analogies (refer to Table 1). These aspects collectively contribute to a nuanced understanding of bias within the content. Furthermore, to facilitate LLMs’ understanding of these aspects, we incorporate detailed descriptions and illustrative examples into the prompts. Specifically, the prompt is structured as follows:
Demonstration of bias indicator categories: .
Based on the demonstration provided above, please label the with bias indicators to identify the political leaning .
where represents description and examples of indicator categories shown in Table 1.
When LLMs are guided with the specific prompts we have introduced earlier, they possess the strong instruction-following capability to generate bias indicators. We collect the generated indicators, denoted as \(\mathcal{I}_0\), which serve as fundamental components in the further bias assessment process. These indicators enable us to systematically evaluate and categorize media bias, thereby contributing to a more nuanced understanding of bias within the analyzed content.
To ensure the quality of the generated indicators, we adopt a multi-strategy based verification. The strategies include: (1) We eliminate indicators that conflict with the provided ground truth labels. (2) Utilizing Large Language Models (LLM), we conduct a backward verification process and exclude indicators with low confidence in their ability to signify bias or non-bias. After verification, we get the indicator set \(\mathcal{I} = \{i_1, i_2, ..., i_{|\mathcal{I}|}\}\), and the corresponding bias label for \(\mathcal{I}\) is \(\mathcal{Y}=\{y_1, y_2, ..., y_{|\mathcal{I}|}\}\; (y_j \in \{0, 1, 2\}, \forall j \in \{1, 2, ..., |\mathcal{I}|\})\).
Our automatically generated and verified fine-grained indicator set serves as a valuable resource for facilitating the analysis and prediction of bias. In this subsection, we first discuss the potential challenges associated with applying media bias indicators in bias detection. Then, we elaborate on our approach to utilizing the media bias indicator set \(\mathcal{I}\) as a foundation for media bias detection.
One intuitive approach is to match the input text to the fine-grained indicators, where the bias label for the given input could be the bias label associated with the matched indicators. However, the size of the indicator set is quite large, and this poses a challenge for multi-label classification-based methods due to the sparse output space. Additionally, the semantic space of the indicators differs from that of the normal input text (e.g., input articles or sentence spans to detect bias) since the indicators are concise sentences that are associated with bias labels. Moreover, traditional approaches, such as training from scratch or fine-tuning the indicator matching method [2], may lead to a lack of adaptability, which deviates from our original goal of enhancing the adaptability of bias prediction.
To address the challenges mentioned above, we propose the utilization of a vector database technique that has recently garnered significant attention among researchers [27]. Initially, we create a vector database based on the indicator set and an off-the-shelf LLM text embedding API. Additionally, we extract descriptors from the input text based on similar prompt using in constructing indicator set (the difference is that we do not provide ground truth bias label), which can be considered as labels or tags within a similar semantic space as the indicators. Finally, we employ a matching process between the descriptors of the input text and the indicators based on their embedding representations’ distances. Notably, this approach circumvents the need for additional training efforts and capitalizes on the robust representation extraction capabilities of LLMs. The formal description of our indicator-based bias prediction process is as follows.
Based on the maintained indicator set \(\mathcal{I}\), we first construct and store the corresponding vector database \(\mathcal{V}_{\mathcal{I}}=\{v_1, v_2, ..., v_{|\mathcal{I}|}\}\). Here \(v_j \; (j \in \{1,2,...,|\mathcal{I}|\})\) is an N-dimensional vector representing its semantic information derived from techniques of embedding extraction (e.g., OpenAI Embeddings2).
\[v_j \leftarrow Embed(i_j), j \in \{1, 2, ..., |\mathcal{I}|\}\]
Given one query text input noted as \(c\), we first generate its descriptor \(\mathcal{D}^{c}=\{d_1^c, d_2^c, ..., d_{|\mathcal{D}^c|}^c\}\). For each \(d_j^c \in \mathcal{D}^{c}\), we extract its vector representation \(v_j^c\) with the identical embedding extraction method. Then, the distance between \(v_j^c\) and vectors in the vector database \(\mathcal{V}_{\mathcal{I}}\) can be computed using cosine similarity metric: \[Distance(v_j^c,v_k) = \frac{v_j^c \cdot v_k}{|v_j^c||v_k|}\] where \(k \in \{1,2,...,|\mathcal{I}|\}\). For each descriptor \(d_j^c \in \mathcal{D}^c\), we rank the \(|\mathcal{I}|\) bias indicators based on their distances to \(d_j^c\) and extract the top \(M\) bias indicators. Here, \(M\) is a hyper-parameter. The corresponding bias labels for these selected \(M\) bias indicators are denoted as \(\{y_{j,1}^c, y_{j,2}^c, \ldots, y_{j,M}^c\}\). Finally, we predict the bias label for input \(c\) using majority voting. In other words, the bias label assigned to query \(c\) is determined by the majority value among the \(|\mathcal{D}^c| \times M\) labels.
| Dataset | Bias Level | Source | Bias Label | Paired | # of Instances | Avg Length | % of Biased Instances |
|---|---|---|---|---|---|---|---|
| FlipBias [9] | Article | New York Times, Huffington Post, Fox News and Townhall | Left, Center, Right | Yes | 6,447 | 909 | 76.5 % |
| BASIL [6] | Sentence | Huffington Post, Fox News, and New York Times | Lexical Bias, Informational Bias | Yes | 7,984 | 24.1 | 19.6% |
| BABE [10] | Sentence | Fox News, Breitbart, Alternet and so on | Biased, Non-biased | No | 3,674 | 32.6 | 49.3% |
| MFC (V2) [1] | Article | Lexis-Nexis (Database) | Pro, Neutral, Anti | No | 37,623 | 260 | 84.5% |
-1em \end{table}
Though our media bias prediction framework is applicable for various types of bias, we primarily conducted experiments on political bias datasets due to their higher visibility and greater abundance. In our main experiments, we established a bias indicator vector database based on the FlipBias dataset [9]. This dataset was sourced from the news aggregation platform allsides.com in 2018, comprising a total of 2,781 events and each event is represented with sufficient text from different political leanings, providing diverse information and opinions. The data’s high quality and wide recognition make it the optimal choice to construct the vector database. Employing this constructed bias indicator database, in addition to the FlipBias dataset, we evaluated the model’s performance on three additional datasets: BASIL [6], BABE [10], and the Media Frame Corpus (MFC) [1]. We relabeled these datasets as Biased and Non-Biased instances following [28]. A detailed statistical analysis of these four datasets is provided in ¿tbl:tab:dataset?. Further elaboration along with examples related to the datasets can be found in 7.1.
We compare our IndiVec framework against two types of baselines: Finetune, which involves fine-tuning a pretrained language model [6], and ChatGpt. For the Finetune model, we take into consideration that our bias indicator is constructed exclusively from the FlipBias dataset. To ensure a fair comparison, we fine-tune pretrained language models, specifically BERT [29] and GPT3.53, using the training set of the FlipBias dataset. Subsequently, we present the test performance results on the test sets of the four datasets. As for the ChatGpt baseline, we employ zero-shot and few-shot approaches to predict bias labels, where the input data are directly presented with proper prompts to query ChatGPT for bias label prediction.
In our evaluation, we account for the varying proportions of biased and non-biased instances in the four datasets, which often result in severe label imbalances as shown in ¿tbl:tab:dataset?. Our assessment of model performance encompasses two key aspects: 1) Precision, Recall, and F1 Score for Biased Instances: This set of metrics helps us gauge the models’ ability to detect bias in the dataset. 2) MicroF1 and MacroF1 for Both Biased and Non-Biased Instances: These metrics provide insights into the overall prediction capabilities of the models, considering both biased and non-biased instances.
When conducting the fine-tuning experiments, we fine-tune the model using the pre-trained BERT model [29] and the AdamW optimizer [30]. This fine-tuning process was facilitated through Hugging Face [31], and we specifically employed the BertForSequenceClassification model.
In the implementation related to the large language model, we utilized the gpt-3.5-turbo-16k model via LangChain. The bias indicators are transformed into vectors using the text embedding model text-embedding-ada-002. These vectors are stored in the Chroma vector database, which is hosted on our local machine. The database acts as the search library for identifying similar vectors in the indicator matching process.
In the process of indicator verification, we prompt gpt-3.5-turbo-16k model for the confidence score (a number from 1 to 10) of each indicator. The average confidence score of our 24,272 indicators is 6.82. Consequently, we obtained 19,377 indicators after filtering the indicators with confidence scores less than 6. When predicting bias with vector database, our hyper-parameter \(M\) is set to \(10\), and the average numbers of descriptors \(|\mathcal{D}^c|\) are \(4.0, 2.7, 3.3, 4.2\) in FlipBias, BASIL, BABE, and MFC. Besides, we also conduct Left-Center-Right 3-way classification on dataset Flipbias and ABP [32].
| Base Models |
|
|
|
|
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2-6(lr)7-11(lr)12-16(lr)17-21 | FT-B | FT-G | G-ZS | G-FS | IndiVec | FT-B | FT-G | G-ZS | G-FS | IndiVec | FT-B | FT-G | G-ZS | G-FS | IndiVec | FT-B | FT-G | G-ZS | G-FS | IndiVec | ||||||||
| Precision | 83.6 | 88.7 | 63.9 | 59.9 | 62.7 | 19.1 | 20.0 | 39.3 | 22.4 | 32.2 | 49.2 | 37.7 | 81.9 | 53.7 | 62.9 | 86.3 | 85.8 | 86.5 | 86.4 | 86.9 | ||||||||
| Recall | 98.6 | 93.6 | 22.1 | 61.4 | 71.6 | 100 | 94.9 | 2.3 | 44.7 | 34.9 | 99.8 | 100 | 20.1 | 68.6 | 78.9 | 76.4 | 95.3 | 37.2 | 72.9 | 78.6 | ||||||||
| F1 | 90.5 | 91.1 | 32.9 | 60.6 | 66.9 | 32.0 | 33.0 | 4.4 | 29.5 | 33.5 | 65.9 | 54.7 | 32.2 | 60.2 | 70.0 | 81.1 | 90.3 | 52.3 | 79.1 | 82.5 | ||||||||
| Micro F1 | 87.5 | 90.0 | 45.8 | 52.1 | 57.2 | 16.1 | 25.0 | 80.7 | 59.7 | 73.7 | 49.2 | 38.0 | 58.4 | 55.4 | 66.7 | 69.3 | 82.5 | 41.0 | 66.8 | 71.4 | ||||||||
| Macro F1 | 89.9 | 89.8 | 43.7 | 49.8 | 53.2 | 19.1 | 23.9 | 46.8 | 50.5 | 58.6 | 33.0 | 28.2 | 51.1 | 54.7 | 66.3 | 50.0 | 50.3 | 37.3 | 49.4 | 51.8 | ||||||||
-1em \end{table}
\begin{table}[t] 1.1mm| Base Models |
|
|
|
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2-4(lr)5-7(lr)8-10(lr)11-13 | Pre | Rec | F1 | Pre | Rec | F1 | Pre | Rec | F1 | Pre | Rec | F1 | ||||||||
| Full model | 62.7 | 71.6 | 66.9 | 32.2 | 34.9 | 33.5 | 62.9 | 78.9 | 70.0 | 86.9 | 78.6 | 82.5 | ||||||||
| \(\;\;\) - \(\mathcal{I}\) construction’s Desc&Ex | 62.9 | 53.1 | 57.6 | 23.9 | 52.8 | 33.0 | 57.7 | 71.7 | 63.9 | 87.6 | 41.7 | 56.5 | ||||||||
| \(\;\;\;\;\;\;\) - \(\mathcal{I}\) construction’s verification | 64.3 | 53.8 | 58.6 | 23.7 | 59.6 | 33.9 | 56.0 | 75.4 | 64.3 | 87.6 | 46.8 | 61.0 | ||||||||
| \(\;\;\;\;\;\;\;\;\;\;\) - Descriptor mapping | 60.5 | 95.5 | 74.1 | 20.9 | 52.3 | 29.9 | 49.8 | 49.8 | 49.8 | 85.0 | 42.5 | 56.6 | ||||||||
| \(\;\;\) - \(\mathcal{I}\) construction’s verification | 62.2 | 70.5 | 66.1 | 31.9 | 29.7 | 30.8 | 60.4 | 79.3 | 68.5 | 87.6 | 68.8 | 77.1 | ||||||||
| \(\;\;\;\;\;\;\) - Descriptor mapping | 61.6 | 68.1 | 64.7 | 28.6 | 37.7 | 32.5 | 56.9 | 79.5 | 66.3 | 85.9 | 73.3 | 79.1 | ||||||||
-1em \end{table}
\begin{table}[t] 1.1mm| Training Set |
|
|
|
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2-4(lr)5-7(lr)8-10(lr)11-13 | F1 | MicroF1 | MacroF1 | F1 | MicroF1 | MacroF1 | F1 | MicroF1 | MacroF1 | F1 | MicroF1 | MacroF1 | ||||||||
| FlipBias | 32.0 | 16.1 | 19.1 | 65.9 | 49.2 | 33.0 | 81.1 | 69.3 | 50.0 | |||||||||||
| BASIL | 1.6 | 40.4 | 29.4 | 57.1 | 66.4 | 64.7 | 2.6 | 15.0 | 13.6 | |||||||||||
| BABE | 41.2 | 48.3 | 39.7 | 31.1 | 69.7 | 55.7 | 64.8 | 55.1 | 41.7 | |||||||||||
| MFC | 74.8 | 59.8 | 37.6 | 32.1 | 19.0 | 21.1 | 65.9 | 49.5 | 34.2 | |||||||||||
| All (FBBM) | 89.7 | 87.0 | 85.9 | 30.6 | 60.6 | 83.4 | 70.5 | 74.5 | 74.0 | 91.9 | 85.4 | 59.4 | ||||||||
-1em \end{table}
We report the main comparison results on four datasets in ¿tbl:tab:main95results?. We have the following observations based on the main results.
\(\bullet\) Our IndiVec framework demonstrates greater adaptability compared to the Finetune model trained on specific data. As we introduced in 4, our IndiVec is constructed based on the FlipBias dataset, while Finetune is fine-tuned on the same dataset. Although Finetune exhibits better performance on the in-domain test set (i.e., the FlipBias test set), it shows poorer performance on out-of-domain data (i.e., the test sets of BASIL, BABE, and MFC), particularly on datasets with different data formats (e.g., FlipBias exhibits article-level bias, whereas BASIL and BABE feature sentence-level bias). Although the GPT Finetune model outperforms the BERT Finetune model on the in-domain FlipBias test set, together with the same granularity, article-level, dataset MFC. It still cannot work well in imbalanced and out-of-domain data, which shows that the lack of generability is a common shortcoming of finetuning-based methods. In contrast, our IndiVec demonstrates promising performance for both in-domain and out-of-domain data. To further validate the claim that Finetune cannot handle out-of-domain data effectively, we conducted a more comprehensive set of experiments by fine-tuning the base BERT model [6] on four separate datasets, as well as on the combined dataset (referred to as FBMM). The results are presented in ¿tbl:tab:finetuning95comparison?. From the results, it is evident that even fine-tuning on the combined dataset did not yield the best performance. This further underscores the superiority of our general IndiVec bias detection framework.
\(\bullet\) Our IndiVec framework surpasses ChatGpt. In addition to its advancements over traditional fine-tuning methods, as shown in ¿tbl:tab:main95results?, IndiVec consistently outperforms ChatGpt across various evaluation metrics and datasets whether on zero-shot or few-shot setting. These improvements can be attributed to the fine-grained bias vector database, which offers denser knowledge on media bias compared to general large language models such as ChatGPT.
\(\bullet\) Imbalanced data does not have a significant affect on our IndiVec framework. By observing the microF1 and macroF1 scores on both biased and non-biased instances in ¿tbl:tab:main95results? and the proportions of biased and non-biased instances listed in ¿tbl:tab:dataset?, we can find that our IndiVec framework effectively handles datasets, irrespective of the degree of imbalance. This ability may be attributed to the fact that IndiVec’s bias prediction does not rely on training with the target data.
To further analyze the effectiveness of the proposed mechanisms, including multi-dimensional considerations in indicator construction, post-verification to enhance the indicator set’s quality, and the alignment of semantic space between normal sentences and indicators through mapping, we conducted an ablation study and present the results in ¿tbl:tab:ablation95study?. We find:
\(\bullet\) All proposed mechanisms are effective especially on out-of-domain data. By examining the ablation results of the variations to our full model in ¿tbl:tab:ablation95study?, it becomes evident that all the proposed mechanisms have a positive impact on performance in out-of-domain data (BASIL, BABE, MFC).
When analyzing the results on FlipBias, we observe that the highest F1 achieved by the simplest variant is attributed to an extremely high Recall score (e.g., 95.5 Recall, indicating a preference for labeling most test data as biased). It indicates that our components help to construct more general indicators instead of domain-specific indicators, which could generally perform well across all datasets.
\(\bullet\) Both the diversity and quality of indicators play a vital role. When we analyze the outcomes of our complete model and its variants, which exclude the “Desc&Ex” category during indicator construction (potentially reducing indicator diversity), it becomes evident that the effective presentation of indicators leads to improved prediction performance. This enhancement can be attributed to the fact that a well-crafted presentation can facilitate the generation of higher-quality, more varied indicators from various dimensions, thereby bolstering prediction accuracy. Additionally, when we assess the results of our full model and its variants that exclude backward verification, it becomes apparent that higher-quality indicators can significantly enhance bias prediction performance.
Before we explore assessing the effectiveness of our media bias indicator vector database (referred to as IndiVecDB), we first present statistics about the indicators annotated by LLM in 2. It’s evident that the indicator numbers across different categories are generally well-balanced. However, there are significant differences in the distribution of political leanings among the various categories. Notably, indicators in the “Sources and Citations” and “Examples and Analogies” categories tend to exhibit a neutral stance. This suggests that articles or sentences marked with specific sources, citations, and examples are more likely to be neutral. Furthermore, we conducted a statistical analysis of the length of the constructed indicators, revealing an average length of 15.9 tokens per indicator. This length is notably longer than the framing discussed in previous work [6], while also conveying richer semantics.
1mm
| Dataset | Input Text | Generated Descriptor | Top-1 Matched Indicator | Ground Label |
|---|---|---|---|---|
| BABE | A Joe Biden presidency could reset ties with top U S trade partner Mexico that have suffered since Donald Trump made his first White House bid tarring Mexican migrants as rapists and gun runners and vowing to keep them out with a border wall | Describes Donald Trump’s statements negatively | Uses negative language to describe Donald Trump’s actions and behavior | Biased |
| Frames Trump’s statements as damaging to US-Mexico ties | Trump’s criticism of Mexico, negative language towards trade actions | |||
| Village calls for stricter gun control State law limits Royal Palm Beach ... for lawmakers to enact stricter gun measures in the wake of ... But they ve lamented that their hands are tied by a 2011 Flor ida law that punishes local governments that try to pass their own gun control rules ... get us into the details that the current version does he said adding that he would prefer something general yet comprehensive | "stricter gun measures" and "punishes local governments” | Emotional appeals for stricter gun laws and criticism of politicians who oppose them | ||
| No specific sources or citations provided | No specific sources or citations provided | |||
| Presents the council’s call for stricter gun control as a response to the Parkland shooting | Focuses on the need for stronger gun controls and the opposition from the gun lobby | |||
| FlipBias | LAUSANNE, Switzerland (Reuters) - Russia has been banned from the 2018 Pyeongchang Winter Olympics after the IOC found evidence … | Describes the evidence of "unprecedented systematic manipulation" and "manipulation of doping and the anti | Provides details of the alleged robbery and the athletes’ actions |
We present case studies involving two examples selected from the BABE, MFC, and FlipBias datasets, as shown in ¿tbl:tab:case95study?. These case studies highlight the role of the generated descriptors and matched indicators in assessing bias at both article and sentence levels. For lengthy sequences, as the example from the MFC dataset in ¿tbl:tab:case95study?, where humans might not quickly locate bias, our generated descriptors are explainable and visible for end-users, making it particularly crucial for article-level bias detection.
In contrast, their influence on detecting sentence-level bias, as illustrated by the example from the BABE dataset, is less pronounced. These generated descriptors effectively extract and summarize potential bias points from the input, while the matched indicators from our constructed indicator set provide additional insights into bias prediction. Furthermore, upon closer examination of the example from the BABE dataset in ¿tbl:tab:case95study?, we find that the ground truth bias label for the given input is not always appropriate, as the example does not exhibit obvious bias. In such cases, our IndiVec framework serves as a valuable tool for analyzing potential bias in a more explicit manner. This capability can be especially useful for human annotators when re-evaluating and re-labeling datasets.


Figure 3: Performance Across Different Indicator Vector Database Sizes (3 (a)) and Varied Base Datasets for Indicator Construction (3 (b))..
Here we investigate the influence of the number of indicators within the vector database on indicator matching. We systematically vary the number of indicators while maintaining it as a fixed quantity and present the corresponding F1 scores (calculated exclusively for biased instances, as explained in ¿tbl:tab:main95results?) and MacroF1 scores on the BASIL dataset in 3 (a). Our analysis reveals that as the size of the vector database increases, the overall performance shows a consistent upward trend. Notably, we observe that the performance achieved with a database containing 500 indicators approaches the performance of our full model. This observation suggests that, for a specific test set, there exists a threshold beyond which adding more indicators to the database does not significantly improve performance. However, it is important to note that to accommodate various test sets with different sources, a larger and more diverse database is undoubtedly essential.
In our main results (¿tbl:tab:main95results?), we rely on indicators constructed from the FlipBias dataset. In this section, we extend our analysis to include indicators derived from various base datasets, including FlipBias, BABE, MFC, and a combination denoted as FBM (comprising FlipBias, BABE, and MFC). We present the precision and MacroF1 results on the FlipBias test set in 3 (b). We can observe that indicators based on the BABE and MFC datasets exhibit relatively lower performance, and the combination FBM does not yield a significant better performance than FlipBias. This may due to that FlipBias is already a diverse and comprehensive data base, and BABE and MFC do not provide additional indicators to help predict bias lables. Intriguingly, even when using a relatively small base dataset like BABE, which comprises only 3674 instances, the MacroF1 score on the test set surpasses that of ChatGPT (as referenced in the results in ¿tbl:tab:main95results?).


Figure 4: 4 (a):Visualization of 50 randomly sampled instances (Sentence, corresponding Descriptor and Top 5 ranked Indicators). 4 (b): Visualization of top 50 and last 50 ranked indicators for a randomly selected instance with four Descriptors..
In this subsection, we adopt t-SNE [33] tool to reduce the dimensionality of embeddings from 1536 to 2 and then plot the embeddings in 2D scatter plots to further analyse the effectiveness of our framework.
To explore the distinction between regular sentences, descriptors, and indicators, we randomly select 50 sentence inputs from the BABE dataset. Subsequently, we created descriptors and their corresponding top-5 matched indicators for these instances. In 4 (a), we present a visual representation of these 50 sentence inputs alongside their descriptors and indicators. We can see that the distribution of the sentence inputs appears random, whereas the descriptors and indicators exhibit clear clustering patterns. Moreover, it’s evident that the matched indicators typically reside at the center of the descriptors, aligning with our cosine similarity-based matching procedure. The difference between regular sentence inputs and their descriptors and indicators underscores the necessity of mapping normal inputs to descriptors, as descriptors tend to yield easier matches with indicators.
To investigate the disparity between top-ranked indicators and those with lower rankings, we selected a random test instance from the BABE dataset. Subsequently, we generated descriptors and matched indicators for these descriptors. In 4 (b), we illustrate the top 50 matched indicators alongside the last 50 ranked indicators for this specific instance. Notably, the top-ranked indicators form four distinct clusters, each corresponding to one of the four generated descriptors, while the lower-ranked indicators exhibit a more random distribution.
This work introduces IndiVec, a novel bias prediction framework. IndiVec leverages fine-grained media bias indicators and employs a unique matching and voting process. We also contribute a bias indicator dataset, encompassing over 20,000 indicators. Our comprehensive experiments and analyses further confirm the effectiveness, adaptability, and explainability of the IndiVec framework, highlighting its potential as a valuable tool for bias detection in media content.
The limitations of this work are primarily twofold. Although our approach demonstrates high adaptability compared to conventional classification-based and fine-tuning methods, IndiVec remains strongly reliant on the quality and diversity of the base dataset used for constructing the indicator database. While we incorporate multi-dimensional considerations for constructing indicators that can accommodate political datasets from various sources, it’s worth noting that these indicators remain focused on political bias and stance-related aspects. In future developments, it would be valuable to explore the creation of indicators based on diverse media bias datasets, not limited to political bias.
Additionally, it’s important to acknowledge that the bias labels associated with the generated indicators may not always be accurate. This issue can be attributed to two main reasons. Firstly, as we demonstrated in the case study in 5.2, the ground truth bias labels of instances can be incorrect, which directly impacts the bias label assigned to the generated bias indicators. Secondly, the generative capabilities of large language models do not always ensure a perfect distinction between neutral and biased content, even after our multi-strategy post-verification and filtering. To address this, more comprehensive and intricate methods may be necessary, especially in real-world applications. This could potentially involve the incorporation of human annotators or the utilization of recent reinforcement learning techniques that incorporate AI feedback mechanisms to enhance the accuracy of bias labels associated with indicators.
This research work was partially supported by CUHK direct grant No. 4055209, CUHK under Project No. 3230377 (Ref. No. KPF23GW). Jing Li is supported by NSFC Young Scientists Fund (62006203). We are also grateful to the anonymous reviewers for their comments.
In this subsection, we provide additional details about the datasets used in our experiments.
This dataset [9] was collected from the news aggregation platform allsides.com in 2018 and comprises a total of 2,781 events. Each event is associated with 2-3 articles from different political leanings, including left, center, and right perspectives. We utilized the sets that encompass both left and right biases simultaneously to generate the bias indicators. The remaining 1,228 articles were reserved for testing purposes. Articles with left or right-leaning perspectives were categorized as biased, while those from the center were designated as non-biased.
BASIL, as presented in Fan et al. (2019) [6], comprises 100 sets of articles, with each set containing 3 articles sourced from Huffington Post, Fox News, and New York Times. Lexical bias and informational bias are annotated at the span level. In our evaluation, a sentence is considered biased if it exhibits either lexical bias or informational bias. For our testing, we randomly selected 10% of this dataset to serve as the test set, and this test set was used in 5 separate evaluations with different random seeds, following the approach outlined in prior research [34].
BABE, as described in [10], is a dataset comprising 3,673 sentences sourced from the Media Cloud, an open-source media analysis platform. Expert annotators were tasked with determining whether each sentence exhibited bias or not. To ensure robustness in the results, we conducted a 5-fold cross-validation procedure following the methodology established in prior research [10].
In our research, we utilized the second version of the Media Frame Corpus [1]. This corpus contains a total of 37,622 articles, each of which has been condensed to approximately 225 words and labeled according to the overall tone of the article, which is categorized as either “pro”, “neutral”, or “anti”. Articles with a “pro” or “anti” tone are considered to exhibit bias.
| Tone and Language | Description | Assess the overall tone of the article, including the choice of words and phrases. Look for emotionally charged language, stereotypes, or inflammatory rhetoric. |
|---|---|---|
| 2-3 | Examples | Left-leaning: The article frequently uses words like "exploitation," "inequality" and "corporate greed" to describe economic issues. |
| Right-leaning: The article employs phrases such as "individual liberty," "free-market solutions," and "personal responsibility" to discuss social policies. | ||
| Neutral: The article maintains a balanced tone without resorting to emotionally charged language or bias-inducing terms. | ||
| Sources and Citations | Description | Check the sources and citations within the article. Assess whether they are from a variety of perspectives or if they predominantly support one side of the political spectrum. |
| Examples | Left-leaning: The article primarily cites progressive think tanks, Left-leaning news outlets, and left-wing academics to support its arguments. | |
| Right-leaning: The majority of sources cited in the article come from conservative publications, Right-leaning experts, and libertarian think tanks. | ||
| Neutral: The article includes a diverse range of sources from different political backgrounds, providing a balanced set of viewpoints. | ||
| Coverage and Balance | Description | Evaluate whether the article provides a balanced view of the topic or if it tends to favor one particular perspective. |
| Examples | Left-leaning: The article predominantly highlights the challenges faced by marginalized communities without sufficiently exploring counterarguments or alternative viewpoints. | |
| Right-leaning: The article focuses on the benefits of reduced government intervention without adequately addressing potential drawbacks or opposing viewpoints. | ||
| Neutral: The article presents a comprehensive examination of the topic, addressing both supporting and opposing arguments with equal weight. | ||
| Agenda and Framing | Description | Determine if the article promotes a specific political agenda or frames the issue in a way that aligns with a particular ideology. |
| Examples | Left-leaning: The article frames climate change as an urgent crisis requiring immediate government intervention and portrays regulation as the solution. | |
| Right-leaning: The article frames tax cuts as essential for economic growth and suggests that limited government intervention is the key to prosperity. | ||
| Neutral: The article objectively presents facts and allows readers to draw their own conclusions without pushing a specific agenda. | ||
| Examples and Analogies | Description | Examine if the article uses examples or analogies that may be biased or misleading in their political implications. |
| Examples | Left-leaning: The article compares income inequality to a "wealth gap chasm" and uses emotionally charged analogies to convey the severity of the issue. | |
| Right-leaning: The article uses the analogy of a "burdened taxpayer" to describe the negative impacts of government spending. | ||
| Neutral: The article avoids using biased or emotionally charged examples or analogies, sticking to objective and relevant comparisons. |
0.5em
In this section, we provide a detailed explanation of the five categories mentioned to guide the generation of multi-dimension considered indicators, as shown in 1. For each category, we offer a concise description and provide examples to facilitate a better understanding of the predefined categories for large language models.