Sharing tips for preventing and detecting AI bot participation in surveys and experiments?

Hi everyone,

our teams are getting worried about LLM/“AI” bots taking part in our online studies, so I would like to start a thread about practical tips to prevent or at least detect that. I hope this is the right place for this topic. If there’s a better forum for it, please let me know, and I’m happy to continue the discussion elsewhere.

To illustrate the threat, Westwood (2025) built an AI agent that completed surveys on its own, passed almost all standard attention checks, and gave believable, consistent answers. It could also be instructed to bias results, and it sometimes guessed the study’s hypothesis and answered in line with it. The author sees in-survey checks as a losing battle, partly because harder checks may exclude real participants. But does the community agree here?

I’d like to use this thread to collect practical tips for preventing or detecting AI bot participation in Pavlovia surveys and PsychoPy experiments. If you share a tip, it would be great to include:

  • What you did (for example, a type of question, a timing check, or a data check)
  • Why it helps against bots, and whether it might also flag real participants by mistake
  • A reference, if you know of research or a guide on it

Experiences are welcome too, such as suspicious data you noticed and how you handled it.

In my view, this public forum could be a good place to share experiences, practical tips, and useful references, so that everyone can learn from them, including researchers who are new to online studies. There is some natural tension with discussing countermeasures publicly, as this could be used by people who want to cheat on studies. Westwood resolved this by sharing his analysis code but withholding the scripts that enter answers into surveys automatically. I guess we’ll have to see if this discussion is deemed useful. And if someone finds a weakness in a specific platform, I would suggest reporting it privately to the platform team first, if they offer responsible disclosure.

I’m looking forward to learning from you!

Reference

Westwood, S. J. (2025). The potential existential threat of large language models to online survey research. Proceedings of the National Academy of Sciences, 122(47), Article e2518075122. https://doi.org/10.1073/pnas.2518075122

I’ve been digging deeper into this topic in the meantime, so I’ll update with an interesting opinion from a recent position paper by Fernandez, Yang, Smith, and Krajbich (2026).

What: The authors argue that webcam eye tracking during the study is a strong defense against LLM/“AI” agents, and they provide a compendium of tools for several platforms: Webcam Eye-Tracking Compendium

Of special interest for us here: the compendium points to an existing Pavlovia demo with webcam eye tracking, which seems a good starting point for PsychoPy experiments:

Why: The authors call it “proof by presence.” Instead of checking behavior, which AI agents can increasingly imitate, it checks that a real person is actually looking at the screen. The paper also has some guidance on setting exclusion criteria without penalizing human participants.

In my view, this is probably quite useful, but it also asks more of participants, i.e., they need a working webcam and (somewhat) suitable conditions for eye tracking. Perhaps that is too restrictive for some studies. The authors argue that the bar is high for attackers: faking the gaze signal would require technical sophistication and hardware modification well beyond the tools used to automate online tasks. I guess that matters most for casual fraudsters, who, as the authors note, could complete a survey with an AI agent “with as little as the click of a button.”

Regarding Pavlovia Surveys: As far as I can tell, that defensive approach won’t work there, as Pavlovia Surveys don’t seem to support custom JavaScript (see this thread). Perhaps I’m wrong, or there could be a workaround? (I’m not familiar with Surveys yet.)

Reference

Fernandez, K. A., Yang, X., Smith, S. M., & Krajbich, I. (2026). Defending against AI agents with webcam eye tracking [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/ecrdw

Eye tracking is certainly an interesting direction to take to guard against AI participants. From a server perspective, it might become an issue if an order of magnitude more studies started saving webcam recordings, so we would want verification which checks for eye movements but doesn’t save recordings (which would also be better from a research ethics standpoint).

For Pavlovia surveys you could embed the survey in an experiment with eye tracking before and after the survey.

Thanks @wakecarter , good points!
As far as I understand the paper, the webcam approach shouldn’t need huge recordings: the webcam would only be used on the client’s browser to estimate gaze position, so “only” gaze coordinates would be saved on the server, not video files. That should be much lighter for the servers and for ethics?

Also good idea to sandwich the survey between recordings. Obviously that leaves a gap for the actual survey, but it would still raise the bar, especially for more casual (ab)use with AI agents.

Another update, even if it’s a preliminary working paper: Fernandez, Low, Bogard, and Fox (2026), a group that partly overlaps with the authors of the eye-tracking paper, have developed Survey Shield, an open-source tool for checking how well a survey resists AI agents before launching it: https://pypi.org/project/surveyshield-py/ (I’m linking the PyPI page since that links to their tool website, the code, and the accompanying working paper).

What: You give it your survey, and it reviews it against eight categories of bot defenses, returning a score, the weaknesses it found, and suggested additions. For now it only supports Qualtrics files, so it doesn’t work directly with Pavlovia Surveys or PsychoPy.

Why: I’d like to emphasize two points. First, the authors see this as an eternal arms race that individual research teams can’t handle alone, and they invite community contributions: new checks, test results, reports of checks that bots managed to beat, etc.

Second, they include practical advice. In their ongoing(!) study 1, they tested which kinds of checks AI agents could get past. In their preliminary(!) data, from most to least effective, the order was:

  1. Metadata and CAPTCHA (e.g., response times, minimum completion time, reCAPTCHA)
  2. Mouse and keyboard input (e.g., drag-and-drop, clicking on images, keystroke timing)
  3. Honeypots (e.g., hidden instructions or fields that only a bot reading the page code would notice)
  4. Reverse shibboleths (questions where AI answers tend to differ from human ones)
  5. Visual reasoning (e.g., image-based tasks, illusions)
  6. Logic (e.g., trick questions, impossible events)
  7. Refusal probes (questions that AI models typically refuse to answer)
  8. Context awareness (e.g., questions about the local weather at the time of the study)

This is a preliminary snapshot in time: the exact order may still shift as data collection continues, it varied between AI models, and it will likely change as AI agents improve. Still, the authors don’t expect the overall pattern to change: checks based on how a participant interacts with the webpage held up much better than checks based on reasoning about the content. They also recommend combining checks from different categories rather than relying on one.

Perhaps support for Pavlovia Surveys could be one way our community contributes?

Reference

Fernandez, K. A., Low, A., Bogard, J., & Fox, C. R. (2026). How Vulnerable Are Consumer Research Surveys to AI Agents? Validating an Instrument-Review Framework and Auditing Recent JCR Open Materials (SSRN Scholarly Paper No. 7221478). Social Science Research Network. https://doi.org/10.2139/ssrn.7221478

Another update, this time not from researchers but from a recruitment platform. Prolific recently added integrations for Pavlovia (and LimeSurvey) to their “authenticity checks” for detecting AI use. I’m not affiliated with Prolific and don’t mean this as an advertisement, and of course it only helps those who recruit through Prolific and can afford it. I also haven’t checked what other platforms offer so far.

What: They offer two kinds of checks. “LLM checks” (available since 2025) look for signs that participants used AI to answer free-text questions, such as copy-pasting and tab-switching. “Bot checks” (available since 2026) look for signs that an AI agent is completing the whole study. Both come at no extra cost for studies recruited through Prolific. The detection methods are opaque and proprietary, so beyond these general descriptions, it’s not public how exactly they work. For Pavlovia Surveys, the guide adds the check as a script inside an HTML question (which also seems relevant to my earlier question about custom JavaScript in Pavlovia Surveys).

Why: In Prolific’s own internal testing, their bot check separated humans from AI agents very well, and they also compared it with other methods like mouse tracking, reCAPTCHA, and attention checks. They describe the test design in some detail, but without peer review or independent replication.

One more aspect worth considering: According to Prolific’s setup guide, their script tracks participants’ interactions and sends the data to Prolific’s authenticity check model. Prolific states they don’t view the survey responses themselves, only the result of the check. Still, since it isn’t public exactly what data is collected, it may be hard to describe this precisely in consent forms or ethics and data protection applications. It may be worth checking this with your ethics board, or asking Prolific for documentation.

In my view, this is exactly where open, shared approaches from the research community could add value: methods that anyone can inspect, test, and improve over time. Again, I’m posting this to collect possible answers and tools for what researchers can do right now to minimize the threat to their data quality, not as an advertisement.

Avoid public announcements of your study, especially combined with rewards

(This is partly related to the comment “it only helps those who recruit through Prolific and can afford it.”)

Essentially, I would be super-cautious of the option of recruiting by social media channels, especially when combined with rewards. Prolific (we are also not affiliated, but it happens to be the platform we know best) does a fair bit of work to verify participants.

A colleague of mine studying a particular neurodiverse population was advertising online rather than using a recruitment platform, which she felt would not have enough of that population. She offered a reward (vouchers I think) and quickly collected a large sample but then realised that a very large proportion of the respondents were simply “faking” the condition in order to take part in the study. Anti-bot checks and attention checks don’t help in this case - it’s a human and, although they may use AI to help them respond fast and look authentic, they are humanly responding to any parts required. Unfortunately there are some places/populations for whom other sources of employment are scarce, so finding studies listed online and finding a way to run them, even for the pittance we think is paid, is more lucrative a career than their other options.

What about Captcha? We tried using that to prevent spammer accounts being created on Pavlovia a couple of years back (1000s per day, trying to advertise online casinos and electric bikes). Akismet/Captcha had zero impact because, again, the people creating the accounts weren’t simply bots: we believe it was large numbers of actual humans, being paid pennies each to find websites where they could upload links. (That’s why we now sadly block all non-institutional emails.)

My colleague working on this said she basically had to resort to interviews and/or confirmatory phone calls, in her case, to collect the data.

Thanks @jon for your wider perspective and for pointing out some hard limits of technical solutions. Funnily enough, I was in the middle of writing a post on a related aspect. Your recruitment example happens to involve a neurodiverse population. I was thinking about how possible bot detection methods may affect participants from neurodivergent or clinical populations in general. (The longer I think about this topic, the more layers I find, like peeling an onion…)

Most detection methods in this thread compare participants to “typical” behavior: response times, mouse movements, typing, copy-pasting, tab-switching, or gaze. But many genuine participants differ from that, for example people using assistive technologies (screen readers, voice control), or with motor impairments, ADHD, OCD, dyslexia, or conditions affecting eye movements. Most sources I shared touch on this for disabilities, education, and language, and Prolific advises against their bot checks when accessibility tools are needed.

This really matters for studies involving clinical populations: the participants most affected by a condition might be the ones most likely to be flagged, biasing the sample in exactly the direction that matters. So every study has to find its own trade-off between keeping out bots and fraudulent participants on the one hand, and not excluding or burdening genuine participants on the other. Stricter checks or webcam requirements may protect data quality, but they can also cost exactly the participants a study is about. Closely related are ethics and consent, since many of these methods collect behavioral or webcam data, sometimes sent to third parties, which participants should be informed about. Again, with all these additional layers, openly shared methods and data from the community would surely help.

I don’t have much experience with clinical populations myself, so I can only offer some general thoughts, which people with more experience may want to correct or add to:

  • Treat flags/scores as a reason for manual review rather than automatic exclusion, and check whether flag rates differ between groups.
  • Pilot the checks with the target population and ask about assistive technology use.
  • Recruit through trusted channels where possible (e.g., clinics or patient organizations), and, as Jon’s example shows, consider verification such as brief interviews or calls, while weighing the extra burden on participants.

I’d be very interested in thoughts or experiences from people running studies targeting clinical or neurodivergent populations.