A startup claims it broke through a bottleneck that’s holding back LLMs


SubQ won’t replace existing top models across the board, but it could offer huge increases in speed at a fraction of the typical cost for certain tasks. Subquadratic insists that in the long run, though, its breakthrough could change how LLMs are built. “We hope we’re kicking off a new age of efficiency,” says Justin Dangel, the firm’s cofounder and CEO. “We don’t think anybody will be building on transformers in a few years.”

Attention!

To understand why Subquadratic’s claims are a big deal, let’s dig into how most LLMs work. The key mechanism inside an LLM is a type of neural network called a transformer, which runs a process known as dense attention. Today’s LLMs typically chain together multiple transformers. (The foundational paper of the LLM era, published by researchers at Google in 2017, was titled “Attention Is All You Need.”)

Dense attention works like this: When a transformer processes a chunk of text, it first encodes each word (or part of a word, known as a token) with a number. To capture the meaning of the full text, it then multiplies each of those numbers with every other number for that text. For example, a piece of text 10,000 words long would kick off almost 50 million individual multiplications. That’s a lot of computation and the main reason that LLMs are notorious power hogs.

“If you want to summarize The Great Gatsby, you have to look at the first word and the last word together, and then you have to look at every other combination,” says Dangel.

As the length of the text increases, the number of computations skyrockets. That’s because each additional number must be multiplied by all other previous numbers. Double the number of words, and you roughly quadruple the number of computations, a rate of increase known as a quadratic expansion.

(You can picture this yourself: Draw a circle and mark dots around its edge. Each dot is a token. Then draw lines between pairs of dots to represent the multiplication of those two tokens. A circle with five dots will have 10 lines crossing it. Make it 10 dots and you will have 45 lines, 20 dots and you will have 190 lines, and so on.)

Slashing costs

Subquadratic’s solution is to ditch dense attention, the core operation of a transformer, in favor of what’s known as sparse attention, which slashes the number of computations needed. Instead of multiplying the number assigned to each token by every other number, sparse attention selects just some of the numbers to multiply. The idea is that not all relationships between words in a piece of text matter.



Source link

  • Related Posts

    Today’s NYT Strands Hints, Answers and Help for Sept. 26, #937

    Looking for the most recent NYT Strands puzzle answers? CNET publishes daily answers and hints for The New York Times Mini Crossword, Connections, Connections: Sports Edition and Strands puzzles. Strands…

    Continue reading
    Tesla workers balk at training Optimus humanoid robots as replacements

    The imperfect and manually intensive manufacturing process has led to newly produced robots that require immediate fixes. Touch sensors for the robot’s hands have also proven unreliable enough so that…

    Continue reading

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    Over 500 A321neos May Have Fuselage Coating Flaw, But Airbus Says They’re Safe To Fly

    Over 500 A321neos May Have Fuselage Coating Flaw, But Airbus Says They’re Safe To Fly

    Today’s NYT Strands Hints, Answers and Help for Sept. 26, #937

    Today’s NYT Strands Hints, Answers and Help for Sept. 26, #937

    County Championship: Tribe marathon boosts Glamorgan v Essex

    County Championship: Tribe marathon boosts Glamorgan v Essex

    Colin Kaepernick on Taking a Knee and Wanting to Return to the NFL

    Colin Kaepernick on Taking a Knee and Wanting to Return to the NFL

    “And, Now… An Evil Has Appeared” – Nintendo Releases Extended Zelda: Ocarina Of Time Switch 2 Clip

    “And, Now… An Evil Has Appeared” – Nintendo Releases Extended Zelda: Ocarina Of Time Switch 2 Clip

    Nor’easter barrels down on East Coast, threatens millions with severe flooding and powerful winds

    Nor’easter barrels down on East Coast, threatens millions with severe flooding and powerful winds