frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Research Hacker News, ArXiv & Google with Hierarchical Bayesian Models

https://sturdystatistics.com/deepdive-search
66•kianN•1d ago
Hi Hacker News! I’m a Bayesian statistician that has been working on applying hierarchical mixture models (originally developed for genomics) to structure text data, and in the process, used these models to build (what started as a personal) tool for conducting literature reviews and deep research.

My literature review process starts with a broad search to find a few key papers/groups, and from there expands along their citation networks. I needed to conduct a few rounds of literature reviews during the course of my research and decided to build a tool to facilitate this process. The tool started as an experimental wrapper over low-level statistical software in C, quickly became a testing/iteration ground for our api, and is now my personal go-to for lit reviews.

The tool organizes corpuses of text content, visualizes the high level themes, and enables me to pull up relevant excerpts. Unlike LLMs, this model transparently organizes the data and can train from scratch quickly on small datasets to learn custom hierarchical taxonomies. My favorite part of the tool is the citation network integration: any research paper it pulls up has a button “Citation Network Deep Dive” that pulls every paper that cites or is cited by the original paper, and organizes it for further exploration.

I initially built this tool for academic research, but ended up extending it to support Hacker News to mine technical conversation, the top 200 Google results, and earnings transcripts. We have a gallery of ready to explore results on the homepage. If you are kicking off a custom deep dive, it takes about 1-5 minutes for academic search, 3-7 minutes for Hacker News, and 5-10 minutes for Google. To demonstrate the process, I put together a video walkthrough of a short literature review I conducted on AI hallucinations: https://www.youtube.com/watch?v=OUmDPAcK6Ns

I host this tool on my company’s website, free for personal use. I’d love to know if the HN community finds it useful (or to hear what breaks)!

Comments

kianN•1d ago
Some statistical notes for those interested:

Under the hood, this model resembles LDA, but replaces its Dirichlet priors with Pitman–Yor Processes (PYPs), which better capture the power-law behavior of word distributions. It also supports arbitrary hierarchical priors, allowing metadata-aware modeling.

For example, in an earnings-transcript corpus, a typical LDA might have a flat structure: Prior → Document

Our model instead uses a hierarchical graph: Uniform Prior → Global Topics → Ticker → Quarter → Paragraph

This hierarchical structure, combined with the PYP statistics, consistently yields more coherent and fine-grained topic structures than standard LDA does. There’s also a “fast mode” that collapses some hierarchy levels for quicker runs; it’s a handy option if you’re curious to see the impact hierarchy has on the model results (or in a rush).

malshe•6h ago
Very interesting! Do you have a manuscript or a technical writeup for the model? I would love to learn more about the implementation details.
kianN•6h ago
We do! We have a (very) high level overview focused on applying this model to language on our blog: https://blog.sturdystatistics.com/posts/technology/.

We have some more technical write-ups on the internals of the model that are not hosted publicly (we have some on-going publication efforts applying those model to scRNA sequencing). But feel free to shoot me an email (in my profile) and I'd be happy to send over some of our more technical documents.

malshe•5h ago
That’s great. Thanks
johnhoffman•3h ago
Curious about what you use to productionalize this; it is so cool and inspiring to see hierarchical bayes applications like this.

What is the go to "production" stack for something like this nowadays? Is Stan dead? Do you do HMC or approximations with e.g. Pyro?

kianN•3h ago
We built our own collapsed Gibbs sampler in C: PyMC/Stan are use HMC which scales only to a few hundred parameters and we are modeling millions.

Above C we built a python wrapper to help construct arbitrary Dirichlet and Pitman-Yor Processes graphs.

From there we have some python wrappers and store it all in a hierarchical DuckDB schema for fast query access.

The site itself is actually just a light wrapper around our API that simplifies this process.

jcynix•11h ago
Nice and interesting. I'm still investigating so might refine that later ;-) Can the search result be saved somehow for later use?

BTW:, the circular graphics of the result are really cool! How did you do this?

kianN•11h ago
The URL is unique to your search and saves it's state!

In the technical notes I sort of laid out our model graph on the document branch. We also have a topic branch that is also structured hierarchically: Uniform Prior → High Level Topic Word → Granular Topics → Document Lever Variation in Topics. We just directly visualize that hierarchical representation in the sunburst.

The low level model graph is all written in C and exports granular annotations of the model graph. We use the model output to annotate the original text data. We do some work to store these hierarchical results in a SQL queryable format in DuckDB.

What's cool about this process is it's all annotation based. You can query data at the topic level, analyze topics and sql, and at any point pull up the exact excerpts to which the high level data refers.

Curious what you've been using it to search for?

jcynix•11h ago
> Curious what you've been using it to search for?

For starters I've done some trivial things, like "emacs elisp" on HackerNews and now "git tutorial" on AcademicSearch. The later is still running and organizing results. But the results don't have relevance for "git" as it seems.

I'll do some searches in French and German later to see how it works with foreign languages (not searching on HackerNews, obviously ;-)

kianN•10h ago
So this may have been something worth mentioning above, but the hacker news search is exact match.
hirako2000•9h ago
It is covered in the doc. Even the plotting code is shown.

The doc also explains the UX issue of a simple sunburst graph, thus using a tiered sun burst graph.

mkmccjr•11h ago
Just tried this out, and my mind is blown: https://platform.sturdystatistics.com/deepdive?fast=0&q=camp...

I did a google search for "camping with dogs" and it organized the results into a set of about ~30 results which span everything I'd want to know on the topic: from safety and policies to products and travel logistics.

Does this work on any type of data?

kianN•11h ago
Awesome so glad the result were helpful! What's cool is because it's built on hierarchical Bayesian sampling, it is extremely robust to any input — it just kinda works.
robrenaud•11h ago
The relevance here is pretty weak.

https://sturdystatistics.com/deepdive?fast=0&q=reinforcement...

I think only 1/10 of the articles is really on topic.

kianN•11h ago
I see that the model has not yet finished training: I think you are referring to the "Raw Search Results Section".

Our tool works a little different than LLM style tools. We are doing a bulk search — for academic search, ~1000 papers — and then training a hierarchical Bayesian model to organize the results. Once the model trains, it provides a visual representation of the high level themes that you can then use to explore the results.

The trade off is we are willing to lower the relevance filter to enable a broad set of exploration.

kianN•10h ago
Quick update: I ran into a rate limit issue for one of my data sources. Apologies to anyone who has hit errors in the past 15 minutes. I think the issue should be resolved.
aster0id•10h ago
This could become the missing piece for RAG with LLMs for company data. Every query that requires a lookup can use this model and then an agentic LLM can crawl through the hierarchy of results to extract the relevant information for the user's query. I suspect that'll work much better than the current methods of chunking and storing data with metadata like title and author in a vector database and then performing a hybrid search
kianN•10h ago
That's actually an application we've had a lot of success in. This framework allows you to really easily traverse the graph at a thematic level (with sql filtering if needed), then for any high level theme, you can pull up granular excerpts. This site itself is actually just a thin wrapper over our API (https://docs.sturdystatistics.com/).
aster0id•2h ago
I'm an individual, experienced FAANG software engineer looking to build something in this space. Lmk if you want to chat about building something together
kianN•2h ago
Would love to chat. My email is in my profile if you want to drop me a line.
novoreorx•2h ago
I love this concept! I have always believed that the old methodologies used in NLP and statistics can be better and faster than new LLM technologies like embeddings, depending on the scenario. Will the code be open-sourced someday? I'm thrilled to learn from it.
kianN•2h ago
I think there is so much value and room to grow by leveraging a statistical foundation. We’re still iterating really quickly on the low level C code on a variety of applications (pharma, scRNA, text) so it might be a while before we release it standalone.

We do offer an api layer (the website is a light layer above this) over the low level statistics code focused on making it super easy to apply to language data if you are interested in playing around with it: https://docs.sturdystatistics.com

novoreorx•1h ago
Oops, didn't notice you already have a business model, surely making it a platform is better for long-term development. Wish it success!

Uv is the best thing to happen to the Python ecosystem in a decade

https://emily.space/posts/251023-uv
1409•todsacerdoti•11h ago•769 comments

Tell HN: Azure outage

708•tartieret•14h ago•661 comments

Minecraft removing obfuscation in Java Edition

https://www.minecraft.net/en-us/article/removing-obfuscation-in-java-edition
648•SteveHawk27•13h ago•236 comments

IRCd service (2024)

https://example.fi/blog/ircd.html
48•pabs3•3h ago•11 comments

China has added forest the size of Texas since 1990

https://e360.yale.edu/digest/china-new-forest-report
456•Brajeshwar•1d ago•350 comments

How ancient people saw themselves

https://worldhistory.substack.com/p/how-ancient-people-saw-themselves
43•crescit_eundo•3d ago•8 comments

Raspberry Pi Pico Bit-Bangs 100 Mbit/S Ethernet

https://www.elektormagazine.com/news/rp2350-bit-bangs-100-mbit-ethernet
110•chaosprint•6h ago•33 comments

Hello-World iOS App in Assembly

https://gist.github.com/nicolas17/966a03ce49f949dd17b0123415ef2e31
35•pabs3•3h ago•7 comments

Dithering – Part 1

https://visualrambling.space/dithering-part-1/
263•Bogdanp•11h ago•60 comments

OS/2 Warp, PowerPC Edition (2011)

https://www.os2museum.com/wp/os2-history/os2-warp-powerpc-edition/
45•TMWNN•6h ago•24 comments

Kafka is Fast – I'll use Postgres

https://topicpartition.io/blog/postgres-pubsub-queue-benchmarks
355•enether•16h ago•258 comments

AOL to be sold to Bending Spoons for $1.5B

https://www.axios.com/2025/10/29/aol-bending-spoons-deal
219•jmsflknr•13h ago•184 comments

Tailscale Peer Relays

https://tailscale.com/blog/peer-relays-beta
282•seemaze•13h ago•82 comments

Baker – Language-agnostic project scaffolder with hooks (Rust)

https://github.com/aliev/baker
6•aliev•4d ago•0 comments

Board: New game console recognizes physical pieces, with an open SDK

https://board.fun/
173•nicoles•1d ago•70 comments

One year with Next.js App Router and why we're moving on

https://paperclover.net/blog/webdev/one-year-next-app-router
30•nnx•3h ago•16 comments

OpenAI’s promise to stay in California helped clear the path for its IPO

https://www.wsj.com/tech/ai/openais-promise-to-stay-in-california-helped-clear-the-path-for-its-i...
177•badprobe•12h ago•235 comments

GLP-1 therapeutics: Their emerging role in alcohol and substance use disorders

https://academic.oup.com/jes/article/9/11/bvaf141/8277723?login=false
177•PaulHoule•2d ago•83 comments

How the U.S. National Science Foundation enabled Software-Defined Networking

https://cacm.acm.org/federal-funding-of-academic-research/how-the-u-s-national-science-foundation...
72•zdw•8h ago•19 comments

The Internet runs on free and open source software and so does the DNS

https://www.icann.org/en/blogs/details/the-internet-runs-on-free-and-open-source-softwareand-so-d...
131•ChrisArchitect•11h ago•11 comments

Why imperfection could be key to Turing patterns in nature

https://arstechnica.com/science/2025/10/why-imperfection-could-be-key-to-turing-patterns-in-nature/
9•furcyd•2d ago•0 comments

Keep Android Open

http://keepandroidopen.org/
2382•LorenDB•1d ago•757 comments

Carlo Rovelli’s radical perspective on reality

https://www.quantamagazine.org/carlo-rovellis-radical-perspective-on-reality-20251029/
11•vismit2000•1h ago•7 comments

A century of reforestation helped keep the eastern US cool (2024)

https://news.agu.org/press-release/a-century-of-reforestation-helped-keep-the-eastern-us-cool/
110•softwaredoug•6h ago•14 comments

More than DNS: Learnings from the 14 hour AWS outage

https://thundergolfer.com/blog/aws-us-east-1-outage-oct20
98•birdculture•2d ago•26 comments

Crunchyroll is destroying its subtitles

https://daiz.moe/crunchyroll-is-destroying-its-subtitles-for-no-good-reason/
241•Daiz•6h ago•79 comments

How to Obsessively Tune WezTerm

https://rashil2000.me/blogs/tune-wezterm
86•todsacerdoti•10h ago•50 comments

Eye prosthesis is the first to restore sight lost to macular degeneration

https://med.stanford.edu/news/all-news/2025/10/eye-prosthesis.html
207•gmays•1w ago•15 comments

Extropic is building thermodynamic computing hardware

https://extropic.ai/
113•vyrotek•11h ago•80 comments

Composer: Building a fast frontier model with RL

https://cursor.com/blog/composer
185•leerob•14h ago•138 comments