Identifying and Mitigating Gender Cues in Academic Recommendation Letters: An Interpretability Case Study

arXiv cs.LG / 4/15/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The study tests whether Transformer encoder models and an LLM can infer applicant gender from recommendation letters even after explicit identifiers (names/pronouns) are removed.
  • Despite de-gendering, the classifiers show substantial gender leakage, reaching up to 68% accuracy, indicating that LoRs still contain gender-related linguistic patterns.
  • Interpretability approaches (TF-IDF and SHAP) identify specific words and themes (e.g., “emotional” and “humanitarian”) as strong proxies for gender in these texts.
  • Attempts to create more gender-neutral LoRs by removing detected implicit cues reduce classifier performance by up to 5.5% accuracy and 2.7% macro F1, though gender prediction remains above chance.
  • The authors argue for auditing evaluative text upstream (in real recommendation-letter workflows) as a necessary complement to model-level fairness techniques.

Abstract

Letters of recommendation (LoRs) can carry patterns of implicitly gendered language that can inadvertently influence downstream decisions, e.g. in hiring and admissions. In this work, we investigate the extent to which Transformer-based encoder models as well as Large Language Models (LLMs) can infer the gender of applicants in academic LoRs submitted to an U.S. medical-residency program after explicit identifiers like names and pronouns are de-gendered. While using three models (DistilBERT, RoBERTa, and Llama 2) to classify the gender of anonymized and de-gendered LoRs, significant gender leakage was observed as evident from up to 68% classification accuracy. Text interpretation methods, like TF-IDF and SHAP, demonstrate that certain linguistic patterns are strong proxies for gender, e.g. "emotional'' and "humanitarian'' are commonly associated with LoRs from female applicants. As an experiment in creating truly gender-neutral LoRs, these implicit gender cues were remove resulting in a drop of up to 5.5% accuracy and 2.7% macro F_1 score on re-training the classifiers. However, applicant gender prediction still remains better than chance. In this case study, our findings highlight that 1) LoRs contain gender-identifying cues that are hard to remove and may activate bias in decision-making and 2) while our technical framework may be a concrete step toward fairer academic and professional evaluations, future work is needed to interrogate the role that gender plays in LoR review. Taken together, our findings motivate upstream auditing of evaluative text in real-world academic letters of recommendation as a necessary complement to model-level fairness interventions.