Better HN
topnewbestaskshowjobs
Log inSign up

joaoli131

14 karma · joined May 12, 2025 (1y ago) · 4 submissions

Submissions

comment 8mo ago · link · parent

Adding a temporal dimension is a great idea. It would offer a fascinating perspective on the data by allowing us to track the 'semantic drift' of legal frameworks over time.

Brazil is actually a perfect use case for this: the country has had 7 different constitutions since its imperial era (https://en.wikipedia.org/wiki/History_of_the_Constitution_of...). Plotting its transitions through a monarchy, dictatorial periods, and modern democracy—alongside historical texts like the French Republics or the U.S.S.R.—would let us visualize exactly how a nation's priorities shift within the latent space across different political eras.

Thank you for the suggestion! I will seriously consider advancing the project in this direction.

2.

Show HN: Semantic atlas of 188 constitutions in 3D (30k articles, embeddings)(constitutionalmap.ai ↗)

12 points · by joaoli131 · 8mo ago · 4 comments

comment 1y ago · link · parent

Embeddings are still underrated—even in RAG.

Legal text is deeply hierarchical and full of pointers (“Art. 5 CF”, “see Art 34”). One vector per article leaves too much on the table.

Things that moved the needle for us:

– *Multi-layer embeds* vectors for every paragraph and every structural level (chapter → book). Retriever picks the right granularity. (arXiv:2411.07739)

– *Propositional queries* strip speech-act fluff (“could you please…”) before embedding. Similarity + top-k recall jump. (arXiv:2503.10654)

– *Poly-vector retrieval* two vectors per norm—one for content, one for the label/nickname. Handles “what does the CDC say?” and internal cross-refs. (arXiv:2504.10508)

*TL;DR* If your corpus has hierarchy or aliases, stop thinking “one doc = one embedding.” Plenty of juice to squeeze before heavier tricks.

[1] https://arxiv.org/abs/2411.07739 [2] https://arxiv.org/abs/2503.10654 [3] https://arxiv.org/abs/2504.10508