January 2026 Summaries
9 posts from AI21 Labs
Filter
Month:
Year:
Post Summaries
Back to Blog
Research shows that adapting chunk sizes for different queries can significantly enhance retrieval performance in retrieval-augmented generation (RAG) systems. Traditional methods often rely on a fixed chunk size, which can lead to suboptimal results due to the trade-off between preserving fine-grained details with smaller chunks and capturing broader context with larger ones. Experiments reveal that indexing the same corpus at multiple chunk sizes and using Reciprocal Rank Fusion (RRF) to aggregate retrieval results can improve performance by 1-37% without retraining models. Oracle experiments demonstrate that different queries benefit from different chunk sizes, with a potential recall improvement of 20-40% when optimal sizes are selected. The study proposes a practical multi-scale retrieval method that indexes at various chunk sizes and aggregates results at inference time using RRF, achieving gains comparable to those from switching embedding models. This approach emphasizes the dynamic interaction between chunk size and query context, allowing systems to leverage multiple representations for more robust retrieval outcomes.
Jan 29, 2026
1,700 words in the original blog post.
AI21 Labs encountered a sporadic issue where their Jamba Reasoning 3B model generated gibberish with high confidence during reinforcement learning training. The problem stemmed from the vLLM framework's scheduling and cache management, leading to state corruption under specific runtime conditions. To resolve this, they developed a comparison script to identify and measure failures, ultimately finding that the bug was linked to how vLLM classified new requests due to memory constraints. By tracking request IDs through the forward context and adjusting the classification logic to ensure new requests were always initialized as prefill, they fixed the issue. The debugging process underscored the importance of testing under constrained resources, ensuring determinism, and instrumenting systems for visibility. The lessons learned from this endeavor are applicable to various model architectures and highlight the need for methodical debugging and verification.
Jan 29, 2026
3,349 words in the original blog post.
Dynamic difficulty snoozing is introduced as an effective method to improve compute efficiency in reinforcement learning (RL) training by addressing inefficiencies associated with dynamic sampling, which often results in training slowdowns due to overly-easy or overly-hard examples. By temporarily filtering out examples that are too easy, snoozing maintains training stability and efficiency without compromising the quality of the results. While dynamic filtering can cause imbalances and risks like task starvation in multi-task settings, dynamic snoozing offers a balanced approach by periodically reintroducing these examples to ensure a well-rounded training dataset. This technique, along with methods like probabilistic snoozing and dynamic example weighting, demonstrates a substantial potential for enhancing data efficiency, reducing compute waste, and maintaining training balance, particularly in complex multi-task learning scenarios.
Jan 22, 2026
2,247 words in the original blog post.
A novel approach called Word Shape Encoding has been developed to improve the parsing of PDF documents written in right-to-left (RTL) languages, such as Hebrew and Arabic, by converting them into a more easily parsed left-to-right (LTR) format. Traditional parsing strategies often struggle with RTL languages, introducing errors and reducing accuracy. This new method involves encoding RTL text by matching it to English words with similar visual geometry, preserving the original document's structure and layout. The approach was tested using a synthetic dataset and showed significant improvements in parsing accuracy, especially for Hebrew, across various models, including Vision-Language Models, modular pipelines, and commercial SaaS solutions. However, results for Arabic were mixed, highlighting the importance of a model's exposure to specific languages during training. The method's dependency on PDF metadata limits its applicability to other formats, prompting the development of a new model trained on data generated by this encoding method, which has shown promise in maintaining high-quality RTL parsing. This innovative strategy underscores the potential of transforming language-specific challenges into problems that existing models are better equipped to handle, suggesting broader applications beyond just text parsing.
Jan 22, 2026
2,412 words in the original blog post.
The concept of "Boring AI" emphasizes the importance of creating artificial intelligence systems that prioritize reliability, predictability, and accuracy, particularly in complex enterprise workflows where the cost of errors can be significant. Such systems are designed to behave consistently and traceably, ensuring every decision is explainable and auditable. This approach is likened to a line cook who remains focused on quality despite pressure, embodying a principle where AI models are engineered to resist improvisation and adhere strictly to instructions. The "boring" AI systems are underpinned by four pillars: accuracy, grounding, strict instruction-following, and visibility, ensuring that even in complex multi-step workflows, the AI remains reliable. AI21's development of its AI stack, including the Jamba language model and the AI21 Maestro orchestration framework, exemplifies this focus on creating AI that integrates seamlessly into enterprise environments, delivering predictable outcomes necessary for critical business operations. Choosing boring AI means prioritizing trust and long-term performance over initial excitement, ultimately allowing businesses to operate more efficiently and without the need for constant oversight.
Jan 15, 2026
846 words in the original blog post.
The evaluation of agentic benchmarks, particularly using AI21 Maestro for SWE-bench Verified, involved addressing significant infrastructure challenges due to the complexity and scale required for statistical confidence. Traditional evaluation methods, designed for short and linear processes, struggled with the stateful, branching nature of agentic systems, necessitating the orchestration of over 200,000 evaluations. Key technical obstacles included managing high-latency, multi-step workflows, ensuring isolated execution environments to prevent state collision, and creating a resilient architecture to handle inevitable infrastructure failures. Initial attempts using local and naive Kubernetes implementations faced issues with resource contention and rate limits, due to assumptions made by the SWE-bench code about local execution environments. A breakthrough was achieved by adopting a multi-tenant simulation environment, allowing shared resources across runs and dramatically reducing failure rates. This setup, capable of supporting up to 8,000 parallel runs, was further optimized by separating the generation and evaluation steps, enabling resumability and efficient analysis even when some runs fail. Scaling this environment not only facilitated statistical confidence but also revealed system efficiencies necessary for real-world applications of enterprise AI systems, underscoring the importance of large-scale, iterative testing.
Jan 08, 2026
1,384 words in the original blog post.
Jamba2 is a new open-source family of language models designed for enterprise use, focusing on reliability and steerability, and built with the SSM-Transformer architecture. The models are available in two sizes, 3B and Mini, and are released under the Apache 2.0 License, making them accessible for developers to use on various devices. Jamba2 excels in instruction-following and grounding benchmarks, offering a memory-efficient solution for precise question-answering workflows in enterprise settings. It is engineered to deliver high throughput and enterprise-grade accuracy without the high costs associated with reasoning models. The development of Jamba2 involved a rigorous training process, including mid-training with a diverse token mix and on-policy reinforcement learning, to ensure its proficiency in handling complex enterprise tasks. Available on platforms like Hugging Face and AI21 Studio, Jamba2 invites researchers and developers to explore and expand its applications in real-world scenarios.
Jan 08, 2026
887 words in the original blog post.
AI21 Maestro is a general-purpose agentic framework designed to optimize long-horizon computational tasks through improved orchestration and resource allocation. It addresses the limitations of traditional strategies by utilizing structured Test-Time Compute mechanisms, which enhance accuracy, observability, and efficiency by separating decision-making from the language model itself. Maestro employs horizontal scaling and structured plans to achieve better performance at lower costs, as demonstrated in its application to SWE-bench tasks, where it outperforms traditional methods by dynamically managing computational resources and execution paths. By exploring a diverse action space and employing decision-theoretic optimization, Maestro effectively orchestrates multiple agents and models, resulting in a more efficient and accurate problem-solving process compared to conventional approaches.
Jan 07, 2026
1,974 words in the original blog post.
AI21 Maestro's TTC-first agentic framework leverages parallel execution of multiple reasoning paths to effectively tackle read-only tasks, but faces challenges when applied to tasks that involve state mutation, such as coding. This is due to conflicts arising when multiple agents simultaneously modify the same environment, leading to issues like file corruption and conflicting changes. To address this, AI21 extended the Model Context Protocol (MCP) with a Workspace layer, introducing five domain-agnostic primitives—initialize, clone, merge, compare, and delete—that provide workspace isolation without requiring tool rewrites. Implemented with git worktrees, this approach allows multiple subagents to work in parallel, promoting safe experimentation and speculative problem-solving by providing isolated workspaces where each subagent can independently execute, test, and merge its changes. This innovation not only resolves the conflicts encountered in state-mutating tasks but also sets a precedent for scalable, multi-agent systems that can apply these principles across various domains, enhancing the capacity for exploration and experimentation.
Jan 07, 2026
1,230 words in the original blog post.