Showing posts with label abstract art. Show all posts
Showing posts with label abstract art. Show all posts

Friday, October 12, 2018

Semi Automatic Artifact Generator


At the tail end of a post about training a network of sensory devices and learning machine programs to read sign language, I muse about the state of algorithmic art and how come I can't find any Alex Grey-trained Deep Dream programs to make meta-Grey artwork, and low and behold discover that neural style transfer has been a thing already for a year or so (although I have yet to find any Alex Grey training programs!).

People talk about technological mysticism, but this sh** gave me a temporary lobotomy when I first saw it.

It was a bit like hearing the sampler-sequencer on your phone for making electronic music (as a person with a real, tangible 707), or the robot landing on Mars. Up until a few years ago, you could  probably "put together two paintings" - a program that slices and dices a picture, not into pixelbits, but features like edges, curves, or gradients, and then splices together those features to make a hybrid picture. But you could not do it "in the style of Mondrian" or Miro, or Dali. This was a task relegated to the supreme conscious entities of this earth. No more.

And how did we get here? First you thought dreaming was a uniquely human thing, or at least a sentient creature thing (unless you're PKD), and then Deep Mind shows us that computers can in fact be set to dream just like us.* 

But that wasn't enough. The technique I'm referring to as neural style transfer is an extension of the Deep Dream project, where a deep neural net is turned on, but with nothing to do, and so it starts to get creative, and just puts things where it would like them to be, and seeing the things it knows about the world, even when they're not there.

Style transfer then takes this a step further. In a move than seems cruel as I write it, the "Dreamer" is given not a broad set of images of the world-at-large, as a contemporary, living, breathing human would see, but limits that Dreamers' world to one artist. Might be Dali, might be Mondrian (that's the cruel part).

Imagine having your entire brain erased, all but your memories of Mondrian's paintings. Being that we do not perceive objective reality apart from the interface of our previous experiences and current expectations, everything presented to us from that point on would look like a Mondrian painting. (Until we start incorporating the new non-Mondrian images we see into our corpus...). It's like that friend who is obsessed with comic books and superheroes, and everything that ever happens is a scene from Batman. You feel kind of bad, like he should go to a concert or take a walk in the park or something, don't you?

That's what we have here. We have created a thing capable of "seeing" the world, and then limited it's diet to only a bagful of paintings by a single artist.

And then we show it new things that it has never seen, and ask - "What do you see?"

Example - feed its dematerialized android eyes on a steady diet of Kandinsky and only Kandinsky. Then show it Neil Degrasse Tyson.

Neil Degrasse Tyson x Kandinsky
(content image + style image = generated image)

I found a pretty accessible description of what's going on:
Now remember- while doing style transfer, we are not training a neural network. Rather, what we're doing is?—?we start from a blank image composed of random pixel values, and we optimize a cost function by changing the pixel values of the image. In simple terms, we start with a blank canvas and a cost function. Then we iteratively modify each pixel so as to minimize our cost function. To put it in another way, while training neural networks we update our weights and biases, but in style transfer, we keep the weights and biases constant, and instead, update our image.
-Towards Data Science

Lastly, a bit about terminology. What I'm referring to here as algorithmic art is probably better termed AI art, to correctly co-locate it closer to fractal art. The distinguishing factor being the level of human agency. From a purist perspective, if you turn on an algorithmic art algorithm and leave the room, there is nothing on the computer when you return. Deep Dream is an algorithm that does the work while you wait, overnight while you sleep, while you both sleep, as it were. There's a new problem however in neural style transfer work - although much of what you're looking at is fully automated, the small role of the artist is disproportionately relevant to the overall impact of the image. I mean come on, a computer isn't meta-Escherizing itself! There's an artist at work there.

*Sure it is a prodigious act of artistic license to say that Deep Dreamers are dreaming "just like us," but can we not say that our dreams are a default, empty state filled with our life's worth of training data to run amok?


Notes:
Here's a place that will do it for you, but they have their own pre-designed style templates (called pastiches) - Deep Art.

There's also a few apps that do it, Prisma is one.

And here is a great survey of all the slight variations that you can get, like multiple transfer, masked transfer, color interpolation, and probably my favorite, texture transfer.

Vice article on Algorithmic Artist Dextro, 2014

Where's My Thought Translator
Network Address, 2018
Here's a few (what I imagine will become) classic style transfer artifacts, as well as a couple of the (already) style transfer classics, albeit from early 1900's abstract artists.

The Macro Image Series and the Dematerialization of Artifact
Network Address, 2013
Here's a presentation about the propagation of cultural artifacts in a digital medium.

Post Script:
I like to give Piet Mondrian credit for his prescience in foretelling bitmaps and pixelation, despite the fact that in his day, the primaries were still red-yellow-blue instead of our current day cyan-magenta-yellow.


Here, a painting of Napoleon, trained on Raphael's School of Athens:

Meta Napoleon Bonapart, unknown origin

Raphael's School of Athens

Jacques-Louis David's Napoleon Crossing the Alps

Post Post Script:
Same thing here but for music; I'm still waiting for the meta cover band that covers other bands as if they were already covering another band, for example, a cover band that does Radiohead doing the Doors, or if the Squirrel Nut Zippers covered Metallica, what would that sound like? Any tips would be much appreciated.

Saturday, March 9, 2013

Our Blue Marble



Kazimir Malevich's Black Square 1915
An example of Abstract Art, specifically from the Suprematism movement. It can easily be called the most extreme example of artistic abstraction.

Recently, I was trying to convey the meaning, or at least the relevance of the Black Square to my high school art students. Most people don't understand abstract art, and that's part of what it is,if you want to see it that way - another esoteric tool used by the elite to alienate a people from their own culture. But I like to see art, any art, as simply a reflection of a time and of the mind of a people at a particular time in history. Art is a kind of coping mechanism for society; the society as a whole will call a thing Art if it serves that purpose - to help us to cope with a world we do not understand. Needless to say, as anyone who would try to explain abstract art to group of high school students in a single 45-minute presentation, I was successful only in getting them upset enough to debate with me for 45 mintutes about the ridiculousness of the Black Square.

The Blue Marble is a famous photograph of the Earth, taken on December 7, 1972, by the crew of the Apollo 17 spacecraft. The photograph was taken about 5 hours and 6 minutes after launch of the Apollo 17 mission. To the astronauts, Earth had the appearance and size of a glass marble, hence the name.

The Apollo 17 image, however, released during a surge in environmental activism during the 1970s, was acclaimed by the wide public as a depiction of Earth's frailty, vulnerability, and isolation amid the vast expanse of space. NASA archivist Mike Gentry has speculated that The Blue Marble is the most widely distributed image in human history. [link]

Later that night, I thought to myself about the Blue Marble, or rather what I call the Blue Marble Syndrome. I was born in 1980, and so for me, I never lived in a world where man had -not- been to outerspace. This achievement had already taken place well before I was born, and so it never hit me; it was always there. From what I understand through reading history, this image changed not only the lives of the countless individuals who saw it for the first time, but it changed the consciousness of an entire society (as mentioned in the caption above). And I made the parallel - my students couldn't feel the true impact, the true relevance of the Black Square, because they weren't around for its inception.

The next day, I tried explaining this to them. No use. (Back to the more concrete and perhaps practical exercise of distinguishing the difference between representationality and non-representationality in visually-informed art).

And then it happened. Granted, I had been following Curiosity. I stayed up that night like a little kid in utter amazement, but almost a bit moreso at the fact that the entire world was watching along with me, all of us, with the entire crew at NASA, in real time (and at the implications of that superimposed on the idea of the timelag between here and Mars) feeling the same every bit of anxiety, both the good kind and the bad kind, as everyone else. It landed, and it was over. Some months later, I was scrolling through some feeds, and I came across this picture (below), and it stopped me dead in my tracks, and I literally could not take my eyes off of it for a good five minutes; in a very real way, it transported me to another world (superimposed on the fact that it -is- another world I'm looking at) and it took away from me, for those moments, my own thoughts.

I still can't get over it. Neither the image, nor its implications, nor the experience it forced upon me.

Curiosity Self Portrait on Mars February 2013 Image Credit:NASA/JPL-Caltech/MSSS
Taken in the Yellowknife Bay region of Mars' Gale Crater, the panoramic image was stitched together by NASA from a series of 130 images created in the first week of February by the rover's 34-millimeter Mast camera and Mars Hand Lens Imager (MAHLI). [The MAHLI frames used to create Curiosity's self-portrait exclude sections that show the arm itself and so MAHLI and the robotic arm are not seen.] 

As I'm sure any student of history and art and culture is wont to do, I have spent many daydream-hours lamenting over why I am alive now and not then. Why couldn't I hear Jimi Hendrix turn his guitar into a human-robot voice. Why couldn't I hear Neil Armstrong speak to us from a place that is not Earth. And why couldn't I see that picture of my own planet and feel the same sense of fragility, of isolation, and all the myriad emotions and thoughts that came with it.

It's not that I will no longer lament over being alive today and not yesterday. But I have certainly found comfort in this: Everyone of us, eventually, will be given our own Blue Marble.