Author Archives: Eann Patterson

Ancient models and stochastic parrots

Decorative image of a parrot in the parkIn 2021 Emily Bender and her colleagues published a paper suggesting that the Large Language Models (LLMs) underpinning many Artificial Intelligence applications (AI apps) were little more than stochastic parrots.  They described LLMs as ‘a system for haphazardly stitching together sequences of linguistic forms it has observed in its vast training data, according to probabilistic information about how they combine, but without any reference to meaning’.  This has fuelled the ongoing debate about the real capabilities of AI apps versus the hype from the companies trying persuade us to use them.  Most AI apps are based on statistical analysis of data as stated by Bender et al; however, there is a trend toward physics-based machine learning in which known laws of physics are combined with machine-learning algorithms trained on data sets [see for example the recent review by Meng et al, 2025].  We have been fitting data to models for a very long time.  In the fifth century BC, the Babylonians made perhaps one of the greatest breakthroughs in the history of science, when they realized that mathematical models of astronomical motion could be used to extrapolate data and make predictions.  They had been recording astronomical observations since 3400 BC and the data was all collated in cuneiform in the library at Nineveh belonging to King Ashurbanipal who ruled from 669-631 BC.  While our modern-day digital storage capacity in data centres might far exceed the clay tablets with cuneiform symbols found in Ashurbanipal’s library, it seems unlikely that they will survive five thousand years as part of the data from the Babylonians’ astronomical observations has done and still be readable.

References:

Bender, E.M., Gebru, T., McMillan-Major, A. and Shmitchell, S., 2021, March. On the dangers of stochastic parrots: Can language models be too big?🦜. In Proceedings of the 2021 ACM conference on fairness, accountability, and transparency (pp. 610-623).

Meng C, Griesemer S, Cao D, Seo S, Liu Y. 2025. When physics meets machine learning: A survey of physics-informed machine learning. Machine Learning for Computational Science and Engineering. 1(1):20.

Wisnom, Selena, The library of ancient wisdom.  Penguin Books, 2025.

Image: Parrot in the park – free stock photo by Pixabay on Stockvault.net

Staying connected to reality via literature

Decorative image of a painting by Sarah EvansFor most of this year, I have not been a frequent visitor to bookshops so I am not suffering from tsundoku [see ‘Tsundoku’ on May 24th, 2017].  Instead, I have been unable to resist borrowing books from people when visiting them for weekends [see ‘Fictional planetary emergencies’ on June 4th, 2025].  This has allowed me to enjoy Open Water by Caleb Azumah Nelson, Oranges Are Not the Only Fruit by Jeanette Winterson, Fen by Daisy Johnson, and Eight Months on Ghazzah Street by Hilary Mantel.  The last one describes the experiences of the narrator living in a Middle Eastern country while her husband works as civil engineer on a lucrative employment contract.  It is a thriller but the cultural differences between life in a Middle Eastern kingdom and the West for a professional woman are shocking and perhaps should be a ‘must-read’ for anyone tempted by lucrative job offers in the Middle East.  A month or so later, I borrowed from the same bookshelf Hope and Other Dangerous Pursuits by Laila Lalami and The Optician of Lampedusa by Emma Jane Kirby.  ‘Hope’ describes a boat journey across the Straits of Gibraltar from Morocco to Spain by migrants and the back stories of the migrants that induced them to take the extraordinary risks of paying a people trafficker for the crossing in an overcrowded small boat.  The ‘Optician’ is a first person account of someone who, when cruising in their boat with a group of friends, rescued dozens of migrants from the Mediterranean Sea after their boat sank.  However, the rescue was too late for hundreds of men, women and children.  The book deals with the grief of the rescuers and their shock at the response of the Italian authorities.  In a world in which many people are becoming increasingly tribal and insular, within their own bubble [see ‘You’re all weird!’ on February 8th, 2017], it is crucial that WEIRD (Western, Educated, Industrialised, Rich, Democratic) people stay connected with the realities created by our addiction to fossil fuels and the deep inequalities of wealth – literature can help us connect, especially literature based on real-life experience.

References:

Caleb Azumah Nelson, Open Water, Penguin Books, 2022.

Daisy Johnson, Fen, Penguin Books, 2017.

Emma Jane Kirby,  The Optician of Lampedusa, 2017.

Hilary Mantel, Eight Months on Ghazzah Street, Harper Collins Publishers, 2004.

Jeanette Winterson, Oranges Are Not the Only Fruit, Penguin Books, 2025.

Laila Lalami, Hope and Other Dangerous Pursuits, Algonquin Books, New York.

Image: Painting by Sarah Evans owned by the author.

Passive nanorheology measurements

What do marshmallows, jelly (or Jell-O), cream cheese and Chinese soup dumplings have in common?  They are often made with gelatin.  Gelatin is derived from the skin and bones of cattle and pigs through the partial hydrolysis of collagen.  Gelatin is a physical hydrogel meaning that it consists of a three-dimensional network of polymer molecules in which a large amount of water is absorbed, as much as 90% in gelatin.  These polymer molecules are cross-linked by hydrogen bonds, hydrophobic interactions and chain entanglements.  External stimuli, such as temperature, can change the level of cross-linking causing the material to transition between its solid, liquid and gel states.  This is why jelly sets in the fridge and melts when it’s heated up – the cross-links holding the molecules together break down.  This type of responsive behaviour allows the properties of hydrogels to be controlled at the micro and sub-micron scale for a host of applications including tissue engineering, drug delivery, water treatment, wearable technologies, and supercapacitors.  However, the design and manufacture of soft hydrogels can be challenging due to the lack of technology for measuring the local properties.  Current quantitative techniques for measuring the properties of hydrogels usually focus on bulk properties and provide little data about local variations or real-time responses to external stimuli.  My colleagues and I have used gold nanoparticles as probes in hydrogels to map the properties at the microscale of thermosensitive hydrogels undergoing real-time transition from the solid to gel phases [see ‘Passive nanorheological tool to characterise hydrogels’].  This is an extension, or perhaps more accurately an application, of our earlier work on tracking nanoparticles through the vitreous humour of the eye [see ‘Nanoparticle motion-through heterogeneous hydrogels’ on November 6th, 2024].  The novel technique, which yields passive nanorheological measurements, allows us to evaluate local viscosity, identify time-varying heterogeniety and monitor dynamic phase transitions at the micro through to nano scale.  The significant challenges of other techniques, such as weak signals due to high water content and the dynamism of hydrogels, are overcome with a fast, inexpensive and user-friendly technology.  Although, even with these advantages, you are unlikely to use it when you are making jelly or roasting marshmallows over the campfire; however, it is really useful for understanding the transport of drugs through biological hydrogels or designing manufacturing processes for artificial tissue.

Reference

Moira Lorenzo Lopez, Victoria R. Kearns, Eann A. Patterson & Judith M. Curran, Passive nanorheological tool to characterise hydrogels, Nanoscale, 2025,17, 15338-15347.

Image: Figure 5 from the above reference showing a hydrogel transitioning to a gel phase as result of an increase in temperature with 100 nm diameter gold nanoparticles with some particles (yellow arrows) at the interface between phases.  The image was taken in an inverted optical microscope set up for tracking the nanoparticles.

Star sequence minimises distortion

It is some months since I have written about engineering so this post is focussed on some mechanical engineering.  The advent of pneumatic and electric torque wrenches has made it impossible for the ordinary motorist to change a wheel because it is very difficult to loosen wheel nuts by hand when they have been tightened by a powered wrench which most of us do not have available.  This has probably made motoring safer but also means we are more likely to need assistance when we have a flat tire.  It also means that the correct tightening pattern for nuts and bolts is less widely known.  A star-shaped sequence is optimum, i.e., if you have six bolts numbered sequentially around a circle then you start with #1, move across the diameter to #4, then to #2 followed by #5 across the diameter, then to #3 and across the diameter to #6.  This sequence is optimum for flanges, bolted joints in the frames of buildings and joining machine parts as well as wheel nuts.  We have recently discovered that it works in reverse, in the sense that it is the optimum sequence for releasing parts made by additive manufacturing (AM) from the baseplate of the AM machine (see ‘If you don’t succeed try and try again’ on September 29th, 2021).  Additive manufacturing induces large residual stresses as a consequence of the cycles of heat input to the part during manufacturing and some of these stresses are released when it is removed from the baseplate of the AM machine, which causes distortion of the part.  Together with a number of collaborators, I have been researching the most effective method of building thin flat plates using additive manufacturing (see ‘On flatness and roughness’ on January 19th, 2022).  We have found that building the plate vertically layer-by-layer works well when the plate is supported by buttresses on its edges.  We have used two in-plane buttresses and four out-of-plane buttresses, as shown in the photograph, to achieve parts that have comparable flatness to those made using traditional methods.  It turns out that optimum order for the removal of the buttresses is the same star sequence used for tightening bolts and it substantially reduces distortion of the plate compared to some other sequences.  Perhaps in retrospect, we should not be surprised by this result; however, hindsight is a wonderful thing.

The current research is funded jointly by the National Science Foundation (NSF) in the USA and the Engineering and Physical Sciences Research Council (EPSRC) in the UK and the project was described in ‘Slow start to an exciting new project on thermoacoustic response of AM metals’ on September 9th 2020.

Image: Photograph of a geometrically-reinforced thin plate (230 x 130 x 1.2 mm) built vertically layer-by-layer using the laser powder bed fusion process on a baseplate (shown removed from the AM machine) with the supporting buttresses in place.

Sources:

Patterson EA, Lambros J, Magana-Carranza R, Sutcliffe CJ. Residual stress effects during additive manufacturing of reinforced thin nickel–chromium plates. IJ Advanced Manufacturing Technology;123(5):1845-57, 2022.

Khanbolouki P, Magana-Carranza R, Sutcliffe C, Patterson E, Lambros J. In situ measurements and simulation of residual stresses and deformations in additively manufactured thin plates. IJ Advanced Manufacturing Technology; 132(7):4055-68, 2024.