News for hackers. Stuff that matters.
Re:Machine-generated husband chatter by Artlav on Monday April 24, 2017 @06:14AM (#14183111)
Ah, this brings back memories. I tried something like that about 12 years ago, with a homebrewn half-hardcoded, half-neural thing and a large set of Jules Verne books.

The giddy excitement of being on the verge of unlocking the power of language slowly turned into confusion and then decayed into disappointment as i slowly realized that the task was maybe a bucket of orders of magnitude harder than i thought. I think it produced some coherent phrases every now and then, but mostly it was a random words generator.

...I miss these amplified feelings of cluelessly diving into an impossible project...

Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @06:27AM (#14183170)
> The giddy excitement of being on the verge of unlocking the power of language slowly turned into confusion and then decayed into disappointment as i slowly realized that the task was maybe a bucket of orders of magnitude harder than i thought

This was very wonderfully articulated! Do you have a blog or something?

Re:Machine-generated husband chatter by Artlav on Monday April 24, 2017 @06:37AM (#14183205)
Well, Orbital Designs http://orbides.org certainly qualifies as "something", but i'm not sure how much of a "blog" it really is since all of the content is indexed. :)
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @07:08AM (#14183319)
I like it! Very nice.
Re:Machine-generated husband chatter by ominous on Monday April 24, 2017 @06:29AM (#14183173)
Re:Machine-generated husband chatter by Pica_soO on Monday April 24, 2017 @01:49PM (#14186358)
Knowledge kills the enthusiasm. One can move but doesn't know where and how, the other knows where and how, and spends the life in kotau.
Re:Machine-generated husband chatter by donquichotte on Monday April 24, 2017 @05:38AM (#14182967)
Strangely enough, I find the output of Markov Chain - type text generators much more readable and coherent than the output of those RNNs. A Marov Chain text generator is also easy to implement and understand.
Re:Machine-generated husband chatter by umlaut on Monday April 24, 2017 @10:03AM (#14184367)
The interesting properties of RNNs aren't in readability. RNNs can learn syntactical states, e.g. "this text is in quotes" that enable some really cool analysis tricks. OpenAI published an article about this recently, where they showed that an RNN, without being trained on it, learned the difference between positive and negative reviews. The fact that an RNN encodes sentiment is an incredibly useful feature.

source: https://blog.openai.com/unsupervised-sentiment-neuron/

Re:Machine-generated husband chatter by sharanvkaur on Monday April 24, 2017 @10:41AM (#14184654)
thanks for bringing this up! i saw this article last week and it THRILLED me. so much potential here.
Re:Machine-generated husband chatter by Infernal on Monday April 24, 2017 @08:45AM (#14183825)
I wonder how hard it would be to use a Markov chain as a syntactic filter on the output of the RNNs?
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @05:49AM (#14183014)
Interesting. Why do you think that is? (More readable, that is)
Re:Machine-generated husband chatter by aninhumer on Monday April 24, 2017 @06:38AM (#14183208)
If I were going to guess (not the parent), it's because human parsing is quite localised, and Markov models tend to optimise well for localised coherence.

Their failure mode is long sentences which don't go anywhere (or mean anything), but that's less grating than a blatant parse failure, especially if you're skim reading.

Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @07:07AM (#14183313)
That actually makes a lot of sense, great point.
Re:Machine-generated husband chatter by marktangotango on Monday April 24, 2017 @08:57AM (#14183908)
Claude Shannon[1], information theory guy, worked on machine generated music quite a lot. Some of the ideas transfer. Information theory informs a lot in this area[2].

[1] https://en.wikipedia.org/wiki/Claude_Shannon

[2] http://www.music-cog.ohio-state.edu/Music829D/Notes/Infotheo...

Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @03:32PM (#14187325)
Fascinating!
Re:Machine-generated husband chatter by diyseguy on Monday April 24, 2017 @12:24PM (#14185575)
I came up with similar results by just tracking word probabilities and then regenerating text based on those probabilities.

Feeding it Edgar Allen Poe produced the best results:

twelve vibrations of purple air. vortex of its absolute hurricane. monck flying footsteps of the picture all the police are concerned. silence on a year in an identity. materiality escaping the city was their white spot of printing apparatus all things only one supposes it were its mere duration that it in baltimore monument to its luxuriant nature asserts her person whom i not hesitate about five hundred paces to have not the principia of idiotic thought of curvature or metamorphosis these friends were in an earthquake and the then i felt my chair so rigidly of interest could not summon courage

Here's the TED version I just generated using the input.txt from one of the linked articles: https://github.com/samim23/TED-RNN/

educationists made around in our modern medicine. gq did make perfect mankind which the blue pill every week had infinite instant messaging that sucks when your food day that previous background is about being foreign interventions. psychopharmaceutical arsenal. attached to tail but a distribution units in our traditional estimates that men engineers who negotiate my whole province of long awkward to call it came back go deep conversations you grow fast when there been around the long lever systems.

entertaining anyway, and occasionally amazing

Re:Machine-generated husband chatter by kristjansson on Monday April 24, 2017 @12:40PM (#14185715)
Holy shit, that's awesome. Do you have the code used to generate this available somewhere?
Re:Machine-generated husband chatter by diyseguy on Monday April 24, 2017 @02:20PM (#14186647)
Thanks for noticing! :) I will tidy it up and put it out there soon. I'll let you know after I've done that. :)
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @03:33PM (#14187337)
This is beautiful.
Re:Machine-generated husband chatter by hypfer on Monday April 24, 2017 @05:49AM (#14183013)
I've also did this a few months ago with a dump of all my telegram messages. I thought it could be a nice chatbot. I was wrong. :-(
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @05:51AM (#14183018)
Haha yeah it's a little disappointing (yet interesting) how it comes close but misses the mark. I wonder how far away we are to having machine-generated output that's tough to distinguish from the input you put into it.
Re:Machine-generated husband chatter by simonh on Monday April 24, 2017 @08:37AM (#14183768)
The Obama one is much better, but the thing is none of these are even remotely close. They sort of seem close on the surface if you simply don't engage any critical parts of your brain, or try to extract any meaning, but if you do the semblance of meaning that's inherent in the words melts away into nothing.

To generate output that contained meaning that you could actually engage with, you'd have to first generate the meaning and then turn that into text. That's a fundamentally different process to what is going on here. This is also why 'Turing Test' competitions involving chat bots are never going to give us artificial intelligence.

This sort of text generation is like a magician's trick where he appears to saw the woman in half and put her together again. I don't care how good the magician is at the trick, he's not going to be any help at all to a surgeon that's actually cutting someone in half and then stitching them back together again.

Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @09:11AM (#14183983)
> This sort of text generation is like a magician's trick where he appears to saw the woman in half and put her together again.

That's a really good analogy!

Re:Machine-generated husband chatter by sharanvkaur on Monday April 24, 2017 @11:38PM (#14190571)
yep, this is so true. i was really excited about the tiny fragments that seemed to hold meaning, but they were obviously just happy accidents.
Re:Machine-generated husband chatter by sharanvkaur on Monday April 24, 2017 @10:43AM (#14184667)
ohno i was totally planning on doing this next ):
Re:Machine-generated husband chatter by greydius on Monday April 24, 2017 @06:35AM (#14183201)
Does that include starting sentences with "so"? Is anyone else annoyed by this?
Re:Machine-generated husband chatter by thiagocsf on Monday April 24, 2017 @06:54AM (#14183264)
Trained a neural net to write like me: poorly.
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @07:07AM (#14183308)
Hahaha! Yeah, maybe that's part of what makes the output distinctive. Do you have any good recommendations for a person looking to improve their shoddy writing?
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @07:03AM (#14183294)
Are you talking about the submission title? =/
Re:Machine-generated husband chatter by xaedes on Monday April 24, 2017 @06:20AM (#14183144)
I really want to try this on small refactoring git commits to reproduce a simple ml-based code optimization engine.
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @06:21AM (#14183149)
You should totally do it! Would love to see what happens.
Re:Machine-generated husband chatter by jorgescx on Monday April 24, 2017 @08:07AM (#14183559)
Reminds me somehow of SCIgen (https://pdos.csail.mit.edu/archive/scigen/), a funny 'scientific paper generator'.
Re:Machine-generated husband chatter by wolfgang42 on Monday April 24, 2017 @01:24PM (#14186138)
In a similar vein, http://git-man-page-generator.lokaltog.net/ creates plausible-sounding man pages for git internals.
Re:Machine-generated husband chatter by janwillemb on Monday April 24, 2017 @06:32AM (#14183186)
The title is from the perspective of the submitter (being the husband in the original title), it should be "visakanv-RNN — machine-generated husband chatter". Which is a lot less catchy.
Re:Machine-generated husband chatter by ada1981 on Monday April 24, 2017 @09:04AM (#14183951)
Wasn't expecting the image at the end, wtf?
Re:Machine-generated husband chatter by coldpie on Monday April 24, 2017 @09:09AM (#14183974)
I believe all technical articles are now required to include at least one Impact font meme. I'll see if I can dig up the RFC.
Re:Machine-generated husband chatter by visakanv on Monday April 24, 2017 @09:13AM (#14183995)
I thought it was pretty fun!
Re:Machine-generated husband chatter by Asparagirl on Monday April 24, 2017 @10:23AM (#14184525)
She should call this the HusBot.
Re:Machine-generated husband chatter by sharanvkaur on Monday April 24, 2017 @10:42AM (#14184660)
this is clearly way better than visakanv-rnn. thanks!
Re:Machine-generated husband chatter by Asparagirl on Monday April 24, 2017 @10:45AM (#14184686)
:-)