cs.CLOct 2, 2026

Periscope: Extending Frozen Language Models Beyond Their Context Window

Authors: Mohamed Eltahir, Anas Obayd, Raed Rashid, Abdulrahman Alghamdi, Abdulrahman Mousa, Abdallah Ahmed, Tanveer Hussain, Naeemullah Khan

Organizations: King Abdullah University of Science and Technology (KAUST), Thuwal, Saudi Arabia · Department of Computer Science, Edge Hill University, Ormskirk, England

Abstract

A language model reads long text in one quadratic forward pass, stops at the context window, and loses accuracy with length before reaching it. We ask whether the read can be factorized when deciding over a finite set: which document is relevant, which option is supported, which passage is the evidence. Periscope, a training-free inference method, arranges the NN chunks of a text on a K×KK{\times}K grid with K=⌈N⌉K{=}\lceil\sqrt{N}\rceil and asks a frozen model the same question about KK local spans of consecutive chunks and KK strided spans that sample the whole text, reading the log-odds of every answer at one token. Each answer takes its best local and strided score, and scoring every chunk by its two spans gives an evidence map at no further cost, whose peak is the chunk behind the answer. Every probe is about sc\sqrt{sc} tokens for a text of ss tokens and chunk size cc, so a window of WW tokens reaches W2/cW^{2}/c tokens at s1.5s^{1.5} cost. The map replaces the long read. On LongBench v2, reading only the KK chunks the map ranks highest, 9k tokens, matches the same model's best window read across windows from 32k to 1M tokens, and on InfiniteBench, where the median context is 150k tokens, it leads the best window read by 5 points. The same map ranks BRIGHT's long-document corpora with the best NDCG@10 of six methods. Each call caches only one probe, so a 27B model reads 4.5M-token contexts on one 80GB GPU, where a single pass would need 296GB of cache. A long read then needs a GPU that holds the model, not one that holds the text.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Using LMs to Model the Effects of Context and Coreference during Sentence Comprehension

    Sep 26, 2026Kohei Kajikawa, Lin Ai, Tatsuki Kuribayashi +1Computational PsycholinguisticsLong-Context Language Modeling

  2. SCOUT: Active Information Foraging for Long-Text Understanding with Decoupled Epistemic States

    May 6, 2026Zhenliang Zhang, Wenqing Wang, Yong Hu +4Document UnderstandingLong-Context QA