Cover photo

The Gospel of Elman Mansimov

Introduction

My name is Elman Mansimov.

I’m an AI researcher and the artist behind AlignDRAW, the first text-to-image AI model.

My art has been sold at Christie’s, exhibited in London, Paris and Mexico City, and collected by an American museum. My fascination with artificial intelligence started years ago, and led me to make unexpected contributions to art and technology.

Elman Mansimov
Elman Mansimov

Early life

I was born and raised in Azerbaijan.

From a young age, I was fascinated by technical subjects. My peers preferred history, but I leaned toward math and science. I excelled in these subjects and even managed to skip a few grades in school. As high school graduation got closer, I started thinking more about my future and what I wanted to do with my life.

Azerbaijan is an oil-rich country, so I considered a career in the oil industry. However, my math teacher saw different potential in me and suggested computer science.

Luckily, the Azerbaijani government had a scholarship program that supported students studying abroad. To study in Europe, you have to be at least 18, and since I’d skipped a few grades at school I couldn’t apply there. Fortunately for me, Canadian universities accept students at any age.

This opened a new path for me.

Studies (2011-2015)

At 15, I received a scholarship to study computer science at the University of Toronto in Canada.

I focused on learning the fundamentals; algorithms, systems, and networks. During summers, I even took part in research projects, giving me my first exposure to AI.

In my second year, a big AI breakthrough took place at the University of Toronto.

Ilya Sutskever, Alex Krizhevsky, and Geoffrey Hinton developed AlexNet, an AI model that could recognize and categorize objects in images without human interference.

This quickly became a foundational piece of AI research, and went on to be:

  • cited in over 120,000 academic papers

  • the winner of the prestigious ImageNet ILSVRC competition

  • covered by The New York Times and bring mainstream attention to AI.

Ilya and Alex went onto become Co-Founder and Chief Scientist at OpenAI.

Left to right: Ilya Sutskever, Alex Krizhevsky, Geoffrey Hinton, University of Toronto, 2012
Left to right: Ilya Sutskever, Alex Krizhevsky, Geoffrey Hinton, University of Toronto, 2012

Because of this and other great research coming out of the university, a small buzz was starting around AI and machine learning. I decided to focus my studies on this area.

No pressure, right?

In 2014, I collaborated with a researcher called Nitish Srivastava on an area of AI called video understanding.

We used sequence-to-sequence recurrent neural networks to predict the next frame in a video.

This is similar to the way future models like GPT-4 would predict the next word to understand broader tasks, though on a smaller scale.

Most importantly, this set the foundation for my AlignDRAW work.

AlignDRAW (2015)

In 2014, I graduated from the University of Toronto with a degree in Computer Science.

I applied to several Master’s programs but I wasn’t accepted, so I decided to take a gap year and work as a research assistant at the university.

Back then, there was no concept of "prompt engineering" and despite the buzz within academic circles, very few people were working on generative AI.

In fact, I remember at that time NVIDIA GPUs only had ~8GB of memory.

In the lab, some of my colleagues were working with image captioning systems that described images with text.

This got me thinking, "If an AI model can generate a caption from an image, why can't it generate an image from a caption?"

Getting to work (May 2015)

In May, I began working on AlignDRAW, inspired by my previous work on video generation and image captioning.

Room 275, The Pratt Building, University of Toronto; the birthplace of AlignDRAW.
Room 275, The Pratt Building, University of Toronto; the birthplace of AlignDRAW.

I called the project AlignDRAW because it combined two key components:

  1. An alignment mechanism to connect the text description and image generation steps.

  2. A Deep Recurrent Attention Writer (DRAW) that focused on keywords and iteratively refined the image.

The core idea of AlignDRAW was relatively simple: use a bi-directional LSTM to encode a text description into a representation that guided the image generation process.

Or to put it more simply, the model would read the text from both directions and used this information to help generate the image.

Early Experiments (July 2015)

To start, I trained the first models to read a text description and generate sets of digits.

We got some pretty good results.

Early experiments generating digits with captions. AlignDRAW Paper (2015).
Early experiments generating digits with captions. AlignDRAW Paper (2015).

In July, I attended the ICML (International Conference on Machine Learning) in France and talked about some of these early results. To my surprise, there was a lot of positive feedback and I was motivated to see what else the AlignDRAW model could do.

I decided to incorporate the Microsoft COCO dataset—an open source dataset of real-world images with natural language descriptions. I thought about how to combine these descriptions in creative and unusual ways.

Sample images from Microsoft COCO dataset.
Sample images from Microsoft COCO dataset.

For example, I hypothesized that if the model understood the concepts of "sea" and "giraffe," a prompt like "a giraffe standing on the sea" should still produce an image of a giraffe with a blue patch beneath it.

The aim was to show that the model understood the relationships between scenes and objects beyond simply memorizing data.

It would also show that even with near identical captions, the model understood the difference between something like “a blue motorcycle in the desert” and “a blue motorcycle in the forest.”

Final Paper (November 2015)

After months of work with my co-authors, we published the AlignDRAW paper.

The AlignDRAW paper (November 2015)
The AlignDRAW paper (November 2015)

We had built the first text-to-image model that worked as follows:

Step 1

A language model breaks down the caption. Like a highlighter, it pays attention to specific words in the text description.

Step 2

The Deep Recurrent Attention Writer (DRAW) paints patches on the canvas bit by bit, while paying attention to the text.

The model decides which details to add next, based on the caption and what’s on the canvas. This way it gets more accurate with every iteration.

Step 3

The model learns from its mistakes using “loss function” and “variational lower bound” which are basically measurement and scoring systems for what its painted.

This helps the model gets better at creating images through practice.

Step 4

Finally, it sharpens the image using an adversarial network.

In this step, the image generator presents an image, a discriminator judges it and the generator uses feedback to improve it until it passes.

A very large commercial plane flying in rainy skies. AlignDRAW Paper (2015)
A very large commercial plane flying in rainy skies. AlignDRAW Paper (2015)

I made sure to add that AlignDRAW builds on important foundational work like:

  • Image recognition by Akex Krizhevsky, 2012

  • Handwriting generation by Alex Graves, 2013

  • Machine learning by Dzmitry Bahdanau, 2015

Importantly, I showed how the AlignDRAW approach differed from the others by developing ‘a generative model of images conditioned on captions.’

On 9 November 2015, I published the AlignDRAW paper. I was just 19 the time.

4 days after, Vice published an article about AlignDRAW.

Vice article on AlignDRAW (2015)
Vice article on AlignDRAW (2015)

The title was a bit embarrassing because when I attended NIPS 2015 (Neural Information Processing Systems) Conference in December, people called me the author of the "toilet in the grass" paper.

On the bright side, I met my future PhD advisor Kyunghyun Cho at the conference and I think he remembered me because of it.

Slowly, then all at once (2016-2023)

In 2016, the paper was accepted as an oral presentation at the ICLR (International Conference on Learning Representations) and accumulated hundreds of citations.

After that, not much happened until 2021 when tools like DALL-E, Midjourney, and Stable Diffusion went mainstream. As they did, people started digging into the history of text-to-image models.

Around that time, a reporter from Vox called Joss Fong, reached out to interview me about AlignDRAW, bringing it back into the spotlight.

Play Video

AlignDRAW, the artwork (2023)

In April 2023, I received a DM from Alejandro Cartagena, co-founder of Fellowship, an art platform ‘Championing historical and contemporary artists at the cutting edge of AI’.

He and Fellowship wanted to make my work not only a scientific success, but a piece of art history.

How? Leverage Fellowship’s network to showcase these pieces to collectors and art enthusiasts, breathing new life into the first text-to-image outputs from 2015.

DM from Alejandro Cartagena to Elman Mansimov on X (April 2023).
DM from Alejandro Cartagena to Elman Mansimov on X (April 2023).

Of course, I said yes.

I simply couldn’t pass up the opportunity. It was a chance for my early work to be seen in a whole new context, not just as a technical achievement but as a cultural artifact.

The 2,709 unique images generated by AlignDRAW were divided into two categories: Paper Prompts and Process Prompts.

Paper Prompts

These were the images featured in the original AlignDRAW paper.

  • 21 prompts

  • 8 images per prompt

  • 168 images in total

These were to be sold as sets of 8 NFTs.

Process Prompts

These were generated in 2015 using the same model but not featured in the paper.

  • 21 prompts

  • 121 images per prompt

  • 2541 images in total

Some Process Prompts shared the same prompts as the Paper Prompts and others were unique.

On chain art

The limits of the AlignDRAW model meant each image was just 32x32 pixels.

Back then, I was a little disappointed that the outputs weren’t more photorealistic, but in 2023 this became a major benefit since the files were small enough to be minted directly on the Ethereum blockchain (or “on-chain” as the cool kids say).

It means the work will be around for at least as long as Ethereum, so now I’m very proud of their pixelated and abstract nature.

More than anything, it shows just how far AI models have come in producing truly realistic images of any scene imaginable.

AlignDRAW (2015) vs Midjourney (2023): A very large commercial plane flying in blue skies, A brown horse is grazing on a beach. Courtesy of Fellowship.
AlignDRAW (2015) vs Midjourney (2023): A very large commercial plane flying in blue skies, A brown horse is grazing on a beach. Courtesy of Fellowship.
AlignDRAW (2015) vs Midjourney (2023): A yellow school bus is walking across a green grass field, A person skiing on snow clad vast mountain. Courtesy of Fellowship.
AlignDRAW (2015) vs Midjourney (2023): A yellow school bus is walking across a green grass field, A person skiing on snow clad vast mountain. Courtesy of Fellowship.

2015 meme

In the lead up to the auction, a small but vocal group expressed their dissatisfaction that we took AI outputs from 2015 and put them on the blockchain in 2023.

They dubbed it ‘retroactive scam’ and claimed there was no way to verify the images were generated in 2015, conveniently ignoring the fact that:

  • Ethereum didn’t exist in 2015 so it was impossible to mint then

  • the Paper Prompts were part of the original AlignDRAW paper

  • and the paper was published by UofT and scholarly archives

Not to mention there was a long paper trail of references from Vice and other media.

In response, the amazing collector community channelled its response the best way it knows how: memes.

A collection of "2015" memes by the community (2023).
A collection of "2015" memes by the community (2023).

The "2015” meme became a long-running joke within the crypto art space that poked fun while celebrating the historic aspect of AlignDRAW.

The meme is one of my favorite parts of the project lore and is going strong to this day.

Game time

In the weeks leading up to the auction, Fellowship pulled no punches in promoting the collection.

October: Fellowship published an essay by renowned cultural theorist Lev Manovich who compared the significance of AlignDRAW to early photography.

November: Paris Photo fair, one of the world's most prestigious art fairs, exhibited AlignDRAW. My work stood alongside artists I really admire like Roope Rainisto, Laurie Simmons, and Joel Meyerowitz.

AlignDRAW exhibited at the world-renowned Paris Photo, 2023.
AlignDRAW exhibited at the world-renowned Paris Photo, 2023.

Later that month, Verse also exhibited AlignDRAW at Frieze Gallery in London.

December: Christie's auctioned "A stop sign flying in blue skies" for 15 ETH, kicking off the auction which completely sold out.

A stop sign is flying in blue skies, AlignDRAW Paper (2015)
A stop sign is flying in blue skies, AlignDRAW Paper (2015)

When I got the news that the collection had sold out, I couldn’t believe it.

AlignDRAW had taken me from a young researcher working at the University of Toronto, to an internationally exhibited artist with my own sold-out collection.

But the success of AlignDRAW wasn't just my achievement—it was the culmination of work by many researchers, scientists, artists, curators, and collectors who believed in the potential of AI.

Life after the AlignDRAW auction (2024)

But this was far from the end for AlignDRAW.

January: The Worcester Art Museum in Massachusetts became the first American museum to acquire AlignDRAW art.

February: Fellowship exhibited AlignDRAW Paper Prompts at Zona Maco, a major art fair in Mexico City. Later in that month, the collection made it into ARK Invest's "Big Ideas 2024" annual report.

Around the same time, Delronde, the winner of the Christie's auction, wrote a beautiful thread highlighting AlignDRAW's influence in the brand new AI video platform Sora.

https://x.com/delronde/status/1759145380615524473

March: a Paper Prompt set sold for 40 ETH.

May: Art data platform Artacle reported that 100% of AlignDRAW holders were in profit.

June: AlignDRAW was exhibited at Art Basel 2024 in Switzerland alongside Holly Herndon & Mat Dryhurst, Mario Klingemann, and Botto; the first decentralized autonomous artist.

July: Legendary NFT collector Seedphrase acquired a Paper Prompt and Process Prompts for 100 ETH.

August: The market value of the AlignDRAW collection reached $7.5m.

Elman and Alejandro meet in person at Zona Maco, Mexico City (2024)
Elman and Alejandro meet in person at Zona Maco, Mexico City (2024)

The Future of AI

In summer 2024, there was also a lot of public pushback on AI art.

I decided to give my opinion on the matter.

I said that while everyone is entitled to their opinion, I personally believe that AI art represents a new form of art, one that we haven’t quite seen before.

To me, the process of training AI models is an art form blending science, intuition, and creativity in a way that parallels traditional artistic endeavors.

There’s a lot of finesse involved in the training process—from understanding the intricacies of neural networks to the 'black magic' of gradient descent and the fine-tuning of complex algorithms.

This isn’t just technical work; it’s a deeply creative process that requires a unique blend of skill, insight and intuition.

While some might question the artistic merit of art generated by AI, especially when tools like MidJourney do much of the heavy lifting, the real artistry lies in how these outputs are curated and edited.

The role of the artist in this new medium is not diminished; in fact, it’s amplified.

The curation of AI-generated content—deciding what to keep, what to discard, how to present it—requires a sharp eye and a strong sense of narrative.

I believe that this aspect of AI art will become increasingly important, as collectors and audiences grow more interested in the stories behind the creation process.

In the end, I don’t see AI art as a replacement for traditional art forms but instead, as something that will exist alongside painting, photography, and other types of art.

It’s a new frontier, and I’m excited to see how it develops and where it takes us.

The first 8 years of text-to-image AI. Courtesy of Chikai.
The first 8 years of text-to-image AI. Courtesy of Chikai.

My journey from a young student in Azerbaijan to a researcher and artist at the forefront of AI has been incredible.

While AI currently operates with known data, I believe real breakthroughs will happen when AI can make independent decisions and become an agent of discovery.

I hope I can play an active role in bringing forth this exciting new future.

By Elman Mansimov

mansimov.io | @elmanmansimov


Special thanks to Fellowship and Alejandro Cartagena.

The Gospel of* is a series of deep dives into the lives and practices of AI PostPhotography pioneers. *

Follow us as we bear witness to the birth of a new art movement.

gallery.so/jesus | @jesusdoteth