HN.zip

The Road to a Billion-Token Context

10 points by pseudolus - 16 comments
Schlagbohrer [3 hidden]5 mins ago
Amazing that they are trying to solve this with hardware rather than with a new software architecture but I suppose the current technology underlying LLM software must be far and away the best theoretically or most established, or the time taken to seek a new model isn't worth it for the big companies.

I know Yann LeCun is trying to do a completely different architecture and I think that's expected to take 2-3 years before showing commercial results, right? Is that why they're finding it quicker to change the hardware?

AntiUSAbah [3 hidden]5 mins ago
Nvidia has so much money, it would be a waste if they wouldn't attack current problems on multiply points at once.

People, Researcher, Investor etc. probably also want to see what would be possible and someone has to do it.

I can also imagine, that an inferencing optimized system like this could split the context for different requests if it doesn't need to use the full context.

Could also be that they have internal use cases which require this amount of context.

Schlagbohrer [3 hidden]5 mins ago
What does this mean: "In addition, because most AI models are not trained uniformly across their maximum context length, their reasoning quality tends to degrade gradually near the limit rather than fail abruptly."

Models aren't trained across their context, their context is their short term memory at runtime, right? Nothing to do with training. They are trained on a static dataset.

smallerize [3 hidden]5 mins ago
I think it means most of the training data is short. And a lot of the long-context examples are conversations where the middle turns are less important.
AntiUSAbah [3 hidden]5 mins ago
So for the context to work well, you need some attention mechanism which makes sure that details are not getting lost due to context amount.

or lets say it differently: The LLM gets trained on static data but also on the capability of handling context in itself.

Kimi introduced this https://github.com/MoonshotAI/Attention-Residuals but i'm pretty sure closed labs like Google had something like this for a while.

andai [3 hidden]5 mins ago
Not sure how it is now, but a while back most of the training data was short interactions.

I noticed that the longer a chat gets, the more unpredictable the models behavior becomes (and I think that's still a common jailbreak technique too).

(I think it might also have something to do with RoPE, but that's beyond me.)

__alexs [3 hidden]5 mins ago
Does having 1 billion tokens mean more total tokens in the context window are actually good quality, or do we just get more dumb tokens?
RugnirViking [3 hidden]5 mins ago
the article is almost entirely about this, yes.

Current approaches require fancy tricks to fit tokens into memory, and spread attention thinner over larger numbers of tokens. The new approach tries to find a way to keep everything in a single shared memory, and process the tokens in parallel using multiple GPUs

schnitzelstoat [3 hidden]5 mins ago
Is such a large context window even desirable? It seems like it would consume an awful lot of tokens and, unless one was very careful to curate the context, could even result in worse performance.
AntiUSAbah [3 hidden]5 mins ago
Thats either the R&D part of this chip or Nvidia has the use case.

Nvidia uses ML for finetuning and architecturing their chips. this might be one use case.

Another one would be to put EVERYTHING from your company into this context window. It would be easier to create 'THE' model for every company or person. It might also be saver than having a model train with your data because you don't have a model with all your data, only memory.

AureliusMA [3 hidden]5 mins ago
I remember when a large context was 8k! Nowadays that would seem extremely small, because we have new use-cases that require much larger context sizes. Maybe in the future, we will invent ways to use inference on very large contexts that we cannot even imagine today.
faangguyindia [3 hidden]5 mins ago
imagine if you were making a database software and u could fit source code of all existing databases and their github issues in context.
withinboredom [3 hidden]5 mins ago
For larger codebases ... maybe it will cut down on "let me create a random number wrapper for the 15th time" type problems.
Weryj [3 hidden]5 mins ago
You should already have skills which mention these utilities.

But maybe that’s enough tokens to feed an entire lifetime of user behaviour in for the digital twin dystopia?

withinboredom [3 hidden]5 mins ago
"type problems" was doing the heavy lifting there, not literally "this utility".
AureliusMA [3 hidden]5 mins ago
How large would a 1 billion token kv even be ?!