Despite claims that AI hallucinated references are a thing of older model versions, I am still adding several hallucinated references to the hall of hallucinated references every day.
It is true that newer models are more capable as they come out. But given
[the
lags in peer review](https://andrewpwheeler.com/2018/05/09/the-length-it-takes-from-submission-to-publication/), even if every AI model today had a zero percent rate of generating
hallucinations, we would still see older AI-written papers moving through peer review over the
next year or two.
In reality though, it has been (and will continue to be) a user issue. If you use AI responsibly, it has been possible to avoid hallucinations for well over a year now. If you just tell the AI to write your whole paper (in particular your systematic review), you are going to have problems. Hence I do not think VerusCite is going to become obsolete anytime soon.
What does using AI responsibly look like in this scenario? I have been using AI to write papers
whole cloth for a bit now (see these two posts on my personal blog for examples:
[1](https://andrewpwheeler.com/2026/09/24/adventures-in-using-ai-to-write-papers/),
[2](https://andrewpwheeler.com/2026/10/08/veruscite-is-now-1-crime-de-coder-store-updates-ccj-homicide-report-and-some-more-ai-papers/)).
I have written papers this way with Anthropic (V5 Sonnet, Fable, Opus), OpenAI (V5.6 Luna and
Sol), and Grok (V4.7). None have produced a single hallucinated reference.
What is the trick?
It is more advice about how to do this professionally than “one hack to prevent
hallucinations”. For example, here is
[my initial
prompt](https://github.com/apwheele/ConformalFair/blob/main/PromptConformalFair.txt) to Grok when writing about using conformal prediction to ensure fairness in
recidivism instruments:
Show the full prompt (54 lines) #
I want to write an academic paper on the conformal sets and fairness in recidivism models. First create a private github repo to store the work.
In particular, see
https://andrewpwheeler.com/2024/06/07/conformal-sets-and-setting-recall/ (see this for example data)
https://andrewpwheeler.com/2024/06/09/conformal-sets-part-2-estimating-precision/
In which I derive a novel way to set the false positive rate. You should be able to read https://www.crimrxiv.com/pub/bc7mptfb/release/1 for a background of the data (NIJ recidivism competition data). I want to do that, but show how to use it conditionally with racial groups to set the false positive to be the same.
See G:/SynthPower for an example of how to set up the repo (you have access to uv and quarto). I want the paper to be compiled to both PDF and markdown (so can view the markdown on github). Have a seperate bib file for the references.
Have the intro state the motivation for the project, have the background lit review state that there are generally two ways to do fairness, modify the loss function (cite Berk work, Mohler penalized work), or can modify how the predictions are used (cite Wheeler allocation, Corbett-Davies article, and Kleinberg article). This approach is the later, and shows how to set the threshold to meet the same false positive rate constraint.
Then have a mathematical section to discuss the conformal set approach, and the mathematical approach to setting the false positive rate (use the same table examples I do in the estimating precision blog post).
Then go through an example demo with the NIJ recidivism paper. First show a demo using random forests. RF are easier, because you can just use the OOB to get the conformal sets (cite the Wager paper here). Show how different thresholds correspond to different false positive rates for the groups. Maybe a chart that looks like the one in https://andrewpwheeler.com/2020/01/05/balancing-false-positives/ (open to better suggestions).
Then show an example using CatBoost, which requires held out data, (cite the Porter Mohler paper on NIJ recidivism) and https://andrewpwheeler.com/2021/07/24/variance-of-leaderboard-metrics-for-competitions/ for how to prep the data. You can discuss the accuracy of each model (Brier score and AUC) to compare to the competition, and cite that blog post to say whether it is reasonably close to the leaderboard (although does not matter). Just use a single hold out on the training data to get the conformal intervals.
For discussion, say limitations are that it is not continuous learning in real-time (cite the Chohlas learning to be fair). Also say that while RF are convenient, other models are likely more accurate, necessitating the need to have a hold out sample. How large to make the hold out is itself an additional question not addressed here. Can cite some of the work by Rudin on simple models, complicated boosted are themselves limitations (but this approach can be applied to those simple models as well).
Papers that should be cited (fill in as needed)
- canonical paper for conformal sets
- Richard Berk paper on modifying logistic regression for fairness
- Berk, R. A. (2016). A primer on fairness in criminal justice risk assessments. The Criminologist, 41,
6–9.
- Richard Berk paper on conformal sets for recidivism prediction
- Circo, G. M., & Wheeler, A. P. (2025). An Open Source Replication of a Winning Recidivism Prediction Model. International Journal of Offender Therapy and Comparative Criminology, 69(5), 438-453. https://doi.org/10.1177/0306624X221133004
- Michael Porter and George Mohler's paper on the NIJ recidivism
- The accuracy of the violent offender identification directive tool to predict future gun violence
AP Wheeler, RE Worden, JR Silver
Criminal justice and behavior 46 (5), 770-788 (can be extended beyond recidivism, can be used proactively by police departments)
- Allocating police resources while limiting racial inequality
AP Wheeler
Justice quarterly 37 (5), 842-868
- A cite for the NIJ competition data
- Corbett-Davies, S., Pierson, E., Feller, A., Goel, S., & Huq, A. (2017). Algorithmic decision making
and the cost of fairness. KDD, August, pp. 797–806.
- Kleinberg, J., Ludwig, J., Mullainathan, S., & Rambachan, A. (2018). Algorithmic fairness. Aea
Papers and Proceedings, 108, 22–27. doi:10.1257/pandp.20181018
- Mohler, G. O., Raje, R., Valasik, M., Carter, J., & Brantingham, P. J. (2018). A penalized likelihood
method for balancing accuracy and fairness in predictive policing. Paper presented at the
IEEE International Conference on Systems, Man, and Cybernetics. Retrieved from https://www.
researchgate.net/profile/Jeremy_Carter2/publication/327057079_A_penalized_likelihood_
method_for_balancing_accuracy_and_fairness_in_predictive_policing/links/5b75769745851546
c909dacc/A-penalized-likelihood-method-for-balancing-accuracy-and-fairness-in-predictivepolicing.pdf.
- Chohlas-Wood, Alex, et al. "Learning to be fair: A consequentialist approach to equitable decision making." Management Science 72.1 (2026): 456-473.
- S. Wager, T. Hastie and B. Efron. Confidence Intervals for Random Forests: The Jackknife and the Infinitesimal Jackknife. Journal of Machine Learning Research, 15, pp 1625-1651 (2014)
- Rudin on simple models
First conduct the analysis, then review G:Writing/ to see examples of my prior writing. After that, fill in the paper. Make it human readable, but in the format of a peer review journal article.
Once that is done, upload the paper/markdown/etc to github for me to see the result. I will review before saying to make the repo public.
So it is very guided from the start, including what references to include. For a simpler breakdown of what to include in your initial prompt:
-
Have a demonstration of how to set up the repository for the work (you can clone mine if you want).
-
Ensure the AI agent *writes a separate bibliography file* . This is where Quarto is very nice for creating papers. -
Be specific in what you want in the paper: the goal, the outline, and what to cite.
If you want to see entire conversations, check out my Spline Regression Discontinuity or Tabular Models for Recidivism Prediction papers. They both use Opus 5.5, and I exported the entire conversation, so you can see where I asked for updates and revisions.
You can see that I reviewed the output, and sometimes told it to remove references (if the AI cites it, you should check out the paper!). Because VerusCite has an API, you can even set up an MCP server (or just call the API directly) to check the paper at the end. I just did that step manually for those papers, but it is easy to have the agent do it as part of the same session.
One exception: cheaper open weight models
One exception to this is my Vulcan Veil software, where
[I have demos of long-run tasks](https://vulcanveil.com/blog/long-run-tasks) using
the cheaper open weight models. Each of the models tested (Muse Spark Open, GLM 5.3 Flash, and
DeepSeek V4.1 Flash) did produce hallucinated citations, even using the above approach.