Working with AI

History of Phrenology Research Environment


Working with AI

René Winkler

Last update: 20 August 2026

This project is working extensively with state-of-the art Large Language Models (LLMs) in all of its stages. As someone whose background is in the history of science but has neither extensive experience in computer sciences nor has worked previously much with AI in my professional, academic or private life, I cannot pretend that at times this does not make me feel uneasy. I can also understand the reservations, institutionally and personally, within academia that warn against the use and overuse particularly of commercially available LLMs. These are run by companies and individuals that in the best case, either ignore or dismiss the social, environmental and economic costs of the AI "revolution," or in the worst case, embrace it. In the light of this should I, and should we as historians not forgo, or at least minimise, the use of AI altogether?

A look at another modern-day challenge suggests an alternative perspective. The Rising Tides exhibition at the National Museums of Scotland between August 2023 and April 2024, presented responses by artists from Indigenous Australian and Pacific Islander communities to the disastrous consequences of climate change and ocean pollution. The centrepiece exhibit was an installation by George Nuku with the title Bottled Ocean 2123. For this installation, Nuku used discarded plastic bottles and other synthetic materials to create a beautiful and haunting futuristic seascape centred around a Maori waka, or canoe. In the accompanying video and article, Nuku stated: "Plastic permeates and surrounds our entire existence. Every grain of sand in the beach has plastic. It's in the bloodstream of the whales, the polar bears, you, I, everybody, everything. How come we don't have a theological, philosophical, cultural relationship with this material that permeates our existence? I think it's dangerous that we don't. Like the stories of my ancestors, to ignore or deny a monster is the most dangerous thing you can do. Monsters must be confronted, understood and resolved. By transforming it into a thing of beauty, Bottled Ocean asks us to become enchanted with plastic and consider its whakapapa (genealogy) [...] to show that plastic is both the oldest and newest material we have."

AI is both our newest technique and nourishes our oldest, most apocalyptic fears in equal manner. And like plastic pollution and climate change, the AI monster needs to be confronted head-on if we want to have any chance of understanding or resolving it. If we, as non-technical academics in the humanities do not know what these tools are capable and incapable off, we might fail as researchers and educators. If we do not use them with our trained critical eyes, less critical corporate insterests will. The limitations of rapid, unconsidered AI implementation in the commercial sector are becoming clearer every day and universities are rightly cautious about following into the same trap. But in order to avoid it, we need to have an understanding of where we can safely place our feet.

The question that might be posed of this project is: Could we digitise the Combe correspondence without the help of AI methods? And the answer is unequivocally yes. Transcription, annotation, coding, data validation have a history much longer than that of the canonical origin story of Digital Humanities, Roberto Busa's Index Thomisticus, began in 1946. Another question might be whether the Combe correspondence would be done without AI assisted methods. The answer here it less clear-cut. A comparably-sized digitisation project, the Darwin Correspondence Project took almost fifty years to complete and the work of over ninety paid employees and volunteers. Researchers working on the Darwin correspondence not only produced an exemplary piece of meticulous scholarship, but during the course of the project provided invaluable training, knowledge, outreach and a salary for scholarly work. The Combe correspondence, as important as it is for our understanding of early Victorian science and provenance identification of artifacts of racial science can, at present, not hope to attract the same amount of funding that made the Darwin Correspondence Project possible. Nor do we aim to replicate its output as a scholarly digital edition of Combe's letters. Instead, what we aim to do is to provide data that may be flawed, but immediately useful to historical researchers without hiding its flaws.

Indeed, in proceeding with this project, we might find that the costs, environmental, fincancial and scholarly, of using AI in this manner outweigh the benefits. There is considerable uncertainty about the financial viability of commercial AI operations and predictions about future cost of tokens vary widely. This makes it all the more timely to identify the technical limits of AI use in the digital humanities and to get a clearer understanding of not only the practical but also philosophical and moral limits of the technology without entering into a Faustian bargain.

AI Use

For this, as for other Digital Humanities projects, the method is as important as the output. The initial BA funded project is is a scoping exercise. Our work with AI tools is part of a learning process that explores the best, most accurate and most economical ways of making use and sense of LLM assisted development and Digital Humanities methods through the real-life useful application of these methods. In order to provide an traceable accounting of these methods, the human researcher needs to remain in control of the AI process as much as possible. In practical terms, this means building the project step-by-step and while an overall end point is envisaged, the way to get there is currently uncertain. We are conscious that asking AI for suggestions in structural matters could impede our scholarly independence, and we are congnizant that LLM agents can subtly and not subtly influence our decisions. The boundaries between AI-assisted and AI-led decision making can be hard to identify and the cultural, racist, economic and other biases used for the training of LLM models can influence the output of any research that makes extensive use of AI.

We do feel reassured, however, by the emergence of an active historical community that is conscious of this bias through the experience of decades of critical scholarship in various fields. In order to mitigate, or at least identify, some of these biases, we as the human researchers need to constantly set boundaries to the LLM agents and need to critically evaluate suggestions by the model in terms of overal architecture and implementation. The current LLM models are good at forgetting these boundaries, even when prompted not to do so.

On the flip side, the speed of AI coding allows us to retain a flexible approach to the overall architecture of the project, and to adapt to unexpected technical obstacles quicker than before. Previously, a very clear structure of databases of OCR, HTR, etc. had to be established before even a single bit of data was captured. Debugging took a long time and problems with the output data were often only discovered when humans were able to inspect the output which had to bridge a significant gap between technician and expert. When, during the Enlightenment Architectures project to digitise the catalogues of Hans Sloane, researchers tried to capture honorifics (Sir, Dr, Mr, etc.), it was not until the results were inspected by cataloguing experts that a flawed capturing process was discovered that failed to identify honorifics where an extra space was added between the letters ("M r"). The remedy was a rewriting of the capturing mechanism. AI not only makes this debugging process simpler and quicker by flagging suspicious data, LLM assisted transcription also deals better with garbled OCR input. In our project, flawed OCR in the Roger Cooter volume led to the deterministic RegEx missing the "MD" suffix for this entry, whereas the LLM run was able to recover it.

The speed at which structural decisions can be implemented with the help of AI coding also allows us the flexibility to address research questions that might emerge during the digitisation process. Researchers working with the Sloane catalogues became aware of archival silences that ommitted many invisible and marginalised collectors involved in the amassing of Sloane's specimens, but found it difficult to address these omissions within the framework of the TEI XML scheme used in the project. Being able to quickly adjust LLM prompts and to restructure data sets on the fly using AI assistance gives us an unprecedented advantage in how we handle these emergent questions and not be beholden to preconceptions about what the final output of the research work will be. 

A final point about flexibility concerns the implementation the LLM models themselves. The rapid evolution of different AI models means that research data produced today might be superceded by more accurate research data tomorrow when a new LLM model is issued. However, the way different LLMs are addressed and prompted remains stable. The same prompt can be resused with different models by changing a couple of lines in an API configuration file. This means not only that we are able to evaluate different commercial LLMs against each other, we will also be able to switch to more cost- and environmentally effective locally hosted LLMs if and when commercial prices increase.

LLM models used

As present, the main LLM models used in the project are the commercially available ChatGPT-5-5 on a Go Plan subscription as well as the OpenAI models ChatGPT-5-mini and nano, implemented via APIs through the University of Edinburgh's ELM platform. ELM has several advantages, not least zero data retention agreements with commercial LLMs and a cost-effective API implementation. However, for the general Python coding for database and website building, for architectural decisions and for QA and debugging purposes, the limitations of the ELM platform are currently prohibitive. The project requires a continuous working memory and the capability of handling different files types which the ELM platform currently does not provide. To limit the computational and therefore environmental impact of LLM queries, shorter responses and more direct search queries are preferred, as is the generation of individual cose snippets instead of fully coded files, where practicable. However, comparative energy and environmental costs of AI use is notoriously hard to quantify, and in an ideal scenario, we will be migrating to using locally hosted LLMs.