Page MenuHomePhabricator

Exclude biographies from image suggestions notifications
Closed, ResolvedPublic


As a user of image suggestions notifications, I do not want to receive image suggestions for biography articles, so that I am not forced to evaluate a potentially offensive or harmful suggestion.

Background: When we released Computer Aided Tagging, we found that the algorithms we used had some inherent bias, and were suggesting offensive tags to describe images of people. You can read more about that here. Until we've had a chance to evaluate whether we might face the same or related problems with the image suggestions notifications, we'd like to avoid suggesting images for biographies, to avoid making potentially offensive or harmful suggestions.

Acceptance Criteria

  • Determine how to identify articles that are biographies, and document that in this ticket
  • Image suggestions notifications are not sent for articles that are biographies
  • Other consumers of image suggestions (e.g. newcomer tools) are still able to include biographies
  • We are able to turn off filtering of biographies in the future if we determine bias isn't an issue

Event Timeline

CBogen updated the task description. (Show Details)

In the source-of-truth for image suggestions (Cassandra, see T293808) we'll be storing the value of instance of for each article. This means we can exclude articles with instance of==Q5

See T294468 for how to get this from the api

Change 778216 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ImageSuggestions@master] [WIP] Maintenance script that sends image suggestions

Change 778216 merged by jenkins-bot:

[mediawiki/extensions/ImageSuggestions@master] Maintenance script that sends image suggestions

Moving to blocked until the code has been deployed, at which point I'll do a few more tests.