Related Experiment Video
Updated: Aug 25, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Developing a sentence level fairness metric using word embeddings
Ahmed Izzidien1, Stephen Fitz2, Peter Romero3
1The Psychometrics Centre, Cambridge Judge Business School, The University of Cambridge, Trumpington Street, Cambridge, CB2 1AG UK.
Researchers developed a novel fairness metric for digital texts, achieving high accuracy using word embeddings and machine learning. This work introduces a new ethical dimension for analyzing text data.
Area of Science:
- Computational Linguistics
- Social Psychology
- Natural Language Processing
Background:
- Fairness is a fundamental social value.
- A quantitative metric for assessing fairness in digital text describing social interactions is currently lacking.
- Existing methods do not capture the nuances of fairness in text.
Purpose of the Study:
- To develop a quantitative metric for assessing fairness in digital texts.
- To approximate human perceptions of fairness using computational methods.
- To introduce an ethical dimension to the analysis of digital texts.
Main Methods:
- Utilized word embeddings informed by social psychology literature to construct fairness vectors.
- Applied Universal Sentence Encoder (USE) and Sentence Bidirectional Encoder Representations from Transformers (SBERT) for sentence-level fairness measurement.
- Employed principal component analysis (PCA) and machine learning (ML) techniques.
Main Results:
- Achieved an F1 score of 79.8 with USE and 86.2 with PCA/ML for fairness detection.
- SBERT achieved significantly higher performance, with F1 scores of 96.9 and 100.
- Demonstrated the effectiveness of leveraging pro-social bias in word embeddings.
Conclusions:
- The proposed method provides a robust approach to quantifying fairness in digital text.
- The developed fairness vectors serve as effective sentence-level measures of ethical components.
- This research opens new avenues for ethical analysis in natural language processing.
Related Concept Videos
Improving Translational Accuracy
Weighted Mean
For example, consider the number of goals scored in the matches of a tournament. While computing the average number of goals scored in the tournament, it may be more important to...
Stereotype Content Model
Confidence Coefficient
Mean From a Frequency Distribution
When such a data set is encountered,...
Mean Absolute Deviation
Let us consider a dataset containing the number of unsold cupcakes in five shops: 10, 15, 8, 7, and 10. Initially, calculate the sample mean. Then calculate the deviation, or the difference, between each data value and the mean. Next, the absolute values of these deviations are added and divided by the sample size to...

