ramblingjordan / AbBOT-python

MIT License
25 stars 15 forks source link

Telltale Signs of Output from GPT2 (Double Quotes in Particular) #9

Open TheLandfill opened 3 years ago

TheLandfill commented 3 years ago

See here

I want to note that GPT2 output, while decent, usually has a ton of telltale signs:

  1. The frequent use of double quotes, as if it's quoting from an interview. Almost every paragraph uses double quotes at least once, especially at the end of the first paragraph.
  2. Long quotations inside a sentence. Removing these requires more advanced filtering, but something along the lines of removing any sentence with a quote and the word "said."
  3. The use of advertisement text. Because of how GPT-2 was trained, it sometimes has words like "Advertisement" on its own line.
  4. Any use of colons for things like quotations in interviews.
  5. Characters that are not found on a standard keyboard.
  6. Stuff like "All photos © Michael C. Stough" on its own line.
  7. While you remove the stuff that comes after the final period, you don't remove any trailing newlines afterwards.

We should try to remove as many of these signs as possible from the output of GPT2. Some of these are easier to remove than others, but the ones that are difficult for us to remove are also difficult for them to filter out. For example, they could remove most of GPT2's submissions by removing any submission with double quotes.

It might also be a good idea to leave these signs in the output every so often so that they implement filters that could remove false negatives. For example, if they implement a filter for quotation marks, they could remove some real submissions that have quotation marks.

a-voleur commented 3 years ago

Also, someone on Discord pointed out a couple things to fix to make it harder for humans to distinguish between fake and real form submission:

ideally someone could set up a sort of Turing test with our bot where we have people write real-looking form entries and compare them to our auto-generated ones to see if humans can accurately tell the difference

dcbark01 commented 3 years ago

These are all great ideas. I recommend submitting a PR in the form generation API repo here.

TheLandfill commented 3 years ago

I have started working on introducing typos into the messages in the typos branch.