Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Linear Probing Code Used in Assessing Sensitive Attributes #1

Open
Lancelottery opened this issue Sep 20, 2024 · 0 comments
Open

Comments

@Lancelottery
Copy link

Hello,

I'm trying to replicate the results from your preprint, particularly the section on "Foundation Model Encodes Demographic Information Beyond Human Levels."

In the paper, you assessed CheXzero's predictions on sensitive attributes using a linear attribute prediction head and reported high AUCs (e.g., "Black" AUC = 0.78). In the repository, I found the get_representations() and fit_model() functions in utils/lin_eval.py, but I couldn't find where these functions are called or how to properly utilize them to replicate your results.

Could you please share the code or provide guidance on how to use the linear probe to assess sensitive attributes (specifically races) in CheXzero?

Thank you for your assistance.

Best regards,
Lance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant