PLASH: Provably Linear-Time Attention with Selective Higher-Order Feature Sketching
Abstract
Lay Summary
AI systems that read and write text compare every word in a passage with every other word. For a long document this resembles asking each person in a huge crowd to shake hands with everyone else: the effort explodes as the crowd grows, making long inputs slow and costly to process. Our method, PLASH, takes a shortcut. It condenses the text into a small set of representative summaries, enriches them so they keep the important detail, and lets each word consult only those summaries instead of the whole crowd. The effort then grows in proportion to the text length, not its square. For every input, PLASH also computes a guarantee: a number showing how far its fast answer can stray from the exact one, so users know when to trust it. In tests on long books and real forecasting data, PLASH ran more than twice as fast as the leading method while matching its accuracy, and its guarantee held on all 35,000 real test cases. On long inputs, it makes AI cheaper, faster, and more reliable.