docs: add ethical context note to CIFAR-10 classifier tutorial

未关闭
#3,781 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
58/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
技术栈
python, pytorch

调研方向

打开“Training a Classifier”教程,并确定其中介绍 CIFAR-10 数据集和分类任务的位置。添加一个简短段落,涵盖数据集选择、对有感知能力的存在进行分类的伦理影响,以及指向负责任 AI 或数据集文档资源的链接;完成标准是教程包含所要求的意识说明,且不对代码进行更改。

由索引模型根据 Issue 内容生成。

描述

Suggestion

Add a brief ethical context note to the "Training a Classifier" tutorial regarding the CIFAR-10 dataset's treatment of animals as classification objects.

Context

The "Training a Classifier" tutorial is one of PyTorch's most-visited pages and many developers' first exposure to image classification. It uses CIFAR-10, which is 60% animal classes (bird, cat, deer, dog, frog, horse).

The tutorial trains a model to classify animals purely as objects — identical to how it classifies airplanes, automobiles, ships, and trucks. While this is technically correct for the classification task, it's worth acknowledging the ethical dimensions of animal classification in AI, particularly given:

  1. Precedent: The CIFAR-10 parent dataset (80 Million Tiny Images) was taken offline in 2020 after MIT researchers identified racist, sexist, and offensive labels. This established that ethical review of classification datasets is appropriate.

  2. Research: Peer-reviewed papers have documented how AI classification systems perpetuate speciesist assumptions:

    • Hagendorff et al. (2023). "Speciesist bias in AI." AI and Ethics. Notes that image classification schemas "treat animals identically to inanimate objects."
    • ImageNet's ILSVRC schema has ~400 animal classes among its 1,000 classes with no ethical distinction from object classes.

Suggested Change

A brief note (2-3 sentences) in the tutorial acknowledging that:

  • Datasets reflect choices about what to classify and how
  • Practitioners should consider the ethical implications of classification systems, especially those involving sentient beings
  • Links to resources on responsible AI and dataset documentation

This doesn't require changing the tutorial's content or code — just adding a brief awareness note consistent with PyTorch's commitment to responsible AI.

Scope

A single paragraph addition. No code changes.

主要语言
Python
星标
9.5k
派生
4.5k
平均合并
1 天 20 小时
30 天内合并 PR
2

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pytorch/tutorials 的其他 Issue

查看 pytorch/tutorials 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。