Skip to content
View original post on X: ZyphraOfficial
Published
32/100

Zyphra's ZHA routes KV cache lookups through a summary tree

AIZyphra introduces ZHA, which applies a hierarchical search to the KV cache. It recursively summarizes chunks of keys into a tree and routes queries top-down.
ZyphraVerified on XOfficial
@ZyphraAI
View on X

Part of a thread · earlier post

Finding a passage in a long book? Look for the right chapter, then section, rather than rereading every sentence.

ZHA applies the same idea to the KV cache. We recursively summarize chunks into a tree and route top-down. If a node is skipped, all keys under it aren’t scored.

Source details

Zyphra · x.comPublished · added here

Original title: Finding a passage in a long book? Look for the right chapter, then section, rather than rereading every sentence.