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
54•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).

jcynix•2h 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•2h 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•2h 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•1h ago
So this may have been something worth mentioning above, but the hacker news search is exact match.
hirako2000•15m 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•2h 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•2h 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•2h 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•2h 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•1h 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•1h 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•1h 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/).

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
26•lchoquel•1d ago•6 comments

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

https://sturdystatistics.com/deepdive-search
54•kianN•1d ago•13 comments

Show HN: Learn German with Games

https://www.learngermanwithgames.com/
84•predictand•9h ago•64 comments

Show HN: SQLite Graph Ext – Graph database with Cypher queries (alpha)

https://github.com/agentflare-ai/sqlite-graph
18•gwillen85•2h ago•12 comments

Show HN: Are You a Good Estimator?

https://estimator.dylancastillo.co/
3•dcastm•1h ago•0 comments

Show HN: HUD-like live annotation and sketching app for macOS

https://draw.wrobele.com/
46•tomaszsobota•6h ago•17 comments

Show HN: Simple Video Resizer for iOS. No ads/tracking/in-app purchases

https://github.com/spieglt/VideoResizer
2•spieglt•2h ago•2 comments

Show HN: Run Independent ATProto Networks in Docker or Kubernetes

https://github.com/blebbit/testnet
2•verdverm•2h ago•0 comments

Show HN: I Built an LSP and CLI for Ron (Rusty Object Notation)

https://github.com/jasonjmcghee/ron-lsp
2•jasonjmcghee•3h ago•0 comments

Show HN: Bash Screensavers

https://github.com/attogram/bash-screensavers
224•attogram•1d ago•75 comments

Show HN: Free Geo (SEO for LLM)

https://amplitude.com/ai-visibility
8•0xferruccio•4h ago•3 comments

Show HN: ISS in Real Time – 25 Years Aboard the International Space Station

https://issinrealtime.org
152•bfeist•2d ago•24 comments

Show HN: Kedr Programming Language

https://codeberg.org/denismarkelov/kedr
2•denismarkelov•4h ago•2 comments

Show HN: Oblivious HTTP for Go

https://github.com/confidentsecurity/ohttp
9•jmort•4h ago•0 comments

Show HN: Automate robot data quality improvement

https://github.com/RoboticsData/score_lerobot_episodes
8•machinelearning•2d ago•1 comments

Show HN: Butter – A Behavior Cache for LLMs

https://www.butter.dev/
40•edunteman•1d ago•21 comments

Show HN: Dexto – Connect your AI Agents with real-world tools and data

https://github.com/truffle-ai/dexto
36•shaunaks•1d ago•6 comments

Show HN: Qwe – Atomic Version Control System

https://github.com/mainak55512/qwe
2•mbhatt99•6h ago•0 comments

Show HN: JSON Query

https://jsonquerylang.org/
147•wofo•2d ago•68 comments

Show HN: MyraOS – My 32-bit operating system in C and ASM (Hack Club project)

https://github.com/dvir-biton/MyraOS
241•dvirbt•3d ago•54 comments

Show HN: Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang
153•yar-kravtsov•2d ago•47 comments

Show HN: Erdos – open-source, AI data science IDE

https://www.lotas.ai/erdos
84•jorgeoguerra•2d ago•32 comments

Show HN: GPU-Based Autorouting for KiCad

https://github.com/bbenchoff/OrthoRoute
5•wanderingjew•3h ago•6 comments

Show HN: Emotive Engine – Animation engine with musical time (not milliseconds)

https://github.com/joshtol/emotive-engine
4•emotiveengine•10h ago•2 comments

Show HN: Dlog – Journaling and AI coach that learns what drives wellbeing (Mac)

https://dlog.pro/
46•dr-j•2d ago•35 comments

Show HN: Git Auto Commit (GAC) – LLM-powered Git commit command line tool

https://github.com/cellwebb/gac
52•merge-conflict•2d ago•35 comments

Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf

https://fory.apache.org/blog/2025/10/29/fory_rust_versatile_serialization_framework/
66•chaokunyang•1d ago•50 comments

Show HN: Ordered – A sorted collection library for Zig

20•habedi0•1d ago•6 comments

Show HN: I was tired of people dmming me just "hi", so I made this - NoGreeting

https://nogreeting.kuber.studio
18•kuberwastaken•1d ago•17 comments

Show HN: HortusFox – FOSS system for houseplants with enterprise-scale features

https://github.com/danielbrendel/hortusfox-web
7•foxiel•19h ago•0 comments