Skip to content

Latest commit

 

History

History
147 lines (120 loc) · 5.74 KB

TODO.md

File metadata and controls

147 lines (120 loc) · 5.74 KB

TODOs

Bug fixes

  • Change debiasing from inplace to copy
  • PCA on A + B only, then apply the projection matrix on the third.

Different debiasing techniques

  • Linear projection
  • OSCaR - Orthogonal Subspace Correction and Rectification

UI changes

  • Dim other points on hover
  • Align axis ranges for PCA and Two-means
  • Remove PCA picture
  • Toggle mean-line and purple points
  • Remove points without removing the visualization of that word
  • 3D PCA, future stuff
  • Make the mean direction always horizontal and mean 1 on right and mean 2 on left

Animation Tasks

  • Animate collapse to two-means
  • Animate PCA as rotation and scaling (but from what to what?)
  • Mean point in debiasing (right)
  • Animate between one debiasing method to another to show difference between methods

Miscellaneous

  • Assumption on gender of name
  • Projection on normal to max margin plane
  • PCA with maximal alignment
  • Check Viz for debiasing for what types of techniques they've used

  • Google slide deck shared among everyone

  • Protected class/seed sets (bias direction) may have more than 2 inputs

  • Subspace method selection on the seedset line

  • Saved screenshot of Vivek's interface

  • Oscar takes two subspaces and orthogonalizes it, so seed-set pair 1 and seed-set pair 2.

  • Classification - linear classifier, take normal to separating hyperplane as gender direction.

  • Linear projection with 4 subspace methods:

    1. Two-means (two seed inputs)
    2. PCA (one input, csv)
    3. PCA-paired (hypen + csv)
    4. Classification (two seed inputs)
  • Evaluation set

  • Hard debiasing, again with 4 subspace methods

    • Evaluation set
    • Equalize set, similar to PCA-paired
    • Hidden large neutral set - just a label that it is there
    • [Optional] Generating set
  • INLP

    1. Classification set, two boxes
    2. Evaluation set
    3. Slider for number of iterations, between 1-40, default is 35
    4. Show which step you are at in the SVG
  • OSCaR

    1. Space 1 - same 4 subspace methods
    2. Space 2 - same 4 subspace methods
    3. Evaluation set
  • QOL: Linked zoom and pan

  • Take dot product with subspace direction, that will be x coordinate

  • X - gender direction = X', and then PCA of X', which will have orthogonal components to gender direction

  • ^Rather than above, project X to null space of gender direction and then take PCA

  • Color theme accessible to color-blind people, plus shape encoding, triangle or square

  • Hover over point, click to retain highlighting across all views

  • Classifier method - sample grid, check sign of classifier, and color accordingly

  • WEAT score and residual bias measures

  • Submit the slide deck


  • Lighter shade for menu
  • Show equalize set, show gender-specific words do not move
  • Classification - two point along the normal vector and then draw the vector in 2-d space
  • x-axis alignment
  • evaluation set dialog for OSCaR, 1st direction, 2nd direction.
  • Show direction vectors for two dirs in OSCaR
  • Top two - align x-axis, show vectors
  • preloaded examples

  • Linear projection - use same fitted PCA for base and debiased
  • Add step to show subspace method computations
  • Rotation for bias direction alignment instead of flipping
  • Visual indication for camera movement vs actual projections
  • gendered words instead of names, use names in the critiques of debiasing
  • Bias direction projection
  • Checkbox for toggle buttons
  • Do not remove origin bias labels on toggle data labels
  • WEAT score in initial and debiased embedding
  • Not show all equalize set
  • Bias1 and Bias 2 -> concept 1 and concept 2; subspace 1 and subspace 2
  • ability to name the subspaces
  • Update v to v' in Oscar step
  • Disable other subspace methods
  • INLP - always reorient to classifier at each step, should be two steps - reorient to classifier direciton and project away from it
  • Scale of x and y-axis be same, balance +-x and +-y, animate axes
  • Slow animation
  • Rotation using dynamic projections

  • Toggle buttons
  • Camera movement indicator
  • Custom names for subspaces
  • INLP break down classifier finding and rotation step

  • INLP, 4 steps
  • Fix Oscar
  • Linear projection, Hard debiasing: concept vector shrink to origin
  • INLP, stop when score < 0.5 + epsilon, atleast two rounds
  • Fix flicker-class camera
  • move to preloaded examples
  • For axes - same-scale, symmetric, square around origin
  • Zoom for initial and debiased embedding
  • Fixed set of algo+subspace method
  • Combinations: Linear + Hard + Oscar - Two Means + PCA; INLP - classification
  • On error, dialog box
  • Support empty evalset, single word evaluation
  • Linear projection - Linear projection
  • Correct remove points
  • Dotted line for classifier
  • lose focus in text field during overlay

  • Label placement to avoid overlapping labels
  • Bug fixes involving zooming during animation and resetting the initial embedding: including disabling the zoom when the points are moving in the Embedding View panel.
  • Export as CSV
  • Add 'Save Embeddings' and 'Import Embeddings' buttons on the Control Panel
  • Show WEAT scores before and after debiasing for a fixed set of words
  • When 'data labels' are turned off, allow the evaluation set labels to be turned back on. More general functionality: allow a user-clicked subset of points with the labels turned on during the animation.
  • Show k=10 nearest neighbor as a list from the high-dimensional embedding.