Live data from Hacker News

Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

valohai.com

21–30 of 82 posts

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#21

Tried stocks, stock options, investing - all kept giving Robinhoodpennystocks as the top option. Not sure if the model is not fully trained? What are some examples where the model does recommend meaningful things?

Here were my two experiences, one I felt would be easy and the other hard:

Title: Build recommendations. Message: "I'd like to upgrade some components. My current rig has an old i7 and an RTX 2060. Looking for something midrange that can handle modern games at high settings (but maybe not ultra)."

Matches: Nvidia (19%), IndianGaming (8%), GamingLaptops (8%), pcgamingtechsupport (6%)

Title: Travel advice. Message: "I'm returning to Ireland in July from the USA. My visa is up. I know I will have to self-quarantine for two weeks. I cannot move back to my family home due to elderly parents. Are there any recommendations for people in this sort of situation? I'm happy to pay for a hotel, but don't want to put a hotel worker at risk. We have an old house down in Wexford I could stay in, but would involve taking a train when I arrive, and the HSE guidance says not to take public transport. Any advice?"

Recommendations: LegalAdviceUK (8%), IWantOut (7%), AskUK (5%)

Overall I think this was pretty good, even if it wasn't perfect. I thought it would struggle more with the second one (maybe getting confused and suggesting vacation planning subreddits). A little controversial that it kept suggesting "UK" reddits for a question about Ireland though :)

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#22
Tried it with Hearthstone related content. Title: turn 2 lethal Content: I managed to cheat out 4 prophet valens on turn 2 followed up by mind blast.

Results: shadowverse, elderscrollslegends, teamfighttactics, teemotalk, fioramains, ekkomains, ezrealmains, bobstavern, kaisamains, xcom2

Should include: hearthstone It did pick up BobsTavern which is something. I thought you would want some feedback.

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#23

Tried it with Hearthstone related content. Title: turn 2 lethal Content: I managed to cheat out 4 prophet valens on turn 2 followed up by mind blast. Results: shadowverse, elderscrollslegends, teamfighttactics, teemotalk, fioramains, ekkomains, ezrealmains, bobstavern, kaisamains, xcom2 Should include: hearthstone It did pick up BobsTavern which is something. I thought you would want some feedback.

thanks! That helps a lot, although I am not familiar with that area of knowledge.

Indeed, I got some ML metrics on a test split that gives me an idea of its accuracy :) But it's just an estimation, so indeed I am looking out for feedback to know its real performance so I can debug bad cases and fix those with more data or a better model.

The test performance on subreddit r/hearthstone is 0.21 f1-score, which is not great. And looking at the confusion matrix for r/hearthstone it gets often confused with:

r/BobsTavern r/CompetitiveHS r/customhearthstone r/Blizzard

If you are curious, I uploaded the metrics (precision, recall, f1-score) and confusion matrix on the test dataset on a Google Spreadsheet.

https://docs.google.com/spreadsheets/d/1NBY1o85ZiNpcm4tcYhKk...

The sheet 'confusion_matrix_gt2' can be used to find similar subreddits.

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#24

Anyone remember /r/reddit.com? That was around the time reddit looked like Hacker News and people were embarrassed to admit they use it.

HN doesn't get enough credit for the tight rope they walk maintaining this community. I see some people post that HN should expand to other topics a la Reddit, but the team does a great job of maintaining focus. It's not just HN's aesthetic that is minimal and no-nonsense, it's their moderation policies and the tone they set for the community. There is perfect alignment between their approach to content, community, a…

> HN doesn't get enough credit for the tight rope they walk maintaining this community

You sure? Let me just check -theoretically- if you wanted to build a system to reinforce bubble thinking... how would it look different than this? There is hiding disagreeable posts, invisible moderation, and a magic karma system where 1 vote is not always 1 point.

Typically this isn’t a problem, but you aren’t paying attention if you think this isn’t by design and doesn’t exactly lead to a diverse spectrum of opinions here.

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#25
One place to improve this would be to use a better set of word-embeddings. FastText is, well, fast, but it's no longer close to SOTA.

You're most likely using simple average pooling, which is why many users are getting results that don't look right to them. Try a chunking approach, where you get a vector for each chunk of the document and horizontally concatenate those together (if your vectors are 50d, and do 5 chunks per doc, than you get a 250d fixed vector for each document regardless of length). This partially solves the issue of highly diluted vectors which is responsible for the poor results that some users are reporting. You can also do "attentive pooling" where you pool the way a transformer head would pool - though that's an O(N^2) operation so YMMV

If you have the GPU compute, try something like BERT, or GPT-2 which is fine-tuned on all of reddit. Better yet, try vertically concatenating all of the word-embeddings models you can together (just stack the embeddings from each model) if you have the compute

To respond to your comment (since HN isn't letting me post cus I'm 'posting too fast')

You can use cheaper and more effective approaches for getting the subword functionality you want.

Look up "Byte Pair Embeddings". That will also handle the OOV problem but for far less CPU/RAM overhead. BERT also does this for you with its unique form of tokenization.

A home CPU can fine-tune FastText in a day on 4 million documents if you're able to walk away from your computer for awhile. Shouldn't cost you anything except electricity. If you set the number of epochs higher, you'll get better performance but correspondingly longer times to train.

For BERT/GPT-2, you'll maybe want to fine-tune a small version of the model (say, the 117m parameter version of GPT-2) and then vertically concatenate that with the regular un-fine-tuned GPT-2 model. That should be very fast and hopefully not expensive (and also possible on your home GPU)

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#26
Cool. Last year I created something like this as a Chrome extension so that you could type in your post and it would show up on reddit where to post. You could then just select it by clicking a link. Project is here https://github.com/wesbarnett/insight

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#27

Earlier quoted context omitted.

HN doesn't get enough credit for the tight rope they walk maintaining this community. I see some people post that HN should expand to other topics a la Reddit, but the team does a great job of maintaining focus. It's not just HN's aesthetic that is minimal and no-nonsense, it's their moderation policies and the tone they set for the community. There is perfect alignment between their approach to content, community, a…

> HN doesn't get enough credit for the tight rope they walk maintaining this community You sure? Let me just check -theoretically- if you wanted to build a system to reinforce bubble thinking... how would it look different than this? There is hiding disagreeable posts, invisible moderation, and a magic karma system where 1 vote is not always 1 point. Typically this isn’t a problem, but you aren’t paying attention if…

Okay, so how would you design it differently and achieve better results? Or point to examples that do it better? If not, the criticism is highly unwarranted.

Re: Show HN: Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits

#30

Earlier quoted context omitted.

> HN doesn't get enough credit for the tight rope they walk maintaining this community You sure? Let me just check -theoretically- if you wanted to build a system to reinforce bubble thinking... how would it look different than this? There is hiding disagreeable posts, invisible moderation, and a magic karma system where 1 vote is not always 1 point. Typically this isn’t a problem, but you aren’t paying attention if…

Okay, so how would you design it differently and achieve better results? Or point to examples that do it better? If not, the criticism is highly unwarranted.

Depends what you mean by “better”. I believe this is supposed to be a bubble. The issue specifically in HN case is most people don’t realize that.

If you mean, how would I present a variety of ideas but not let it get out of control with an extreme one way or another that puts common people off... easy.

Remove the score system. That little number in the corner is cancer.

Keep the vote system but only highlight when “many” people agree or disagree. Otherwise post are presented neutrally and the merit of the content must be evaluated. Even keep they grey out system but not at 4 people disagree, at 10 or so. It’s easy enough to find 4 people here that will want to hide the fact the WHO has dropped many balls during covid including faking that video interview dropout to not address that Taiwan is its own country and not an “area of China” - doesn’t mean it’s not true.

The thing that might not be clear here is that I do think this is all intentional and you used the right word “community”... but I think the danger is even long time users don’t know this, and think their ideas are “just right”, not that they are being cultivated into the same bubble they themselves are cultivating. Is everyone aware the “community” is not entirely natural?

The easy way to think about this is to steelman a topic you know a lot about. If you were to argue the other side of a topic, how would it be presented on this site? (Example, argue some debatable aspect against anthropogenic climate change) The answer to that is most likely hidden and downvoted into oblivion, so much so that it creates a chilling effect for anyone that would disagree in the future. That is wrong imo.

Edit: if you need proof there is a bubble with chilling effect, these posts are being hidden by anonymous disagreement :D

Post reply on HN