Pith. sign in

REVIEW 3 cited by

Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2404.10308 v1 pith:AZWNGZ6G submitted 2024-04-16 cs.LG cs.AI

classification cs.LGcs.AI
keywords contextmemoryhierarchicalhomerllmsmergingtheychunks
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large language models (LLMs) have shown remarkable performance in various natural language processing tasks. However, a primary constraint they face is the context limit, i.e., the maximum number of tokens they can process. Previous works have explored architectural changes and modifications in positional encoding to relax the constraint, but they often require expensive training or do not address the computational demands of self-attention. In this paper, we present Hierarchical cOntext MERging (HOMER), a new training-free scheme designed to overcome the limitations. HOMER uses a divide-and-conquer algorithm, dividing long inputs into manageable chunks. Each chunk is then processed collectively, employing a hierarchical strategy that merges adjacent chunks at progressive transformer layers. A token reduction technique precedes each merging, ensuring memory usage efficiency. We also propose an optimized computational order reducing the memory requirement to logarithmically scale with respect to input length, making it especially favorable for environments with tight memory restrictions. Our experiments demonstrate the proposed method's superior performance and memory efficiency, enabling the broader use of LLMs in contexts requiring extended context. Code is available at https://github.com/alinlab/HOMER.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. RH-RAG: Trustworthy Long-Form Generation for Privacy-Constrained Settings

    cs.CL 2026-08 reject novelty 6.0 of 10

    A multi-agent RAG framework that adds planning, bounded memory, and NLI-based revision to local 7-8B models, reported to improve faithfulness and coherence in long-form generation.

  2. Contextualized Early Detection of Online Firestorms: A Sequential LLM-Based Approach

    cs.AI 2026-07 conditional novelty 5.0 of 10

    An LLM judging sliding windows of Reddit threads can flag escalating firestorm threads early (recall 0.98 at a mean 8.56 comments) and classify complete threads retrospectively with 0.915 accuracy.

  3. A novel language model for predicting serious adverse event results in clinical trials from their prospective registrations

    cs.CL 2025-07 conditional novelty 5.0 of 10

    A frozen ClinicalT5 embedding with a sliding window and a Transformer-plus-MLP head predicts which trial arm will have more serious adverse events with 77.6% AUC from pre-trial registration text alone.

Pith tools