Salesforce AI Research Unveils SFR-AutoR&D to Accelerate Autonomous Model Development and Codebase Optimization

Salesforce AI Research has officially unveiled SFR-AutoR&D, a sophisticated suite of autonomous agents designed to execute the end-to-end research loop, effectively shifting the paradigm of software engineering and machine learning model optimization. By automating the formulation of hypotheses, the implementation of experimental methods, and the rigorous validation of results against established baselines, this system represents a significant leap toward self-evolving enterprise AI. The technology, which is already being integrated into Salesforce’s production environments, marks a transition from human-led, weeks-long research cycles to automated, compute-driven iterations that take only hours.
The Mechanism of Autonomous Research
At its core, SFR-AutoR&D functions as a closed-loop system. When provided with a specific objective, a target software or model architecture, and a defined compute budget, the agents operate independently to improve performance. The system comprises two primary agents: AutoR&D-Engineer and TrainForge.
AutoR&D-Engineer focuses on the architectural and algorithmic integrity of existing codebases, identifying inefficiencies and proposing optimizations. TrainForge, conversely, manages the lifecycle of model training, exploring novel methodologies and evaluating candidate models against strictly held-out benchmarks—datasets that the system has never processed during its training phase. These agents rely on AutoInfra, a robust training backbone that manages GPU resources across the enterprise, ensuring that experiments are conducted efficiently and without manual intervention.
The emphasis on empirical evidence is the system’s primary safeguard. Unlike some generative AI tools that might hallucinate performance gains, SFR-AutoR&D only commits changes to a codebase if they are backed by verifiable data. If an experiment fails to outperform the existing baseline, the system discards the modification, ensuring that the integrity of the software remains intact.
Proven Track Record: From Public Libraries to Production
Before its application to proprietary Salesforce models, the SFR-AutoR&D framework was rigorously tested on high-stakes, open-source codebases. The team began with pandas, the ubiquitous Python library for data manipulation. By successfully optimizing performance within such a complex, expert-tuned codebase, the researchers demonstrated that the system could identify meaningful gains in projects that have already been subjected to years of human-led optimization.
This success extended to hnswlib and USearch, two libraries that serve as the backbone for similarity search—a critical component in AI retrieval systems. By improving these libraries, Salesforce has essentially enhanced the foundational architecture that allows AI to perform efficient vector searches, a task essential for grounding Large Language Models (LLMs) in real-time, private enterprise data.
The system’s most significant deployment to date has been in the enhancement of SFR-Embedding V3, the model utilized for retrieval within Salesforce Data Cloud. Following this, the team deployed the system to improve the open-source model EmbeddingGemma 2. The resulting model, SFR-Embedding v4, demonstrated superior performance in both quality and latency. This progression highlights the potential for AI to recursively improve the very software that powers its own operations, creating a cycle of continuous, self-driven enhancement.
Efficiency Metrics: A Transformation in Speed
Historically, the cycle of machine learning improvement has been restricted by the pace of human experimentation. A typical research cycle involves scientists identifying a bottleneck, proposing a hypothesis, coding the experiment, executing it, analyzing the results, and deciding on the next variable to tune. This process often spans several weeks.
SFR-AutoR&D has compressed this timeline to approximately 80 hours—roughly three days—to complete a full optimization loop. The efficiency gains are stark. In one session focused on model speed and cost-effectiveness, the system achieved a 36% increase in throughput and a 17% reduction in latency, with negligible impact on overall model accuracy.
For the enterprise, these statistics are transformative. In a high-volume environment where billions of customer records are accessed daily, a 17% reduction in latency translates directly to lower operational costs and improved user experiences. As Silvio Savarese, EVP and Chief Scientist at Salesforce, noted, the scientific method has not been abandoned; rather, it has been accelerated. "What we are seeing now is a research system that forms a hypothesis, tests it, and holds itself to the evidence, applied to a model our customers depend on," Savarese said.
The Role of Trust and Ethical Constraints
A central tenet of the Salesforce approach to autonomous AI is the "human-in-the-loop" philosophy, particularly regarding safety and ethics. The researchers establish the parameters of the exploration, including data constraints, performance goals, and, crucially, ethical guardrails.
Models trained for production use are restricted to datasets that have undergone comprehensive legal and ethical reviews. The system does not operate in a vacuum; it functions within a predefined "sandbox" of ethical guidelines. Before any autonomous improvement is pushed to a production environment, it must pass standard quality assurance protocols that ensure the model remains reliable, safe, and aligned with customer expectations. The autonomy of SFR-AutoR&D is limited by design; the system provides the innovation, but the researchers maintain control over the deployment.
Broader Implications for Enterprise AI
The emergence of SFR-AutoR&D suggests that the future of enterprise software will be increasingly defined by self-evolving frameworks. By automating the more tedious aspects of research, human scientists are freed to focus on high-level architecture and setting strategic goals rather than manual fine-tuning.
Shafiq Joty, Senior Research Director at Salesforce AI Research, emphasized that this evolution is already well underway. "Our goal is to build AI agents that discover methodological improvements we wouldn’t have thought to explore, and back those discoveries with rigorous experimental evidence," Joty explained. The ability for an AI to independently identify, test, and implement performance optimizations represents a shift from "static" software—which remains as it was coded—to "dynamic" software that learns from its environment to become more efficient over time.
This development also has implications for the broader tech industry. As companies struggle to keep up with the compute costs and talent shortages associated with AI development, autonomous R&D agents could provide a way to scale operations without a proportional increase in human headcount.
Looking forward, the research team is already exploring the next phase of this technology. A related effort, known as CodeEvolve, utilizes evolutionary search combined with LLMs to improve code quality in Java and Salesforce Apex. This project aims to bring the benefits of self-improvement to general-purpose enterprise programming languages.
Conclusion
The release of SFR-AutoR&D signals a maturation in the field of AI-assisted engineering. By moving beyond simple text generation to the active improvement of code and model architecture, Salesforce has established a blueprint for how enterprises can maintain a competitive edge in a rapidly evolving market. As these agents become more sophisticated, the role of the researcher will continue to shift toward that of an "orchestrator"—the professional who defines the mission, monitors the progress, and ensures that the autonomous loop remains grounded in the trust and safety standards that underpin the modern digital economy. With the timeline for innovation now being measured in hours of compute rather than weeks of human labor, the pace of AI evolution is set to accelerate significantly.






