JavaRush /Java Blog /Random EN /Dewey is the first artificial "writer"

Dewey is the first artificial "writer"

Published in the Random EN group
Below is a translation of an article by Alvaro Videla about the first successful experience of creating a literary text by machines. This book was special because it contained the first fictional story invented by artificial intelligence. Of course, there were attempts before her, but it was she who became the first whose content seemed reasonable to us, people. Before her, attempts by artificial intelligence in this area turned out to be just a set of random proposals.
Dewey - the first artificial "writer" - 1
Although it is worth mentioning that some of the “early” AI opuses enjoyed some success at social events in the literary circles of New York, and Chinese millionaires read them aloud to their guests on the eighties floors of Beijing penthouses. But - let's be honest - these attempts were outright garbage. And no more. That "special" first book I'm talking about is nothing special. The usual story: a couple who could not be together for a number of reasons, a kind of synthesized Romeo and Juliet, artificial love, all things. There was also a hero in it, who went to distant distances with many insurmountable trials. Even the climax was in this book. It was the battle of the hero and his gloomy opponent, powerful as life itself. See? The plot is quite logical, but there is nothing special about it! Nothing that would allowdeep writer(DW, Dewey or Dewey - that's how we call our disembodied "writer") get a Nobel Prize in Literature. Interest in the book began when literary fans tried to reproduce the process of creating a story on several Internet forums. They tried to understand what books influenced Dewey. This question led to a split in judgments about trying to recreate the process of writing a book. If we want to know how a program works, we try to get the source code in our favorite way possible, whether by decompiling the program or, if we're lucky, by reading it from an open-source repository. Of course, not everyone agrees with this method. Some authors believed that a book is a literary object and should be judged solely on its content. It doesn't matter who the author is, what he thinks, what his preferences or prejudices are. You just need to take a book, read it and try to understand the essence on your own. There was also another group of people. They argued that the awareness of the creative process of the authors, their realities of life, is the determining factor in the understanding of books. The authors had to have prejudices, fears, joys that logically led them to write this particular content. They were in a society with their supposed assumptions and prohibitions. In this case, the authors were, as it were, the algorithm themselves, and their feelings and prejudices had to be embedded in Dewey's source code. That is, the whole range of feelings of the creators of Dewey had to play a role in writing the book. What did they leave encrypted in places that led to Dewey's "creativity"? that the awareness of the creative process of the authors, their realities of life, is the determining factor in the understanding of books. The authors had to have prejudices, fears, joys that logically led them to write this particular content. They were in a society with their supposed assumptions and prohibitions. In this case, the authors were, as it were, the algorithm themselves, and their feelings and prejudices had to be embedded in Dewey's source code. That is, the whole range of feelings of the creators of Dewey had to play a role in writing the book. What did they leave encrypted in places that led to Dewey's "creativity"? that the awareness of the creative process of the authors, their realities of life, is the determining factor in the understanding of books. The authors had to have prejudices, fears, joys that logically led them to write this particular content. They were in a society with their supposed assumptions and prohibitions. In this case, the authors were, as it were, the algorithm themselves, and their feelings and prejudices had to be embedded in Dewey's source code. That is, the whole range of feelings of the creators of Dewey had to play a role in writing the book. What did they leave encrypted in places that led to Dewey's "creativity"? They were in a society with their supposed assumptions and prohibitions. In this case, the authors were, as it were, the algorithm themselves, and their feelings and prejudices had to be embedded in Dewey's source code. That is, the whole range of feelings of the creators of Dewey had to play a role in writing the book. What did they leave encrypted in places that led to Dewey's "creativity"? They were in a society with their supposed assumptions and prohibitions. In this case, the authors were, as it were, the algorithm themselves, and their feelings and prejudices had to be embedded in Dewey's source code. That is, the whole range of feelings of the creators of Dewey had to play a role in writing the book. What did they leave encrypted in places that led to Dewey's "creativity"?
Dewey - the first artificial "writer" - 2
The researchers analyzed this in detail, looking for clues about Dewey's inner workings. This method gave the most interesting results. First, the algorithm was fed books from the Gutenberg library , then scientific texts from Google Scholar were added., and only then - other online resources with archives. To give Dewey an idea of ​​the quality of the texts, they were ranked: the works of authors who received literary awards were given priority for the preference algorithm relative to other less recognized authors. The second factor used to classify incoming texts was how well they performed in sales on Amazon(!). The algorithm even used criteria called Highlights Per Sentence Ratio (HPSR), which is how often Kindle users put marks (highlights) in books. Many filters were then used to separate the wheat from the chaff. One was very clear: don't feed the algorithm with religious texts like the Bible. The experiment turned out to be interesting, if only because, despite the fact that the Bible was not a source of inspiration for Dewey, Christian culture influenced the overall result, since Western literature became the basis. So it's no surprise that the Dewey characters yelled "Jesus!" 257 times. (Jesus!) and 147 more times they shouted “Oh, God” (Oh, God), not counting the euphemisms “Gosh!”. Some other aspects of the book ranged from weird to sad with no smooth transitions: most of the characters in the book, for example, were white. The "exotic" characters had names that were almost never seen in their cultures. For example, the Latin American merchant who appears in the seventh chapter is named by Dewey Rodolfo Airondo Buñuelos ( Some other aspects of the book ranged from weird to sad with no smooth transitions: most of the characters in the book, for example, were white. The "exotic" characters had names that were almost never seen in their cultures. For example, the Latin American merchant who appears in the seventh chapter is named by Dewey Rodolfo Airondo Buñuelos ( Some other aspects of the book ranged from weird to sad with no smooth transitions: most of the characters in the book, for example, were white. The "exotic" characters had names that were almost never seen in their cultures. For example, the Latin American merchant who appears in the seventh chapter is named by Dewey Rodolfo Airondo Buñuelos (Buñuelos is a Latin American dish (fried donuts), but he simply could not have such a name as Airondo). How can we interpret the female characters in Dewey's book? The main character of the book is called Bella (Bella). She is blonde, honest and fair, smiling, and always speaks in a pleasant soft voice. It seems that the name Cliché would suit her. Next to her was a friend whose main purpose was to emphasize her personal qualities. The other female characters were Bella's mother and the hero's deceased mother - she was killed by a bad guy in the first episode of the book - quite typical. Bella's antagonist was a woman, one of those who are called self-made or raised themselves. She had her own business, in the style of Karen Blixen's Out of Africa. In total - in the story there are five female and, no less, 33 male characters! And last but not least - the mysterious "Appendix 0" that completes the book. It consisted of only one page with the following content: First word?=>Pair 0000010000001000000000000000100001 [… and so on]. Or in Russian translation: Первое слово? =>Пара 0000010000001000000000000000100001 […и так далее]. Trying to understand how Dewey works with its source code is “flowers” ​​compared to trying to decipher what our artificial writer meant by this “Appendix 0”. It is difficult to say whether this was a program error that printed a binary number (meaning some memory cell, for example), or whether it was code for something else.
Dewey - the first artificial "writer" - 3
The binary number, stretched over several lines, contained twelve ones (1), the rest zeros (0). It clearly fit into a 64-bit word, which contributed to the assumption of a memory cell ... But what did (First word? => Pair) mean ? This riddle was solved by a scientist named Amir Rodríguez Monacal. The solution turned out to be quite simple. First word?is an instruction to select every first word in every paragraph of text. The question then was what to do with those first words? The answer to this question was in the indication “=>Pair”, read as “pair”. The idea was to connect each word with each number from this sequence of bits. Words that ended up in pairs with zeros were to be discarded, and those that ended up in pairs with ones were kept. In the end, the proposal was: "The visible work left by this novelist is easily and briefly enumerated" which in translation sounds something like this: "Видимая работа, оставленная этим писателем, легко и кратко перечисляется" 1 Later, a colleague noticed that the version of “Out of Africa” used by the algorithm was erroneously attributed to another Blixen pseudonym, Isaac Dinesen. This confirms our early suspicion that the algorithm favored books written by men.
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION