create account

Artistic Computers - Can a robot write a symphony? ... Can You? by renzoarg

View this thread on: hive.blogpeakd.comecency.com
· @renzoarg · (edited)
$98.47
Artistic Computers - Can a robot write a symphony? ... Can You?
<p>Sometime ago in internet some<strong> very particular images</strong> started floating around, they gave birth to a new shape of art, <strong>"Inceptionism"</strong>, something some of us refer to as "google on LSD".</p>
<h3>What are these artworks?</h3>
<p>These images <strong>were generated using an <em>artificial neural network</em></strong> that the megalomaniac giant (let us all hope, benign one) uses to "search by image". Now, everyone raises an eyebrow whenever "artificial neural network" (lets use ANN for short in this article) is mentioned; so, maybe, it's a good time to demystify what this term means. It is precisely, <strong>a bunch of interconnected neurons</strong>, with a small exception they are not "tangible" neurons: <strong>they dwell inside a computer, just like their connections</strong>.</p>
<p>The beauty of this specific ANN is that <strong>it specializes in recognizing objects</strong> or, even more interesting, in <strong>getting close, little by little, to the idea of generating conceptual abstractions; which allow it to categorize objects</strong>, literally knocking the door to the possibility of <strong>understanding what a chair is</strong>, no matter what kind of chair it is. The problem is that this triggers another argument: What makes a chair "a chair"? <strong>Google identifies items in base of their structure, not the functionality</strong>. Here's the "semantics" issue (sort of) that we cannot yet solve with AI (yet!).</p>
https://pixabay.com/static/uploads/photo/2015/03/08/09/30/head-663997_960_720.jpg
<h3>How is it acheived?</h3>
<p>What google does is <strong>finding patterns among several existent chairs</strong> and then use that data to identify new ones (just as it does with the language search). But, strange as it may sound; <strong>can it speculate about a chair?</strong> a chair that does not hold any resemblance to any standard chair? We have no idea, yet this does not stop us from bashing the gates in search of understanding; we will take them down!</p>
<p>To attempt such feat <strong>the algorithm takes reference images</strong> from the objects it wants to identify and applies different <em>filters</em> to it (like Instagram's but way less useful "selfiestically" speaking), that <strong>highlight different <em>traits</em></strong> or characteristics in the image<strong>. The neural "layers" </strong>that receive the first images apply thicker filters that <strong>detect things such as patterns or general shapes</strong>, while the <strong>latter layers apply a thinner filtering</strong> that <strong>find detailed shapes, more specific</strong>. As the image advances through the network, <strong>it loses the information that is displayed by its pixels; while it gains information relevant to its content</strong>. To the reader that at this same moment is considering "oh, shit! that is just like thinking!": Yes, somehow it is, yet it is not; since it's not a "human" brain. But lets leave that for later :D.</p>
https://pixabay.com/static/uploads/photo/2015/08/31/08/37/display-dummy-915135_960_720.jpg
<p>To understand <strong>how it works, it is imperative to consider an image as a numeric </strong><a class="external" href="https://en.wikipedia.org/wiki/Matrix_(mathematics)" target="_blank" rel="nofollow"><strong><em>matrix</em></strong> </a>(numeric arrays, tables where each cell has a numeric value, that in the case of images represent the color and location) <strong>and filters as operations ran over them</strong>: thi is, if I was <strong>a neuron</strong>, I would receive a matrix that contains the info I've to process/analyze, and I <strong>would do some math that would involve such matrix</strong> (as, for example, multiply each number in the matrix by 10), being <strong>the result</strong> what I'd pass onto the other neurons. Layer by layer, the information is transformed from "Particular" to "generic".<strong> Finding the dots to later redraw the lines that should join them</strong>, that... pretty much defines the process.</p>
<h3>It can still be more complex...</h3>
<blockquote>
<center>https://github.com/kaishengtai/neuralart/blob/master/examples/picasso_obama_short.gif?raw=true</center>
<p><em>A photograph of Obama is transformed into the style of Picasso. Credit: mkaishengtai/GitHub</em></p>
</blockquote>
<p>Since Google <strong>never has enough</strong>, they made it a bit more complex, literally,<strong> they reverted the process and asked the ANN to take images and convert them into others where the patterns are more visible than at the original</strong>. By giving it the picture of a cloud in the sky, the ANN (just like we do, sometimes) would look for shapes in them returning an image with more evident data.</p>
<p>And since there was still more space to play at, some Germans asked their ANN to produce an activity similar to what human painters perform in the lower layers of the network, yet similar to the original picture in the higher layers. This is,<strong> they asked it to learn to recognize what makes a "Van Gogh" a "Van Gogh" and </strong>they requested it <strong>to make one a "Van Gogh"</strong> from anything (and yes, I'll keep using quotes until we get a better language for this, we're urgently needing one). Funny, strictly speaking, the ANNs had no idea of what a "Van Gogh" made a "Van Gogh", some even say that the developers could not distinguish a Picasso from a Van Gogh. They only knew that <strong>there were two images and that, it should build a new one at the lower layers with the data "learned" from examples and it should "look" like one</strong>. And the ANNs did it,</p>
<blockquote>
<center>https://github.com/kaishengtai/neuralart/blob/master/examples/starry_eiffel_short.gif?raw=true</center>
<p><em>The Eiffel tower gets the Van Gogh treatment. Credit: kaishengtai/GitHub</em></p>
</blockquote>
<p>By observing this, it is almost impossible not to consider how <strong>computers seem to be learning how to do things</strong> we do <strong>as we barely understand <em>how</em> we do them</strong>, which is something odd, since the default is:<strong> computers are <em>foolish</em> machines</strong>, boxes full of bureaucrats that grab the information we give them, check a manual that tells them exactly what to do, and perform <em>exactly that what is written</em>, nothing else; nothing more, <strong>They do not think, they cannot take individual decisions, and much less LEARNING.</strong></p>
<p>Of course not, or... <a href="https://steemit.com/science/@renzoarg/computer-intuition" target="_blank">Do they</a>?</p>
<h3>Machine thinking.</h3>
<p><strong>Artificial Intelligence</strong> is a discipline that <strong>is dedicated</strong>, precisely,<strong> to solve questions like that</strong> (Yet, the people that works at it attempts to not use the word "intelligence" because, well... All the semantic problems you may have observed in this article). <em>Is it possible for a computer to be as intelligent as a human, to think? Is it possible for a computer to learn? How? </em>and, worse, <em>what exactly is "learning"?</em></p>
<p>The first of those questions was asked by <strong> <a href="https://steemit.com/science/@renzoarg/human-or-computer-turing-test" target="_blank">Alan Turing</strong> </a> over half a century ago, and suggested the now called <strong>Turing Test to determine whether a computer is intelligent or not</strong>. He proposed that a <em>judge</em> had to chat with two people; one human, another a computer. <strong>If the judge was unable to determine which one of the subjects was human</strong> within a reasonable amount of time, it would be considered that <strong> the computer passed the test</strong>, then it'd be considered Intelligent.</p>
<center>https://pixabay.com/static/uploads/photo/2013/07/13/01/18/cardboard-box-155480_960_720.png</center>
<p>Now, we should remark a fundamental aspect of this test: <strong>Any computer able to imitate a human, knowing or not what it is doing, would essentially be able to outmatch it</strong>. Consider, bringing back the box full of bureaucrats example, a computer literally being a cardboard box, in which there's only one person that only speaks English, with a manual that instructs how to grab Chinese cards in a certain order, and rearrange them, acquiring always a result that is coherent with the original order (beware, this idea of putting people inside boxes is not mine... It's John Searle's). The box has a slot where cards can be pass by in both ways (in and out), along with some breathing holes (because we need the subject alive to continue with the experiment... And because making a reference to "The Little Prince" by <em>Antoine de Saint Exupéry</em> always pays off). Now, lets run the Turing test on this "computer", being the judge and the second test subject people that only speak Chinese.</p>
<h3>Testing, testing...</h3>
<p>If the manual instructions are good enough, the judge will not be able to determine which one is a "computer", resulting in <strong>our box with a slave inside would be considered Intelligent</strong>. Knowing what we mentioned before, we can observe that "the computer" <em>does not understand what he's doing</em>. He cannot read or write Chinese, he has no way of knowing what the judge is asking for as he passes him the cards; neither understands what he's replying by following the manual's instructions... All he knows, is that someone locked him up inside a box and as soon as he gets out of there, he's gonna beat the Sh!t out of the perpetrator of such act. Knowing this, would you consider this computer, Intelligent? <strong>Perhaps, it's not even relevant to even ask it if it is intelligent</strong>. Asking a computer if it can think, is as relevant as asking a boat if it can float.</p>
<p>The argument I introduce now is <strong>an open argument</strong>, that consists on thinking: is the human mind a <em>computer process?</em>. I mean, <strong>can we fully describe the human mental process in such a way that it can be reproduced, emulated, in a computer?</strong> (think beyond physical, and memory capacity limitations... please, don't be a square-head).</p>
<center>https://pixabay.com/static/uploads/photo/2016/07/23/13/15/robot-1536843_960_720.png</center>
<hr>
<p>The experiment Google did is amazing, because it shows us that <strong>the understanding a computer has of "what is an apple?" is more than enough for it </strong>to actually <em>show</em> us an apple, simply, recognizing it. We could claim that the ANN <em>knows</em> what an apple is, or, that it can learn. Learn stuff as amazing as "knowing what a Van Gogh is".</p>
<p>Today, I can ask this ANN to show me an apple and a Van Gogh... And it will do so, just as any Intelligent person would; it is Intelligent enough to identify both, where not many humans can. For some people, it is more than enough to claim it Intelligent, for others, not so much.</p>
<p><em>Are you afraid of being outwitted by a bunch of welded electronics? Then become a <strong>BETTER</strong> human!)</em>.</p>
<hr>
<blockquote>
<p>If you liked this post and its informal way of talking about sciences, please, follow me for more!</p>
<p>Leave a comment either for good or for bad reviews. I take everything as constructive, and I really appreciate the feedback, even from trolls (at least a troll read it before being himself!).</p>
</blockquote>
<hr>
<h3>Copyrights:</h3>
<hr>
<blockquote>
<p>All the previously used images are of my authory or under a CC0 license (Source: pixabay), unless openly stated.</p>
<p>All the Images created by me possess a WTFPL licencing and they are free to redistribute, share, copy, paste, modify, sell, crop, paste, clone in whatever way you want.</p>
</blockquote>
<hr>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 41 others
properties (23)
authorrenzoarg
permlinkartistic-computers-can-a-robot-write-a-symphony-can-you
categoryscience
json_metadata{"tags":["science","ai","computer","intelligence","turing"],"image":["https://pixabay.com/static/uploads/photo/2015/03/08/09/30/head-663997_960_720.jpg","https://pixabay.com/static/uploads/photo/2015/08/31/08/37/display-dummy-915135_960_720.jpg","https://github.com/kaishengtai/neuralart/blob/master/examples/picasso_obama_short.gif?raw=true","https://github.com/kaishengtai/neuralart/blob/master/examples/starry_eiffel_short.gif?raw=true","https://pixabay.com/static/uploads/photo/2013/07/13/01/18/cardboard-box-155480_960_720.png","https://pixabay.com/static/uploads/photo/2016/07/23/13/15/robot-1536843_960_720.png"],"links":["https://en.wikipedia.org/wiki/Matrix_(mathematics)","https://steemit.com/science/@renzoarg/computer-intuition","https://steemit.com/science/@renzoarg/human-or-computer-turing-test"]}
created2016-09-25 22:37:06
last_update2016-09-25 22:40:09
depth0
children9
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value74.648 HBD
curator_payout_value23.825 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11,822
author_reputation62,960,081,117,872
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,060
net_rshares48,536,960,731,507
author_curate_reward""
vote details (105)
@doesntmatter ·
There is already a computer program that will write you a symphony. It's called band in a box
properties (22)
authordoesntmatter
permlinkre-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160926t005300021z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-26 00:53:09
last_update2016-09-26 00:53:09
depth1
children0
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length93
author_reputation33,496,135,154
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,361,055
net_rshares0
@gamgam ·
I'm sure a computer could do better than I can. :-)
properties (22)
authorgamgam
permlinkre-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160925t223837379z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-25 22:38:42
last_update2016-09-25 22:38:42
depth1
children2
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length51
author_reputation2,443,141,300,609
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,081
net_rshares0
@renzoarg ·
Either you only read the title, or you're a very primitive bot.
👍  
properties (23)
authorrenzoarg
permlinkre-gamgam-re-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160925t224014002z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-25 22:42:54
last_update2016-09-25 22:42:54
depth2
children1
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length63
author_reputation62,960,081,117,872
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,128
net_rshares143,218,859
author_curate_reward""
vote details (1)
@gamgam ·
I read the article, but I responded to the title. And no, I am not very musically creative.
properties (22)
authorgamgam
permlinkre-renzoarg-re-gamgam-re-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160926t111812382z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-26 11:18:18
last_update2016-09-26 11:18:18
depth3
children0
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation2,443,141,300,609
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,364,409
net_rshares0
@garethnelsonuk ·
$0.15
To answer the title (I did read the whole article, but i've got a comment on the title): Yes, and in fact i've pondered using a computer to partly write a symphony myself.

The form and structure of a symphony is actually quite formal and the creative input of the musician could fairly easily be replaced with a random number generator, or you could even simply plug in the emotions you want it to convey and make use of "key colour" and melodic expectancy to create the right mood in a very precise mathematical way. Music theory is after all nothing but the formal study of what stuff sounds like when you compose it a certain way - and in particular how to create certain feels and moods in what is ultimately just a sequence of tones and harmonic distortions.

Going even further than this though, and feeding  back into the main subject of this article in a roundabout way: I once got into an argument with a drummer who claimed that no drum machine could ever be as realistic as a human drummer.

I proposed "what if we use a robot to play the physical drum set?" and he explained that he does not believe a computer could respond organically like a human drummer does - putting aside that there already exist programs that regulate tempo and mood based on feedback from a human performer (one is even used in a widely accessible commercial product: Rocksmith 2014 edition does this quite well and feels very close to jamming with real musicians) what my drummer friend did not take into account was the simple fact that the human brain is not magical - at the extreme end we could build a detailed simulation of every neuron in the brain and hook up the motor outputs and get back a drummer just as good as the original human drummer the simulation was built from - and like everything in computer science, if there's a brute force way to do it, there's almost certainly optimisations and simpler algorithms to do the same thing.

I am fully convinced that human level intelligence in all domains can be achieved by AI simply because human brains are NOT magical - they are physical systems that simply perform highly efficient processing of information. We can already do certain things with computers that in the past it was thought only brains could do. As the field develops we'll crack more of the fundamental aspects of cognition.
👍  , , , ,
properties (23)
authorgarethnelsonuk
permlinkre-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160925t225448092z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-25 22:54:48
last_update2016-09-25 22:54:48
depth1
children2
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.117 HBD
curator_payout_value0.034 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,344
author_reputation9,564,384,386,809
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,215
net_rshares820,443,706,726
author_curate_reward""
vote details (5)
@renzoarg ·
<p>At last! I got some DECENT feedback to one of my articles.<br>
And way above my expectation!</p>
<hr>
<p>Indeed, as once it was called, it's an "imitation game".</p>
<p>Computers will end up "thinking" in a totally different way than we do.</p>
👍  
properties (23)
authorrenzoarg
permlinkre-garethnelsonuk-re-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160925t230627838z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-25 23:09:09
last_update2016-09-25 23:09:09
depth2
children1
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length247
author_reputation62,960,081,117,872
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,316
net_rshares3,063,481,024
author_curate_reward""
vote details (1)
@garethnelsonuk ·
I've read quite a few of your articles and you deserve much encouragement!!

I actually made a post on the subject of simulating human minds myself recently if you're interested:
https://steemit.com/philosophy/@garethnelsonuk/on-uploading-minds-and-survival-of-personal-identity
properties (22)
authorgarethnelsonuk
permlinkre-renzoarg-re-garethnelsonuk-re-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160925t232549086z
categoryscience
json_metadata{"tags":["science"],"links":["https://steemit.com/philosophy/@garethnelsonuk/on-uploading-minds-and-survival-of-personal-identity"]}
created2016-09-25 23:25:48
last_update2016-09-25 23:25:48
depth3
children0
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length278
author_reputation9,564,384,386,809
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,444
net_rshares0
@positivesteem ·
Computers can already create music and will continue to do more complex tasks in the future
properties (22)
authorpositivesteem
permlinkre-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160926t145955833z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-26 14:59:57
last_update2016-09-26 14:59:57
depth1
children0
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation85,819,942,349,665
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,366,099
net_rshares0
@timsaid ·
Excellent work!
properties (22)
authortimsaid
permlinkre-renzoarg-artistic-computers-can-a-robot-write-a-symphony-can-you-20160925t224325558z
categoryscience
json_metadata{"tags":["science"]}
created2016-09-25 22:43:24
last_update2016-09-25 22:43:24
depth1
children0
last_payout2016-10-27 04:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation338,948,364,553,435
root_title"Artistic Computers - Can a robot write a symphony? ... Can You?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,360,134
net_rshares0