News for hackers. Stuff that matters.
Re:Starting from scratch: Training a 30M Topological Transfo... by keyle on Sunday January 18, 2026 @08:01AM (#46667486)
Does this make any sense, to anyone?
Re:Starting from scratch: Training a 30M Topological Transfo... by kannanvijayan on Sunday January 18, 2026 @08:17AM (#46667592)
I think this is an attempt to try to enrich the locality model in transformers.

One of the weird things you do in transformers is add a position vector which captures the distance between the token being attended to the some other token.

This is obviously not powerful enough to express non-linear relationships - like graph relationships.

This person seems to be experimenting with doing pre-processing of the input token set, to linearly reorder it by some other heuristic that might map more closely to the actual underlying relationship between each token.

Re:Starting from scratch: Training a 30M Topological Transfo... by adroniser on Sunday January 18, 2026 @09:16AM (#46667965)
Adding the position vector is basic sure, but it's naive to think the model doesn't develop its own positional system bootstrapping on top of the barebones one.
Re:Starting from scratch: Training a 30M Topological Transfo... by thesz on Sunday January 18, 2026 @05:56PM (#46673044)
For some reason people are still adding position encodings into embeddings.

As if they are not relying on the model's ability to develop its own "positional system bootstrapping on top of the barebones one."

Re:Starting from scratch: Training a 30M Topological Transfo... by thesz on Sunday January 18, 2026 @05:54PM (#46673027)

  > like graph relationships
Once upon a time during me being language modeling researcher I built and finetuned a big (at the time - about 5 billions parameters) Sparse Non-Negative Matrix Language Model [1].

[1] https://aclanthology.org/Q16-1024/

As this model allows for mix-and-match of various contexts, one thing that I did is to have a word-sorted context. This effectively transforms position-based context into a word-set based context, where "you and me", "me and you" and "and me you" are the same.

This allowed for longer contexts and better prediction.

Re:Starting from scratch: Training a 30M Topological Transfo... by nickpsecurity on Sunday January 18, 2026 @08:42PM (#46674149)
I've saved it to look at it in the future. I also remembered Kristina Tautanova's name (your editor). Looking up recent publications, she's done interesting work on analyzing pretraining mixtures.

https://aclanthology.org/2025.acl-long.1564/

Thanks to you both for two, interesting papers tonight. :)

Re:Starting from scratch: Training a 30M Topological Transfo... by thesz on Monday January 19, 2026 @12:34PM (#46681920)
I am not an author of SNMLM paper. ;)

I was using their model in my work.

Re:Starting from scratch: Training a 30M Topological Transfo... by nickpsecurity on Monday January 19, 2026 @06:53PM (#46686219)
I misunderstood what you said.

Well, in your work, whay benefit did you get from it? And do you think it would be beneficial today combined with modern techniques? Or obsoleted by other technqiue?

(I ask because I'm finding many old techniques are still good or could be mixed with deep learning.)

Re:Starting from scratch: Training a 30M Topological Transfo... by thesz on Monday January 19, 2026 @08:03PM (#46686658)
At the time (2018), it had perplexity close to LSTM, while having more coefficients and much shorter (hours vs days) training time.

I tried to apply SNMLM's ideas to the byte-level prediction modeling here: https://github.com/thesz/snmlm-per-byte

It was not bad, but I had trouble scaling it to the 1B set. Mostly because I have not enough time.

I do hold same mindset as yours, that many old techniques are misunderstood or underapplied. For example, decision trees, in my experiments, allow for bit-length-per-byte comparable to LSTM (lstm-compress or LSTM in nncp experiments): https://github.com/thesz/codeta

Re:Starting from scratch: Training a 30M Topological Transfo... by tuned on Monday January 19, 2026 @02:08AM (#46675822)
> This is obviously not powerful enough to express non-linear relationships - like graph relationships.

the distance metrics used is based on energy-informed graphs that encode energy relations in a distribution called taumode, see my previous paper on spectral indexing for vector databases for a complete roll-out

Re:Starting from scratch: Training a 30M Topological Transfo... by liteclient on Sunday January 18, 2026 @08:17AM (#46667595)
it makes sense architecturally

they replace dot-product attention with topology-based scalar distances derived from a laplacian embedding - that effectively reduces attention scoring to a 1D energy comparison which can save memory and compute

that said, i’d treat the results with a grain of salt give there is no peer review, and benchmarks are only on 30M parameter model so far

Re:Starting from scratch: Training a 30M Topological Transfo... by reactordev on Sunday January 18, 2026 @09:10AM (#46667919)
Yup, keyword here is “under the right conditions”.

This may work well for their use case but fail horribly in others without further peer review and testing.

Re:Starting from scratch: Training a 30M Topological Transfo... by tuned on Monday January 19, 2026 @02:12AM (#46675848)
no, from my point of view is being more domain-focused instead of going full-orthogonal.
Re:Starting from scratch: Training a 30M Topological Transfo... by tuned on Monday January 19, 2026 @02:10AM (#46675839)
right. this is a proposal that needs to be tested. I started testing it on 30M parameters then I will move to a 100M and evaluate the generation on domain-specific assisting tasks
Re:Starting from scratch: Training a 30M Topological Transfo... by pwndByDeath on Sunday January 18, 2026 @09:29AM (#46668046)
No, its a new form of alchemy that turns electricity into hype. The technical jargon is more.of.a thieves cant to help identity other conmen to one another
Re:Starting from scratch: Training a 30M Topological Transfo... by postflopclarity on Sunday January 18, 2026 @10:28AM (#46668564)
that's a strange way to spell "no, I didn't understand the paper"
Re:Starting from scratch: Training a 30M Topological Transfo... by vixen99 on Sunday January 18, 2026 @02:26PM (#46671241)
Perhaps someone who does understand the paper will kindly make it a bit clearer for those of who get a bit lost.
Re:Starting from scratch: Training a 30M Topological Transfo... by Yemoshino on Monday January 19, 2026 @11:49AM (#46681194)
Honestly why I would really apprechiate something like this, hn is not an explain platform.

For sure, some words or feedback on what you understood (did you get it right) etc. yeah.

But otherwise, if you do not understand a research paper, you have to do the same hard work as everyone else. Sitting down, going through it paragraph by paragraph and learning it. This takes massive time.

and for a high level overview, chatgpt and co are really really good getting papers.

Re:Starting from scratch: Training a 30M Topological Transfo... by Yemoshino on Sunday January 18, 2026 @10:34AM (#46668618)
Try get over your ai hate.

If you need help getting more out of ai, you can use chatgpt and co to go through papers and let yourself eli5 paragarphs. 1blue3brown also has a few great videos about transformer and how they work

Re:Starting from scratch: Training a 30M Topological Transfo... by Workaccount2 on Sunday January 18, 2026 @11:53AM (#46669449)
Ideologues usually aren't great at primary source understanding/reasoning, hence why they end up with such strong opinions.
Re:Starting from scratch: Training a 30M Topological Transfo... by bee_rider on Sunday January 18, 2026 @12:20PM (#46669799)
I haven’t read the paper yet, but the graph laplacian is quite useful in reordering matrices, so it isn’t that surprising if they managed to get something out of it in ML.
Re:Starting from scratch: Training a 30M Topological Transfo... by tuned on Monday January 19, 2026 @01:43AM (#46675701)
it made sense to me as it is a very simple idea I guess: causal self-attention compute QKV distances computing on the full vectors for Q,K and V; the topological transformer can provide the same computation using Q, scalar K and V. Instead of [N², N², N²] -> [N², N, N²] is used. If generation is confirmed to be on par in terms of quality, the gains are evident.