AI Glossary / Statistics and probability / Beginner
Masking
Definition
Masking, in comparative-study design, means keeping specified people unaware of which intervention, condition, or treatment a participant receives. It is also called blinding. Depending on the study, the masked people may include participants, intervention providers, outcome assessors, or analysts. The purpose is to reduce ways that knowledge of assignment could influence behavior, measurement, or interpretation. This entry uses the experimental-design meaning supplied by the source glossary, rather than data redaction, attention masks, or masked-language modeling.
What it means
Knowing which condition is supposed to perform better can affect expectations and judgments. A reviewer who knows a response came from a favored AI system may grade it differently. A participant who knows they received an experimental intervention may behave differently for reasons beyond the intervention's intended mechanism.
Masking addresses access to assignment information. Randomization addresses how assignments are generated, while allocation concealment prevents foreknowledge of upcoming assignments during enrollment. These protections have different purposes. A randomized study can be unmasked, and masking alone does not make a comparison randomized or free from confounding.
How it works
Identify whose knowledge could affect the study and what information each role needs. Use neutral labels, comparable presentation, separate assignment records, and controlled access where appropriate. Keep outcome assessment rules and analysis decisions specified before revealing which label corresponds to which condition.
Describe the roles explicitly rather than relying only on labels such as single-masked or double-masked, whose meanings can vary. State what participants, providers, assessors, and analysts knew, how that information was controlled, and when the assignments were revealed.
Plan for situations in which masking is impossible or becomes compromised. An obvious interface difference may reveal a condition, and writing style may reveal an AI system despite removing its name. Record relevant breaches and use other design protections. In studies where safety requires revealing an assignment, establish an appropriate controlled unmasking procedure in advance.
Three practical examples
- Independent reviewers score AI-generated summaries without seeing the model names or vendor branding.
- A training evaluation gives assessors anonymized work products so they do not know which participants received the new course.
- A product study keeps analysts unaware of which neutral group code represents the new design until agreed analyses are finalized.
Think of it this way
Think of a cooking competition in which judges taste numbered dishes. Removing the chef's name reduces one possible source of favoritism, but it does not ensure equal ingredients, random selection of chefs, or identical serving temperatures. Masking removes particular information; the rest of the comparison still needs careful design.
Worked example
Consider an original hypothetical scoring exercise with two sets of 20 equally good summaries. Suppose each set has an underlying mean rubric score of 70. Assume, purely for illustration, that seeing a favored system's label adds six points to a reviewer's score, while the other label adds nothing.
If reviewers see every label, the expected observed means become 76 and 70, creating an apparent six-point difference despite equal underlying quality. With complete masking and no other source cues, the assumed label effect contributes zero, leaving expected means of 70 and 70.
Now suppose four of the 20 favored-system summaries accidentally retain a recognizable label. Under the same additive assumption, the mean bias is 4 × 6/20 = 1.2 points, giving an expected mean of 71.2 for that set.
This is a mechanism illustration, not evidence that real reviewers have a six-point bias or that masking removes all bias. It also assumes no inference from writing style, no spillover between reviews, and otherwise comparable scoring. Those assumptions must be examined rather than silently transferred to an actual study.
Illustrative case study
Fictional case: BriefCedar evaluates two AI summarizers. It removes model names, standardizes the display, and randomizes the order in which reviewers see outputs. During a pilot, reviewers notice that one system consistently inserts a distinctive closing sentence.
The team recognizes that removing explicit names did not fully hide source identity. It documents the issue and revises its evaluation protocol without deleting content that belongs to the intended quality comparison. The final report states exactly what reviewers could see and how uncertainty about masking affects interpretation. The case illustrates why masking is a design property to examine, not merely a label to attach.
Common misconceptions and mistakes
Masking does not guarantee that participants or assessors cannot infer assignments. A recognizable intervention or outcome can provide clues. Nor does an assessor's correct guess automatically prove a procedural failure: genuine treatment effects may inform that guess.
Double-masked is insufficiently precise without identifying the roles involved. Masking also differs from anonymization for privacy; hiding a person's identity does not necessarily hide their study condition. An unmasked study is not automatically worthless, but the remaining risks and alternative protections should be described. Randomization, prespecified analysis, and masking address different vulnerabilities.
Business use
Businesses can use masking to make human evaluations of products, AI outputs, and training outcomes less vulnerable to brand expectations or investment in a preferred result. It is especially useful when judgments contain a subjective component.
Maintain an assignment key, role-based access, consistent presentation, and a record of when labels are revealed. Avoid changing the product being evaluated merely to make conditions look identical if those differences are central to the question. The aim is an interpretable comparison with a clear account of what information was available to each participant and reviewer.
People also ask
Must everyone be masked?
Not necessarily. The feasible roles depend on the intervention and study design; specify each role separately.
Is removing a model name sufficient?
Not always. Formatting, characteristic phrases, or other cues can reveal its identity.
Can an analyst be masked?
Yes. Neutral group codes can conceal which intervention is which while planned analyses are completed, although data patterns may still offer clues.
Check your understanding
A study uses random assignment, but assessors know which group received the new intervention. Is outcome assessment masked?
Answer: No. Random assignment does not hide group identity. The study should report that assessors were unmasked and explain the measurement procedures used to reduce potential bias.
Related terms
- Allocation concealment
- Blinding
- randomization
- observer bias
- expectancy effect
- outcome assessment
- prespecified analysis
- independent evaluation
Learn next
Learn to separate assignment generation, concealment before assignment, and masking after assignment. Then design an evaluation report that states who knew what, when, and how that knowledge could affect the outcome.
More in Statistics and probability
- Marginal structural model - A marginal structural model is a model for features of the distribution of potential outcomes under specified interventions or treatment histories.
- Marginal totals - Marginal totals are the sums for the categories of one variable after adding across the categories of another variable in a table.
- Markov logic network - A Markov logic network, or MLN, combines first-order logical formulas with numerical weights to define a probabilistic model over relationships and attributes.
- Master sample - A master sample is a sample selected for use on multiple future survey occasions, rather than drawing a completely new sample independently for every inquiry.
- Matched samples - Matched samples are samples whose observations have a meaningful correspondence across conditions or groups.
- Matched-samples t test - A matched-samples t test, also called a paired t test, tests a hypothesis about the population mean of differences between paired numerical observations.
Sources
Harrell, Glossary of Statistical Terms, masking entry: https://hbiostat.org/glossary/
CONSORT–SPIRIT, how blinding was achieved: https://www.consort-spirit.org/item20b-howblindingwasachieved
The scoring example is an original hypothetical calculation, not a measured bias estimate. BriefCedar is fictional. The clinical source terminology is applied here to general comparative evaluation, not to medical advice.
Previous: Masked language modeling Next: Mass nouns