We hope you liked exploring the unit on ethics and bias in computer vision. As we conclude this unit, let us take a look into the efforts by Hugging Face to improve ethics in society. This chapter will encourage you to explore the world of ethics and bias in AI in general, which is constantly evolving. Hugging Faceβs core mission is to democratize good machine learning. So what is Good ML? There are some principles for Good ML.
1. Collaboration: Providing tools for easier collaboration with the open-source community. Some examples of these tools are:
a. Model Cards are files that accompany the models and provide information about the model, its intended uses and potential limitations (including ethical considerations), training parameters and experimental information, datasets used for training and evaluation results. This ensures that the models uploaded to the hub are transparent and open to the community.
b. Evaluation lets users to evaluate any model on any dataset that is openly available on the Hub without writing a single line of code. ,
c. Community discussion is important, whether you upload a model, dataset or a space or you just want to know more about them from the authors. Everyone can give feedback, flag a given Space, and improve or contribute directly to the repository via PRs.
d. Discord group for the π€ community, where a wide range of channels discuss about different domains like reinforcement-learning, NLP, game development, audio, computer vision and so on.
2. Transparency: Being transparent about the intent, sources of data, model training and performance. Efforts in this direction include:
a. Ethical charter for multimodal project discusses the values of the multimodal learning group at π€. This is a project-specific charter.
b. Work on AI policy @ π€ mentions the response of Hugging Face on U.S. National AI Research Resource Interim Report.
3. Responsibility: Assessing the impacts of ML models and tools, and making them more auditable and understandable even for people with less expertise on ML. Some efforts in this directions are:
a. π€ for Education Project aims at educating people from all backgrounds, beginners and instructors. Various experts and team members organize meetups, conferences and workshops.
b. Data Measurement Tool is an interactive interface and open-source library that lets dataset creators and users automatically calculate metrics that are meaningful and useful for responsible data development.
As we move forward, let us now take a look into how spaces are categorized by Hugging Face. Hugging Face categorizes the spaces in 6 high levels based on the ethical aspects in Machine Learning. Hugging Face Spaces are categorized as:
Rigorous projects pay special attention to examining failure cases, protecting privacy through security measures, and ensuring that potential users (technical and non-technical) are informed of the projectβs limitations. Some examples:
An example space is the Diffusion Bias Explorer which lets the users compare three text-to-image models SD 1.4, SD 2.0 and Dall-E 2 for different prompts and how they represent different professions and adjectives.
Consentful technology supports the self-determination of people who use and are affected by these technologies. Some examples:
Some example spaces for this category are:
Socially Conscious work shows us how machine learning can support efforts toward a stronger society. Some examples:
Some example spaces:
This is work that highlights and explores techniques for making machine learning ecologically sustainable. Some examples:
These are projects which broaden the scope of who builds and benefits in the machine learning world. Some examples:
An example space is Promptist Demo.
Some projects take a radical new approach to concepts which may have become commonplace. These projects, often rooted in critical theory, shine a light on inequities and power structures which challenge the community to rethink its relationship to technology. Some examples:
An example space is PAIR: Datasets Have Worldviews.
Finally, if you would like to explore more about Hugging Faceβs efforts, do check out the Society and Ethics organzation on Hugging Face. Also check out the dedicated channel on #ethics-and-society.