TLDR: Sculptor is a new framework that provides Large Language Models (LLMs) with tools to actively manage their internal working memory, similar to how humans focus on relevant information. This “Active Context Management” helps LLMs overcome issues like proactive interference in long texts, improving their reasoning and information retrieval capabilities without specific training. It introduces tools for context fragmentation, summarization, hiding/restoring content, and intelligent search, leading to significant performance improvements on information-sparse benchmarks.
Large Language Models (LLMs) have shown incredible abilities, but they often struggle when dealing with very long texts. Imagine trying to remember every detail from a massive book while also trying to solve a complex puzzle – it’s easy to get overwhelmed. This challenge is often due to something called ‘proactive interference,’ where irrelevant information from earlier parts of a text can mess with the model’s ability to reason and recall important details later on.
Most efforts to fix this problem have focused on giving LLMs more memory, like external storage systems. However, a new framework called Sculptor proposes a different, complementary approach: empowering LLMs to actively manage their own internal working memory. Think of it like a human expert who naturally filters out distractions and focuses only on what’s relevant to the task at hand.
What is Sculptor?
Sculptor treats LLMs as ‘active sculptors’ of their own context. Just as a sculptor carves a desired form from a block of marble, Sculptor enables LLMs to refine their immediate working space where attention and reasoning happen. This process is called Active Context Management (ACM).
The framework equips LLMs with a suite of tools designed to help them curate their context:
-
Context Fragmentation: Tools like
fragment_contextbreak down long conversations into smaller, manageable pieces, each with a unique ID for easy reference. -
Summary, Hide, and Restore: This category includes tools to summarize specific sections (
summary_fragment), revert summaries (revert_summary), temporarily hide irrelevant content (fold_fragment) to reduce clutter, reveal hidden content when needed (expand_fragment), and even reset the entire conversation to its original form (restore_context). -
Intelligent Search and Retrieval: The
search_contexttool allows LLMs to perform both exact and semantic searches across the conversation history, helping them quickly find relevant information. There’s alsoget_search_detailto retrieve extended context around search results, which helps overcome the ‘lost in the middle’ problem where important information gets buried.
This approach shifts LLMs from passively processing everything to actively curating their attention and working memory, focusing their computational power on the most important information.
How LLMs Learn to Use Sculptor
Currently, Sculptor leverages the inherent tool-calling abilities of advanced LLMs like Claude-4-Sonnet and GPT-4.1. These models can understand and use Sculptor’s tools without specific training, relying on their existing knowledge of how to use tools based on natural language descriptions. Future work aims to use reinforcement learning to train LLMs for even more sophisticated and optimal tool usage.
Promising Results
Preliminary evaluations of Sculptor have shown significant improvements on challenging benchmarks. On the PI-LLM task, which tests how well models can forget outdated information and focus on current details, Claude-4-Sonnet and GPT-4.1 showed notable gains. For instance, Claude-4-Sonnet improved its average score by 2.62 points, and GPT-4.1 by 5.54 points. While DeepSeek-V3 had mixed results, the overall trend indicates success.
On the NeedleBench Multi-Needle Reasoning tasks, which require models to find and connect multiple pieces of information scattered throughout long documents, all Sculptor-enhanced models improved. Claude-4-Sonnet, GPT-4.1, and DeepSeek-V3 achieved gains of 27.0, 23.0, and 8.0 points respectively. Claude-4-Sonnet, for example, reached 90% accuracy even on complex 5-needle tasks.
Interestingly, the models used different Sculptor tools depending on the task. For the PI-LLM benchmark, they primarily used fragmentation and folding tools to manage proactive interference. For multi-needle reasoning, the intelligent search tools were predominantly triggered for rapid information localization.
Also Read:
- Keeping LLMs Sharp: General Samples Replay for Continual Learning
- Teaching AI When to Stop Thinking: A Meta-Cognitive Approach for Large Language Models
Looking Ahead
While Sculptor shows great promise, it does introduce some computational trade-offs, as actively reshaping the context can affect how the model’s internal memory (KV cache) works. Researchers anticipate that future optimizations, including adaptive caching strategies and reinforcement learning for tool usage, will address these challenges.
Sculptor represents an exciting step towards giving LLMs more cognitive control over their own processing, moving beyond simply expanding memory capacity to enabling more reliable and robust reasoning in complex, long-context scenarios. To learn more, you can read the full research paper here.


