Iain Murray

Professor of Machine Learning and Inference, School of Informatics, University of Edinburgh. Former Amazon Scholar. Opinions are my own. He/him.

Iain Murrayimurray
2025-05-02

Image models struggle to create Go boards correctly. I thought ChatGPT may be able to copy a correct one into a scene, but conditioning the model is through too small a bottleneck. "Please copy this image exactly to create a new image. Every line and stone should appear in exactly the same places."

A screenshot of a virtual 13x13 go board with some go stones on it.ChatGPT's reconstruction of a 13x13 go board is actually 14x14 and it has changed the configuration of the stones.
Iain Murrayimurray
2024-10-26

We were fortunate to be joined by two new machine learning faculty in Edinburgh Informatics this year. Both are looking for PhD students:

Viacheslav Borovitskiy (Slava), geometric learning or uncertainty quantification: vab.im/vacancies/

Nikolay Malkin, Bayesian machine learning (including probabilistic reasoning in language, generative models, and neurosymbolic methods) and applications in the sciences: malkin1729.github.io/

Iain Murrayimurray
2024-10-09

Some funding available to support probabilistic AI activity in the UK. For events, public engagement, visits, and 1-year bridging postdocs: probai.uk/funding-1 -- more in the Prob_AI hub newsletter: probai.uk/news

Iain Murrayimurray
2023-12-15

@akkana glad it's useful. I've really appreciated several things on your blog over the years (including an old firefox middle click paste fix, mutt instructions, gimp saver-as).

Iain Murrayimurray
2023-11-23

The University of Edinburgh is looking for someone to direct a new generative AI lab. It's a professor role, with lots of resources. More info: aspenpeople.co.uk/uoe-gail/

For earlier-career faculty jobs (and a communications role) see: ed.ac.uk/informatics/about/wor

Iain Murrayimurray
2023-11-02

Machine Learning faculty job hunters: there's an open position in Edinburgh. Hard deadline 15 Jan 2024 (UK time).

Full details: elxw.fa.em3.oraclecloud.com/hc

A thread by a colleague on why Edinburgh is awesome: nitter.net/oisinmacaodha/statu
I've stolen the photo he used of the inside of our building.

The atrium of the Informatics Forum has dramatic hanging staircases, and views onto several open social spaces.
Iain Murrayimurray
2023-01-27

@pronoiac Apologies for the slow reply. That looks fine to me (after removing the `;` to make it work). A previous version of my bookmarklet could be tricked into setting the `document.location` to something starting with `javascript:`, which can't happen with this code.

Mastodon has content security set such that the javascript wouldn't run anyway. But potentially if someone tricked you to trigger my old mastodon bookmarklet on a non-mastodon page there could have been a problem.

Iain Murrayimurray
2022-12-11

All major machine systems the Chinese sentence 她每天都不吃早饭。incorrectly to “She doesn’t eat breakfast every day”. Does get this difficult case wrong too? Yes.

If asked to be careful, or to reason about the sentence, does ChatGPT give any indication that there's a problem? Usually not!

However, discussing the sentence in Chinese does work. And with the right prompting, it is possible to notice and then fix the issue.

Full exploration here: homepages.inf.ed.ac.uk/imurray

Iain Murrayimurray
2022-11-12
Iain Murrayimurray
2022-11-12

And now fixed the bookmarklet so it can toggle to/from an instance located somewhere other than the domain in the username.

But the bookmarklet's still pretty hacky/fragile.

Iain Murrayimurray
2022-11-11
Iain Murrayimurray
2022-11-11
Iain Murrayimurray
2022-11-10

@sethaxen I agree, a monotonicity constraint isn't compatible with being Gaussian. But yes, you can strongly encourage a GP to be monotonic: proceedings.mlr.press/v9/riihi

If you just want a flexible model over monotonic functions, you could use a positive combination of monotonic basis functions. Or a spline constrained to be positive, as we used as part of this work: arxiv.org/abs/1906.04032 with code for the representation in several libraries, including github.com/bayesiains/nflows

Iain Murrayimurray
2022-11-09

@nbranchini While not quite what you were getting at, slide 18 of my 2009 MLSS tutorial mentioned two well-known forms of exponential dimensionality dependence (inspired by bits of MacKay's book):

homepages.inf.ed.ac.uk/imurray

Iain Murrayimurray
2022-11-09

@nbranchini Nice explicit example, and thanks for the citation 🙂 .

The overarching message of my chapter was meant to be: Monte Carlo can be really good. For positive functions, we could even form Monte Carlo estimates of integrals with zero variance (bottom of p23). However, in high-dimensions it's hard to sample from an appropriate distribution, even if you've found one. (And finding a suitable distribution is also hard in high dimensions.)

I should have connected up the dots better.

Iain Murrayimurray
2022-11-09

@avehtari I knew about BDA, but didn't know "Regression and Other Stories" was also free online. That's amazing; thanks!

Iain Murray boosted:
2022-11-09

All three books I've co-authored are freely available online for non-commercial use:

#Bayesian Data Analysis, 3rd ed (aka BDA3) at stat.columbia.edu/~gelman/book and lectures plus #rstats, #Python and #Stan code at avehtari.github.io/BDA_course_

#Regression and Other Stories at avehtari.github.io/ROS-Example including #rstats and #Stan code

Active Statistics at avehtari.github.io/ActiveStati

The websites also have links to the publishers' web stores if you prefer hard copies of these

Cover of the book Bayesian Data Analysis, 3rd edThe cover of the book Regression and Other StoriesCover of the book Active Statistics: Stories, Games, Problems, and Hands-on Demonstrations for Applied Regression and Causal Inference by Andrew Gelman and Aki Vehtari
Iain Murrayimurray
2022-11-09
Iain Murrayimurray
2022-11-08

It's unfortunate that a different version of the bookmarklet is needed depending on whether you are on a recently-upgraded Mastodon instance or not.

To avoid this split in future, I filed an issue about the problematic (broken) redirect behavior in v4:
github.com/mastodon/mastodon/i
[update: and a fix was committed in less than a day! It will take a while to filter through to all live v4 instances, a downside of distribution.]

Iain Murrayimurray
2022-11-08

@MilesCranmer Hopefully it more-or-less works for you. There's lots of annoying edge cases between Mastodon versions, which I didn't *entirely* sort out. I'll be interested to see some reports either way.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst