PEFTDebias : Capturing debiasing information using PEFTs
Paper · 2023 · Sumit Agarwal, Aditya Veerubhotla and Srijan Bansal
Summary
A biography can contain clues about both a person’s occupation and their gender. A classifier that learns to rely on the latter can become better at recognizing an occupation for one group than for another. In hate-speech detection, a related failure occurs when the mere mention of a racial identity contributes to an incorrect hateful label. PEFTDebias asks whether an intervention learned before task training can still reduce errors like these after the system has adapted to its job.
The authors use parameter-efficient fine-tuning, or PEFT, to give the intervention its own set of parameters. They start with BERT and train a small component on text augmented with identity-word substitutions, such as exchanging gendered pronouns. BERT’s original weights are fixed during this stage. During supervised task training, the component remains in use with its learned values fixed, while BERT’s weights can change. The experiments compare several ways of implementing the component, including learned input prompts, inserted adapters, low-rank updates, and sparse updates.
Learned prompts give the clearest results across the experiments. On BiasBios, prompt tuning obtains occupation accuracy of 81.10 and a gender gap in true-positive rates of 11.98. Ordinary task training obtains accuracy of 81.29 and a gap of 13.05. On the Gab Hate Corpus, prompts lower the reported in-domain racial false-positive disparity from 1.01 to 0.54, while F1 goes from 68.76 to 67.15. The gender intervention also transfers from biographies to natural-language inference. With the reused prompt, the fraction of neutral predictions on Bias-NLI is 0.21, compared with 0.02 after ordinary task training, and accuracy on the destination task stays close. Transfer between hate-speech corpora gives a more mixed result, with the strongest method depending on the disparity measure.
The experiments show that preserving a small component can preserve a measurable benefit through later training. That benefit varies across methods, benchmarks, and occupations. The authors use a binary gender scheme, represent race through selected words, and test downstream classification with BERT. Their benchmarks can expose stereotypical preferences and error disparities within their coverage. Even a stereotype score of 50% is insufficient to establish the absence of bias, and the study leaves real-world harm, open-ended generation, and combinations of interventions for different bias axes untested.
Deep dive: PEFTDebias : Capturing debiasing information using PEFTs
PEFTDebias tests whether a small, frozen intervention can reduce gender and racial bias in BERT after task training and across datasets. · about 35 minutes to read
The problem and its context
How an association becomes a classification error
The paper starts from the idea that broad pretraining and supervised task training contribute different things to a predictor. Pretraining makes patterns in text available for later use. Supervised training shapes how those patterns are used to make a particular decision. If the earlier text repeatedly associates an identity with an occupation or another social role, the later classifier has access to that association alongside more directly relevant evidence. A task objective that rewards correct predictions in aggregate can leave room to use both. This is the connection the paper makes to bias, fairness and safety.
In occupation prediction, the relevant decision is which profession a biography describes. Consider two biographies that provide equally clear evidence of the same profession but contain different gender cues. A predictor that has learned to associate the profession with one gender can be more likely to recognize it when the cue agrees with that association. The inequality would show up as a difference in how often the correct occupation is recovered for people in the two groups. Overall accuracy would count both sets of decisions, with their influence depending on how frequently they occur in the evaluation data.
The hate-speech example concerns a different error. A text can name a racial group while conveying a neutral statement about it. A classifier that treats the name itself as evidence of hate risks assigning the hateful label too frequently to benign mentions. Accuracy alone would give little insight into this pattern. The relevant comparison asks how frequently benign examples containing a specified identity cue are misclassified, relative to a broader reference rate. The occupation and hate-speech settings thus give the paper concrete meanings for downstream disparity, tied to the decisions made in each task.
The authors frame the possible passage of unwanted associations from pretraining to a later task as the bias transfer hypothesis. Their discussion draws on work about social associations in word embeddings and about the relationship between corpus-derived semantics and human stereotypes. In PEFTDebias, that background motivates an intervention before supervised task training. A downstream error could also arise from the task examples or their labels. The experimental question is whether changing the preparation of the system can improve its later behavior even though the final task is still learned from its own data. Gender stereotypes in word embeddings · Human-like biases in corpus-derived semantics
The paper cites BERT and GPT-3 as examples in its discussion of why the problem matters. The experiments use BERT throughout. In the background the authors describe, an association can be studied before adaptation, for instance through a test of which word a system favors in context. A task-level study then asks how an association appears in decisions about biographies, hate speech, or other labeled examples. These kinds of evidence sit at different points in the training process. Part of the difficulty is figuring out how much one can learn about the later decision from an earlier diagnostic. GPT-3 · Bias in contextualized word representations
Why the timing of the intervention matters
One family of earlier approaches intervenes during task training. The paper describes work on changing training examples through counterfactual data augmentation, on dropout regularization, and on removing attribute information from representations through null-space projection. It also mentions adversarial and contrastive approaches, which change what the training objective encourages. These methods give researchers ways to address a known failure in a particular setting. For example, an objective designed with protected attributes in mind can put pressure on a classifier to handle those attributes differently during learning. Counterfactual data augmentation · Reducing gendered correlations · Iterative null-space projection
From the authors’ perspective, the practical cost is that work may have to be repeated when a new task is introduced. Some methods rely on protected-attribute annotations, auxiliary objectives, or fairness measures made for the task at hand. The paper also discusses earlier evidence that debiasing can use task data and improve generalization. The issue therefore depends on the chosen procedure. A technique that works in a new setting with resources already available there imposes a different burden from one that requires collecting new labels or defining new penalties each time.
A different line of work moves part of the intervention upstream. Here, upstream means before the target task is learned, and downstream refers to training and evaluation for that target. The paper describes earlier upstream work by Jin and colleagues in which the system undergoes a debiasing adaptation and is then trained for its actual job. The appeal is that the effort spent learning the intervention might benefit multiple tasks. The design described in that earlier research can require supervised data for both stages and annotations of protected attributes for the upstream one. A practical upstream intervention consequently has two questions to answer: what it costs to acquire and what remains useful after the next round of updates.
The paper calls possible loss of the earlier improvement fairness forgetting. If an intervention has been written into the same weights that will later be changed, task training is free to modify the weights involved in producing the improvement. The authors cite Steed and colleagues for the observation that upstream mitigation offers no assurance of reduced downstream bias. They also connect the motivation to work on catastrophic forgetting, the broader problem of learning new behavior at the expense of something learned earlier. In this application, the property at stake is a measured reduction in an unwanted association or disparity. Overcoming catastrophic forgetting
What the modular approach contributes
A parameter is a learned numerical value used in the computation. Conventional full adaptation gives training access to the existing parameter set. Parameter-efficient methods concentrate the updates in a smaller set by adding trainable values or choosing a limited part of the existing system to adapt. The paper draws on earlier adapter research showing how small modules can modify the behavior of a fixed backbone, the pretrained part that carries out most of the computation. It also cites prior modular debiasing work in which upstream training gives such a component a role in later mitigation. Parameter-efficient transfer with adapters · Sustainable modular debiasing
The research the authors discuss provides other reasons to be interested in small components. They describe Kumar and colleagues as applying adapters during downstream debiasing, with the trained modules depending on their data. They also mention work by Hauzenberger and colleagues that identifies sparse subnetworks corresponding to different attributes and explores their composition. In this context, composition means using multiple learned interventions together. The authors cite potential reductions in computational cost and environmental impact as general motivations for parameter-efficient methods, alongside their potential to preserve previously learned behavior.
PEFTDebias organizes the upstream and downstream updates around a handover. During the first stage, the existing backbone supplies the computation through which a small set of values is learned. During the second, the saved values remain available while supervised training changes the backbone. The desired unit of reuse is an intervention for a bias axis, such as gender or race. An axis specifies which family of associations the authors are trying to change. Its implementation depends on the text chosen for upstream learning and the identity expressions available to the augmentation procedure.
The distinction between retaining values and retaining effects motivates the experiments. The procedure can directly preserve the selected numerical values by taking them out of the downstream updates. The subsequent classifier, however, uses those values in a computation whose other weights have changed. The relevant property is how the resulting system behaves, which depends on the interaction of its parts. This is why the paper asks separately about associations immediately after upstream learning, about disparities after task training, and about the usefulness of the same intervention in another task or dataset.
The method, step by step
Training begins with a piece of BERT that is already useful for processing text and a much smaller parameter set that can influence how BERT processes it. The authors prepare examples that vary selected identity terms. They use those examples to train the small component through a word-prediction objective. Once that component has been learned, it participates in supervised classification in a fixed state. The original weights now become available for updating, so the classifier can learn what its labels mean and which parts of an input help predict them.
The same scheme covers both a same-dataset experiment and a transfer experiment. In the first, the text for the word-prediction stage and the labeled examples for classification come from the same named dataset. In the second, the learned component moves to a destination dataset with its own supervised examples. The destination data teach BERT the destination task. The first-stage component continues to supply the intervention it learned from the source.
Learning an intervention and carrying it into task training
The steps in order.
Turning a bias axis into training examples
The upstream data preparation uses counterfactual data augmentation, abbreviated CDA. The counterfactual is a version of a text in which an attribute word is exchanged for one associated with another group. The underlying idea is easiest to see with pronouns. A biography may describe the same kind of work whether the person is referred to with he or she. Giving the learning procedure both kinds of wording creates examples in which the surrounding clues about the work can coexist with different gender cues.
The vocabulary in the appendix includes pairs such as brother and sister, and actor and actress. For race, the appendix illustrates sets of identifiers with words such as Black, White, and Asian. These are examples of the lexical contrasts on which the training design depends. The authors use them to vary how a group is named in otherwise related contexts. The intervention acquires an axis-specific role through these training examples, since the parameterization itself has no built-in definition of gender or race.
This use of CDA relies on a linguistic assumption. If the context licenses the replacement, the exchange can vary an identity cue while retaining the other evidence the training example contains. The desired effect is to lessen the dependence between that cue and surrounding words that happen to be associated with it in the source material. Some words have meanings or grammatical properties that make their exchange more consequential. Identity terms can also contribute directly to what a sentence says. The method is defined through the authors’ chosen substitutions, whose usefulness is assessed through the reported diagnostics and task outcomes.
Two types of corpus enter the algorithm. The untargeted word-prediction stage takes inputs without downstream labels. In an occupation setting, for instance, text from biographies can serve as upstream material even when an occupation label is available elsewhere in the dataset. What matters at this stage is the text and what the substitutions expose to the learning procedure. Downstream supervision then pairs text with the labels needed to train an occupation, inference, or hate-speech classifier.
The upstream collection can be written as follows.
Dᵤ = {xᵢ}ᵢ₌₁ᴺ
Dᵤ is the corpus of unlabeled inputs, with the subscript u indicating its role as unlabeled data. The braces enclose the collection. Each xᵢ is an input text indexed by i, which runs from 1 to N. N is the number of items in the collection, and the equality assigns this collection to Dᵤ.
The corresponding notation for supervised data makes the desired output explicit. Using a consistent index for the pairs, the collection is:
Dₗ = {(xᵢ, yᵢ) ∼ P(X, Y)}ᵢ₌₁ᴺ
Dₗ denotes the labeled collection. The parentheses around xᵢ and yᵢ pair a text with its task label, and the braces denote the set of such examples. The index i runs from 1 through N, where N here is the size of the labeled collection. The tilde indicates that the pairs are treated as draws from P(X, Y), the joint distribution of inputs X and labels Y. The equals sign defines Dₗ in terms of these paired examples. The sizes of the two collections need not be equal.
This setup makes it possible to define an upstream task from text itself. In the paper’s experiments that task is masked language modeling, or MLM. Some tokens in the input are hidden, and the system uses the visible context to predict the hidden tokens. The text supplies the targets for those predictions. In contrast with occupation supervision, which gives the learner an occupation to recognize, this objective gives it words to recover. Training on the augmented material therefore changes the small component through its effect on contextual word prediction.
The places where an intervention can act
The paper compares PEFT mechanisms that put their trainable values in different parts of the computation. The authors give them similar parameter counts, reported as 1% of the size of the base BERT system. This makes the comparison less dependent on how many trainable values each intervention receives. Even with that approximate match, a trainable value at the input, a value inside an inserted layer, and a value selected from existing weights can have different effects.
An adapter is an extra module inserted between layers of the Transformer. Activations, the numerical representations passed through the network, encounter the module as they move from one layer to the next. During upstream training the adapter learns how to modify those representations in a way that serves word prediction on the augmented text. The surrounding weights stay fixed. In the downstream stage the inserted module still affects the computation, while the layers that receive and supply its activations can adapt.
Prompt tuning puts the learned values at the input. Its prompts are vectors, so their contents are arrays of numbers optimized during training. A reader need not imagine an instruction written in natural language. The added vectors are processed together with the vectors representing the input text, and their presence can influence the resulting representation. The same saved prompt therefore has a route to affect many downstream inputs, even though its values came from an upstream objective. Parameter-efficient prompt tuning
LoRA places trainable low-rank updates within Transformer layers. The idea is to express a weight change through smaller matrices that represent a restricted form of update to a larger transformation. In the upstream stage, those trainable matrices provide the part that can respond to the augmented texts. In the final system, the effect of the learned low-rank update is available alongside the rest of the computation. This gives PEFTDebias an option that acts inside layers without using the same type of inserted module as an adapter. LoRA
Sparse fine-tuning, abbreviated SFT in the results, uses the observed sizes of parameter changes to identify a small subset of weights for adaptation. The appendix connects this selection to the Lottery Ticket Hypothesis and describes the result as a sparse subnetwork. The sparse intervention is defined by a choice of locations and the learned changes represented there. This is another way to concentrate the effect of upstream learning into a set small enough to preserve separately. The paper outlines the mechanism at that level and compares its measured behavior with the other PEFT implementations.
Learning and selecting the upstream component
In the pseudocode, the entire training operation for the first stage is written as a function. With simplified subscripts, it is:
ϕᴬ* ← Debias(θꜰᴍ, ϕₚ, Dᵤ, A)
The left-pointing arrow assigns the output of the operation on the right to ϕᴬ*. The Greek letter ϕ denotes PEFT parameters. The superscript A marks the chosen bias axis and the star indicates that these values have been learned. The argument θꜰᴍ is the pretrained backbone parameter set, with the subscript identifying that role. The argument ϕₚ is the initialized set of PEFT values, with p marking that component. Dᵤ is the unlabeled corpus and A is the axis that determines the attribute substitutions. The parentheses enclose the arguments to Debias, the upstream training procedure combining augmented text with masked-token prediction. Only the intervention values are optimized in this operation.
The setup uses pretrained BERT for every comparison. For GHC, it applies text normalization that removes URLs and user mentions before the experiments. The upstream learning rate is 1e −5. The batch size, which determines how many examples are processed together for an update, is 128 for BiasBios and 32 for the other data in the setup. The reported upstream schedule is 10,000 steps, with evaluation every 1,000 steps. The authors take the saved training state with the lowest loss for use in their experiments.
Loss expresses how poorly the current predictions fit the training objective, with lower values preferred under the stated selection rule. This criterion determines which saved state supplies the intervention. The paper separately inspects the chosen systems on stereotype benchmarks. A checkpoint that does well on masked-token prediction can still show unwanted preferences when the evaluated alternatives concern identity, so the association probes answer a question outside the selection criterion itself.
The upstream probes are intrinsic measures. They examine the language computation before it is turned into a task classifier. One benchmark, StereoSet, uses sentence completions to test for stereotypical preferences and supplies a separate language score. The other, CrowS-Pairs, uses closely related sentence pairs and evaluates preferences through masked-token probabilities. Keeping the two benchmarks distinct matters because their constructions and measured preferences differ. StereoSet · CrowS-Pairs
Handing over to supervised training
The next stage takes the saved component and uses it with trainable BERT. A forward pass, the computation that produces a prediction, still includes the component. Freezing controls what happens when training adjusts the parameters in response to an error. BERT can change how it processes the inputs to predict the supplied task labels. The upstream values are held at their saved values during those adjustments.
The downstream call in the algorithm is:
θꜰᴍ* ← FT(θꜰᴍ, ϕᴬ*, Dₗ)
Here θꜰᴍ* is the backbone after supervised training. The star distinguishes it from the initial backbone θꜰᴍ. The arrow assigns the output of FT, the fine-tuning procedure, to this updated backbone. Inside the parentheses, ϕᴬ* is the learned component for axis A and Dₗ supplies the labeled examples. The component is fixed for this call while the backbone is updated.
The final system includes both parameter sets:
θꜰᴍ* ∪ ϕᴬ*
The union sign denotes the assembled system. Its two terms are the adapted backbone θꜰᴍ* and the saved axis-specific values ϕᴬ*. The notation expresses that both are used when making a downstream prediction. It leaves the details of how they interact to the chosen PEFT mechanism.
Downstream training uses batches of 32 for 10 epochs. An epoch is a pass through the training data. The authors select the saved states with the best task metrics for their analysis. The setup also adjusts the training loss where hateful examples are scarce. In GHC, a hateful example receives a loss weight of 10, so an error on it contributes more to the objective. The appendix mentions a corresponding weight of 6.7 for Stormfront, which has no accompanying result in the main comparisons. The implementation uses AdapterHub, and the authors released the experimental code as peft-debias.
For a transfer run, the labeled collection in the fine-tuning call belongs to the destination task. A gender component learned from BiasBios accompanies BERT during training on MNLI. A race component derived from GHC is used during training on LHC. In each case, the classification stage can learn from the new labeled examples while preserving the original values of the intervention. Evaluating that final combination tests how useful source training was in the presence of the destination task updates.
Experiments and results
What the comparisons measure
The experiment design asks whether an intervention changes language preferences upstream, whether its effect carries into supervised training on the same dataset, and whether it is useful when supervised learning moves elsewhere. Each question needs its own outcome measures. Preference between sentence pairs is observable even before a task classifier exists. Once the classifier exists, its overall ability to predict labels and the distribution of its errors become separate outcomes.
Upstream, the reference is pretrained BERT. The paper compares it with Full-Debias, the conventional full-parameter debiasing condition, and with each of the small-component variants. Downstream, FT denotes ordinary task fine-tuning and supplies the reference for a system trained directly on the task. The Full-Debias row represents doing the debiasing through full adaptation before the task stage. That row helps distinguish simple exposure to an upstream intervention from the paper’s arrangement, which keeps the previously learned values in a frozen component. Because those arrangements differ in more than which values are frozen, their comparison shows outcomes for whole training procedures.
For occupation prediction, the paper uses the BiasBios data introduced in Bias in Bios. A biography is an input, and the target label identifies an occupation. Accuracy measures how often the predicted occupation is correct across the evaluated examples. The true-positive rate, or TPR, for an occupation answers a narrower question. Among examples whose correct label is that occupation, it measures the rate at which the system recognizes it. The evaluation can calculate this rate within each of the paper’s gender groups. The difference is an occupation-level gap, and the results report the aggregate TPR-GAP. Lower reported gaps are preferred.
The main racial-bias task uses the Gab Hate Corpus, abbreviated GHC. The classifier predicts whether an example is hateful. Its task score is F1, which brings together precision and recall. Precision asks how many examples predicted as hateful actually have the hateful label. Recall asks how many examples with that label were recognized. The disparity metric, FPRD, instead concerns false positives: examples labeled non-hateful that receive a hateful prediction. It compares false-positive rates for examples mentioning protected racial attributes with the rate overall. A smaller FPRD indicates less disparity under this comparison. The task score and the disparity score can move differently because they summarize different parts of the prediction outcomes.
The racial evaluation includes both in-domain examples and the Identity Phrase Templates Test Sets, or IPTTS. The latter are constructed from templates for hateful and non-hateful text and contain 77k instances using 25 racial identifiers. A template lets the evaluation check behavior across variations within a recurring construction. The in-domain measure reflects the examples within the relevant hate-speech dataset, where wording and context can vary together with the identifiers. The template and in-domain results therefore describe related behavior under different conditions, even though the tables use FPRD for both.
The gender transfer experiment uses Multi-Genre Natural Language Inference, or MNLI, as the destination. Natural-language inference classifies the relationship between a premise and a hypothesis, such as whether the first sentence entails the second or leaves it unresolved. The task score is MNLI accuracy. The gender diagnostic is a separate dataset, Bias-NLI, where the desired neutral response indicates that the tested inference is unsupported. FN, the fraction of neutrals, counts how frequently the classifier gives that response on the diagnostic. Higher FN is preferred there. The experiment can thus check for a change in unsupported inferences while still measuring whether the system learns the destination task. MNLI
The racial transfer experiment uses the Large Hate Corpus, or LHC, as its destination. Here the source and destination both concern hate-speech classification. This provides a test of transfer across corpora within a common prediction problem. The paper evaluates task F1 alongside FPRD on the destination data and on IPTTS. The occupation-to-inference experiment changes the type of prediction itself, so the transfer results speak to different forms of reuse.
What changes before task training
For the gender evaluation after upstream learning on BiasBios, pretrained BERT has a StereoSet language score of 85.68. The prompt setting has 85.54, and the adapter setting reaches 86.45. Full debiasing records 85.74. The language score is the column for general language behavior within this benchmark. The stereotype column, which the paper marks as better when lower over these reported comparisons, gives BERT 60.03, prompts 56.64, adapters 57.1, and full debiasing 60.28. The prompt and adapter settings move the measured stereotype preference downward with language scores that stay near or exceed the pretrained reference.
The BiasBios gender results on CrowS-Pairs also favor prompts among the tested settings. The score for the pretrained reference is 57.25. Prompt tuning gives 51.91, adapters give 53.82, and full debiasing gives 54.96. LoRA and sparse fine-tuning also give lower CrowS-Pairs scores than pretrained BERT, at 54.20 and 55.34 respectively. The relative ranking of the PEFT options varies with the column. Sparse fine-tuning gives a StereoSet stereotype score of 57.9 and LoRA gives 58.85, while their StereoSet language scores are 86.22 and 86.21. Looking across the language and stereotype columns clarifies the case for evaluating both: the strongest stereotype result and the strongest language result belong to different configurations.
For the race evaluation after upstream training on GHC, the benchmarks disagree about the direction of change. BERT’s StereoSet stereotype score is 57.06, and full debiasing obtains 57.03. Each PEFT variant has a higher score than pretrained BERT on that column. The reported figures are 58.78 for prompt tuning, 58.56 for adapters, 58.20 for LoRA, and 58.91 for sparse fine-tuning. The language scores, by contrast, increase over BERT’s 83.88 in all those settings. Adapters reach 85.88 and prompts reach 85.73, which illustrates that a gain on the language column can coexist with a less favorable result on the stereotype column.
CrowS-Pairs shows greater movement in the race setting. The reference score is 62.33, compared with 52.62 for prompts and 55.15 for adapters. The LoRA and sparse settings report 56.12 and 54.76. Full debiasing records 45.63, the lowest raw score in that group of rows. The fact that it falls below 50% is relevant to interpreting the benchmark: the score measures a preference between selected alternatives, and going below the balance point can represent a preference in the other direction. The paper’s downward arrow gives the tabulated ordering, while its ethical discussion cautions against treating the scale as a universal measure of how much bias a system contains.
Taken together, the upstream tests supply stronger agreement for gender in BiasBios than for race in GHC. For the race evaluation, which benchmark a reader chooses changes the account of the effect. The language scores add another dimension: they show how the compared settings do on their language diagnostic alongside the measured preferences. The downstream results then ask which patterns are visible once actual task labels determine the training objective.
Occupation prediction after task training
The same-dataset BiasBios comparison uses biography text upstream and occupation supervision downstream. Most of the accuracy entries are very close. Ordinary fine-tuning gives 81.29 and Full-Debias gives 81.27. Adapters and LoRA each give 81.28. Prompt tuning yields 81.10, and sparse fine-tuning obtains 81.34. The reported aggregate gender gaps differ more visibly across these rows than their task accuracies.
BiasBios occupation prediction, downstream TPR-GAP
The prompt yields the smallest reported occupation gap across gender groups.
The numbers
| System or setting | TPR-GAP |
|---|---|
| Ordinary fine-tuning | 13.05 |
| Full-Debias | 12.86 |
| Adapter | 13.22 |
| Prompt tuning (this paper) | 11.98 |
| LoRA | 13.67 |
| Sparse fine-tuning | 12.04 |
Prompt tuning and sparse fine-tuning reduce the reported gap relative to ordinary task training, with sparse fine-tuning also posting the highest displayed occupation accuracy. Adapters and LoRA instead have gaps above the ordinary fine-tuning reference despite similarly close task accuracies. This is evidence that a choice of mechanism can affect the distribution of correct recognition across groups even while changing little about how many biographies are classified correctly overall.
The aggregate gap captures occupation-related inequality at the level reported in the results table. It cannot say which occupations account for the difference between training arrangements. A gain in one profession can accompany little movement in another. The authors address that issue through a separate occupation-level comparison, which examines how some of the original gender gaps change direction or size.
Hate-speech classification after task training
On GHC, ordinary fine-tuning reaches a task F1 of 68.76. Adapters reach 67.39, prompt tuning 67.15, LoRA 66.91, and sparse fine-tuning 65.06. The full-debiasing row has 62.48. Among the PEFT variants, adapters give the highest displayed F1, while prompt tuning provides the smallest in-domain FPRD. The results thus identify different choices for the highest task score and the smallest reported racial false-positive disparity.
GHC hate-speech classification, downstream in-domain FPRD
Prompt tuning produces the lowest false-positive disparity on the corpus.
The numbers
| System or setting | FPRD |
|---|---|
| Ordinary fine-tuning | 1.01 |
| Full-Debias | 1.07 |
| Adapter | 0.78 |
| Prompt tuning (this paper) | 0.54 |
| LoRA | 0.73 |
| Sparse fine-tuning | 0.59 |
All the small-component settings show lower in-domain FPRD than ordinary fine-tuning. Their F1 values are lower than that reference, so the result concerns a reduction in a particular disparity with task performance in a nearby range. Full debiasing has a higher in-domain FPRD than ordinary fine-tuning as well as a lower task F1. The authors describe downstream performance for the PEFTs as comparable to ordinary training using a 5% margin. Reporting both kinds of score gives the reader the basis for judging that description for the target of interest.
The GHC IPTTS results give a different ranking. The template FPRD is 0.01 for ordinary fine-tuning and 0.01 for prompt tuning. Adapters give 0.02, and full debiasing gives 0.08. LoRA has 0.12 and sparse fine-tuning has 0.25. Sparse fine-tuning is among the more favorable options on the in-domain disparity measure, whereas its reported template disparity is the largest of the compared settings. The prompt condition achieves the lowest reported in-domain disparity while retaining the ordinary fine-tuning score on the templates.
The in-domain result has a particular interpretation. It indicates that the false-positive rates measured for mentions of the chosen attributes depart less from the overall reference under the reported metric. It does not specify through which combinations of group-specific and overall error rates that departure changes. The accompanying F1 answers a separate question about performance on hateful examples and predicted hateful labels. The template measure adds evidence on sentences whose wording is determined by the designed patterns, and the difference between its ordering and the in-domain ordering makes the dependence on evaluation conditions visible.
Moving the gender intervention from biographies to inference
In the BiasBios-to-MNLI experiment, the upstream prompt learned from augmented biography text is kept fixed through training on inference labels. That switch matters because the source texts describe people and their professions, while the destination classifier has to judge how sentences relate. The test asks whether the upstream gender intervention retains value in a computation trained to make a different kind of prediction.
Ordinary MNLI task training reaches accuracy of 80.52. When a prompt transferred from BiasBios is used, the destination accuracy is 80.01. The other reported MNLI accuracies are 80.13 for full debiasing, 80.11 for adapters, 80.3 for LoRA, and 80.25 for sparse fine-tuning. The results table reports FN separately on Bias-NLI. It is the diagnostic rather than MNLI accuracy that most clearly distinguishes the prompt setting.
BiasBios-to-MNLI transfer, fraction of neutrals on Bias-NLI
The transferred prompt elicits neutral predictions more often than any of the compared alternatives.
The numbers
| System or setting | fraction of neutrals |
|---|---|
| Ordinary fine-tuning | 0.02 |
| Full-Debias | 0.02 |
| Adapter | 0.02 |
| Prompt tuning (this paper) | 0.21 |
| LoRA | 0.02 |
| Sparse fine-tuning | 0.01 |
The prompt result supports a specific account of transfer. Adding the source-trained intervention changes the tendency to make the tested inferences, while the BERT parameters still learn to classify the ordinary MNLI examples with similar overall accuracy. The setting reaches a substantially higher fraction of neutral decisions than the alternatives, although the reported value still describes only a fraction of the examples in Bias-NLI. The other component types share the basic training arrangement yet offer little improvement by this diagnostic. The transfer benefit is therefore strongest as evidence for the learned prompt in this source–destination pairing.
The two measures also locate what has changed. A rise in FN on Bias-NLI is favorable because neutrality is the intended response for those diagnostic examples. Across ordinary inference examples, the appropriate labels depend on the relation between the two sentences. MNLI accuracy provides a check against evaluating the system solely on how readily it answers neutral in the special test. The paper reports the two aggregate outcomes, which establish the combination observed in this run.
Moving the race intervention between hate-speech corpora
For GHC-to-LHC transfer, the task F1 entries on LHC cluster near each other. Ordinary fine-tuning gives 91.06, and prompts give 91.2. The adapter score is 91.47, LoRA gives 91.18, and full debiasing and sparse fine-tuning each report 91.63. This set of comparisons shows that using the saved intervention from GHC is compatible with learning the LHC task at the reported level of performance.
The LHC in-domain FPRD is 0.34 under ordinary fine-tuning and 0.34 with prompt tuning. For adapters it is 0.33, for LoRA and full debiasing 0.32, and for sparse fine-tuning 0.31. On IPTTS, ordinary fine-tuning gives 0.03. The prompt and full-debiasing settings report 0.00, while adapters, LoRA, and sparse fine-tuning each give 0.01. These figures separate two forms of improvement: sparse fine-tuning supplies the lowest in-domain score, and the prompt ties full debiasing for the lowest displayed template score.
The paper’s discussion describes prompt tuning and sparse fine-tuning favorably on in-domain transfer. The LHC table supports the improvement for sparse fine-tuning and shows a tie with ordinary fine-tuning for the prompt on that measure. The prompt’s advantage is visible on the template test. The smaller in-domain improvements and the template scores should be read at the precision given in the table. In particular, a displayed 0.00 describes the outcome of that metric on that test at the reported precision. The GHC-to-LHC and BiasBios-to-MNLI results together support reuse in specific circumstances, with the observed benefit depending on what is tested after the move.
What the ablations show
The paper reports no formal component-removal ablation. Its closest evidence comes from comparisons among parameter-efficient methods at similar sizes, comparisons with conventional training, transfer experiments, and an occupation-level inspection. These comparisons show where the full procedure works and where its effects vary. They leave the contribution of individual ingredients, including freezing and CDA, unresolved.
The parameterization changes the outcome
The approximate size match gives the mechanism comparison a clear scope. Each PEFT setting reserves a small share of parameters for the intervention, and each applies the same general strategy of learning from augmented upstream text and preserving the resulting values during task training. Under that shared strategy, the occupation gap is smaller with prompts and sparse fine-tuning than with ordinary task training, while the adapter and LoRA gaps are larger. All the compared PEFT options have occupation accuracies close to the ordinary reference. The difference between the gap results is visible even in a set of systems with nearly the same aggregate predictive success.
Prompt tuning is the most consistent of the tested variants across the headline comparisons, especially in the occupation result, the in-domain GHC result, and the transfer to Bias-NLI. The authors suggest a mechanism for its advantage: the intervention is introduced at the input and may require less modification inside the network during the forward pass. That explanation fits the design of prompt tuning. The comparison varies the position and form of the intervention together, however, so it leaves open whether the location itself, the way the learned values are used, or another difference accounts for the benefit.
The adapter results help delimit this conclusion. Adapters give the strongest StereoSet language score for the BiasBios upstream evaluation and a favorable gender stereotype score there. They also improve the in-domain racial disparity measure on GHC. Their downstream BiasBios gap and their Bias-NLI transfer outcome are less favorable than those of prompts. An upstream change in a benchmark can therefore coexist with little or adverse change on a particular later metric. It is the downstream comparison that establishes how the particular intervention fares after the task updates.
What the baseline changes along with freezing
Ordinary fine-tuning offers a reference for task learning without the proposed intervention. Full debiasing offers a reference for upstream mitigation when the preparation is carried out through full adaptation. Each is informative, and each differs from PEFTDebias along several dimensions. Moving from ordinary fine-tuning to PEFTDebias adds upstream learning and a particular form of component. Moving from full debiasing to the PEFT procedure changes the parameterization of the intervention as well as how its learned values are protected during the task stage.
A comparison isolating freezing would begin with the same learned PEFT component and the same downstream setup, then vary whether the task optimizer can update that component. The paper’s comparisons do not give that pair. The table therefore demonstrates what can happen when a trained component is frozen and carried forward as part of the full procedure. It offers less direct evidence about how much of the observed benefit specifically depends on the decision to freeze it.
The same reasoning applies to counterfactual augmentation. The upstream procedure uses CDA, and the choice of augmented words determines which identity contrasts the small component sees during training. The reported comparison does not offer a matched run for each component on unaugmented upstream text. Such a comparison would address how much of the outcome depends on the substitutions rather than on exposure to the source corpus through masked-token prediction. The baseline comparisons establish that the package is capable of producing the observed outcomes.
In the BiasBios and GHC experiments, the authors also report that better upstream debiasing was associated with greater downstream bias reduction. Prompt tuning gives examples of alignment, especially between the BiasBios upstream stereotype diagnostics and its downstream occupation gap. The benchmarks also expose exceptions to a simple relationship, such as the unfavorable upstream StereoSet stereotype result for the racial prompt condition alongside its favorable downstream GHC disparity. The paper reports this relationship descriptively. The different metrics give reasons to check it within each setting before treating upstream scores as predictors of task behavior.
Looking inside the occupation gaps
The appendix compares ordinary full fine-tuning and prompt tuning in its discussion of CDA-based debiasing for BiasBios. The figure breaks out performance by occupation, and the authors discuss occupations dominated by women and those dominated by men. Because the disparity concerns the ability to identify the correct occupation, a gap has a direction: recognition is better for one of the evaluated gender groups. Tracking that direction can reveal changes that disappear into an aggregate reported for the whole task.
For instance, the authors describe smaller associations with the dominant female group for dietitian and interior designer. They also describe smaller associations with the dominant male group for surgeon and comedian. This gives concrete examples in which the procedure attenuates gaps in both directions. The readout comes from true-positive-rate comparisons for actual examples of each occupation, giving the analysis a more specific interpretation than a general claim about the use of gender in biographies.
The changes differ across occupations. The authors report little change for rapper and psychologist. They discuss poet and accountant as examples in which the gap reverses, and call this over-correction. A reversal means that the group previously favored in recognizing the occupation is now on the other side of the gap. A shift in direction can occur even when the magnitude has become smaller, which explains why an aggregate improvement and a new local imbalance can coexist.
The paper suggests that small numbers of examples for those professions may help explain the reversals. The discussion does not isolate sample size experimentally. It identifies it as a plausible contributor to an observed pattern. The occupation inspection gives a concrete reason to preserve the per-class evidence when interpreting the overall comparison. An average disparity score answers whether the aggregated gap shrank under the measure, while the figure points to where the intervention had different effects.
How demanding are the transfer comparisons?
BiasBios-to-MNLI reuse supplies evidence beyond an occupation-specific improvement. Even though the source text comes from the biographies, the largest diagnostic improvement appears after a prompt is carried into training for sentence-pair inference. A benefit on that destination can reasonably be attributed to something reusable in the source-trained intervention under this procedure. The result gives no direct account of which associations in the biography text drove it, since the learned vectors are used as a component and are evaluated by their effect on predictions.
GHC-to-LHC reuse poses a different test. Both datasets require identifying hate speech, so a component that captures patterns relevant to the task may help when wording and examples change across corpora. The template and in-domain comparisons show different advantages after the move. This pairing supplies evidence that a race-oriented intervention can remain useful outside its source dataset. The inference pairing adds evidence of reuse across prediction tasks. Neither experiment varies the source corpus systematically, so the evidence of reuse stays attached to the particular source and destination studied.
Limitations
Limits identified by the authors
BERT is the only backbone evaluated. The authors distinguish this case from other pretrained architectures and from systems that handle a task through generation. Classification offers a fixed set of possible labels and well-defined events such as correctly recognizing an occupation or incorrectly flagging benign text. A generation task would have different outputs and would need measurements suited to those outputs. The paper identifies extension to generative uses as future work.
The authors also limit their target to biases reflected in the dataset and set aside possible bias in the annotation of task labels. This distinction matters because a prediction is treated as correct or incorrect with respect to the supplied annotation. If the label itself expresses a problematic judgment, reproducing it will be counted as success under the task metric. Reducing the association with selected identity words addresses a different source of error. The paper does not undertake a study that would validate or repair the reference judgments used to train and score the classifiers.
The gender experiment uses binary categories. The authors explicitly recognize the limits of that choice and point to work on more flexible treatments of gender. In these experiments, the scheme determines how words can be substituted and how the evaluation groups can be compared. Its results describe those particular contrasts. The race experiment also depends on a narrow selection of attribute terms. An intervention defined through word lists has measurable behavior on specific expressions, while many forms of identity reference remain outside that vocabulary and its evaluated contexts.
The intrinsic probes have asymmetric evidential value in the authors’ account. A strong preference in their diagnostic examples can expose an association worth investigating. A score of 50% on StereoSet or CrowS-Pairs cannot establish general absence of bias. The tested formulations cover a subset of possible contexts, and a score at the balance point can aggregate quite different preferences across them. The ethical discussion extends the coverage concern to the extrinsic measures, whose words and templates represent only some of the ways stereotypical language arises.
Finally, the authors do not test whether their intervention reduces harm to people in practice. The occupation, inference, and hate-speech experiments measure prediction behavior under specified conditions. An application would introduce its own users, inputs, and consequences of error. A reduction in the reported disparity is evidence about the tested outputs. The paper gives no field evidence about how such a reduction would affect decisions or outcomes beyond those tests.
Further limits visible in the design
Keeping the intervention fixed guarantees that the task optimizer does not rewrite its values. There is still a dependency on how the changing backbone uses them. In prompt tuning, for instance, the input vectors can remain exactly the same while the layers that process the resulting sequence acquire different weights. The response to the prompt can therefore change. The work provides behavioral evidence for completed runs, which is essential to evaluating the idea. It supplies no general bound on what later training may do to the effect of a preserved component.
The paper’s main tables give point estimates. They do not display uncertainty intervals, variation across runs, or tests that could establish the strength of small differences. The appendix’s suggestion about occupations with few examples makes the issue especially concrete. A group rate can depend heavily on the examples available for that particular occupation and group. The aggregate ordering is the reported outcome of the comparison. How reliably nearby scores would maintain their ordering under another run or another sample remains uncertain.
The checkpoint criteria also put a boundary around what was optimized. The upstream state is selected for loss and the downstream state for task performance. This gives a defined way to choose the evaluated systems while measuring fairness on the resulting predictions. It leaves open how different checkpoints might trade off disparity and task utility, and how much the resulting comparison depends on selection by task score. The experiments document selected points under their stated criteria, instead of a range of possible outcomes from varying those criteria.
Matching the PEFT parameter counts makes the mechanism comparison clearer and supports the claim that the saved component is small. The experiments do not quantify complete training time, memory use, or energy for the overall procedure. Downstream learning still updates the backbone, and the approach adds upstream training before that step. The prospect of reusing a saved component may change the cost when multiple tasks are involved. The experiments establish the contents of the training arrangement and its reported predictive results, leaving such resource accounting open.
The source and destination experiments also put limits on the claim of task independence. In each case, the component is formed using a particular upstream corpus and a particular attribute vocabulary. Transfer shows that the parameters can help outside their source under selected conditions. It leaves their dependence on corpus choice, lexical coverage, and the way the destination examples express identity unmeasured. The difference between template and in-domain results for racial bias shows how consequential this dependence can be even within the evaluations already reported.
The study tests each bias axis separately. The authors propose composing interventions for several axes as future work. With a shared backbone, the effects of individual components could interact at the inputs or within subsequent layers. The measured behavior of a gender component and a race component in separate runs gives no joint score. The prospects for reuse established here therefore concern moving a component along its tested axis, with simultaneous interventions remaining an open problem.
What came after
The subsequent work identified here is a survey of sociodemographic bias. Its citation places PEFTDebias in a broader discussion of how pretrained language technology can exhibit and be evaluated for social bias. The citation establishes that the survey discusses or acknowledges the work. Whether it independently evaluates the method, reproduces the task results, or develops the frozen-component design further is unspecified. Sociodemographic Bias: A Survey and Forward Path
The paper’s own proposals help locate what remained open after the reported comparisons. Extending the work to generation would require checking whether a preserved upstream component changes the kinds of responses emitted in that setting. Combining bias axes would ask whether several such components retain their effects when they act through the same backbone. Those are prospective extensions named by the authors. The demonstrated result is more specific: learned prompts can carry a measurable intervention into later BERT classification, including a change from occupation-related source text to inference, with the gain dependent on the target measure.
Cite
Cite as Sumit Agarwal, Aditya Veerubhotla and Srijan Bansal. 2023. PEFTDebias : Capturing debiasing information using PEFTs. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{agarwal2023peftdebias,
title = {{PEFTDebias : Capturing debiasing information using PEFTs}},
author = {Sumit Agarwal, Aditya Veerubhotla and Srijan Bansal},
booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
year = {2023},
doi = {10.18653/v1/2023.emnlp-main.122},
url = {https://doi.org/10.18653/v1/2023.emnlp-main.122}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/agarwal-2023-peftdebias-capturing-debiasing-information-pefts/