# Fractal Reasoning: v1.0 → 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.

## Change note of v7.0

**Renamed Fractal Reasoning; adds self-similar reasoning to fractal memory**

The 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.

## Changed paragraphs

Marks: [-removed-] {+added+}.

### 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-]

### Fractal Reasoning

{+# Fractal Reasoning+}

### Fractal Reasoning

**Author:** Research Report — Oscar / JarvisOne AI Research {+**Version:** v7.0+} **Date:** [-February-] {+March+} 2026 **Keywords:** fractal data structures, LLM memory, retrieval-augmented generation, self-similarity, memory compression, hierarchical [-indexing-] {+indexing, fractal metacognition+}

### Abstract

[-Large 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.-]

### Abstract

{+LLM-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.+}

### 1. Introduction

[-The memory problem in Large Language Models is multifaceted and increasingly urgent.-] As LLMs [-are deployed in-] {+power+} long-running agent systems, personal assistants, and enterprise knowledge platforms, they must manage [-growing bodies of-] information that far [-exceed their-] {+exceeds+} 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-] {+OS-inspired+} memory management (Packer et al., 2023), and KV-cache compression (Xiao et al., 2023; Zhang et al., [-2024a). Each addresses a subset-] {+2024a) — each address fragments+} of the [-problem but none-] {+problem. None+} provides a unified framework.

### 1. Introduction

We observe that these [-memory-] challenges share a common structure that fractal mathematics is [-uniquely positioned-] {+well-positioned+} to [-address. Specifically:-] {+address:+}

### 1. Introduction

1. **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-] {+reflects+} well-known power-law distributions in natural language (Zipf, 1949; Mandelbrot, 1953).

### 1. Introduction

2. **Multi-resolution retrieval needs.** Users and downstream tasks require information at varying {+abstraction+} levels [-of abstraction-] — sometimes a gist, sometimes a specific detail. Flat vector retrieval returns results at a single granularity.

### 1. Introduction

3. **Asymmetric read/write patterns.** Memory systems ingest information continuously but retrieve [-it-] on demand. This asymmetry matches the performance profile of [-fractal-] {+write-optimized+} tree [-indexes, which are write-optimized.-] {+indexes.+}

### 1. Introduction

4. **Biological precedent.** The hippocampal-neocortical memory consolidation system exhibits [-fractal-like properties:-] {+properties suggestive of fractal organization:+} hierarchical [-organization,-] {+structure,+} multi-scale temporal dynamics, and iterative compression during sleep-replay (McClelland et al., 1995; Buzsáki, [-1996).-] {+1996). We draw on these parallels as architectural inspiration, not as direct evidence (see §2.3).+}

### 1. Introduction

[-These 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.-]

### 1. Introduction

{+The 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.+}

### 1. Introduction

{+These observations motivate **Fractal Reasoning**: an architecture that applies self-similarity to both the storage infrastructure and the cognitive processes of LLM-based systems.+}

### 1.1 Contributions

{+This paper is a theoretical contribution and research agenda. We present:+}

### 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. - {+**Fractal Metacognition**: a framework for self-similar reasoning across cognitive scales, connecting fractal data structures to fractal cognition. -+} A concrete research agenda for [-validating-] {+empirical validation, particularly+} IFS-based semantic compression.

### 1.2 Notation

{+### 1.2 Notation+}

### 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 ℓ |+}

### 1.2 Notation

{+Throughout, we use _memory_ to denote a discrete unit of stored information: a text chunk, conversation turn, observation, or their compressed representation.+}

### 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*-] {+_exactly self-similar_+} if S = ∪ᵢ fᵢ(S) for a finite set of contractive maps {fᵢ}. More relevant to natural data is [-*statistical self-similarity*,-] {+_statistical self-similarity_,+} where statistical properties are invariant under scaling.

### 2.1 Fractal Mathematics: Key Concepts

where 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-] {+lower-dimensional+} submanifold of D-dimensional [-space.-] {+space, creating the opportunity for compression.+}

### 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*)-] {+_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.

### 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:-] {+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).

### 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-] {+B:+}

### 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.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,-] {+them,+} stores them in a vector database, and retrieves the top-k most similar chunks at query time. [-Limitations include:-] {+Limitations:+} chunk boundary artifacts, flat [-retrieval at a single granularity, and-] {+single-granularity retrieval,+} no [-mechanism for memory-] consolidation or compression.

### 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-] {+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.

### 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. {+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 and does not address the underlying storage efficiency.-] {+operations.+}

### 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.

### 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.-] {+do not exploit self-similarity.+}

### 2.3 Neuroscience of Memory Consolidation

The hippocampal-neocortical memory system provides [-a biological template-] {+architectural intuition+} for [-LLM-] memory [-design. Key principles include:-] {+system design:+}

### 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.-] {+experiences.+} This is temporally nested: slow oscillations (< 1 Hz) modulate sleep spindles (12-15 Hz), which modulate ripples (80-120 Hz) — a [-*hierarchical-] {+hierarchical+} temporal [-structure*-] {+structure+} with self-similar nesting.

### 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-] {+level —+} a self-similar processing hierarchy with sparse distributed representations.

### 2.3 Neuroscience of Memory Consolidation

{+These 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.+}

### 3. The Fractal Memory Index Architecture

[-We propose the-] {+The+} Fractal Memory Index [-(FMI),-] {+(FMI) is+} a three-component architecture that maps fractal principles to LLM memory operations.

### 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.

### 3.1 Component 1: Buffered Memory Consolidation (BMC)

**Architecture:** New memories (text chunks, conversation turns, observations) enter a [-*write buffer*-] {+_write buffer_+} — an append-only [-log analogous to the hippocampal buffer.-] {+log.+} Periodically, a [-*consolidation process*-] {+_consolidation process_+} merges buffered entries into the persistent memory index, performing clustering, summarization, and compression.

### 3.1 Component 1: Buffered Memory Consolidation (BMC)

{+where Consolidate performs:+}

### 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-] {+(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

### 3.1 Component 1: Buffered Memory Consolidation (BMC)

**Biological [-analogy:**-] {+parallel:**+} The write buffer [-↔ hippocampal-] {+corresponds to+} episodic [-store. Consolidation ↔ sleep replay. The-] {+encoding, consolidation to offline replay, and the+} persistent index [-↔ neocortical-] {+to long-term+} semantic [-memory.-] {+storage.+} The key {+design+} insight {+— borrowed+} from neuroscience {+—+} is that consolidation is [-*lossy-] {+_lossy+} by [-design* —-] {+design_:+} memories [-are compressed-] {+compress+} into gists, with details available only if explicitly retained.

### 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-] {+stores:+}

### 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+}

### 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)

{+**Multi-resolution retrieval:** Given a query q, HMRI performs:+}

### 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)

### 3.2 Component 2: Hilbert-Curve Multi-Resolution Index (HMRI)

where [-embed_ℓ-] {+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.

### 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.

### 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.-]

### 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.+}

### 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.

### 3.3 Component 3: IFS Semantic Compression (ISC)

{+**Compression scheme:**+}

### 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-] {+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:** [-To retrieve, iterate-] {+Iterate+} the IFS to reconstruct embeddings at the desired resolution. Apply the Collage Theorem to bound approximation error.

### 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;-] {+studies;+} Birdal et al., 2021), this suggests compression ratios [-of 4-80×.-] {+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.+}

### 3.3 Component 3: IFS Semantic Compression (ISC)

{+**Practical considerations:**+}

### 3.3 Component 3: IFS Semantic Compression (ISC)

[-**Practical considerations:**-] - The IFS codes are [-*learned*,-] {+_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.-] {+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.

### 3.3 Component 3: IFS Semantic Compression (ISC)

**Connection to existing work:** [-This approach-] {+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 and-] {+encoding,+} 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.-] {+strengths. Whether this advantage transfers to high-dimensional semantic spaces remains to be demonstrated.+}

### 3.4 Integrated Architecture

The consolidation pipeline runs asynchronously (analogous to background garbage collection), while queries are served from the index in [-real-time.-] {+real time.+}

### 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(log n) search + paging overhead+} | [-O(n)-] {+O(L · log n) + paging+} | O(1) {++ paging+} | | FMI | O(log_B n / ε) | O(L · log_B n / ε) | O(1) amortized |

### 4.1 Retrieval Complexity

[-FMI 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.-]

### 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.+}

### 4.1 Retrieval Complexity

{+For large B, log_B n ≪ log n, giving FMI favorable constant factors.+}

### 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) |

### 4.2 Storage Complexity

With [-ISC compression,-] {+ISC,+} 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-] {+The actual compression ratio depends on the measured fractal dimension of the+} embedding [-storage.-] {+space — an open empirical question (see §7.1).+}

### 4.3 Compression Analysis

The effectiveness of ISC depends on the fractal dimension of the embedding [-space. We can estimate this theoretically:-] {+space:+}

### 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-] {+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).

### 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.+}

### 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-] {+maps —+} plausible for well-structured memory [-domains.-] {+domains, though this remains to be verified.+}

### 4.3 Compression Analysis

[-**Alternative: Hierarchical-] {+**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.-] {+and so on.+} This mirrors the fractal structure itself and allows [-the-] IFS codes to capture local self-similarity patterns that differ across memory regions.

### 4.4 Retrieval Quality

Multi-resolution retrieval improves answer quality for questions [-that require-] {+requiring+} reasoning at different abstraction levels. [-Consider a question like-] {+Consider:+} "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-] {+requires:+}

### 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+}

### 4.4 Retrieval Quality

RAPTOR [-can answer-] {+answers+} this by querying different tree [-levels, but-] {+levels+} independently. FMI's Hilbert-curve index enables [-*joint*-] {+_joint_+} retrieval: a single traversal identifies relevant memories at all scales, with results naturally ordered by the space-filling curve's locality property.

### 5.1 FMI vs. RAPTOR

RAPTOR is the closest existing system to FMI. Both build hierarchical memory structures with multi-granularity [-access. Key differences:-] {+access:+}

### 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 |

### 5.1 FMI vs. RAPTOR

FMI [-can be seen as a principled generalization of RAPTOR that-] formalizes [-its-] {+RAPTOR's+} implicit fractal structure and adds write optimization and compression.

### 5.2 FMI vs. MemGPT

[-MemGPT 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.-]

### 5.2 FMI vs. MemGPT

{+MemGPT 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.+}

### 5.3 FMI vs. KV-Cache Compression

KV-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-] {+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 [-compression-] {+techniques+} could [-complement existing quantization and eviction methods.-] {+extend to that domain as well.+}

### 6.1 Prototype Architecture

1. **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

### 6.2 Consolidation Schedule

[-Borrowing from the neuroscience of sleep cycles, we-] {+We+} propose a tiered consolidation schedule:

### 6.2 Consolidation Schedule

[-This mirrors the biological pattern of synaptic consolidation (minutes-hours) → systems consolidation (days-weeks) → long-term storage (months-years).-]

### 6.3 Integration with Existing Systems

FMI is designed as a drop-in replacement for the retrieval backend in existing RAG [-pipelines. The API surface is:-] {+pipelines:+}

### 6.3 Integration with Existing Systems

```python class FractalMemoryIndex: def add(self, text: str, embedding: np.ndarray, metadata: dict) -> [-None-] {+None:+} """Add to write buffer (O(1))"""

### 6.3 Integration with Existing Systems

def query(self, q_embedding: np.ndarray, levels: List[int] = [0, 1, 2], top_k: int = 10) -> [-List[MemoryResult]-] {+List[MemoryResult]:+} """Multi-resolution retrieval"""

### 6.3 Integration with Existing Systems

def consolidate(self, aggressive: bool = False) -> [-ConsolidationStats-] {+ConsolidationStats:+} """Trigger consolidation cycle"""

### 6.3 Integration with Existing Systems

def stats(self) -> [-IndexStats-] {+IndexStats:+} """Fractal dimension, compression ratio, memory usage""" ```

### 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** |

### 6.4 Estimated Engineering Effort

The system without ISC [-(Components 1 and 2 only)-] already provides significant advantages over flat RAG and is immediately buildable. ISC is the research frontier.

### 7.1 Is Semantic Space Actually Fractal?

[-The-] {+This is the+} central empirical question. While [-there is strong-] circumstantial evidence [-(low-] {+is suggestive — low+} intrinsic dimensionality, power-law distributions, hierarchical topic [-structure),-] {+structure —+} rigorous measurement of fractal dimension in LLM embedding spaces has not been performed. We propose the following {+validation+} experiment:

### 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-] {+do not hold — though+} Components 1 and 2 {+(buffered consolidation and multi-resolution indexing)+} remain [-useful).-] {+independently valuable.+}

### 7.2 IFS Learning Convergence

Learning 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: - 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-] {+mitigations:+}

### 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+}

### 7.4 Cold-Start and Domain Transfer

FMI's compression improves as more memories are ingested and the fractal structure stabilizes. [-Performance during-] {+During+} cold-start (few [-memories)-] {+memories), performance+} is no better than standard RAG. Domain transfer [-— applying an FMI trained on one domain to another —-] depends on whether the fractal structure [-generalizes.-] {+generalizes across domains.+}

### 7.5 Comparison to Simpler Hierarchical Approaches

[-### 7.5 Comparison to Simpler Hierarchical Approaches-]

### 7.5 Comparison to Simpler Hierarchical Approaches

[-The 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)-]

### 7.5 Comparison to Simpler Hierarchical Approaches

[-Whether these theoretical advantages translate to practical gains is an empirical question.-]

### 7.5 What Does the Fractal Formalism Add?

{+### 7.5 What Does the Fractal Formalism Add?+}

### 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":+}

### 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.+}

### 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.+}

### 8. Related Work

[-Beyond the systems discussed above, several lines of work are relevant:-]

### 8. Related Work

**FractalNet** (Larsson et al., 2017) applies self-similar macro-architecture to neural network design, demonstrating that fractal structure can [-be-] {+serve as+} a design principle for deep learning. Our work extends this from network architecture to {+both+} memory {+architecture and cognitive+} architecture.

### 8. Related Work

**GraphFractalNet** [-(2025)-] {+(Zhang et al., 2025)+} uses fractal attention mechanisms for graph learning, capturing hierarchical self-similar structures. This validates [-the-] {+fractal attention's+} applicability [-of fractal attention in-] {+to+} representation learning.

### 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).

### 8. Related Work

**Cognitive Workspace** [-(2025)-] {+(Li et al., 2025)+} proposes active memory management for LLMs with metacognitive control, complementing our focus on [-storage-] {+storage, retrieval,+} and [-retrieval efficiency.-] {+the fractal metacognition framework in §9.+}

### 9. Conclusion

[-## 9. Conclusion-]

### 9. Conclusion

[-We 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.-]

### 9. Conclusion

[-Our 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.-]

### 9. Conclusion

[-The 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.-]

### 9. Conclusion

[-The 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.-]

### 9. Fractal Metacognition

{+## 9. Fractal Metacognition+}

### 9. Fractal Metacognition

{+The 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.+}

### 9.1 The Single-Level Reasoning Problem

{+### 9.1 The Single-Level Reasoning Problem+}

### 9.1 The Single-Level Reasoning Problem

{+Most 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.+}

### 9.1 The Single-Level Reasoning Problem

{+Humans 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.+}

### 9.2 Self-Similar Cognition

{+### 9.2 Self-Similar Cognition+}

### 9.2 Self-Similar Cognition

{+Fractal metacognition structures reasoning into recursive levels, where each level applies the same reflective operation — _observe, evaluate, adapt_ — at a different cognitive scale:+}

### 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.+}

### 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.+}

### 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.+}

### 9.2 Self-Similar Cognition

{+Each 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.+}

### 9.3 Self-Similarity Across Cognitive Scales

{+### 9.3 Self-Similarity Across Cognitive Scales+}

### 9.3 Self-Similarity Across Cognitive Scales

{+The critical insight is that each level applies the _same_ cognitive operation — observe, evaluate, adapt — to different objects:+}

### 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 |+}

### 9.3 Self-Similarity Across Cognitive Scales

{+This 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.+}

### 9.4 Connection to Fractal Data Structures

{+### 9.4 Connection to Fractal Data Structures+}

### 9.4 Connection to Fractal Data Structures

{+The 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.+}

### 9.4 Connection to Fractal Data Structures

{+Formally, let R_ℓ denote the reasoning function at level ℓ:+}

### 9.4 Connection to Fractal Data Structures

{+R_1(task) → solution R_2(R_1 trace) → strategy adjustment R_3(R_2 patterns) → architectural insight R_ℓ(R_{ℓ-1} patterns) → ℓ-order adaptation+}

### 9.4 Connection to Fractal Data Structures

{+Each 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.+}

### 9.4 Connection to Fractal Data Structures

{+We 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.+}

### 9.5 Practical Implementation

{+### 9.5 Practical Implementation+}

### 9.5 Practical Implementation

{+Fractal metacognition does not require architectural changes to existing LLM agents. It requires structured prompting and memory:+}

### 9.5 Practical Implementation

{+1. **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?"+}

### 9.5 Practical Implementation

{+The 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.+}

### 9.5 Practical Implementation

{+---+}

### 10. Conclusion

{+## 10. Conclusion+}

### 10. Conclusion

{+The 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.**+}

### 10. Conclusion

{+At 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.+}

### 10. Conclusion

{+The 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.+}

### 10. Conclusion

{+We 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.+}

### References

Ansuini, A., Laio, A., Macke, J.H., & Zoccolan, D. (2019). Intrinsic dimension of data representations in deep neural networks. [-*NeurIPS 2019*.-] {+_NeurIPS 2019_.+}

### References

Barnsley, M.F. (1988). [-*Fractals Everywhere*.-] {+_Fractals Everywhere_.+} Academic Press.

### References

Barnsley, M.F. (2002). Iterated Function Systems for Lossless Data Compression. In [-*Fractals-] {+_Fractals+} in [-Multimedia*,-] {+Multimedia_,+} Springer.

### References

Birdal, T., Lou, A., Guibas, L.J., & Siber, G. (2021). Intrinsic dimension, persistent homology and generalization in neural networks. [-*NeurIPS 2021*.-] {+_NeurIPS 2021_.+}

### References

Brodal, G.S. & Fagerberg, R. (2003). Lower bounds for external memory dictionaries. [-*SODA 2003*.-] {+_SODA 2003_.+}

### References

Buzsáki, G. (1996). The hippocampo-neocortical dialogue. [-*Cerebral Cortex*,-] {+_Cerebral Cortex_,+} 6(2), 81-92.

### References

Collins, A.M. & Loftus, E.F. (1975). A spreading-activation theory of semantic processing. [-*Psychological Review*,-] {+_Psychological Review_,+} 82(6), 407-428.

### References

Diekelmann, S. & Born, J. (2010). The memory function of sleep. [-*Nature-] {+_Nature+} Reviews [-Neuroscience*,-] {+Neuroscience_,+} 11(2), 114-126.

### References

Fisher, Y. (1995). [-*Fractal-] {+_Fractal+} Image Compression: Theory and [-Application*.-] {+Application_.+} Springer.

### References

Gao, 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*.-] {+_arXiv:2312.10997_.+}

### References

Gutiérrez, B.J., et al. (2024). HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models. [-*arXiv:2405.14831*.-] {+_arXiv:2405.14831_.+}

### References

Hawkins, J. & Blakeslee, S. (2004). [-*On Intelligence*.-] {+_On Intelligence_.+} Times Books.

### References

Hawkins, 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-] {+_Frontiers+} in Neural [-Circuits*,-] {+Circuits_,+} 13, 22.

### References

Hilbert, D. (1891). Über die stetige Abbildung einer Linie auf ein Flächenstück. [-*Mathematische Annalen*,-] {+_Mathematische Annalen_,+} 38(3), 459-460.

### References

Hooper, 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*.-] {+_arXiv:2401.18079_.+}

### References

Jacquin, A.E. (1992). Image coding based on a fractal theory of iterated contractive image transformations. [-*IEEE-] {+_IEEE+} Transactions on Image [-Processing*,-] {+Processing_,+} 1(1), 18-30.

### References

Jannen, 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*.-] {+_FAST 2015_.+}

### References

Kwon, 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*.-] {+_SOSP 2023_.+}

### References

Larsson, G., Maire, M., & Shakhnarovich, G. (2017). FractalNet: Ultra-Deep Neural Networks without Residuals. [-*ICLR 2017*.-] {+_ICLR 2017_.+}

### References

Lawder, J.K. & King, P.J.H. (2000). Querying multi-dimensional data indexed using the Hilbert space-filling curve. [-*ACM-] {+_ACM+} SIGMOD [-Record*,-] {+Record_,+} 30(1), 19-24.

### References

Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., ... & Kiela, D. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. [-*NeurIPS 2020*.-] {+_NeurIPS 2020_.+}

### References

{+Li, X., et al. (2025). Cognitive Workspace: Active Memory Management for LLMs with Metacognitive Control. _arXiv preprint_.+}

### References

Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., ... & Guo, B. (2021). Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. [-*ICCV 2021*.-] {+_ICCV 2021_.+}

### References

Lin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., & Belongie, S. (2017). Feature Pyramid Networks for Object Detection. [-*CVPR 2017*.-] {+_CVPR 2017_.+}

### References

Mandelbrot, B. (1953). An informational theory of the statistical structure of language. [-*Communication Theory*,-] {+_Communication Theory_,+} 84, 486-502.

### References

McClelland, J.L., McNaughton, B.L., & O'Reilly, R.C. (1995). Why there are complementary learning systems in the hippocampus and neocortex. [-*Psychological Review*,-] {+_Psychological Review_,+} 102(3), 419-457.

### References

Packer, C., Fang, V., Patil, S.G., Lin, K., Wooders, S., & Gonzalez, J.E. (2023). MemGPT: Towards LLMs as Operating Systems. [-*arXiv:2310.08560*.-] {+_arXiv:2310.08560_.+}

### References

Pope, P., Zhu, C., Abdelkader, A., Goldblum, M., & Goldstein, T. (2021). The intrinsic dimension of images and its impact on learning. [-*ICLR 2021*.-] {+_ICLR 2021_.+}

### References

Sarthi, P., Abdullah, S., Tuli, A., Khanna, S., Goldie, A., & Manning, C.D. (2024). RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval. [-*ICLR 2024*.-] {+_ICLR 2024_.+}

### References

{+Shinn, N., Cassano, F., Gopinath, A., Narasimhan, K., & Yao, S. (2023). Reflexion: Language Agents with Verbal Reinforcement Learning. _NeurIPS 2023_.+}

### References

Sohl-Dickstein, J. (2024). The boundary of neural network trainability is fractal. [-*arXiv:2402.06184*.-] {+_arXiv:2402.06184_.+}

### References

Xiao, G., Tian, Y., Chen, B., Han, S., & Lewis, M. (2023). Efficient Streaming Language Models with Attention Sinks. [-*ICLR 2024*.-] {+_ICLR 2024_.+}

### References

{+Yao, 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_.+}

### References

Zhang, 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*.-] {+_NeurIPS 2023_.+}

### References

Zhang, 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*.-] {+_arXiv:2405.03917_.+}

### References

{+Zhang, Y., et al. (2025). GraphFractalNet: Fractal Attention Mechanisms for Graph Learning. _arXiv preprint_.+}

### References

Zipf, G.K. (1949). [-*Human-] {+_Human+} Behavior and the Principle of Least [-Effort*.-] {+Effort_.+} Addison-Wesley.
