Researchers have evaluated the state composition method for RWKV-7 recurrent language models, which allows combining independently computed states without re-reading documents. The algebraic rule for a single layer is exact, but in multi-layer networks, it serves as an approximation because upper-layer inputs depend on the preceding context.

The study tested models ranging from 0.4B to 7.2B parameters using synthetic information retrieval tasks and QA datasets like SQuAD, HotpotQA, and SberQuAD. Results indicate that using full transition matrices is more effective than diagonal approximations or simple state summation, especially as the number of documents increases.

The composition process is computationally efficient, taking 0.65–1.55 ms per document on a MacBook M4 Air. However, cache construction adds 6–19% to the prefill time. Experiments show that while the 7.2B model performs reliably, the accuracy of the composition depends on the specific checkpoint rather than a simple scaling law.

The research highlights that the primary source of error in multi-layer networks is contextual rather than numerical. While the algebraic composition is precise, the discrepancy arises because documents cached in isolation differ from those processed in a continuous stream where upper layers receive different inputs.