10.5.25

ZEROSEARCH: Simulating Search to Train Retrieval-Augmented LLMs at Zero API Cost

Introduction

Retrieval-Augmented Generation (RAG) has become a cornerstone for grounding large language models (LLMs) in up-to-date information. Yet, existing approaches that integrate live search engines face two critical hurdles: unpredictable document quality and prohibitive API expenses during reinforcement learning (RL) training arXiv. ZEROSEARCH, introduced by Sun et al., offers an elegant solution—train LLMs’ internal “search” strategies without ever contacting a real search engine, slashing costs and stabilizing learning.


Methodology Deep Dive

1. Search Simulation via Supervised Fine-Tuning

Rather than querying Google or Bing, ZEROSEARCH first converts an LLM into a retrieval module (π_ψ) through lightweight supervised fine-tuning (SFT).

  • Data Collection: The authors collect interaction trajectories by prompting the base LLM to interact with a real search engine until a correct answer is produced (“positive”) or an incorrect one (“negative”).

  • Prompt Design: Query–document pairs from these trajectories are extracted. The fine-tuning prompt explicitly labels whether the generated document should be useful or noisy, enabling the model to simulate both high- and low-quality retrievals on demand (Table 2) arXiv.

2. Curriculum-Based Rollout Strategy

To progressively challenge the policy model (π_θ), ZEROSEARCH employs a curriculum that gradually increases the noise probability (pᵢ) of simulated documents over training steps:

pi=ps+(i/m1b1)×(peps)p_i = p_s + \bigg(\frac{i/m - 1}{b - 1}\bigg) \times (p_e - p_s)
  • Parameters:

    • ps, pe: initial and final noise probabilities

    • i/m: fraction of completed training steps

    • b: exponential base (default 4)

  • Effect: Early training relies on mostly useful documents, allowing π_θ to learn structured reasoning. Over time, noisy retrievals dominate, forcing robust search strategies arXiv.

3. Reinforcement Learning Objective

ZEROSEARCH frames the optimization as:

maxπθ    Ex,y[rϕ(x,y)    βDKL(πθπref)],\max_{\pi_\theta} \;\; \mathbb{E}_{x,y}\Big[\,r_\phi(x,y)\;-\;\beta\,D_{\mathrm{KL}}\big(\pi_\theta\,\|\,\pi_{\mathrm{ref}}\big)\Big],

where:

  • rₚhi(x,y): F1-based reward (balances precision & recall, avoids “reward hacking” seen with Exact Match) arXiv.

  • π_ref: reference model (for KL-penalty regularization).

  • Compatible Algorithms: PPO, GRPO, Reinforce++.


Key Results Overview

  • A 3B-parameter simulation LLM effectively incentivizes π_θ’s search skills at zero API cost.

  • A 7B retrieval module matches real Google Search performance; a 14B model surpasses it on benchmark QA tasks.

  • Generalizes across both base and instruction-tuned LLMs, and under diverse RL algorithms arXiv.


Implications for the ML Industry

  1. Cost-Effective RAG Training
    Organizations can now sidestep expensive search-API fees during RL-based retrieval training, democratizing advanced RAG strategies for smaller teams.

  2. Controlled Noise Injection
    The curriculum approach offers principled noise scheduling—models become robust not only to clean retrievals but also to adversarial or low-quality documents, enhancing real-world resilience.

  3. Scalable, On-Premises Solutions
    By fully simulating search behaviors, enterprises can run end-to-end RAG pipelines in-house, preserving data privacy and reducing dependency on third-party services.

  4. Extensible Framework
    ZEROSEARCH’s modular design—plugging in any simulation LLM and RL algorithm—facilitates rapid experimentation. Researchers can explore new reward functions (e.g., retrieval diversity), fine-tune custom domains, or apply to multimodal search settings.

  5. Toward Autonomous Agents
    As LLMs evolve into general-purpose agents, ZEROSEARCH paves the way for self-sufficient information gathering, where agents learn to both seek and synthesize knowledge without external calls.


Conclusion
ZEROSEARCH represents a paradigm shift in training retrieval-augmented LLMs: by simulating instead of querying, it eliminates cost barriers, stabilizes learning through controlled noise, and scales from 3B to 14B models. For the ML industry, this means more accessible, robust, and private RAG solutions—setting the stage for truly autonomous, knowledge-seeking AI agents.

New Research Compares Fine-Tuning and In-Context Learning for LLM Customization

 On May 9, 2025, VentureBeat reported on a collaborative study by Google DeepMind and Stanford University that evaluates two prevalent methods for customizing large language models (LLMs): fine-tuning and in-context learning (ICL). The research indicates that ICL generally provides better generalization capabilities compared to traditional fine-tuning, especially when adapting models to novel tasks. 

Understanding Fine-Tuning and In-Context Learning

Fine-tuning involves further training a pre-trained LLM on a specialized dataset, adjusting its internal parameters to acquire new knowledge or skills. In contrast, ICL does not alter the model's parameters; instead, it guides the model by providing examples of the desired task within the input prompt, allowing the model to infer how to handle similar queries. 

Experimental Approach

The researchers designed controlled synthetic datasets featuring complex, self-consistent structures, such as imaginary family trees and hierarchies of fictional concepts. To ensure the novelty of the information, they replaced all nouns, adjectives, and verbs with invented terms, preventing any overlap with the models' pre-training data. The models were then tested on various generalization challenges, including logical deductions and reversals. 

Key Findings

The study found that, in data-matched settings, ICL led to better generalization than standard fine-tuning. Models utilizing ICL were more adept at tasks like reversing relationships and making logical deductions from the provided context. However, ICL is generally more computationally expensive at inference time, as it requires providing additional context to the model for each use. 

Introducing Augmented Fine-Tuning

To combine the strengths of both methods, the researchers proposed an augmented fine-tuning approach. This method involves using the LLM's own ICL capabilities to generate diverse and richly inferred examples, which are then added to the dataset used for fine-tuning. Two main data augmentation strategies were explored:

  1. Local Strategy: Focusing on individual pieces of information, prompting the LLM to rephrase single sentences or draw direct inferences, such as generating reversals.

  2. Global Strategy: Providing the full training dataset as context, then prompting the LLM to generate inferences by linking particular documents or facts with the rest of the information, leading to longer reasoning traces.

Models fine-tuned on these augmented datasets showed significant improvements in generalization, outperforming both standard fine-tuning and plain ICL. 

Implications for Enterprise AI Development

This research offers valuable insights for developers and enterprises aiming to adapt LLMs to specific domains or proprietary information. While ICL provides superior generalization, its computational cost at inference time can be high. Augmented fine-tuning presents a balanced approach, enhancing generalization capabilities while mitigating the continuous computational demands of ICL. By investing in creating ICL-augmented datasets, developers can build fine-tuned models that perform better on diverse, real-world inputs.

9.5.25

Fidji Simo Appointed as OpenAI's CEO of Applications, Signaling Strategic Expansion

 On May 8, 2025, OpenAI announced the appointment of Fidji Simo, the current CEO and Chair of Instacart, as its new CEO of Applications. In this newly established role, Simo will oversee the development and deployment of OpenAI's consumer and enterprise applications, reporting directly to CEO Sam Altman. This move underscores OpenAI's commitment to expanding its product offerings and scaling its operations to meet growing global demand. 

Transition from Instacart to OpenAI

Simo will remain at Instacart during a transitional period, assisting in the onboarding of her successor, who is expected to be selected from the company's existing leadership team. After stepping down as CEO, she will continue to serve as Chair of Instacart's Board. 

In a message shared with her team and later posted publicly, Simo expressed her enthusiasm for the new role:

“Joining OpenAI at this critical moment is an incredible privilege and responsibility. This organization has the potential of accelerating human potential at a pace never seen before, and I am deeply committed to shaping these applications toward the public good.”

Strategic Implications for OpenAI

The creation of the CEO of Applications role reflects OpenAI's evolution from a research-focused organization to a multifaceted entity delivering AI solutions at scale. With Simo at the helm of the Applications division, OpenAI aims to enhance its consumer-facing products, such as ChatGPT, and expand its enterprise offerings. This strategic realignment allows Altman to concentrate more on research, computational infrastructure, and AI safety systems. 

Simo's Background and Expertise

Before leading Instacart, Simo held significant roles at Facebook (now Meta), including Vice President and Head of the Facebook app, where she was instrumental in developing features like News Feed, Stories, and Facebook Live. Her experience in scaling consumer technology platforms and monetization strategies positions her well to drive OpenAI's application development and deployment. 

Additionally, Simo has been a member of OpenAI's Board of Directors since March 2024, providing her with insight into the company's mission and operations. Her appointment follows other strategic hires, such as former Nextdoor CEO Sarah Friar as CFO and Kevin Weil as Chief Product Officer, indicating OpenAI's focus on strengthening its leadership team to support its growth ambitions.

Mem0 Introduces Scalable Memory Architectures to Enhance AI Conversational Consistency

 On May 8, 2025, AI research company Mem0 announced the development of two new memory architectures, Mem0 and Mem0g, aimed at improving the ability of large language models (LLMs) to maintain context over prolonged conversations. These architectures are designed to dynamically extract, consolidate, and retrieve key information from dialogues, enabling AI agents to exhibit more human-like memory capabilities.

Addressing the Limitations of Traditional LLMs

While LLMs have demonstrated remarkable proficiency in generating human-like text, they often struggle with maintaining coherence in extended or multi-session interactions due to fixed context windows. Even with context windows extending to millions of tokens, challenges persist:

  1. Conversation Length: Over time, dialogues can exceed the model's context capacity, leading to loss of earlier information.

  2. Topic Variability: Real-world conversations often shift topics, making it inefficient for models to process entire histories for each response.

  3. Attention Degradation: LLMs may overlook crucial information buried deep in long conversations due to the limitations of their attention mechanisms.

These issues can result in AI agents forgetting essential details, such as previous customer interactions or user preferences, thereby diminishing their effectiveness in applications like customer support, planning, and healthcare.

Innovations in Memory Architecture

Mem0 and Mem0g aim to overcome these challenges by implementing scalable memory systems that:

  • Dynamically Extract Key Information: Identifying and storing relevant details from ongoing conversations.

  • Consolidate Contextual Data: Organizing extracted information to maintain coherence across sessions.

  • Efficiently Retrieve Past Interactions: Accessing pertinent historical data to inform current responses without processing entire conversation histories.

By focusing on these aspects, Mem0's architectures seek to provide AI agents with a more reliable and context-aware conversational ability, closely mirroring human memory functions.

Implications for Enterprise Applications

The introduction of Mem0 and Mem0g holds significant promise for enterprises deploying AI agents in environments requiring long-term contextual understanding. Applications include:

  • Customer Support: AI agents can recall previous customer interactions, enhancing service quality.

  • Personal Assistants: Maintaining user preferences and past activities to provide personalized assistance.

  • Healthcare: Remembering patient history and prior consultations to inform medical advice.

By addressing the memory limitations of traditional LLMs, Mem0's architectures aim to enhance the reliability and effectiveness of AI agents across various sectors.

OpenAI Introduces Reinforcement Fine-Tuning for o4-mini Model, Empowering Enterprises with Customized AI Solutions

 On May 8, 2025, OpenAI announced the availability of Reinforcement Fine-Tuning (RFT) for its o4-mini reasoning model, enabling enterprises to create customized AI solutions tailored to their unique operational needs. 

Enhancing AI Customization with RFT

RFT allows developers to adapt the o4-mini model to specific organizational goals by incorporating feedback loops during training. This process facilitates the creation of AI systems that can:

  • Access and interpret proprietary company knowledge

  • Respond accurately to queries about internal products and policies

  • Generate communications consistent with the company's brand voice

Developers can initiate RFT through OpenAI's online platform, making the process accessible and cost-effective for both large enterprises and independent developers. 

Deployment and Integration

Once fine-tuned, the customized o4-mini model can be deployed via OpenAI's API, allowing seamless integration with internal systems such as employee interfaces, databases, and applications. This integration supports the development of internal chatbots and tools that leverage the tailored AI model for enhanced performance.

Considerations and Cautions

While RFT offers significant benefits in customizing AI models, OpenAI advises caution. Research indicates that fine-tuned models may exhibit increased susceptibility to issues like "jailbreaks" and hallucinations. Organizations are encouraged to implement robust monitoring and validation mechanisms to mitigate these risks.

Expansion of Fine-Tuning Capabilities

In addition to RFT for o4-mini, OpenAI has extended supervised fine-tuning support to its GPT-4.1 nano model, the company's most affordable and fastest offering. This expansion provides enterprises with more options to tailor AI models to their specific requirements

Alibaba’s ZeroSearch: Empowering AI to Self-Train and Slash Costs by 88%

 On May 8, 2025, Alibaba Group unveiled ZeroSearch, an innovative reinforcement learning framework designed to train large language models (LLMs) in information retrieval without relying on external search engines. This approach not only enhances the efficiency of AI training but also significantly reduces associated costs.

Revolutionizing AI Training Through Simulation

Traditional AI training methods for search capabilities depend heavily on real-time interactions with search engines, leading to substantial API expenses and unpredictable data quality. ZeroSearch addresses these challenges by enabling LLMs to simulate search engine interactions within a controlled environment. The process begins with a supervised fine-tuning phase, transforming an LLM into a retrieval module capable of generating both relevant and irrelevant documents in response to queries. Subsequently, a curriculum-based rollout strategy is employed during reinforcement learning to gradually degrade the quality of generated documents, enhancing the model's ability to discern and retrieve pertinent information. 

Achieving Superior Performance at Reduced Costs

In extensive evaluations across seven question-answering datasets, ZeroSearch demonstrated performance on par with, and in some cases surpassing, models trained using actual search engines. Notably, a 14-billion-parameter retrieval module trained with ZeroSearch outperformed Google Search in specific benchmarks. Financially, the benefits are substantial; training with approximately 64,000 search queries using Google Search via SerpAPI would cost about $586.70, whereas utilizing a 14B-parameter simulation LLM on four A100 GPUs incurs only $70.80—a remarkable 88% reduction in costs. 

Implications for the AI Industry

ZeroSearch's introduction marks a significant shift in AI development paradigms. By eliminating dependence on external search engines, developers gain greater control over training data quality and reduce operational costs. This advancement democratizes access to sophisticated AI training methodologies, particularly benefiting startups and organizations with limited resources. Furthermore, the open-source release of ZeroSearch's code, datasets, and pre-trained models on platforms like GitHub and Hugging Face fosters community engagement and collaborative innovation. 

Looking Ahead

As AI continues to evolve, frameworks like ZeroSearch exemplify the potential for self-sufficient learning models that minimize external dependencies. This development not only streamlines the training process but also paves the way for more resilient and adaptable AI systems in various applications.

8.5.25

Mistral Unveils Medium 3: High-Performance AI at Unmatched Value

 On May 7, 2025, French AI startup Mistral announced the release of its latest model, Mistral Medium 3, emphasizing a balance between efficiency and performance. Positioned as a cost-effective alternative in the competitive AI landscape, Medium 3 is designed for tasks requiring high computational efficiency without compromising output quality. 

Performance and Cost Efficiency

Mistral claims that Medium 3 achieves "at or above" 90% of the performance of Anthropic’s more expensive Claude Sonnet 3.7 across various benchmarks. Additionally, it reportedly surpasses recent open models like Meta’s Llama 4 Maverick and Cohere’s Command A in popular AI performance evaluations.

The model is available through Mistral’s API at a competitive rate of $0.40 per million input tokens and $2 per million output tokens. For context, a million tokens approximate 750,000 words. 

Deployment and Accessibility

Medium 3 is versatile in deployment, compatible with any cloud infrastructure, including self-hosted environments equipped with four or more GPUs. Beyond Mistral’s API, the model is accessible via Amazon’s SageMaker platform and is slated for integration with Microsoft’s Azure AI Foundry and Google’s Vertex AI in the near future. 

Enterprise Applications

Tailored for coding and STEM-related tasks, Medium 3 also excels in multimodal understanding. Industries such as financial services, energy, and healthcare have been beta testing the model for applications including customer service, workflow automation, and complex data analysis. 

Expansion of Mistral’s Offerings

In conjunction with the Medium 3 launch, Mistral introduced Le Chat Enterprise, a corporate-focused chatbot service. This platform offers tools like an AI agent builder and integrates with third-party services such as Gmail, Google Drive, and SharePoint. Le Chat Enterprise, previously in private preview, is now generally available and will soon support the Model Coordination Protocol (MCP), facilitating seamless integration with various AI assistants and systems. 


Explore Mistral Medium 3: Mistral API | Amazon SageMaker

Microsoft Embraces Google’s Standard for Linking AI Agents: Why It Matters

 In a landmark move for AI interoperability, Microsoft has adopted Google's Model Coordination Protocol (MCP) — a rapidly emerging open standard designed to unify how AI agents interact across platforms and applications. The announcement reflects a growing industry consensus: the future of artificial intelligence lies not in isolated models, but in connected multi-agent ecosystems.


What Is MCP?

Developed by Google, Model Coordination Protocol (MCP) is a lightweight, open framework that allows AI agents, tools, and APIs to communicate using a shared format. It provides a standardized method for passing context, status updates, and task progress between different AI systems — regardless of who built them.

MCP’s primary goals include:

  • 🧠 Agent-to-agent collaboration

  • 🔁 Stateful context sharing

  • 🧩 Cross-vendor model integration

  • 🔒 Secure agent execution pipelines


Why Microsoft’s Adoption Matters

By integrating MCP, Microsoft joins a growing alliance of tech giants, including Google, Anthropic, and NVIDIA, who are collectively shaping a more open and interoperable AI future.

This means that agentic systems built in Azure AI Studio or connected to Microsoft Copilot can now communicate more easily with tools and agents powered by Gemini, Claude, or open-source platforms.

"The real power of AI isn’t just what one model can do — it’s what many can do together."
— Anonymous industry analyst


Agentic AI Is Going Cross-Platform

As companies shift from isolated LLM tools to more autonomous AI agents, standardizing how these agents coordinate is becoming mission-critical. With the rise of agent frameworks like CrewAI, LangChain, and AutoGen, MCP provides the "glue" that connects diverse agents across different domains — like finance, operations, customer service, and software development.


A Step Toward an Open AI Stack

Microsoft’s alignment with Google on MCP suggests a broader industry pivot away from closed, siloed systems. It reflects growing recognition that no single company can dominate the agent economy — and that cooperation on protocol-level standards will unlock scale, efficiency, and innovation.


Final Thoughts

The adoption of MCP by Microsoft is more than just a technical choice — it’s a strategic endorsement of open AI ecosystems. As AI agents become more integrated into enterprise workflows and consumer apps, having a universal language for coordination could make or break the usability of next-gen tools.

With both Microsoft and Google now on board, MCP is poised to become the default operating standard for agentic AI at scale.

Google’s Gemini 2.5 Pro I/O Edition Surpasses Claude 3.7 Sonnet in AI Coding

 On May 6, 2025, Google's DeepMind introduced the Gemini 2.5 Pro I/O Edition, marking a significant advancement in AI-driven coding. This latest iteration of the Gemini 2.5 Pro model demonstrates superior performance in code generation and user interface design, positioning it ahead of competitors like Anthropic's Claude 3.7 Sonnet.

Enhanced Capabilities and Performance

The Gemini 2.5 Pro I/O Edition showcases notable improvements:

  • Full Application Development from Single Prompts: Users can generate complete, interactive web applications or simulations using a single prompt, streamlining the development process. 

  • Advanced UI Component Generation: The model can create highly styled components, such as responsive video players and animated dictation interfaces, with minimal manual CSS editing.

  • Integration with Google Services: Available through Google AI Studio and Vertex AI, the model also powers features in the Gemini app, including the Canvas tool, enhancing accessibility for developers and enterprises.

Competitive Pricing and Accessibility

Despite its advanced capabilities, the Gemini 2.5 Pro I/O Edition maintains a competitive pricing structure:

  • Cost Efficiency: Priced at $1.25 per million input tokens and $10 per million output tokens for a 200,000-token context window, it offers a cost-effective solution compared to Claude 3.7 Sonnet's rates of $3 and $15, respectively. 

  • Enterprise and Developer Access: The model is accessible to independent developers via Google AI Studio and to enterprises through Vertex AI, facilitating widespread adoption.

Implications for AI Development

The release of Gemini 2.5 Pro I/O Edition signifies a pivotal moment in AI-assisted software development:

  • Benchmark Leadership: Early benchmarks indicate that Gemini 2.5 Pro I/O Edition leads in coding performance, marking a first for Google since the inception of the generative AI race.

  • Developer-Centric Enhancements: The model addresses key developer feedback, focusing on practical utility in real-world code generation and interface design, aligning with the needs of modern software development.

As the AI landscape evolves, Google's Gemini 2.5 Pro I/O Edition sets a new standard for AI-driven coding, offering developers and enterprises a powerful tool for efficient and innovative software creation.


Explore Gemini 2.5 Pro I/O Edition: Google AI Studio | Vertex AI

  Anthropic Enhances Claude Code with Support for Remote MCP Servers Anthropic has announced a significant upgrade to Claude Code , enablin...