Lurker News
Author here. This site lets you put in a username and get the users with the most similar writing style to that user. It confirmed several users who I suspected were alts and after informally asking around has identified abandoned accounts of people I know from many years ago. I made this site mostly to show how easy this is and how it can erode online privacy. If some guy with a little bit of Python, and $8 to rent a decent dedicated server for a day can make this, imagine what a company with millions of dollars and a couple dozen PhD linguists could do.

Here's Paul Graham:
https://stylometry.net/user?username=pg
Here are some frequent HN commenters: (EDIT: Removed due to privacy concerns)

Comments (511) 204 threads

sillysaurusx8 replies#
Wow. This gives a lot of false positives, but it found all ~10 of my old accounts over the years.

The most interesting thing is that my writing style changed pretty drastically since a decade ago. Searching for my oldest account matches my earliest usernames, whereas searching this account matched the rest.
The details of the algorithm are fascinating: https://stylometry.net/about Mostly because of how simple it is. I assumed it would measure word embeddings against a trained ML model, but nothing so fancy.

echelon#
It works like a charm for me too.

I put in my username and found my pre-echelon alt, possibilistic.
(Echelon was taken when I registered possibilistic, but it must have been unused and dropped.)

sillysaurusx1 reply#
FWIW, top 20 was necessary for mine. The bolding was a brilliant move. Several of my accounts were ranked 10-20, but popped out due to the bolding.
justusthane14 replies#
What does the bolding indicate?

Continue this thread — 14 replies

User231 reply#
I’d figured it would be some kind of n-gram frequency analysis. Would be interesting to code that up and compare.
costco1 reply#
It is. The description on the about page is a little simplified but I basically I look at the most common word and character ngrams of size 1,2,3 (200 each), put all the frequencies in an array and then compare to all the other users with https://scikit-learn.org/stable/modules/generated/sklearn.me....
User23#
Cool, I only skimmed the description maybe I needed to read it more carefully.

Have you considered doing rune rather than word ngrams? I can imagine that might be prohibitively expensive, but I really don’t know. I did something like that long long ago in C for automatic document language detection. It was quite accurate.

FormerBandmate#
> sillysaurus3

> sillysaurus2
Tbf a human could have found a bunch of them relatively easily

lettergram1 reply#
Frankly similar to how I was doing in back in 2018 (when you and I chatted about it on HN lol)

https://news.ycombinator.com/item?id=17944293
The approach I took was a bit different, but also no ML required.
The real trick is pruning and going cross platform. There are around 100k active HN accounts (meaning posts a few times a year), maybe 200k if you count at least one post a year. But <10k that post weekly.
It’s a very small space to try to compare so simple methods will work fine.

costco#
Exactly. HN emphasizes long-form posts much more than other forums which makes the commenters here very susceptible to this kind of analysis. Plus you can fit every single HN comment in RAM on a mid tier gaming laptop so it's even easier. I was trying to think of applications of this kind of data and the only thing I could think of was moderation tools/detecting ban evaders but what you've done seems much more profitable lol.
hnburnerUixoHr52 replies#
Woof.

I create new accounts on a semi-regular basis because I think cliques are the most corrosive factor to social media. Any time my account gathers enough upvotes enough I destroy it for another.
I had four accounts. None are over 50% confidence, but when I look at any one account the others are consistently #2, #3, and #4.
Now I’m thinking very carefully about what words I use to avoid linking this as the 5th account.

hailwren#
Exact same thing happened to me. Wild.
butterNaN#
This makes me melancholic. One should be able to express themselves without the overhead of privacy concerns.
dimmke#
On the other side of the coin, I have never had an alternate HN account (beyond maybe 1-2 throwaways with only one post or comment) so seeing the list of users that are most similar to me was interesting. I didn't see some stark similarities based on a quick peek at their comments, but it was interesting.
bb88#
sillysaurus3 was in mine. :) Clearly we're not the same.
jll293 replies#
The method used, i.e. to calculate the cosine of the two authors' word vectors, is poorly suited for stylometric analysis because it is based on a poster's lexicon and the word frequencies of each word, but ignoring stylistically relevant factors like word order.

Also, the cosine of the vectors of word frequencies conflates author-specific vocabulary and topics; in other words, my account is grouped (with >51% similarity, according to the demo) with someone probably because we wrote about similar things. A strong stylometric matcher ought to be robust against topic shifts (our personal writing style is what stays constant when we move from writing about one topic to writing about another topic, just like our personality is what stays constant about our behavior over time - of course styles do change, but the premise then has to be that such changes happen very slowly).
Stylometrics/authorship identification is interesting and has led to some surprising findings, e.g. in forensic linguistics (Malcolm Coulthard wrote several good books about the topic).
This paper lists some other features that could be used and compares a bunch of techniques: https://research.ijcaonline.org/volume86/number12/pxc3893384...

MikePlacid#
> based on a poster's lexicon and the word frequencies of each word, but ignoring stylistically relevant factors like word order.

Interesting. I was expecting to be grouped with other Russian speakers and I am (based on some nicknames). But I thought the most telling feature will be exactly word order - it’s absolutely relaxed in Russian. Word frequencies? Well, probably the absence of articles, lol (but I swear to God that I often spend some extra time trying to insert as many articles in my texts as I could).

implements#
There’s https://en.wikipedia.org/wiki/Idiolect :

”Language consists of sentence constructs, choice of words, and expression of style. Accordingly, an idiolect is an individual's personal use of these facets. Every person has a unique idiolect influenced by their language, socioeconomic status, and geographical location.”

antirez#
In practice a more complex approach will tend to require a greater amount of data per user, so in this specific case this simple approach is not too bad. Moreover, fake accounts are likely to talk about the same topics, so while this leads to false positives, also makes it more likely that in the list we find actual duplicates.
sillysaurusx4 replies#
Ha, gruseom shows up for pg, which is dang’s old account. A worthy successor.

This is a fascinating way to find similar HN users who aren’t the same person. It’s a surprisingly great recommendation engine. “If you like pg, you might also like…”
Sure, the privacy concerns are valid, but the cat’s out of the boot. Might as well enjoy the benefits.
montrose is almost definitely pg. Someone who talks about ancient history, Occam’s razor, VCs and startups, uses the phrase “YC cos” (relatively uncommon), etc. https://news.ycombinator.com/item?id=17112567
Nicely done. One of the best hacks I’ve seen in a long time.

costco1 reply#
> motrose is almost definitely pg. Someone who talks about ancient history, Occam’s razor, VCs and startups, uses the phrase “YC cos” (relatively uncommon), etc. https://news.ycombinator.com/item?id=17112567

I had this hunch too. It's either pg or someone trying really hard to be pg.

roughly#
I mean, this is HN -

> someone trying really hard to be pg
describes half the site.

asveikau#
> Someone who talks about ancient history, Occam’s razor, VCs and startups,

I think these are all common topics among HN readers and commenters.

VyseofArcadia2 replies#
> but the cat’s out of the boot

It's my first time hearing that variant. Usually its, "the cat's out of the bag" where I'm from.
Do you mean boot in the UK sense, what Americans would call the trunk of a car? Or do you mean a sturdy piece of footwear?
Obligatory xkcd https://xkcd.com/2390/

sillysaurusx4 replies#
It’s a little writing trick I leaned from (I think) Orwell. Any time you’re about to use a common metaphor, try to tweak it. You’ll catch readers off guard, which piques their curiosity.

It’s a fun game, too. I wish I’d used “the cat’s out of the hat,” but I didn’t think of it till later.

Continue this thread — 8 replies

sdwr#
I love doing this too, it's fun to write.
UncleEntity1 reply#
Yeah, it’s like shooting ducks in a barrel it works so well.

Easy to overuse then people just get annoyed though…kind of like commas, I suppose.

Continue this thread — 1 reply

esfandia#
I like mixing metaphors, in this case "the cat's out of the tube". ("the toothpaste's out of the bag" doesn't work as well though)
martin821 reply#
There's a popular movie called "Puss in Boots". That's what I had to think of first.
pyb2 replies#
Why would montrose be pg ? The correlation is not that high. Looks like a few people have picked up pg's mannerisms.
costco2 replies#
There are factors that make me think it is more likely than not (just scrolled through the comment history, don't feel like linking everything) that he is pg.

- Is bolded on pg's page
- Mentions yoga
- Talks about Lisp often
- Talks about YC often
- Talks about kids
- Links to Paul Graham's website
- Says he uses vi
- Writes exactly like you would expect pg to write

ethmaxi4 replies#
I'm sophisticately sure they are not. They recommend a founder to ask users directly what they will pay for.

Is that what PG would say?

Continue this thread — 4 replies

pyb#
I agree that this person is trying very very hard to sound like pg ! You could be right actually. Could still be a "wannabe" though.
seba_dos11 reply#
Yeah, that score is only slightly higher than the highest one it shows for my account (which is also bold) - and unless my alter ego has been disguised so well it even managed to hide from myself, I'm pretty sure that isn't me :)
kazinator#
The score for montrose vs pg is lower than the score for someone most similar to me, who is definitely not me.

I think, the similiarity has to be in the high .80's to suspect that it's the same individual.

rcarr4 replies#
This is somewhat similar to how they ended up catching the Unabomber. The FBI were literally at a dead end. They ended up posting one of his letters/manifestos in the paper, somebody recognised a turn of phrase the unabomber used that was unusual and reported it as possibly being their brother, FBI investigated the lead and it lead them straight to him.

Excerpts from wiki:
> Before the publication of Industrial Society and Its Future, Kaczynski's brother, David, was encouraged by his wife to follow up on suspicions that Ted was the Unabomber.[91] David was dismissive at first, but he took the likelihood more seriously after reading the manifesto a week after it was published in September 1995. He searched through old family papers and found letters dating to the 1970s that Ted had sent to newspapers to protest the abuses of technology using phrasing similar to that in the manifesto.[92]
> In early 1996, an investigator working with Bisceglie contacted former FBI hostage negotiator and criminal profiler Clinton R. Van Zandt. Bisceglie asked him to compare the manifesto to typewritten copies of handwritten letters David had received from his brother. Van Zandt's initial analysis determined that there was better than a 60 percent chance that the same person had written the manifesto, which had been in public circulation for half a year. Van Zandt's second analytical team determined a higher likelihood. He recommended Bisceglie's client contact the FBI immediately.[96]
> In February 1996, Bisceglie gave a copy of the 1971 essay written by Ted Kaczynski to Molly Flynn at the FBI.[87] She forwarded the essay to the San Francisco-based task force. FBI profiler James R. Fitzgerald[98][99] recognized similarities in the writings using linguistic analysis and determined that the author of the essays and the manifesto was almost certainly the same person. Combined with facts gleaned from the bombings and Kaczynski's life, the analysis provided the basis for an affidavit signed by Terry Turchie, the head of the entire investigation, in support of the application for a search warrant.[87]
https://en.m.wikipedia.org/wiki/Ted_Kaczynski

googlryas#
It was actually his brother.

Continue this thread — 3 more replies

Load more comments