How to Catch a ChatGPT Cheat: 7 Practical Tips

By Marshall @ 2022-12-27T16:09 (+8)

Summary

Notes: Crossposted here. I've added an EA-specific summary for the forum. This is not an attempt to synthesize AI-enabled cheating as a cause area. I'd file this more under "some advice for dealing with this new problem and some suggestions for AI companies." 

Introduction

Like so many people, I’ve been surprised and baffled by ChatGPT. It generates coherent responses to a huge array of prompts. The technology threatens the written assignment as a means of developing and assessing the type of “21st century” skills that are (at least for now) essential in so many jobs. 

The thing is this: ChatGPT has some glaring weaknesses. It produces a lot of material that is just flat out wrong. It even (very helpfully) fabricates citations and quotes. These telltale errors and fabrications are easy to see because you, the teacher, are knowledgeable about the essay topic. The key is to make your job easier by getting ChatGPT to throw as many errors as possible. That way, if students do try to use this AI to write their essays, they need to spend so much time researching and fixing the errors to avoid getting caught that it’s not even worth the trouble.

ChatGPT readily admits to fabricating a citation…and rhapsodizes about academic integrity. Source: ChatGPT from OpenAI.

Seven ways to optimize for nonsense ChatGPT output

Here are seven strategies that I’ve found useful for getting the best kind of garbage out of ChatGPT. I recommend implementing all seven together. Rather than explain each in detail, I provide some examples here.

  1. Ask about recent developments – ChatGPT usually refuses to opine on anything that isn’t covered in its training data, which runs through 2021. If you phrase the question correctly, it may still answer but will refer to older developments. For example, when asked about medications recently approved by the FDA, it references approvals from the 2010s.
  2. Request multiple citations – Many (though not all) of the citations generated by ChatGPT are complete fabrications, even though they look real. If you search for the sources or follow the links, you’ll usually find nothing. This is telltale.
  3. Ask for quotes from the citations – Similarly, ChatGPT will generate what appear to be quotes from sources when the quotes actually don’t exist in the real world. Even if you ask for “direct quotes” it will do this! Another dead giveaway.
  4. Tell it to take a stand – ChatGPT will often refuse to take a stand, it will hedge its answers, or it will make very general statements. For example, with health-related information, it usually throws in a very Mayo Clinic-esque disclaimer about consulting a health professional. How many students do that?
  5. Request specific information – The more detailed the response from ChatGPT, the more likely it is to be rife with errors. You’ll recognize many of these errors right away.
  6. Ask it to compare and contrast – This is a version of getting specific, which reveals more factual errors. But it also gives ChatGPT the opportunity to make more general statements that betray a lack of real understanding of the question.
  7. Test your prompt in ChatGPT – I’m hesitant to recommend this, because it gives OpenAI more training data, but you want to be sure the responses you get back are awful. Use this as an opportunity to optimize your prompt to maximize the AI’s errors.

It’s not a coincidence that many of these tips for writing prompts seem like good practices in the pre-AI era. Remember that ChatGPT has mastered an illusion: we’re impressed by the legibility and coherence of its writing and we assume this means that it really understands what it is talking about, the way a human student can.

What OpenAI (and other AI behemoths) should do

I’m worried that companies will recognize these faults and try to “fix” them. Let’s face it: this technology takes the job of teachers – who are already disrespected, underpaid, and under enormous strain – and makes it worse. This is a clear and present AI alignment problem. I think these companies should be very hesitant about making AI an even better cheating machine without also giving teachers tools to address new problems caused by AI technologies. Here’s one suggestion:

I’m sure there are logistical and privacy concerns. I’m also sure that these companies can figure out how to surmount these concerns or develop alternative tools for teachers – they certainly have the resources.

Some notes and disclaimers


Zach Stein-Perlman @ 2022-12-27T23:34 (+6)

I think this type of misuse is an emerging AI alignment problem.

Misuse can be important or interesting, but the word “alignment” should be reserved for problems like the problem of making systems try to do what their operators want, especially making very capable systems not kill everyone.

david_reinstein @ 2022-12-27T23:08 (+2)

This is helpful at the margin

But my experience over 15 years of teaching at UK universities is that “marking student research/take home essays ” was already a highly problematic and inaccurate means of evaluation. Extremely time consuming to judge, especially with students who struggle with the English language. (And you are asked to not penalise them for this). Students can and do pay others to write it for them.

the availability of chat Gpt makes this substantially more difficult.

My advice (to the educational system) would be a combination of:

  1. Try to work with a smaller number of intrinsically motivated students. Focus less on evaluation. This is particularly true for research intensive subjects.

  2. If you need to do evaluation, arrange proctored/Invigilated exams