From OS to AI: Microsoft’s Journey Through Singularity

In the ever-evolving landscape of technology, there exists a profound concept: Singularity. It represents the pivotal moment when technological advancements, particularly in artificial intelligence, propel machines beyond human intellect. As the visionary Ray Kurzweil put it, “Singularity is that point in time when all advances in technology, particularly in artificial intelligence, will lead to machines smarter than human beings.”

Microsoft, a tech giant renowned for its dominion over the operating system realm, embarked on a transformative journey into the realms of AI. While the initial seeds of artificial intelligence at Microsoft were sown with the inception of the auto-correct spell checker in 1993, the pivotal juncture arrived 26 years later when the company allocated a staggering USD 1 billion investment in OpenAI. This was a clear indication of Microsoft’s transition from an OS-centric entity to an AI-driven powerhouse. The recent acquisition of Activision Blizzard seamlessly aligns with Microsoft’s forward-looking roadmap.

The Emergence of Singularity

Notably, Microsoft has not been traditionally associated with moonshot projects. Its stronghold in the OS domain was more about distribution than pioneering technology. However, the surging wave of AI has necessitated Microsoft’s participation in the race to stay relevant in the tech arena, alongside luminaries like Mark Zuckerberg and Elon Musk.

In this context, we are reintroduced to the concept of Singularity. In a groundbreaking research paper titled, “Singularity: Planet-Scale, Preemptible and Elastic Scheduling of AI Workloads,” Microsoft Azure and Research teams unveiled a new AI infrastructure service known as ‘Singularity.’ What sets Singularity apart is its origin – it was meticulously crafted from scratch within the hallowed laboratories of Microsoft.

Empowering AI at Scale

Singularity possesses the remarkable capability to harness the collective power of thousands of GPUs and AI accelerators, orchestrating them to work in perfect harmony. Within this infrastructure, devices operate as a unified cluster, ensuring maximal performance and zero resource wastage. Moreover, Singularity has the ability to intelligently prioritize various workloads. It employs a strategy that optimally utilizes spare capacity while simultaneously maintaining the integrity of job-level SLAs. For instance, when faced with an increasing load on an inference job, Singularity can swiftly adapt by elastically scaling down or preempting training jobs, thereby ensuring optimal resource allocation.

However, it’s worth noting that this isn’t the first time Microsoft has ventured into the realm of Singularity. Some may recall the Singularity codename attached to another Microsoft Research project dating back to 2003.

Microsoft’s Pioneering Spirit

The first decade of the 21st century witnessed several Microsoft projects that failed to see the light of day, such as Windows Mobile, ME, Vista, and Zune. Among these was Singularity OS, a project that never made it to fruition.

During this period, Microsoft’s primary focus was on enhancing personal computing capabilities and user experiences. Singularity OS was conceived as a microkernel operating system, complete with an array of related tools and libraries. This ambitious project leveraged cutting-edge programming languages and tools to create an environment conducive to robust software development. It promised ease in verifying program behavior and tight control over runtime errors. Singularity’s extension model, centered around Software-Isolated Processes (SIPs), encapsulated components of an application or system, ensuring information security, failure isolation, and robust interfaces.

Microsoft took the initiative further by releasing the Singularity RDK (Research Development Kit) under a shared source license for academic use in 2008. However, the project was eventually shelved, giving way to other operating system research endeavors within Microsoft, including the notable Midori.

Midori: The Unreleased Marvel

Midori was a somewhat clandestine project within Microsoft’s corridors. It introduced an intriguing concept through a research paper titled “Uniqueness and Reference Immutability for Safe Parallelism.” This prototype extended the capabilities of the C# programming language, enabling it to support safe task and data parallelism. Microsoft even sought a software architect to lead the development of a secure concurrent programming model for Midori.

Midori played a significant role in powering Microsoft’s natural language search services across the West Coast and Asia. However, it never made its way into commercial release, leaving it as a tantalizing glimpse into what could have been.

Satya Nadella’s Vision: Singularity Resurrected

Today, under the leadership of Satya Nadella, Microsoft’s Singularity is redefined. It focuses on seamlessly integrating AI and machine learning into every facet of our experiences. The primary objective is to reduce the cost of AI by maximizing the utility of available accelerator capacity on a global scale, all while maintaining stringent SLAs across multiple pricing tiers.

Singularity excels in scheduling deep learning workloads, offering unparalleled workload flexibility. It empowers jobs to tap into spare capacity dispersed worldwide while upholding SLAs. Remarkably, Singularity simplifies the user experience by shifting the focus solely to the ML task, eliminating the need for users to concern themselves with checkpointing or elasticity. These mechanisms are infrastructure optimizations, transparent to the user but instrumental in achieving peak performance.

While the specific commercial use cases for Singularity remain undisclosed, Microsoft’s commitment to AI is undeniably steadfast. In a world where technology continually pushes the boundaries, Microsoft’s Singularity stands as a testament to their unwavering dedication to shaping the future.

As we conclude this journey through Microsoft’s AI evolution, it becomes evident that Singularity is not just a concept but a realization—a tangible step toward a future where AI reigns supreme.