Efficient streaming language models with attention sinks
71–75 of 75 posts
Re: Efficient streaming language models with attention sinks
#72So you take the first window or logical separatation (chapter, paragraph) and let the model summarize it into one or two sentences. Then you repeat that with the next window (and that derived sentence as context) and create a new logical separatation out out of a fixed number of sentences. Rinse and repeat until the result fits into your window.
I have a hunch that this is somewhat how the brain works when reading.
Re: Efficient streaming language models with attention sinks
#73Re: Efficient streaming language models with attention sinks
#74Did anyone ever attempt a recursive architecture? So you take the first window or logical separatation (chapter, paragraph) and let the model summarize it into one or two sentences. Then you repeat that with the next window (and that derived sentence as context) and create a new logical separatation out out of a fixed number of sentences. Rinse and repeat until the result fits into your window. I have a hunch that th…
Re: Efficient streaming language models with attention sinks
#75I feel like all these approaches kind of equivalent to a fully dense attention matrix over a smaller context, but carefully curating what goes into the context, also known to us humans as summarizing each bit of text, or (perhaps less efficiently) going through a textbook with a highlighter.
My intuition is that the winning approach will be a small (ish), lets say 8k context, with efficient an summarization and dynamic information retrieval scheme.