Skip to main content
University of California San Francisco
UCSF School of Medicine UCSF Medical Center
Home

Social Icon

  • Facebook
  • Twitter
  • Youtube
  • Apply Now
    • MD Program
    • Post Baccalaureate

Mega Menu

  • About Us
    • UCSF Medical Education Overview
    • Our Mission
    • Our People
    • Our Impact
      • Bridges Newsletter
      • Medical Education Podcast
      • News
    • Artificial Intelligence in Medical Education
    • Educational Support Resources
      • Technology Enhanced Education
      • Anatomy Learning Center
      • Willed Body Program
      • Kanbar Center for Simulation and Clinical Skills
    • Kanbar Center
    • Anatomy Learning Center
    • Job Opportunities
    • Program Statistics
    • Guidelines & Policies
    • LCME Accreditation
    • ACGME Accreditation Program
    • ACCME Accreditation Program
    People looking at a sample at the lab.
    Latest News
  • Prospective Students
    • Prospective Students Overview
    • MD Program Admissions
    • Post Baccalaureate Program
    • Outreach Programs
    • Bridges Curriculum
    • Education Programs
    Prospective Students crossing the street
    MD Program Admissions
  • Current Students
    • Current Students Overview
    • School of Medicine Deans
    • Medical Student Guidelines & Policies
    • Student Services
    • Bridges Curriculum
    • Student Experience Team
    • Technology in Medical Education
    • Visiting Student Program
    • Advising and Career Development
    UCSF medical students in front of a UCSF shuttle
    Student Services
  • Prospective Residents & Fellows
    • Prospective Residents & Fellows Overview
    • GME Policies & Housestaff Handbook
    • Training Programs
    Continuing students talking to each other.
    Training Programs
  • Current Residents & Fellows
    • Current Residents & Fellows Overview
      • Resident & Clinical Fellows Resources
    • Program Administration Resources
    • Training Verifications
    • About the Office of GME
      • GME Calendar and Events
    GME trainees walk the halls of a hospital
    Visit the Resident & Fellow Resource Hub on the Overview page
  • Continuing Education
    • Continuing Education Overview
    • Office of Continuing Medical Education
    • Resources for Participants
    • Resources for Presenters
    Doctors collaborating in a lab
    Upcoming Courses
  • Faculty Educators
    • Faculty Educators Overview
    • Faculty Development
    • Health Professions Education and Research
    • Academy of Medical Educators
    • Volunteer Clinical Professors
    • CFE News and Announcements
    • Recognition and Awards
    • Contact Center for Faculty Educators
    Doctor giving a lesson

Brian Gin, MD, PhD

HS Assoc Clinical Professor

Patients-Trainees-Supervisors: clinical learning's triad of trust

In health professions education, relationships between patients, trainees, and supervisors may not always coalesce spontaneously or effectively. Within this triad, a web of uncertainties and motivations makes each party vulnerable to the other. The mitigation of uncertainty, alignment of motivation, and acceptance of vulnerability all require trust. Patients seeking care may distrust their providers, but they must at least hold some trust in their providers’ ability to match them with the care they need. Trainees are motivated not only by direct care of their patients, but also by their own learning and development. Alignment of patient care with learning thus requires all parties’ acceptance of the vulnerability inherent in receiving and delivering care that is also crafted as an opportunity for learning.
We seek to understand how trainees build and receive trust within this dynamic, and how this process can be improved from both a learning perspective and patient outcomes perspective. Within HPE, a recent focus on trust emerged around the trainee-supervisor dyad because of its relevance to the framework of entrustment in assessment. While a trainee’s opportunities for learning may depend on the trust their supervisor has in them, it depends upon their patients’ trust in them as well. Patient-provider trust has also been a topic of strong interest, so we would like to understand how these two dyads of trust interface, with a particular focus on learning and patient care outcomes.


Blurring qualitative and quantitative approaches: investigating clinical trust with AI language models

Advances in artificial intelligence (AI) and natural language processing (NLP) promise new insights in the analysis of narrative data. Computational and algorithmic developments in deep learning neural networks have led to the advent of language models (LMs - including large language models, or LLMs) with unprecedented abilities to not only encode the meaning of words, sentences, and entire bodies of text, but also to use such encodings to generate new text. Within health professions education research, these LMs promise to bridge, and potentially blur, the distinction between qualitative analysis and quantitative measurement approaches.
Our research focuses on exploring the interpersonal dynamics of clinical entrustment by developing LM methodologies to augment the reach of traditional qualitative methods for analyzing large narrative datasets. We have employed LMs to assist narrative analysis in several ways, including: 1) to discover qualitative themes and measure associated constructs in unlabeled narratives, and 2) to uncover latent constructs underlying the classification of pre-labeled narratives. In 1), querying how supervisors and trainees may differentially approach entrustment decisions, we developed a transfer learning strategy (applying LLMs trained on datasets apart from the study dataset) to identify and measure constructs in a large dataset of feedback narratives. The constructs algorithmically identified included features of clinical task performance and sentiment characterizing the language used in the feedback. The LLMs provided consistent measurement of these constructs across the entire dataset, enabling statistical analysis of differences in how supervisors and trainees reflect on entrustment decisions and respond to potential sources of bias. In 2), querying how entrustment decisions shape feedback, we trained an LM from scratch to predict entrustment ratings from feedback narratives, using a training set consisting of narratives paired with entrustment ratings. By deconstructing the trained LM, we uncovered latent constructs the LM used to make its predictions. Such constructs included the narrative’s level of detail and the degree to which the feedback was reinforcing versus constructive.
While LMs offer the advantages of consistent construct measurement and applicability to large datasets, they also carry the disadvantages of algorithmic bias and lack of transparency. In 1), we identified gender bias in the LLM we had trained to measure sentiment; this bias originated from its training dataset. To mitigate this bias, we developed a strategy that masked the LLM to gender-identifying words during both training and measurement of sentiment. This allowed us to identify small but significant biases in the study data itself, which revealed that entrustment ratings appeared to be less susceptible to bias than the language used to convey it. With respect to transparency, while our work in 2) enabled the deconstruction of an LM designed for a specific task (i.e. prediction of entrustment), larger LLMs used in generative AI (including GPT-4 and LLaMA) currently lack the ability to trace their output to its sources. Our ongoing work focuses on developing LLM-based strategies that support transparency in narrative analysis, and on developing theory to characterize the epistemology and limitations of knowledge both represented within and derived from LLMs.
Education
M.A., 2016 - Education, University of California, Berkeley
2016 - Fellowship, Pediatric Hospital Medicine, University of California, San Francisco
2014 - Residency, Pediatrics, University of California, San Francisco
M.D., 2011 - Medicine, University of California, San Francisco
Ph.D., 2009 - Chemistry, University of California, Berkeley
Brian Gin, MD, PhD

 [email protected]

Home

UCSF Medical Education is a part of the UCSF School of Medicine.

Visit the UCSF School of Medicine website

Footer

  • ABOUT US
    • Career Opportunities
    • School of Medicine Guidelines & Policies
    • Educational Support Resources
  • FOR CURRENT STUDENTS
    • Bridges Curriculum
    • Tools & Resources
  • FOR FACULTY EDUCATORS
    • Faculty Development Resources
  • MD PROGRAM
    • Admissions Office

UCSF logo

© 2025 The Regents of the University of California.

UCSF Giving

Footer Bottom

  • Accessibility
  • Privacy Policy
  • Terms of use
  • A-Z Website List