the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

Remove promotion of toxic content?

Open zack6849 opened this issue 1 year ago • 5 comments

Am I reading this right?

https://github.com/twitter/the-algorithm/blob/main/home-mixer/server/src/main/scala/com/twitter/home_mixer/functional_component/decorator/HomeTweetTypePredicates.scala#L188

Are you actually pushing tweets to users /because/ they're detected as toxic?!

zack6849 avatar Mar 31 '23 21:03 zack6849

No, you are not reading this right. Everything in that file is used for tagging tweets with certain features (has the tweet a link, is there anything toxic in it, has it x images etc). That code has nothing to do with actually selecting tweets for the home view.

The code in https://github.com/twitter/the-algorithm-ml/tree/main/projects/home/recap might help you if you are looking for this. However, you won't be able to replicate Twitter's feed 1:1 since some models and information are still missing.

VIEWVIEWVIEW avatar Mar 31 '23 21:03 VIEWVIEWVIEW

@VIEWVIEWVIEW thanks for clarifying, I still find it a bit concerning that toxicity is being fed into the ML stuff as an input, I suppose you could argue it may be being used to filter OUT overly toxic content depending on what it thinks I want to see, but since we can't really /see/ what the ML does, I don't trust it

zack6849 avatar Mar 31 '23 21:03 zack6849

I still find it a bit concerning that toxicity is being fed into the ML stuff as an input

how would the model learn about toxic stuff if it isn't fed toxic stuff

slweeb avatar Mar 31 '23 22:03 slweeb

how would the model learn about toxic stuff if it isn't fed toxic stuff

image

kennethsequeira avatar Apr 01 '23 03:04 kennethsequeira

As the old saying goes "how would you know that you are dead if the machine already killed you?"

Anyway I think we are digressing a little bit here, we can close this issue as it was fixed already by https://github.com/twitter/the-algorithm/issues/308

aloiscochard avatar Apr 13 '23 13:04 aloiscochard