v1.0 → v7.0
What changed from v1.0 to v7.0
From v1.0 (24 Feb) to v7.0 (1 Apr): 4,725 words to 5,955 words, 2,051 words in new or rewritten paragraphs and 821 taken out, 176 paragraphs changed.
Renamed Fractal Reasoning; adds self-similar reasoning to fractal memoryThe paper changes its name from Fractal Memory Index to Fractal Reasoning and widens its claim. The same self-similarity now applies to how an agent thinks, not only to how it stores memory. The memory design stays, with its cost claims restated.
- New section, Fractal Metacognition: an agent reasons at the level of the task, of its own method and of patterns across tasks, using the same reflective step at each level.
- New notation section, and a section that asks what the fractal framing adds over a plain hierarchy, which replaces a shorter comparison.
- The abstract and introduction now present both halves, memory and reasoning.
- Search cost is now given per number of levels, and the write cost as constant on average. The earlier claim that FMI beats every other system on every operation and the 10× storage estimate are gone.
- The paper now says plainly that it is a theory and a research plan.
v1.0 · 24 February 2026v7.0 · 1 April 2026
v1.0 · Fractal Memory Index: A Self-Similar Architecture for Scalable Long-Term Memory in Large Language Models# Fractal Memory Index: A Self-Similar Architecture for Scalable Long-Term Memory in Large Language Models
removed in v7.0
not in v1.0
v7.0 · Fractal Reasoning# Fractal Reasoning
v1.0 · Fractal Reasoning**Author:** Research Report — Oscar / JarvisOne AI Research **Date:** February 2026 **Keywords:** fractal data structures, LLM memory, retrieval-augmented generation, self-similarity, memory compression, hierarchical indexing
v7.0 · Fractal Reasoning**Author:** Research Report — Oscar / JarvisOne AI Research **Version:** v7.0 **Date:** March 2026 **Keywords:** fractal data structures, LLM memory, retrieval-augmented generation, self-similarity, memory compression, hierarchical indexing, fractal metacognition
··· 2 unchanged paragraphs folded ···
v1.0 · AbstractLarge Language Models face fundamental memory limitations: fixed context windows, linear KV-cache growth, and flat retrieval architectures that fail to capture multi-scale semantic structure. We propose the **Fractal Memory Index (FMI)**, a novel memory architecture that applies three principles from fractal mathematics to LLM memory systems: (1) **Bε-tree-inspired buffered consolidation** for write-optimized memory ingestion, (2) **Hilbert-curve multi-resolution indexing** for locality-preserving retrieval across semantic granularities, and (3) **Iterated Function System (IFS) semantic compression** for compact memory representation. We provide theoretical analysis showing that FMI achieves O(log n / log B) multi-resolution retrieval, O(log n / (ε·B^(1-ε))) amortized memory writes, and potentially O(d/D) compression ratios where d is the intrinsic fractal dimension of the semantic embedding space and D is the ambient dimension. We compare FMI against RAPTOR, MemGPT, standard RAG, and KV-cache compression methods, demonstrating theoretical advantages in storage efficiency, retrieval flexibility, and write throughput. We argue that existing systems like RAPTOR already exploit fractal-like self-similarity implicitly, and that formalizing this connection yields principled improvements. We identify IFS-based semantic compression as the primary open research challenge and propose concrete experiments for validation.
removed in v7.0
not in v1.0
v7.0 · AbstractLLM-based agents store and retrieve information at a single granularity, yet language, knowledge, and reasoning exhibit statistical self-similarity across scales. We propose **Fractal Reasoning**, a framework that applies fractal mathematics to both the _data structures_ and the _cognitive processes_ of LLM-based systems. The **Fractal Memory Index (FMI)** integrates buffered consolidation for write-optimized ingestion, Hilbert-curve multi-resolution indexing for locality-preserving retrieval, and Iterated Function System (IFS) semantic compression. **Fractal Metacognition** structures agent reasoning into self-similar levels — task, process, and meta-pattern — where each level applies the same reflective operation at a different cognitive scale. Theoretical analysis shows O(1) amortized writes and O(L · log_B n) multi-resolution retrieval. We compare FMI against RAPTOR, MemGPT, standard RAG, and KV-cache compression, and show that existing systems like RAPTOR already exploit fractal self-similarity implicitly. This is a theoretical contribution and research agenda; empirical validation is the primary next step.
··· 2 unchanged paragraphs folded ···
v1.0 · 1. IntroductionThe memory problem in Large Language Models is multifaceted and increasingly urgent. As LLMs are deployed in long-running agent systems, personal assistants, and enterprise knowledge platforms, they must manage growing bodies of information that far exceed their fixed context windows. Current solutions fall into several categories: retrieval-augmented generation (RAG) (Lewis et al., 2020), hierarchical retrieval (Sarthi et al., 2024), operating-system-inspired memory management (Packer et al., 2023), and KV-cache compression (Xiao et al., 2023; Zhang et al., 2024a). Each addresses a subset of the problem but none provides a unified framework.
v7.0 · 1. IntroductionAs LLMs power long-running agent systems, personal assistants, and enterprise knowledge platforms, they must manage information that far exceeds fixed context windows. Current solutions — retrieval-augmented generation (Lewis et al., 2020), hierarchical retrieval (Sarthi et al., 2024), OS-inspired memory management (Packer et al., 2023), and KV-cache compression (Xiao et al., 2023; Zhang et al., 2024a) — each address fragments of the problem. None provides a unified framework.
v1.0 · 1. IntroductionWe observe that these memory challenges share a common structure that fractal mathematics is uniquely positioned to address. Specifically:
v7.0 · 1. IntroductionWe observe that these challenges share a common structure that fractal mathematics is well-positioned to address:
v1.0 · 1. Introduction1. **Scale invariance in semantic content.** Documents, conversations, and knowledge bases exhibit statistical self-similarity: the distribution of topics within a corpus mirrors the distribution of subtopics within a document, which mirrors the distribution of concepts within a paragraph. This is reflected in well-known power-law distributions in natural language (Zipf, 1949; Mandelbrot, 1953).
v7.0 · 1. Introduction1. **Scale invariance in semantic content.** Documents, conversations, and knowledge bases exhibit statistical self-similarity: the distribution of topics within a corpus mirrors the distribution of subtopics within a document, which mirrors the distribution of concepts within a paragraph. This reflects well-known power-law distributions in natural language (Zipf, 1949; Mandelbrot, 1953).
v1.0 · 1. Introduction2. **Multi-resolution retrieval needs.** Users and downstream tasks require information at varying levels of abstraction — sometimes a gist, sometimes a specific detail. Flat vector retrieval returns results at a single granularity.
v7.0 · 1. Introduction2. **Multi-resolution retrieval needs.** Users and downstream tasks require information at varying abstraction levels — sometimes a gist, sometimes a specific detail. Flat vector retrieval returns results at a single granularity.
v1.0 · 1. Introduction3. **Asymmetric read/write patterns.** Memory systems ingest information continuously but retrieve it on demand. This asymmetry matches the performance profile of fractal tree indexes, which are write-optimized.
v7.0 · 1. Introduction3. **Asymmetric read/write patterns.** Memory systems ingest information continuously but retrieve on demand. This asymmetry matches the performance profile of write-optimized tree indexes.
v1.0 · 1. Introduction4. **Biological precedent.** The hippocampal-neocortical memory consolidation system exhibits fractal-like properties: hierarchical organization, multi-scale temporal dynamics, and iterative compression during sleep-replay (McClelland et al., 1995; Buzsáki, 1996).
v7.0 · 1. Introduction4. **Biological precedent.** The hippocampal-neocortical memory consolidation system exhibits properties suggestive of fractal organization: hierarchical structure, multi-scale temporal dynamics, and iterative compression during sleep-replay (McClelland et al., 1995; Buzsáki, 1996). We draw on these parallels as architectural inspiration, not as direct evidence (see §2.3).
v1.0 · 1. IntroductionThese observations motivate our proposal: the **Fractal Memory Index (FMI)**, an architecture that formalizes the self-similar structure of semantic memory and exploits it for compression, efficient retrieval, and write optimization.
removed in v7.0
not in v1.0
v7.0 · 1. IntroductionThe fractal structure of intelligence extends beyond data. Most current LLM agents concentrate cognitive effort at a single level — the task at hand — with limited systematic mechanisms for accumulating meta-level insights across reasoning episodes. (Tree-of-thought and self-reflection approaches address aspects of this within single episodes; see §9.1.) Effective reasoning benefits from self-similarity across cognitive scales: an agent solving a problem (Level 1) benefits from reflecting on its problem-solving strategy (Level 2), which benefits from recognizing patterns across strategies (Level 3). Each level applies the same reflective operation at a different scale — and each discovers insights invisible from the level below.
not in v1.0
v7.0 · 1. IntroductionThese observations motivate **Fractal Reasoning**: an architecture that applies self-similarity to both the storage infrastructure and the cognitive processes of LLM-based systems.
··· 1 unchanged paragraph folded ···
not in v1.0
v7.0 · 1.1 ContributionsThis paper is a theoretical contribution and research agenda. We present:
v1.0 · 1.1 Contributions- A formal analysis of self-similarity in LLM memory systems, connecting fractal mathematics to practical memory challenges. - The FMI architecture integrating three fractal components: buffered consolidation, space-filling curve indexing, and IFS-based compression. - Theoretical complexity analysis comparing FMI to existing approaches. - Identification of RAPTOR's implicit fractal structure and how formalizing it yields improvements. - A concrete research agenda for validating IFS-based semantic compression.
v7.0 · 1.1 Contributions- A formal analysis of self-similarity in LLM memory systems, connecting fractal mathematics to practical memory challenges. - The FMI architecture integrating three components: buffered consolidation, space-filling curve indexing, and IFS-based compression. - Theoretical complexity analysis comparing FMI to existing approaches. - Identification of RAPTOR's implicit fractal structure and how formalizing it yields improvements. - **Fractal Metacognition**: a framework for self-similar reasoning across cognitive scales, connecting fractal data structures to fractal cognition. - A concrete research agenda for empirical validation, particularly IFS-based semantic compression.
not in v1.0
v7.0 · 1.2 Notation### 1.2 Notation
not in v1.0
v7.0 · 1.2 Notation| Symbol | Meaning | | ------ | ---------------------------------------------------------- | | n | Number of memories in the store | | D | Ambient embedding dimension (e.g., 768, 1024, 4096) | | d | Intrinsic fractal dimension of the embedding space | | B | Block/branching factor of the Bε-tree | | ε | Bε-tree buffer parameter controlling write/read tradeoff | | L | Number of granularity levels in multi-resolution retrieval | | k | Number of IFS contractive mappings | | τ_ℓ | Retrieval threshold at granularity level ℓ |
not in v1.0
v7.0 · 1.2 NotationThroughout, we use _memory_ to denote a discrete unit of stored information: a text chunk, conversation turn, observation, or their compressed representation.
··· 3 unchanged paragraphs folded ···
v1.0 · 2.1 Fractal Mathematics: Key Concepts**Self-similarity** describes objects whose parts resemble the whole at different scales. A set S is *exactly self-similar* if S = ∪ᵢ fᵢ(S) for a finite set of contractive maps {fᵢ}. More relevant to natural data is *statistical self-similarity*, where statistical properties are invariant under scaling.
v7.0 · 2.1 Fractal Mathematics: Key Concepts**Self-similarity** describes objects whose parts resemble the whole at different scales. A set S is _exactly self-similar_ if S = ∪ᵢ fᵢ(S) for a finite set of contractive maps {fᵢ}. More relevant to natural data is _statistical self-similarity_, where statistical properties are invariant under scaling.
··· 2 unchanged paragraphs folded ···
v1.0 · 2.1 Fractal Mathematics: Key Conceptswhere N(ε) is the number of ε-boxes needed to cover S. When d_B < D, the set is "fractal" and admits compression: it occupies a d_B-dimensional submanifold of D-dimensional space.
v7.0 · 2.1 Fractal Mathematics: Key Conceptswhere N(ε) is the number of ε-boxes needed to cover S. When d_B < D, the set occupies a lower-dimensional submanifold of D-dimensional space, creating the opportunity for compression.
v1.0 · 2.1 Fractal Mathematics: Key Concepts**Iterated Function Systems (IFS)** (Barnsley, 1988) are finite collections of contractive mappings {f₁, ..., fₖ} on a complete metric space. By the Banach Fixed Point Theorem, there exists a unique compact set (the *attractor*) A such that A = ∪ᵢ fᵢ(A). The **Collage Theorem** provides the key insight for compression: if the attractor of an IFS approximates a target set, then the IFS code (the set of contractive maps) provides a compact representation.
v7.0 · 2.1 Fractal Mathematics: Key Concepts**Iterated Function Systems (IFS)** (Barnsley, 1988) are finite collections of contractive mappings {f₁, ..., fₖ} on a complete metric space. By the Banach Fixed Point Theorem, there exists a unique compact set (the _attractor_) A such that A = ∪ᵢ fᵢ(A). The **Collage Theorem** provides the key insight for compression: if the attractor of an IFS approximates a target set, then the IFS code (the set of contractive maps) provides a compact representation.
v1.0 · 2.1 Fractal Mathematics: Key Concepts**Space-filling curves** map the unit interval [0,1] surjectively onto [0,1]ᴰ while preserving locality. The **Hilbert curve** (Hilbert, 1891) provides optimal locality preservation: nearby points on the curve correspond to nearby points in the higher-dimensional space. This property is exploited in database indexing for efficient range queries over multidimensional data (Lawder & King, 2000).
v7.0 · 2.1 Fractal Mathematics: Key Concepts**Space-filling curves** map the unit interval [0,1] surjectively onto [0,1]ᴰ while preserving locality. The **Hilbert curve** (Hilbert, 1891) provides optimal locality preservation among space-filling curves: nearby points on the curve correspond to nearby points in the higher-dimensional space. This property is exploited in database indexing for efficient range queries over multidimensional data (Lawder & King, 2000).
v1.0 · 2.1 Fractal Mathematics: Key Concepts**Bε-trees** (Brodal & Fagerberg, 2003) generalize B-trees by adding message buffers to internal nodes. The parameter ε ∈ (0, 1] controls the tradeoff between insert and query performance. With branching factor B: - Insert: O(log_B N / (ε · B^(1-ε))) amortized I/Os - Point query: O(log_B N / ε) I/Os - Range query of k results: O(log_B N / ε + k/B) I/Os
v7.0 · 2.1 Fractal Mathematics: Key Concepts**Bε-trees** (Brodal & Fagerberg, 2003) generalize B-trees by adding message buffers to internal nodes. The parameter ε ∈ (0, 1] controls the tradeoff between insert and query performance. With branching factor B:
not in v1.0
v7.0 · 2.1 Fractal Mathematics: Key Concepts- Insert: O(log_B N / (ε · B^(1-ε))) amortized I/Os - Point query: O(log_B N / ε) I/Os - Range query of k results: O(log_B N / ε + k/B) I/Os
··· 2 unchanged paragraphs folded ···
v1.0 · 2.2 Existing LLM Memory Systems**Retrieval-Augmented Generation (RAG)** (Lewis et al., 2020) augments LLM generation with retrieved documents. Standard RAG chunks documents into fixed-size segments, embeds them with a dense encoder, stores them in a vector database, and retrieves the top-k most similar chunks at query time. Limitations include: chunk boundary artifacts, flat retrieval at a single granularity, and no mechanism for memory consolidation or compression.
v7.0 · 2.2 Existing LLM Memory Systems**Retrieval-Augmented Generation (RAG)** (Lewis et al., 2020) augments LLM generation with retrieved documents. Standard RAG chunks documents into fixed-size segments, embeds them, stores them in a vector database, and retrieves the top-k most similar chunks at query time. Limitations: chunk boundary artifacts, flat single-granularity retrieval, no consolidation or compression.
v1.0 · 2.2 Existing LLM Memory Systems**RAPTOR** (Sarthi et al., 2024) constructs a hierarchical summary tree by recursively clustering and summarizing text chunks. Using UMAP for dimensionality reduction and Gaussian Mixture Models for clustering, RAPTOR builds a tree where leaf nodes are original chunks and internal nodes are progressively more abstract summaries. Retrieval can occur at any level, enabling multi-granularity access. RAPTOR achieves state-of-the-art results on question-answering benchmarks requiring multi-step reasoning over long documents.
v7.0 · 2.2 Existing LLM Memory Systems**RAPTOR** (Sarthi et al., 2024) constructs a hierarchical summary tree by recursively clustering and summarizing text chunks. Using UMAP for dimensionality reduction and Gaussian Mixture Models for clustering, RAPTOR builds a tree where leaf nodes are original chunks and internal nodes are progressively more abstract summaries. Retrieval occurs at any level, enabling multi-granularity access. RAPTOR achieves state-of-the-art results on question-answering benchmarks requiring multi-step reasoning over long documents.
v1.0 · 2.2 Existing LLM Memory Systems**MemGPT** (Packer et al., 2023) treats the LLM context window as "RAM" and external storage as "disk," implementing virtual memory management where the LLM itself decides what to page in and out. This enables unbounded conversation history but introduces overhead from self-managed memory operations and does not address the underlying storage efficiency.
v7.0 · 2.2 Existing LLM Memory Systems**MemGPT** (Packer et al., 2023) treats the LLM context window as "RAM" and external storage as "disk," implementing virtual memory management where the LLM decides what to page in and out. MemGPT uses vector search for its external storage but adds a paging layer that manages what enters the context window. This enables unbounded conversation history but introduces overhead from self-managed memory operations.
v1.0 · 2.2 Existing LLM Memory Systems**KV-Cache Compression** addresses inference-time memory bottlenecks. Approaches include quantization (KIVI: 2-bit KV cache, Hooper et al., 2024), token eviction (H2O: Heavy-Hitter Oracle, Zhang et al., 2024b; StreamingLLM: attention sinks, Xiao et al., 2023), and paging (vLLM: PagedAttention, Kwon et al., 2023). These methods reduce memory footprint by 2-8× but operate at the token level without semantic awareness.
v7.0 · 2.2 Existing LLM Memory Systems**KV-Cache Compression** addresses inference-time memory bottlenecks. Approaches include quantization (KIVI: 2-bit KV cache, Hooper et al., 2024), token eviction (H2O: Heavy-Hitter Oracle, Zhang et al., 2024b; StreamingLLM: attention sinks, Xiao et al., 2023), and paging (vLLM: PagedAttention, Kwon et al., 2023). These reduce memory footprint by 2-8× but operate at the token level without semantic awareness.
v1.0 · 2.2 Existing LLM Memory Systems**HippoRAG** (Gutiérrez et al., 2024) and **Mem0** (2024) integrate knowledge graphs with retrieval, adding relational structure to flat vector stores. These represent a step toward structured memory but remain fundamentally non-fractal.
v7.0 · 2.2 Existing LLM Memory Systems**HippoRAG** (Gutiérrez et al., 2024) and **Mem0** (2024) integrate knowledge graphs with retrieval, adding relational structure to flat vector stores. These represent a step toward structured memory but do not exploit self-similarity.
··· 1 unchanged paragraph folded ···
v1.0 · 2.3 Neuroscience of Memory ConsolidationThe hippocampal-neocortical memory system provides a biological template for LLM memory design. Key principles include:
v7.0 · 2.3 Neuroscience of Memory ConsolidationThe hippocampal-neocortical memory system provides architectural intuition for memory system design:
··· 1 unchanged paragraph folded ···
v1.0 · 2.3 Neuroscience of Memory Consolidation**Sleep replay** (Buzsáki, 1996; Diekelmann & Born, 2010): During sleep, hippocampal sharp-wave ripples replay compressed versions of waking experiences, driving synaptic consolidation in neocortex. This is temporally nested: slow oscillations (< 1 Hz) modulate sleep spindles (12-15 Hz), which modulate ripples (80-120 Hz) — a *hierarchical temporal structure* with self-similar nesting.
v7.0 · 2.3 Neuroscience of Memory Consolidation**Sleep replay** (Buzsáki, 1996; Diekelmann & Born, 2010): During sleep, hippocampal sharp-wave ripples replay compressed versions of waking experiences. This is temporally nested: slow oscillations (< 1 Hz) modulate sleep spindles (12-15 Hz), which modulate ripples (80-120 Hz) — a hierarchical temporal structure with self-similar nesting.
v1.0 · 2.3 Neuroscience of Memory Consolidation**Hierarchical Temporal Memory** (Hawkins et al., 2004; 2019): Numenta's HTM framework models neocortical computation using cortical columns that repeat the same algorithm at every level, implementing a self-similar processing hierarchy with sparse distributed representations.
v7.0 · 2.3 Neuroscience of Memory Consolidation**Hierarchical Temporal Memory** (Hawkins et al., 2004; 2019): Numenta's HTM framework models neocortical computation using cortical columns that repeat the same algorithm at every level — a self-similar processing hierarchy with sparse distributed representations.
not in v1.0
v7.0 · 2.3 Neuroscience of Memory ConsolidationThese biological systems evolved under different constraints than LLM architectures. The parallels are structural, not mechanistic: both domains benefit from two-speed encoding, hierarchical organization, and lossy consolidation.
··· 2 unchanged paragraphs folded ···
v1.0 · 3. The Fractal Memory Index ArchitectureWe propose the Fractal Memory Index (FMI), a three-component architecture that maps fractal principles to LLM memory operations.
v7.0 · 3. The Fractal Memory Index ArchitectureThe Fractal Memory Index (FMI) is a three-component architecture that maps fractal principles to LLM memory operations.
··· 1 unchanged paragraph folded ···
v1.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)Inspired by Bε-trees and hippocampal-neocortical consolidation, BMC separates memory ingestion from memory organization.
v7.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)Inspired by Bε-trees and the two-speed structure of hippocampal-neocortical consolidation, BMC separates memory ingestion from memory organization.
v1.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)**Architecture:** New memories (text chunks, conversation turns, observations) enter a *write buffer* — an append-only log analogous to the hippocampal buffer. Periodically, a *consolidation process* merges buffered entries into the persistent memory index, performing clustering, summarization, and compression.
v7.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)**Architecture:** New memories (text chunks, conversation turns, observations) enter a _write buffer_ — an append-only log. Periodically, a _consolidation process_ merges buffered entries into the persistent memory index, performing clustering, summarization, and compression.
··· 2 unchanged paragraphs folded ···
not in v1.0
v7.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)where Consolidate performs:
v1.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)where Consolidate performs: 1. **Clustering**: Group related memories using embedding similarity 2. **Summarization**: Generate abstract representations of clusters (à la RAPTOR) 3. **Compression**: Apply IFS coding to redundant memories (see §3.3) 4. **Eviction**: Remove memories whose information is fully captured by higher-level summaries
v7.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)1. **Clustering**: Group related memories using embedding similarity 2. **Summarization**: Generate abstract representations of clusters (as in RAPTOR) 3. **Compression**: Apply IFS coding to redundant memories (see §3.3) 4. **Eviction**: Remove memories whose information is fully captured by higher-level summaries
··· 1 unchanged paragraph folded ···
v1.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)**Biological analogy:** The write buffer ↔ hippocampal episodic store. Consolidation ↔ sleep replay. The persistent index ↔ neocortical semantic memory. The key insight from neuroscience is that consolidation is *lossy by design* — memories are compressed into gists, with details available only if explicitly retained.
v7.0 · 3.1 Component 1: Buffered Memory Consolidation (BMC)**Biological parallel:** The write buffer corresponds to episodic encoding, consolidation to offline replay, and the persistent index to long-term semantic storage. The key design insight — borrowed from neuroscience — is that consolidation is _lossy by design_: memories compress into gists, with details available only if explicitly retained.
··· 2 unchanged paragraphs folded ···
v1.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)**Architecture:** HMRI maps the D-dimensional embedding space onto a 1D Hilbert curve, then indexes this curve using a Bε-tree with augmented nodes. Each node in the tree stores: - The Hilbert-curve interval it covers - Summary embeddings at multiple granularity levels (leaf, cluster, super-cluster) - Pointers to both the raw memories and their compressed representations
v7.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)**Architecture:** HMRI maps the D-dimensional embedding space onto a 1D Hilbert curve, then indexes this curve using a Bε-tree with augmented nodes. Each node stores:
not in v1.0
v7.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)- The Hilbert-curve interval it covers - Summary embeddings at multiple granularity levels (leaf, cluster, super-cluster) - Pointers to both raw memories and their compressed representations
not in v1.0
v7.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)**Multi-resolution retrieval:** Given a query q, HMRI performs:
v1.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)**Multi-resolution retrieval:** Given a query q, HMRI performs: 1. Compute the Hilbert index h(q) of the query embedding 2. Traverse the Bε-tree, collecting matches at each level of the tree hierarchy 3. Return results ranked by relevance at the requested granularity (or all granularities)
v7.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)1. Compute the Hilbert index h(q) of the query embedding 2. Traverse the Bε-tree, collecting matches at each level of the hierarchy 3. Return results ranked by relevance at the requested granularity (or all granularities)
··· 2 unchanged paragraphs folded ···
v1.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)where embed_ℓ is the embedding function at granularity level ℓ and τ_ℓ is the corresponding threshold. The Hilbert-curve structure ensures that scanning a contiguous interval in the index covers a compact region in embedding space.
v7.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)where embed*ℓ is the embedding function at granularity level ℓ and τ*ℓ is the corresponding threshold. The Hilbert-curve structure ensures that scanning a contiguous interval in the index covers a compact region in embedding space.
v1.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)**Complexity:** Point query: O(log_B n / ε). Multi-resolution query across L levels: O(L · log_B n / ε). This is a multiplicative L factor over single-resolution retrieval, but L is typically small (3-5 levels), and the constant factors are favorable due to cache-friendly sequential access along the Hilbert curve.
v7.0 · 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)**Complexity:** Point query: O(log_B n / ε). Multi-resolution query across L levels: O(L · log_B n / ε). L is typically small (3-5 levels), and constant factors are favorable due to cache-friendly sequential access along the Hilbert curve.
··· 2 unchanged paragraphs folded ···
v1.0 · 3.3 Component 3: IFS Semantic Compression (ISC)This is the most speculative and potentially most impactful component. The hypothesis is that semantic embeddings in LLM memory exhibit statistical self-similarity, and that this self-similarity can be exploited for compression using IFS-inspired techniques.
removed in v7.0
not in v1.0
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)ISC is the most novel and least validated component of FMI. Its viability depends on an empirical hypothesis that has not yet been tested. We present it as a research direction with theoretical grounding.
v1.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Hypothesis:** Let E = {e₁, ..., eₙ} be a set of embedding vectors for memories in a domain. If E has fractal dimension d_B < D (the ambient embedding dimension), then there exist contractive mappings {f₁, ..., fₖ} such that the attractor A ≈ E, and k ≪ n.
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Hypothesis:** Let E = {e₁, ..., eₙ} be embedding vectors for memories in a domain. If E has fractal dimension d_B < D (the ambient embedding dimension), then there exist contractive mappings {f₁, ..., fₖ} such that the attractor A ≈ E, and k ≪ n.
not in v1.0
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Compression scheme:**
v1.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Compression scheme:** 1. **Analysis phase:** Estimate the fractal dimension of the embedding space using box-counting. Identify self-similar sub-regions using correlation analysis at multiple scales. 2. **Encoding phase:** For each memory cluster, find the IFS code (set of affine contractions) whose attractor best approximates the cluster's embedding distribution. Store the IFS codes instead of raw embeddings. 3. **Decoding phase:** To retrieve, iterate the IFS to reconstruct embeddings at the desired resolution. Apply the Collage Theorem to bound approximation error.
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)1. **Analysis phase:** Estimate the fractal dimension of the embedding space using box-counting. Identify self-similar sub-regions via correlation analysis at multiple scales. 2. **Encoding phase:** For each memory cluster, find the IFS code (set of affine contractions) whose attractor best approximates the cluster's embedding distribution. Store the IFS codes instead of raw embeddings. 3. **Decoding phase:** Iterate the IFS to reconstruct embeddings at the desired resolution. Apply the Collage Theorem to bound approximation error.
v1.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Theoretical compression ratio:** If the embedding space has intrinsic fractal dimension d and ambient dimension D, the compression ratio scales as O(d/D). For typical LLM embeddings (D = 768-4096) with estimated intrinsic dimensionality of 50-200 (based on persistent homology studies of embedding spaces; Birdal et al., 2021), this suggests compression ratios of 4-80×.
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Theoretical compression ratio:** If the embedding space has intrinsic fractal dimension d and ambient dimension D, the compression ratio scales as O(d/D). For typical LLM embeddings (D = 768-4096) with estimated intrinsic dimensionality of 50-200 (based on persistent homology studies; Birdal et al., 2021), this suggests compression ratios in a range that depends heavily on domain structure and embedding model. We deliberately avoid quoting a single range here — the actual ratio is an empirical question that §7.1 proposes to answer.
not in v1.0
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Practical considerations:**
v1.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Practical considerations:** - The IFS codes are *learned*, not analytically derived. This requires training a small model to find contractive mappings that minimize reconstruction error. - Compression is asymmetric: encoding (finding the IFS) is expensive; decoding (iterating the IFS) is cheap. This matches the consolidation model — compression happens during offline consolidation, not during real-time retrieval. - Error bounds from the Collage Theorem guarantee that if the collage distance is δ, the reconstruction error is at most δ/(1-s), where s is the maximum contractivity.
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)- The IFS codes are _learned_, not analytically derived. This requires training a small model to find contractive mappings that minimize reconstruction error. - Compression is asymmetric: encoding (finding the IFS) is expensive; decoding (iterating the IFS) is cheap. This matches the consolidation model — compression happens offline, retrieval happens in real time. - Error bounds from the Collage Theorem guarantee that if the collage distance is δ, the reconstruction error is at most δ/(1-s), where s is the maximum contractivity.
v1.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Connection to existing work:** This approach generalizes fractal image compression (Jacquin, 1992) from pixel space to semantic embedding space. While fractal image compression fell out of favor due to slow encoding and the rise of wavelet-based methods (JPEG2000), the specific characteristics of memory compression — offline encoding, online decoding, multi-resolution access — align well with the fractal approach's strengths.
v7.0 · 3.3 Component 3: IFS Semantic Compression (ISC)**Connection to existing work:** ISC generalizes fractal image compression (Jacquin, 1992) from pixel space to semantic embedding space. While fractal image compression fell out of favor due to slow encoding, the characteristics of memory compression — offline encoding, online decoding, multi-resolution access — align with the fractal approach's strengths. Whether this advantage transfers to high-dimensional semantic spaces remains to be demonstrated.
··· 4 unchanged paragraphs folded ···
v1.0 · 3.4 Integrated ArchitectureThe consolidation pipeline runs asynchronously (analogous to background garbage collection), while queries are served from the index in real-time.
v7.0 · 3.4 Integrated ArchitectureThe consolidation pipeline runs asynchronously (analogous to background garbage collection), while queries are served from the index in real time.
··· 3 unchanged paragraphs folded ···
v1.0 · 4.1 Retrieval Complexity| System | Single query | Multi-res query (L levels) | Write | |--------|-------------|---------------------------|-------| | Flat RAG (HNSW) | O(log n) | O(L · log n) | O(log n) | | RAPTOR | O(L · log n) | O(L · log n) | O(n log n) rebuild | | MemGPT | O(n) page scan | O(n) | O(1) | | FMI | O(log_B n / ε) | O(L · log_B n / ε) | O(1) amortized |
v7.0 · 4.1 Retrieval Complexity| System | Single query | Multi-res query (L levels) | Write | | --------------- | --------------------------------- | -------------------------- | ------------------ | | Flat RAG (HNSW) | O(log n) | O(L · log n) | O(log n) | | RAPTOR | O(L · log n) | O(L · log n) | O(n log n) rebuild | | MemGPT | O(log n) search + paging overhead | O(L · log n) + paging | O(1) + paging | | FMI | O(log_B n / ε) | O(L · log_B n / ε) | O(1) amortized |
v1.0 · 4.1 Retrieval ComplexityFMI matches or improves on all systems for all operations. The key advantage is the O(1) amortized write cost (buffered) combined with competitive query performance. For large B (block size), log_B n ≪ log n.
removed in v7.0
not in v1.0
v7.0 · 4.1 Retrieval Complexity**Note on MemGPT:** MemGPT uses vector search internally; paging adds LLM-managed overhead that varies by implementation. FMI's advantage is in multi-resolution retrieval and compression, not raw query speed.
not in v1.0
v7.0 · 4.1 Retrieval ComplexityFor large B, log_B n ≪ log n, giving FMI favorable constant factors.
··· 1 unchanged paragraph folded ···
v1.0 · 4.2 Storage Complexity| System | Storage per memory | Total for n memories | |--------|-------------------|---------------------| | Flat RAG | O(D) embedding + O(T) text | O(n · (D + T)) | | RAPTOR | O(D) per level, L levels | O(n · L · D + Σ text) | | FMI (no ISC) | O(D) + O(log n) index | O(n · D + n log n) | | FMI (with ISC) | O(d) IFS codes | O(n · d + n log n) |
v7.0 · 4.2 Storage Complexity| System | Storage per memory | Total for n memories | | -------------- | -------------------------- | --------------------- | | Flat RAG | O(D) embedding + O(T) text | O(n · (D + T)) | | RAPTOR | O(D) per level, L levels | O(n · L · D + Σ text) | | FMI (no ISC) | O(D) + O(log n) index | O(n · D + n log n) | | FMI (with ISC) | O(d) IFS codes | O(n · d + n log n) |
v1.0 · 4.2 Storage ComplexityWith ISC compression, FMI reduces the per-memory storage from O(D) to O(d), where d is the intrinsic fractal dimension. For D = 1024 and d ≈ 100, this is a 10× reduction in embedding storage.
v7.0 · 4.2 Storage ComplexityWith ISC, FMI reduces per-memory storage from O(D) to O(d), where d is the intrinsic fractal dimension. The actual compression ratio depends on the measured fractal dimension of the embedding space — an open empirical question (see §7.1).
··· 1 unchanged paragraph folded ···
v1.0 · 4.3 Compression AnalysisThe effectiveness of ISC depends on the fractal dimension of the embedding space. We can estimate this theoretically:
v7.0 · 4.3 Compression AnalysisThe effectiveness of ISC depends on the fractal dimension of the embedding space:
v1.0 · 4.3 Compression Analysis**Argument for low fractal dimension:** LLM embeddings are generated by a finite-capacity model mapping from a structured input space (natural language). The effective dimensionality of natural language is far lower than the embedding dimension — this is why dimensionality reduction techniques (PCA, UMAP) work well on embeddings. Studies of intrinsic dimensionality in neural network representations consistently find values of 20-200 for embedding spaces of dimension 768-4096 (Ansuini et al., 2019; Pope et al., 2021).
v7.0 · 4.3 Compression Analysis**Argument for low fractal dimension:** LLM embeddings are generated by a finite-capacity model mapping from structured input (natural language). The effective dimensionality of natural language is far lower than the embedding dimension — this is why dimensionality reduction (PCA, UMAP) works well on embeddings. Studies of intrinsic dimensionality in neural network representations consistently find values of 20-200 for embedding spaces of dimension 768-4096 (Ansuini et al., 2019; Pope et al., 2021).
not in v1.0
v7.0 · 4.3 Compression Analysis**Important caveat:** Low intrinsic dimensionality does not automatically imply fractal self-similarity. The embedding manifold could be low-dimensional but smooth, in which case standard dimensionality reduction would suffice and IFS compression would offer no additional benefit. The specific contribution of ISC depends on the presence of _self-similar structure_ — patterns that repeat at multiple scales — which is a stronger property than low dimensionality alone.
v1.0 · 4.3 Compression Analysis**IFS compression bound:** By the Collage Theorem, if we find an IFS {f₁, ..., fₖ} with contractivity s < 1 such that the Hausdorff distance d_H(E, ∪ᵢ fᵢ(E)) ≤ δ, then d_H(E, A) ≤ δ/(1-s), where A is the IFS attractor. The storage cost is O(k · D²) for affine maps in D dimensions (each map is a D×D matrix plus translation). For the compression to be worthwhile, we need k · D² < n · D, i.e., k < n/D. With n = 100,000 memories and D = 1024, we need k < ~100 IFS maps, which is plausible for well-structured memory domains.
v7.0 · 4.3 Compression Analysis**IFS compression bound:** By the Collage Theorem, if we find an IFS {f₁, ..., fₖ} with contractivity s < 1 such that the Hausdorff distance d_H(E, ∪ᵢ fᵢ(E)) ≤ δ, then d_H(E, A) ≤ δ/(1-s), where A is the IFS attractor. The storage cost is O(k · D²) for affine maps in D dimensions (each map is a D×D matrix plus translation). For compression to be worthwhile, we need k · D² < n · D, i.e., k < n/D. With n = 100,000 memories and D = 1024, we need k < ~100 IFS maps — plausible for well-structured memory domains, though this remains to be verified.
v1.0 · 4.3 Compression Analysis**Alternative: Hierarchical IFS.** Rather than compressing the entire embedding space with a single IFS, we can apply IFS compression hierarchically — at the cluster level, sub-cluster level, etc. This mirrors the fractal structure itself and allows the IFS codes to capture local self-similarity patterns that differ across memory regions.
v7.0 · 4.3 Compression Analysis**Hierarchical IFS.** Rather than compressing the entire embedding space with a single IFS, we can apply IFS compression hierarchically — at the cluster level, sub-cluster level, and so on. This mirrors the fractal structure itself and allows IFS codes to capture local self-similarity patterns that differ across memory regions.
··· 1 unchanged paragraph folded ···
v1.0 · 4.4 Retrieval QualityMulti-resolution retrieval improves answer quality for questions that require reasoning at different abstraction levels. Consider a question like "How has the company's strategy evolved over the past decade?" This requires: - **Detail-level retrieval**: Specific strategy announcements, quarterly reports - **Summary-level retrieval**: Annual summaries, strategic pivots - **Theme-level retrieval**: Overarching strategic themes across years
v7.0 · 4.4 Retrieval QualityMulti-resolution retrieval improves answer quality for questions requiring reasoning at different abstraction levels. Consider: "How has the company's strategy evolved over the past decade?" This requires:
not in v1.0
v7.0 · 4.4 Retrieval Quality- **Detail-level retrieval**: Specific strategy announcements, quarterly reports - **Summary-level retrieval**: Annual summaries, strategic pivots - **Theme-level retrieval**: Overarching strategic themes across years
v1.0 · 4.4 Retrieval QualityRAPTOR can answer this by querying different tree levels, but independently. FMI's Hilbert-curve index enables *joint* retrieval: a single traversal identifies relevant memories at all scales, with results naturally ordered by the space-filling curve's locality property.
v7.0 · 4.4 Retrieval QualityRAPTOR answers this by querying different tree levels independently. FMI's Hilbert-curve index enables _joint_ retrieval: a single traversal identifies relevant memories at all scales, with results naturally ordered by the space-filling curve's locality property.
··· 3 unchanged paragraphs folded ···
v1.0 · 5.1 FMI vs. RAPTORRAPTOR is the closest existing system to FMI. Both build hierarchical memory structures with multi-granularity access. Key differences:
v7.0 · 5.1 FMI vs. RAPTORRAPTOR is the closest existing system to FMI. Both build hierarchical memory structures with multi-granularity access:
v1.0 · 5.1 FMI vs. RAPTOR| Aspect | RAPTOR | FMI | |--------|--------|-----| | Construction | Batch rebuild from scratch | Incremental (buffered consolidation) | | Index structure | Tree of summaries | Bε-tree with Hilbert indexing | | Compression | None (stores all levels) | IFS compression of embeddings | | Write model | O(n log n) rebuild | O(1) amortized | | Multi-res query | Separate query per level | Single unified traversal | | Clustering | UMAP + GMM (fixed) | Adaptive, informed by fractal dimension |
v7.0 · 5.1 FMI vs. RAPTOR| Aspect | RAPTOR | FMI | | --------------- | -------------------------- | --------------------------------------- | | Construction | Batch rebuild from scratch | Incremental (buffered consolidation) | | Index structure | Tree of summaries | Bε-tree with Hilbert indexing | | Compression | None (stores all levels) | IFS compression of embeddings | | Write model | O(n log n) rebuild | O(1) amortized | | Multi-res query | Separate query per level | Single unified traversal | | Clustering | UMAP + GMM (fixed) | Adaptive, informed by fractal dimension |
v1.0 · 5.1 FMI vs. RAPTORFMI can be seen as a principled generalization of RAPTOR that formalizes its implicit fractal structure and adds write optimization and compression.
v7.0 · 5.1 FMI vs. RAPTORFMI formalizes RAPTOR's implicit fractal structure and adds write optimization and compression.
··· 1 unchanged paragraph folded ···
v1.0 · 5.2 FMI vs. MemGPTMemGPT and FMI address orthogonal aspects of memory management. MemGPT manages *what to put in context*; FMI manages *how to store and retrieve it*. The two are complementary: MemGPT could use FMI as its backing store, replacing flat vector search with multi-resolution fractal retrieval.
removed in v7.0
not in v1.0
v7.0 · 5.2 FMI vs. MemGPTMemGPT and FMI operate at different layers of the memory stack. MemGPT manages _context window allocation_ — deciding what information enters the LLM's working memory. FMI manages _storage and retrieval_ — how information is organized, indexed, and compressed in external memory. These layers are complementary: MemGPT could use FMI as its backing store, replacing its current vector search with multi-resolution fractal retrieval. The combination would yield MemGPT's adaptive context management with FMI's efficient multi-granularity access and write optimization.
··· 1 unchanged paragraph folded ···
v1.0 · 5.3 FMI vs. KV-Cache CompressionKV-cache compression operates at the token level during inference; FMI operates at the memory/knowledge level during storage and retrieval. However, the ISC component suggests a connection: if KV-cache attention patterns exhibit self-similarity across layers (as multi-scale attention architectures suggest), IFS-inspired compression could complement existing quantization and eviction methods.
v7.0 · 5.3 FMI vs. KV-Cache CompressionKV-cache compression operates at the token level during inference; FMI operates at the memory/knowledge level during storage and retrieval. These address different bottlenecks (inference memory vs. knowledge memory) and are fully complementary. A speculative connection: if KV-cache attention patterns exhibit self-similarity across layers (as multi-scale attention architectures suggest), IFS-inspired techniques could extend to that domain as well.
··· 6 unchanged paragraphs folded ···
v1.0 · 6.1 Prototype Architecture1. **Write buffer**: Redis or a simple append-only log 2. **Consolidation engine**: A background process that periodically: - Clusters new memories (HDBSCAN over embeddings) - Generates summaries (LLM call per cluster) - Reindexes using Hilbert-curve mapping 3. **Hilbert-curve index**: Built on top of an existing Bε-tree implementation (e.g., TokuDB's fractal tree library) or a B-tree with message buffers 4. **Vector storage**: Standard embedding store (FAISS, pgvector) with Hilbert-curve ordering
v7.0 · 6.1 Prototype Architecture1. **Write buffer**: Redis or a simple append-only log 2. **Consolidation engine**: A background process that periodically: - Clusters new memories (HDBSCAN over embeddings) - Generates summaries (LLM call per cluster) - Reindexes using Hilbert-curve mapping 3. **Hilbert-curve index**: Built on an existing Bε-tree implementation (e.g., TokuDB's fractal tree library) or a B-tree with message buffers 4. **Vector storage**: Standard embedding store (FAISS, pgvector) with Hilbert-curve ordering
··· 2 unchanged paragraphs folded ···
v1.0 · 6.2 Consolidation ScheduleBorrowing from the neuroscience of sleep cycles, we propose a tiered consolidation schedule:
v7.0 · 6.2 Consolidation ScheduleWe propose a tiered consolidation schedule:
··· 1 unchanged paragraph folded ···
v1.0 · 6.2 Consolidation ScheduleThis mirrors the biological pattern of synaptic consolidation (minutes-hours) → systems consolidation (days-weeks) → long-term storage (months-years).
removed in v7.0
··· 1 unchanged paragraph folded ···
v1.0 · 6.3 Integration with Existing SystemsFMI is designed as a drop-in replacement for the retrieval backend in existing RAG pipelines. The API surface is:
v7.0 · 6.3 Integration with Existing SystemsFMI is designed as a drop-in replacement for the retrieval backend in existing RAG pipelines:
v1.0 · 6.3 Integration with Existing Systems```python class FractalMemoryIndex: def add(self, text: str, embedding: np.ndarray, metadata: dict) -> None """Add to write buffer (O(1))"""
v7.0 · 6.3 Integration with Existing Systems```python class FractalMemoryIndex: def add(self, text: str, embedding: np.ndarray, metadata: dict) -> None: """Add to write buffer (O(1))"""
v1.0 · 6.3 Integration with Existing Systemsdef query(self, q_embedding: np.ndarray, levels: List[int] = [0, 1, 2], top_k: int = 10) -> List[MemoryResult] """Multi-resolution retrieval"""
v7.0 · 6.3 Integration with Existing Systemsdef query(self, q_embedding: np.ndarray, levels: List[int] = [0, 1, 2], top_k: int = 10) -> List[MemoryResult]: """Multi-resolution retrieval"""
v1.0 · 6.3 Integration with Existing Systemsdef consolidate(self, aggressive: bool = False) -> ConsolidationStats """Trigger consolidation cycle"""
v7.0 · 6.3 Integration with Existing Systemsdef consolidate(self, aggressive: bool = False) -> ConsolidationStats: """Trigger consolidation cycle"""
v1.0 · 6.3 Integration with Existing Systemsdef stats(self) -> IndexStats """Fractal dimension, compression ratio, memory usage""" ```
v7.0 · 6.3 Integration with Existing Systemsdef stats(self) -> IndexStats: """Fractal dimension, compression ratio, memory usage""" ```
··· 1 unchanged paragraph folded ···
v1.0 · 6.4 Estimated Engineering Effort| Component | Complexity | Time estimate | |-----------|-----------|---------------| | Write buffer + consolidation | Moderate | 2-4 weeks | | Hilbert-curve indexing | Moderate | 2-4 weeks | | Multi-resolution retrieval | Moderate | 2-3 weeks | | IFS compression (research) | High | 2-4 months | | Integration + testing | Moderate | 2-4 weeks | | **Total (without ISC)** | | **2-3 months** | | **Total (with ISC)** | | **4-7 months** |
v7.0 · 6.4 Estimated Engineering Effort| Component | Complexity | Time estimate | | ---------------------------- | ---------- | -------------- | | Write buffer + consolidation | Moderate | 2-4 weeks | | Hilbert-curve indexing | Moderate | 2-4 weeks | | Multi-resolution retrieval | Moderate | 2-3 weeks | | IFS compression (research) | High | 2-4 months | | Integration + testing | Moderate | 2-4 weeks | | **Total (without ISC)** | | **2-3 months** | | **Total (with ISC)** | | **4-7 months** |
v1.0 · 6.4 Estimated Engineering EffortThe system without ISC (Components 1 and 2 only) already provides significant advantages over flat RAG and is immediately buildable. ISC is the research frontier.
v7.0 · 6.4 Estimated Engineering EffortThe system without ISC already provides significant advantages over flat RAG and is immediately buildable. ISC is the research frontier.
··· 3 unchanged paragraphs folded ···
v1.0 · 7.1 Is Semantic Space Actually Fractal?The central empirical question. While there is strong circumstantial evidence (low intrinsic dimensionality, power-law distributions, hierarchical topic structure), rigorous measurement of fractal dimension in LLM embedding spaces has not been performed. We propose the following experiment:
v7.0 · 7.1 Is Semantic Space Actually Fractal?This is the central empirical question. While circumstantial evidence is suggestive — low intrinsic dimensionality, power-law distributions, hierarchical topic structure — rigorous measurement of fractal dimension in LLM embedding spaces has not been performed. We propose the following validation experiment:
··· 1 unchanged paragraph folded ···
v1.0 · 7.1 Is Semantic Space Actually Fractal?If the fractal dimension is consistently d ≪ D across domains, ISC is justified. If d ≈ D, the compression claims are invalid (though Components 1 and 2 remain useful).
v7.0 · 7.1 Is Semantic Space Actually Fractal?If the fractal dimension is consistently d ≪ D across domains, ISC is justified. If d ≈ D, the compression claims do not hold — though Components 1 and 2 (buffered consolidation and multi-resolution indexing) remain independently valuable.
··· 1 unchanged paragraph folded ···
v1.0 · 7.2 IFS Learning ConvergenceLearning IFS codes for high-dimensional embedding spaces is an open problem. The search space of affine contractions in D dimensions is O(D²) per map, which is large for D = 1024. Possible mitigations: - Learn IFS codes in a reduced space (after PCA to d dimensions) - Use structured contractions (diagonal + low-rank perturbation) - Apply the Collage Theorem iteratively with greedy map selection
v7.0 · 7.2 IFS Learning ConvergenceLearning IFS codes for high-dimensional embedding spaces is an open problem. The search space of affine contractions in D dimensions is O(D²) per map, which is prohibitively large for D = 1024. Possible mitigations:
not in v1.0
v7.0 · 7.2 IFS Learning Convergence- Learn IFS codes in a reduced space (after PCA to d dimensions) - Use structured contractions (diagonal + low-rank perturbation) - Apply the Collage Theorem iteratively with greedy map selection
··· 3 unchanged paragraphs folded ···
v1.0 · 7.4 Cold-Start and Domain TransferFMI's compression improves as more memories are ingested and the fractal structure stabilizes. Performance during cold-start (few memories) is no better than standard RAG. Domain transfer — applying an FMI trained on one domain to another — depends on whether the fractal structure generalizes.
v7.0 · 7.4 Cold-Start and Domain TransferFMI's compression improves as more memories are ingested and the fractal structure stabilizes. During cold-start (few memories), performance is no better than standard RAG. Domain transfer depends on whether the fractal structure generalizes across domains.
v1.0 · 7.5 Comparison to Simpler Hierarchical Approaches### 7.5 Comparison to Simpler Hierarchical Approaches
removed in v7.0
v1.0 · 7.5 Comparison to Simpler Hierarchical ApproachesThe Skeptic's objection is valid: how much of FMI's benefit comes from the fractal formalism versus simply "being hierarchical"? We acknowledge that a well-engineered hierarchical index without fractal mathematics could capture much of the practical benefit. The fractal formalism adds: - Principled compression bounds (via IFS/Collage Theorem) - Fractal dimension as a measurable quantity that predicts compressibility - Connection to a rich mathematical toolkit (measure theory, dynamical systems)
removed in v7.0
v1.0 · 7.5 Comparison to Simpler Hierarchical ApproachesWhether these theoretical advantages translate to practical gains is an empirical question.
removed in v7.0
not in v1.0
v7.0 · 7.5 What Does the Fractal Formalism Add?### 7.5 What Does the Fractal Formalism Add?
not in v1.0
v7.0 · 7.5 What Does the Fractal Formalism Add?A natural objection: how much of FMI's benefit comes from the fractal framework versus simply building a well-engineered hierarchical index? We claim the fractal formalism contributes three things beyond "being hierarchical":
not in v1.0
v7.0 · 7.5 What Does the Fractal Formalism Add?1. **Principled compression bounds** via the IFS Collage Theorem, which provide error guarantees unavailable from ad-hoc hierarchical compression. 2. **Fractal dimension as a measurable diagnostic** that predicts compressibility for a given domain before building the system — enabling informed architecture decisions. 3. **Connection to a mature mathematical toolkit** (measure theory, dynamical systems, IFS theory) that offers proven techniques rather than requiring bespoke engineering for each design choice.
not in v1.0
v7.0 · 7.5 What Does the Fractal Formalism Add?Whether these theoretical advantages yield practical gains proportional to their complexity is an empirical question. If the fractal dimension measurement (§7.1) shows d ≈ D, then the hierarchical-without-fractal approach is the right one, and Components 1-2 stand on their own merits.
··· 2 unchanged paragraphs folded ···
v1.0 · 8. Related WorkBeyond the systems discussed above, several lines of work are relevant:
removed in v7.0
v1.0 · 8. Related Work**FractalNet** (Larsson et al., 2017) applies self-similar macro-architecture to neural network design, demonstrating that fractal structure can be a design principle for deep learning. Our work extends this from network architecture to memory architecture.
v7.0 · 8. Related Work**FractalNet** (Larsson et al., 2017) applies self-similar macro-architecture to neural network design, demonstrating that fractal structure can serve as a design principle for deep learning. Our work extends this from network architecture to both memory architecture and cognitive architecture.
v1.0 · 8. Related Work**GraphFractalNet** (2025) uses fractal attention mechanisms for graph learning, capturing hierarchical self-similar structures. This validates the applicability of fractal attention in representation learning.
v7.0 · 8. Related Work**GraphFractalNet** (Zhang et al., 2025) uses fractal attention mechanisms for graph learning, capturing hierarchical self-similar structures. This validates fractal attention's applicability to representation learning.
··· 1 unchanged paragraph folded ···
v1.0 · 8. Related Work**Fractal image compression** (Barnsley, 1988; Jacquin, 1992; Fisher, 1995) provides the mathematical foundation for ISC. While fractal image compression was commercially unsuccessful due to slow encoding, the asymmetric encode/decode characteristic aligns well with memory consolidation (slow storage, fast retrieval).
v7.0 · 8. Related Work**Fractal image compression** (Barnsley, 1988; Jacquin, 1992; Fisher, 1995) provides the mathematical foundation for ISC. While commercially unsuccessful due to slow encoding, the asymmetric encode/decode characteristic aligns with memory consolidation (slow storage, fast retrieval).
v1.0 · 8. Related Work**Cognitive Workspace** (2025) proposes active memory management for LLMs with metacognitive control, complementing our focus on storage and retrieval efficiency.
v7.0 · 8. Related Work**Cognitive Workspace** (Li et al., 2025) proposes active memory management for LLMs with metacognitive control, complementing our focus on storage, retrieval, and the fractal metacognition framework in §9.
··· 2 unchanged paragraphs folded ···
v1.0 · 9. Conclusion## 9. Conclusion
removed in v7.0
v1.0 · 9. ConclusionWe have presented the Fractal Memory Index (FMI), an architecture that applies fractal mathematics — self-similarity, recursive compression, and space-filling curves — to the problem of long-term memory in Large Language Models. FMI integrates three components: buffered memory consolidation inspired by Bε-trees and hippocampal-neocortical systems, Hilbert-curve multi-resolution indexing for locality-preserving retrieval, and IFS-based semantic compression for compact memory representation.
removed in v7.0
v1.0 · 9. ConclusionOur theoretical analysis demonstrates that FMI achieves favorable complexity bounds for writes (O(1) amortized), multi-resolution retrieval (O(L · log_B n)), and storage (potentially O(d/D) compression via ISC). We have shown that existing systems like RAPTOR already exploit fractal-like self-similarity implicitly, and that formalizing this connection yields principled improvements.
removed in v7.0
v1.0 · 9. ConclusionThe primary open challenge is validating IFS-based semantic compression. If LLM embedding spaces have low fractal dimension (as circumstantial evidence suggests), ISC could deliver 4-80× compression ratios. Even without ISC, the buffered consolidation and multi-resolution indexing components provide immediate practical value.
removed in v7.0
v1.0 · 9. ConclusionThe fractal perspective on LLM memory is not merely metaphorical. It connects memory system design to a rigorous mathematical framework with provable properties, and it resonates with biological memory systems that have been optimized by evolution over millions of years. We believe this connection merits further exploration and invite the community to validate, challenge, and extend this framework.
removed in v7.0
not in v1.0
v7.0 · 9. Fractal Metacognition## 9. Fractal Metacognition
not in v1.0
v7.0 · 9. Fractal MetacognitionThe preceding sections establish that fractal self-similarity can improve data structures for LLM memory. We now argue that the same principle applies to cognition: effective reasoning benefits from self-similar structure across scales.
not in v1.0
v7.0 · 9.1 The Single-Level Reasoning Problem### 9.1 The Single-Level Reasoning Problem
not in v1.0
v7.0 · 9.1 The Single-Level Reasoning ProblemMost current LLM agents concentrate cognitive effort at a single level. They receive a task, reason about it, and produce output. When they fail, they retry — sometimes with a varied prompt or decomposition strategy. Tree-of-thought (Yao et al., 2023) and self-reflection approaches (Shinn et al., 2023) add structure within a single reasoning episode, but they do not systematically accumulate meta-level insights across episodes.
not in v1.0
v7.0 · 9.1 The Single-Level Reasoning ProblemHumans naturally operate across cognitive levels. A programmer debugging a function (Level 1) may notice she keeps inserting print statements instead of using a debugger, and switch strategies (Level 2). Over months, she may recognize that her bugs cluster around concurrency, prompting her to study concurrent programming systematically (Level 3). Each level of reflection operates on the output of the level below, and each discovers insights invisible from that lower level.
not in v1.0
v7.0 · 9.2 Self-Similar Cognition### 9.2 Self-Similar Cognition
not in v1.0
v7.0 · 9.2 Self-Similar CognitionFractal metacognition structures reasoning into recursive levels, where each level applies the same reflective operation — _observe, evaluate, adapt_ — at a different cognitive scale:
not in v1.0
v7.0 · 9.2 Self-Similar Cognition**Level 1: Task Reasoning.** The agent reasons about the task itself. It plans, executes, and evaluates outcomes against objectives. This is standard LLM operation.
not in v1.0
v7.0 · 9.2 Self-Similar Cognition**Level 2: Process Reasoning.** The agent reasons about _how_ it performed the task. It evaluates its strategy, identifies inefficiencies, and adjusts its approach. This level answers: "Am I solving this problem well? Is my method working?" A coding agent at Level 2 might notice it has been editing the same file three times to fix cascading errors, and decide to read the full file before making any changes.
not in v1.0
v7.0 · 9.2 Self-Similar Cognition**Level 3+: Meta-Pattern Reasoning.** The agent reasons about patterns across tasks and strategies. It identifies recurring failure modes, systematic biases, and structural weaknesses. This level answers: "What keeps going wrong across different problems? What does that reveal about my capabilities?" A coding agent at Level 3 might recognize that it consistently struggles with async race conditions across multiple projects — not a bug in any one solution, but a gap in its understanding — prompting a fundamental update to its system prompt or knowledge base.
not in v1.0
v7.0 · 9.2 Self-Similar CognitionEach higher level is rarer, slower, and more consequential. Level 1 operates on every task. Level 2 triggers when Level 1 performance degrades or surprises occur. Level 3+ triggers when Level 2 patterns accumulate across contexts.
not in v1.0
v7.0 · 9.3 Self-Similarity Across Cognitive Scales### 9.3 Self-Similarity Across Cognitive Scales
not in v1.0
v7.0 · 9.3 Self-Similarity Across Cognitive ScalesThe critical insight is that each level applies the _same_ cognitive operation — observe, evaluate, adapt — to different objects:
not in v1.0
v7.0 · 9.3 Self-Similarity Across Cognitive Scales| Level | Observes | Evaluates | Adapts | | ----------------- | ---------------------- | -------------------------- | -------------------------------- | | 1 (Task) | Problem state | Solution correctness | Next action | | 2 (Process) | Own reasoning trace | Strategy effectiveness | Approach/method | | 3+ (Meta-pattern) | Patterns across traces | Systematic capability gaps | Prompts, knowledge, architecture |
not in v1.0
v7.0 · 9.3 Self-Similarity Across Cognitive ScalesThis is self-similar cognition. The reflective process at Level N has the same structure as at Level N-1, applied to the output of Level N-1. Just as FMI applies the same indexing algorithm at every storage scale, Fractal Metacognition applies the same reflective algorithm at every cognitive scale.
not in v1.0
v7.0 · 9.4 Connection to Fractal Data Structures### 9.4 Connection to Fractal Data Structures
not in v1.0
v7.0 · 9.4 Connection to Fractal Data StructuresThe parallel to fractal data structures is structural, not merely metaphorical. In FMI, each level of the Hilbert-curve index captures semantic structure at a different granularity, and the same indexing algorithm operates at every level. In Fractal Metacognition, each cognitive level captures reasoning patterns at a different abstraction, and the same reflective algorithm operates at every level. Both exploit self-similarity to achieve efficient organization across scales.
not in v1.0
v7.0 · 9.4 Connection to Fractal Data StructuresFormally, let R_ℓ denote the reasoning function at level ℓ:
not in v1.0
v7.0 · 9.4 Connection to Fractal Data StructuresR_1(task) → solution R_2(R_1 trace) → strategy adjustment R_3(R_2 patterns) → architectural insight R_ℓ(R_{ℓ-1} patterns) → ℓ-order adaptation
not in v1.0
v7.0 · 9.4 Connection to Fractal Data StructuresEach R_ℓ is an instance of the same reflective template: observe the output of the level below, evaluate it against a quality criterion, and adapt accordingly. The fixed point of this recursive process — if it converges — is a system that has optimized its cognition at every scale simultaneously.
not in v1.0
v7.0 · 9.4 Connection to Fractal Data StructuresWe note that the mathematical formalism here is less rigorous than in the FMI sections. The claim is structural: both systems apply the same operation recursively across scales. Whether this structural parallel yields the same quantitative benefits (provable complexity bounds, measurable compression) in the cognitive domain is a question for empirical investigation.
not in v1.0
v7.0 · 9.5 Practical Implementation### 9.5 Practical Implementation
not in v1.0
v7.0 · 9.5 Practical ImplementationFractal metacognition does not require architectural changes to existing LLM agents. It requires structured prompting and memory:
not in v1.0
v7.0 · 9.5 Practical Implementation1. **Level 1** is the agent's default operation. 2. **Level 2** is triggered by explicit self-reflection prompts after task completion: "Review your reasoning trace. What worked? What didn't? What would you do differently?" 3. **Level 3+** is triggered by periodic review across multiple Level 2 reflections: "Look at your last ten strategy adjustments. What patterns emerge? What systematic changes would address the root causes?"
not in v1.0
v7.0 · 9.5 Practical ImplementationThe outputs of Level 2 and 3 reflections are stored in the FMI at appropriate granularities — Level 2 insights as tactical memory, Level 3 insights as strategic memory — creating a feedback loop between fractal cognition and fractal storage.
not in v1.0
v7.0 · 9.5 Practical Implementation---
not in v1.0
v7.0 · 10. Conclusion## 10. Conclusion
not in v1.0
v7.0 · 10. ConclusionThe contributions of this paper reduce to a single thesis: **self-similarity is a structural principle that applies wherever information is organized across scales — whether in storage or in thought.**
not in v1.0
v7.0 · 10. ConclusionAt the infrastructure level, FMI demonstrates this by unifying buffered consolidation, multi-resolution indexing, and IFS compression under fractal mathematics — achieving O(1) amortized writes and O(L · log_B n) retrieval while formalizing the implicit fractal structure already present in systems like RAPTOR. At the cognitive level, Fractal Metacognition demonstrates this by structuring reasoning into self-similar levels where the same reflective operation recurs at every cognitive scale, each discovering insights invisible from below.
not in v1.0
v7.0 · 10. ConclusionThe framework's value is modular. Buffered consolidation and Hilbert-curve indexing are immediately buildable and independently useful. IFS compression offers the highest potential impact but depends on an unresolved empirical question: whether LLM embedding spaces exhibit sufficient self-similar structure. The central validation experiment — measuring fractal dimension across diverse corpora (§7.1) — will determine ISC's viability and, more broadly, the quantitative reach of the fractal perspective.
not in v1.0
v7.0 · 10. ConclusionWe present this as a theoretical foundation and research agenda. The mathematics is rigorous where the claims are strong (complexity bounds, error guarantees via the Collage Theorem) and explicitly speculative where they are not (ISC compression ratios, cognitive-level benefits). We invite the community to test the central hypothesis and extend the framework.
··· 2 unchanged paragraphs folded ···
v1.0 · ReferencesAnsuini, A., Laio, A., Macke, J.H., & Zoccolan, D. (2019). Intrinsic dimension of data representations in deep neural networks. *NeurIPS 2019*.
v7.0 · ReferencesAnsuini, A., Laio, A., Macke, J.H., & Zoccolan, D. (2019). Intrinsic dimension of data representations in deep neural networks. _NeurIPS 2019_.
v1.0 · ReferencesBarnsley, M.F. (1988). *Fractals Everywhere*. Academic Press.
v7.0 · ReferencesBarnsley, M.F. (1988). _Fractals Everywhere_. Academic Press.
v1.0 · ReferencesBarnsley, M.F. (2002). Iterated Function Systems for Lossless Data Compression. In *Fractals in Multimedia*, Springer.
v7.0 · ReferencesBarnsley, M.F. (2002). Iterated Function Systems for Lossless Data Compression. In _Fractals in Multimedia_, Springer.
v1.0 · ReferencesBirdal, T., Lou, A., Guibas, L.J., & Siber, G. (2021). Intrinsic dimension, persistent homology and generalization in neural networks. *NeurIPS 2021*.
v7.0 · ReferencesBirdal, T., Lou, A., Guibas, L.J., & Siber, G. (2021). Intrinsic dimension, persistent homology and generalization in neural networks. _NeurIPS 2021_.
v1.0 · ReferencesBrodal, G.S. & Fagerberg, R. (2003). Lower bounds for external memory dictionaries. *SODA 2003*.
v7.0 · ReferencesBrodal, G.S. & Fagerberg, R. (2003). Lower bounds for external memory dictionaries. _SODA 2003_.
v1.0 · ReferencesBuzsáki, G. (1996). The hippocampo-neocortical dialogue. *Cerebral Cortex*, 6(2), 81-92.
v7.0 · ReferencesBuzsáki, G. (1996). The hippocampo-neocortical dialogue. _Cerebral Cortex_, 6(2), 81-92.
v1.0 · ReferencesCollins, A.M. & Loftus, E.F. (1975). A spreading-activation theory of semantic processing. *Psychological Review*, 82(6), 407-428.
v7.0 · ReferencesCollins, A.M. & Loftus, E.F. (1975). A spreading-activation theory of semantic processing. _Psychological Review_, 82(6), 407-428.
v1.0 · ReferencesDiekelmann, S. & Born, J. (2010). The memory function of sleep. *Nature Reviews Neuroscience*, 11(2), 114-126.
v7.0 · ReferencesDiekelmann, S. & Born, J. (2010). The memory function of sleep. _Nature Reviews Neuroscience_, 11(2), 114-126.
v1.0 · ReferencesFisher, Y. (1995). *Fractal Image Compression: Theory and Application*. Springer.
v7.0 · ReferencesFisher, Y. (1995). _Fractal Image Compression: Theory and Application_. Springer.
v1.0 · ReferencesGao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., ... & Wang, H. (2023). Retrieval-augmented generation for large language models: A survey. *arXiv:2312.10997*.
v7.0 · ReferencesGao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., ... & Wang, H. (2023). Retrieval-augmented generation for large language models: A survey. _arXiv:2312.10997_.
v1.0 · ReferencesGutiérrez, B.J., et al. (2024). HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models. *arXiv:2405.14831*.
v7.0 · ReferencesGutiérrez, B.J., et al. (2024). HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models. _arXiv:2405.14831_.
v1.0 · ReferencesHawkins, J. & Blakeslee, S. (2004). *On Intelligence*. Times Books.
v7.0 · ReferencesHawkins, J. & Blakeslee, S. (2004). _On Intelligence_. Times Books.
v1.0 · ReferencesHawkins, J., Lewis, M., Klukas, M., Purdy, S., & Ahmad, S. (2019). A Framework for Intelligence and Cortical Function Based on Grid Cells and Cortical Columns. *Frontiers in Neural Circuits*, 13, 22.
v7.0 · ReferencesHawkins, J., Lewis, M., Klukas, M., Purdy, S., & Ahmad, S. (2019). A Framework for Intelligence and Cortical Function Based on Grid Cells and Cortical Columns. _Frontiers in Neural Circuits_, 13, 22.
v1.0 · ReferencesHilbert, D. (1891). Über die stetige Abbildung einer Linie auf ein Flächenstück. *Mathematische Annalen*, 38(3), 459-460.
v7.0 · ReferencesHilbert, D. (1891). Über die stetige Abbildung einer Linie auf ein Flächenstück. _Mathematische Annalen_, 38(3), 459-460.
v1.0 · ReferencesHooper, C., Kim, S., Mohammadzadeh, H., Mahoney, M.W., Shao, Y.S., Keutzer, K., & Gholami, A. (2024). KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization. *arXiv:2401.18079*.
v7.0 · ReferencesHooper, C., Kim, S., Mohammadzadeh, H., Mahoney, M.W., Shao, Y.S., Keutzer, K., & Gholami, A. (2024). KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization. _arXiv:2401.18079_.
v1.0 · ReferencesJacquin, A.E. (1992). Image coding based on a fractal theory of iterated contractive image transformations. *IEEE Transactions on Image Processing*, 1(1), 18-30.
v7.0 · ReferencesJacquin, A.E. (1992). Image coding based on a fractal theory of iterated contractive image transformations. _IEEE Transactions on Image Processing_, 1(1), 18-30.
v1.0 · ReferencesJannen, W., Yuan, J., Zhan, Y., Akshintala, A., Esmet, J., Jiao, Y., ... & Bender, M.A. (2015). BetrFS: A Right-Optimized Write-Optimized File System. *FAST 2015*.
v7.0 · ReferencesJannen, W., Yuan, J., Zhan, Y., Akshintala, A., Esmet, J., Jiao, Y., ... & Bender, M.A. (2015). BetrFS: A Right-Optimized Write-Optimized File System. _FAST 2015_.
v1.0 · ReferencesKwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C.H., ... & Stoica, I. (2023). Efficient Memory Management for Large Language Model Serving with PagedAttention. *SOSP 2023*.
v7.0 · ReferencesKwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C.H., ... & Stoica, I. (2023). Efficient Memory Management for Large Language Model Serving with PagedAttention. _SOSP 2023_.
v1.0 · ReferencesLarsson, G., Maire, M., & Shakhnarovich, G. (2017). FractalNet: Ultra-Deep Neural Networks without Residuals. *ICLR 2017*.
v7.0 · ReferencesLarsson, G., Maire, M., & Shakhnarovich, G. (2017). FractalNet: Ultra-Deep Neural Networks without Residuals. _ICLR 2017_.
v1.0 · ReferencesLawder, J.K. & King, P.J.H. (2000). Querying multi-dimensional data indexed using the Hilbert space-filling curve. *ACM SIGMOD Record*, 30(1), 19-24.
v7.0 · ReferencesLawder, J.K. & King, P.J.H. (2000). Querying multi-dimensional data indexed using the Hilbert space-filling curve. _ACM SIGMOD Record_, 30(1), 19-24.
v1.0 · ReferencesLewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., ... & Kiela, D. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. *NeurIPS 2020*.
v7.0 · ReferencesLewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., ... & Kiela, D. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. _NeurIPS 2020_.
not in v1.0
v7.0 · ReferencesLi, X., et al. (2025). Cognitive Workspace: Active Memory Management for LLMs with Metacognitive Control. _arXiv preprint_.
v1.0 · ReferencesLiu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., ... & Guo, B. (2021). Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. *ICCV 2021*.
v7.0 · ReferencesLiu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., ... & Guo, B. (2021). Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. _ICCV 2021_.
v1.0 · ReferencesLin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., & Belongie, S. (2017). Feature Pyramid Networks for Object Detection. *CVPR 2017*.
v7.0 · ReferencesLin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., & Belongie, S. (2017). Feature Pyramid Networks for Object Detection. _CVPR 2017_.
v1.0 · ReferencesMandelbrot, B. (1953). An informational theory of the statistical structure of language. *Communication Theory*, 84, 486-502.
v7.0 · ReferencesMandelbrot, B. (1953). An informational theory of the statistical structure of language. _Communication Theory_, 84, 486-502.
v1.0 · ReferencesMcClelland, J.L., McNaughton, B.L., & O'Reilly, R.C. (1995). Why there are complementary learning systems in the hippocampus and neocortex. *Psychological Review*, 102(3), 419-457.
v7.0 · ReferencesMcClelland, J.L., McNaughton, B.L., & O'Reilly, R.C. (1995). Why there are complementary learning systems in the hippocampus and neocortex. _Psychological Review_, 102(3), 419-457.
v1.0 · ReferencesPacker, C., Fang, V., Patil, S.G., Lin, K., Wooders, S., & Gonzalez, J.E. (2023). MemGPT: Towards LLMs as Operating Systems. *arXiv:2310.08560*.
v7.0 · ReferencesPacker, C., Fang, V., Patil, S.G., Lin, K., Wooders, S., & Gonzalez, J.E. (2023). MemGPT: Towards LLMs as Operating Systems. _arXiv:2310.08560_.
v1.0 · ReferencesPope, P., Zhu, C., Abdelkader, A., Goldblum, M., & Goldstein, T. (2021). The intrinsic dimension of images and its impact on learning. *ICLR 2021*.
v7.0 · ReferencesPope, P., Zhu, C., Abdelkader, A., Goldblum, M., & Goldstein, T. (2021). The intrinsic dimension of images and its impact on learning. _ICLR 2021_.
v1.0 · ReferencesSarthi, P., Abdullah, S., Tuli, A., Khanna, S., Goldie, A., & Manning, C.D. (2024). RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval. *ICLR 2024*.
v7.0 · ReferencesSarthi, P., Abdullah, S., Tuli, A., Khanna, S., Goldie, A., & Manning, C.D. (2024). RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval. _ICLR 2024_.
not in v1.0
v7.0 · ReferencesShinn, N., Cassano, F., Gopinath, A., Narasimhan, K., & Yao, S. (2023). Reflexion: Language Agents with Verbal Reinforcement Learning. _NeurIPS 2023_.
v1.0 · ReferencesSohl-Dickstein, J. (2024). The boundary of neural network trainability is fractal. *arXiv:2402.06184*.
v7.0 · ReferencesSohl-Dickstein, J. (2024). The boundary of neural network trainability is fractal. _arXiv:2402.06184_.
v1.0 · ReferencesXiao, G., Tian, Y., Chen, B., Han, S., & Lewis, M. (2023). Efficient Streaming Language Models with Attention Sinks. *ICLR 2024*.
v7.0 · ReferencesXiao, G., Tian, Y., Chen, B., Han, S., & Lewis, M. (2023). Efficient Streaming Language Models with Attention Sinks. _ICLR 2024_.
not in v1.0
v7.0 · ReferencesYao, S., Yu, D., Zhao, J., Shafran, I., Griffiths, T.L., Cao, Y., & Narasimhan, K. (2023). Tree of Thoughts: Deliberate Problem Solving with Large Language Models. _NeurIPS 2023_.
v1.0 · ReferencesZhang, Z., Sheng, Y., Zhou, T., Chen, T., Zheng, L., Cai, R., ... & Gonzalez, J.E. (2024a). H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models. *NeurIPS 2023*.
v7.0 · ReferencesZhang, Z., Sheng, Y., Zhou, T., Chen, T., Zheng, L., Cai, R., ... & Gonzalez, J.E. (2024a). H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models. _NeurIPS 2023_.
v1.0 · ReferencesZhang, T., Yi, J., Xu, Z., & Shrivastava, A. (2024b). KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantization. *arXiv:2405.03917*.
v7.0 · ReferencesZhang, T., Yi, J., Xu, Z., & Shrivastava, A. (2024b). KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantization. _arXiv:2405.03917_.
not in v1.0
v7.0 · ReferencesZhang, Y., et al. (2025). GraphFractalNet: Fractal Attention Mechanisms for Graph Learning. _arXiv preprint_.
v1.0 · ReferencesZipf, G.K. (1949). *Human Behavior and the Principle of Least Effort*. Addison-Wesley.
v7.0 · ReferencesZipf, G.K. (1949). _Human Behavior and the Principle of Least Effort_. Addison-Wesley.
Changed paragraphs in the same form, for scripts: JSON
· Markdown