I’ve recently wrapped up my master’s at University College London, bringing to a close one of the most intellectually challenging and personally rewarding years of my life. I wanted to take the opportunity to reflect on what initially motivated me to pursue a master’s, the research I ended up conducting, my experience living in London, and what I’ve taken away from it all.

Why a Master’s at UCL?

I completed my undergraduate degree in Chemical Engineering and Computer Science at the University of Ottawa in 2019. Shortly afterwards, I began full-time work as a machine learning engineer. At the time, we were working on a new time-series forecasting solution, and a couple of the PhDs in the group would host paper-reading sessions once a month to go over and discuss new or interesting papers that could be useful for our use cases.

I remember at the time that I could follow the “what” of these papers. If there was an algorithm or a procedure, it was typically not too difficult to reproduce it. But I didn’t understand the “how” or the “why” of almost every paper that we read. I also didn’t have the mathematical tools to come up with new techniques myself. Over the next couple of years, I continued to develop my engineering skills, but I had come to the conclusion that if I wanted to really have an impact, or even lead applied ML initiatives in the future, that I would need a stronger theoretical background.

The choice to pursue a master’s was a logical one if I wanted to build that theoretical background. The question was now about which school I wanted to attend. I applied to several schools in Canada, the UK, and across Europe, and the choice ended up being between L’École polytechnique fédérale de Lausanne (EPFL) and University College London (UCL).

In the end, I chose UCL given the strong theoretical focus of the curriculum (in particular the focus on Bayesian and Probabilistic methods) and access to labs such as the Gatsby Computational Neuroscience Unit, as well as the quality of life living in central London.

Having been to London on vacation previously, I somewhat knew what to expect when it came to the city itself. However, I had no idea what to expect when it came to the master’s itself. One distinct memory that I have from the first few weeks of the term was attending a welcome week event hosted by UCL at one of the campus bars, where it seemed like everyone that I met had graduated top of their class from the top university in their country. At that moment, I thought to myself that I had a tall mountain to climb, and that this was exactly what I had come for.

Master’s Thesis

Out of all the courses I took during my master’s, Bayesian Deep Learning and Machine Learning Seminar stand out as courses that I thoroughly enjoyed and that greatly expanded my understanding of the fundamentals underlying much of modern machine learning. It is no surprise that my advisor ended up being the instructor for both of those courses, Dr. Brooks Paige.

During undergraduate degree, I had worked on applying machine learning to computational small-molecule design. The technique at the time was not very sophisticated (essentially a regressor wrapped in a genetic algorithm), but the topic itself is (and remains) deeply interesting to me. As such, I wanted my master’s thesis to be focused on generative modelling in the context of highly constrained design tasks (such as drug design).

In undergrad, I had worked with Dr. Benoit Lessard on polymer-based semiconducting devices. In those settings, you initially care about the electrical and chemical properties of a given compound (for example, to create a given color of light emission), and later start to care about physical properties (for example, viscosity and solubility to formulate the compound as a printable material). As such, you need the ability to add constraints incrementally as your understanding of the problem evolves.

Unfortunately for Dr. Paige, I had arrived with a rather detailed research proposal already in hand. Namely, I wanted a way of taking an unconstrained generative model and applying inference-time constraints in the form of predictive models. The core idea is that generative models are typically trained with the generative task in mind, i.e. you train a model to generate certain types of molecules because you expect to care about those types of molecules at inference time.

The difficulty is that you rarely know the entire set of desirable properties at the outset of a design problem. As our understanding of the problem evolves, we may introduce new requirements, relax existing ones, or combine several competing objectives. Consequentially, it would be useful to express these changing requirements without having to retrain our generative model every time the design problem changes.

The way I decided to approach this was to construct a method for solving composable constraints. Imagine some predictive model $m(x)$, and some threshold $k$. I can formulate a constrained design problem where I want to identify inputs for which the output of the predictive model is above or below a threshold such as $m(x) \geq k$.

Then, if I could combine multiple constraints with predicates such as OR, AND, or NOT while still being able to solve the constrained problem, then this would open up very interesting ways of specifying generative design tasks.

Dr. Paige and I ended up proving that this type of problem statement can be efficiently solved for certain types of models, and can produce good results in several settings (such as image generation and drug design). A full write-up of the methods would be beyond the scope of this article, but there are a couple of cool highlights that I built for the thesis:

  1. A custom DSL, which generates solutions given the constrained design problem specification
  2. A custom non-linear optimization library written in Julia
  3. A novel algorithm for efficiently inverting certain classes of predictive models

If you’re interested in learning more about my thesis, you can download the PDF from my publications page: Thesis

Living in London

I ended up living in the borough of Islington in central London. King’s Cross, one of London’s main transportation hubs, was a mere 10-minute walk from my flat, and UCL’s Bloomsbury campus was also within walking distance. As a way of getting to know the city, I made a point of walking (almost) everywhere, often taking a different route to campus each morning. I particularly enjoyed my daily walks across Regent’s Canal and spent a lot of time exploring Camden Market and Coal Drops Yard.

Coal Drops Yard UCL Regent’s Canal

Overall, living in London as a grad student was a spectacular experience. My friends and I would frequently visit the trendier neighbourhoods to try various restaurants and pubs. Some group favourites included Korean food in King’s Cross, the Star of Kings pub, and Din Tai Fung in Covent Garden. Luckily, we were able to offset the amount of drinking and eating we did by walking everywhere.

One of my good friends, originally from Milan, and I would frequently walk over to Angel to try new restaurants, then take a 5–10-kilometre walk back to our flats, sometimes stopping for ice cream at Coal Drops Yard.

We also made the occasional trip to Cambridge to go punting with friends when the weather was warm enough. Spending a beautiful summer afternoon with friends and wine on the water is an experience that is hard to beat anywhere in the world.

The year I spent in London was a transformative one, and I suspect my experiences both in London and at UCL will stay with me for the rest of my life. Despite the challenges and costs, I have no regrets and would make the same decision in a heartbeat.

Outcomes post-graduation

After graduation, I found myself at the same company I worked at prior to my master’s. Before leaving, I had been in a team lead role, and I found myself returning as a team lead, but on a greenfield project. This new project was also timeseries forecasting related, but with an entirely different architecture and approach to the user experience.

In many ways, I found myself returning to exactly the type of role that had motivated me to pursue a master’s in the first place. Leading an applied machine learning initiative requires navigating both the theoretical and practical aspects of the work, and I now find myself much better equipped to engage with the underlying research, critically evaluate proposed approaches, and contribute to the scientific direction of the project.

Edit in Nov 2026: Two years on, I am happier than ever to have pursued this master’s. The theoretical background I developed at UCL has been instrumental in helping drive the technical direction of our project, particularly as we explore newer approaches such as tabular foundation models.

From a purely financial perspective, the degree has also paid for itself when accounting for my career progression and salary growth over the past two years.

Conclusion

Looking back, my year in London was one of the most rewarding experiences of my life. At UCL, I was able to develop the theoretical foundations I had been missing, pursue research in an area that I find genuinely fascinating, and surround myself with people who continually challenged me intellectually.

Outside of academia, I had the opportunity to make a home in a new country, develop new friendships, and spend a year exploring a remarkable city.

It was a challenging year, both academically and personally, but it was exactly the challenge I had been looking for when I decided to pursue a master’s. Despite the costs and the uncertainty that came with stepping away from my career, I would make the same decision in a heartbeat.

I’m better off professionally, intellectually, and personally for having climbed that mountain.