News

Microsoft Announces 'Windows ML' Platform for AI-Assisted Windows 10 Apps

Microsoft today said Windows 10 developers will soon be able to more easily infuse artificial intelligence (AI) functionality into their apps with the help of a new machine learning platform coming in the next update of the OS.

The announcement was made at today's Windows Developers Day event.

Further information was provided in a post titled "AI Platform for Windows Developers," in which the company said the AI expertise it developed in products like Cortana and Bing Search will be made available to Windows app coders.

"With the next major update to Windows 10, we begin to deliver the advances that have been built into our apps and services as part of the Windows 10 platform," Microsoft said. "Every developer that builds apps on Windows 10 will be able to use AI to deliver more powerful and engaging experiences."

Initially, the AI functionality will focus on machine learning, as different partners like Qualcomm Technologies and AMD will help out with the "Windows ML" platform.

Windows ML Architecture
[Click on image for larger view.] Windows ML Architecture (source: Microsoft).

Microsoft said the AI platform in Windows 10 will let developers use pre-trained machine learning models in their Windows device apps. Benefits of this to developers, the company said, include:

  • Low latency, real-time results. Windows can perform AI evaluation tasks using the local processing capabilities of the PC, enabling real-time analysis of large local data such as images and video. Results can be delivered quickly and efficiently for use in performance intensive workloads like game engines, or background tasks such as indexing for search.
  • Reduced operational costs. Together with Microsoft's Cloud AI platform, developers can build affordable, end-to-end AI solutions that combine training models in Azure with deployment to Windows devices for evaluation. Significant savings can be realized by reducing or eliminating costs associated with bandwidth due to ingestion of large data sets, such as camera footage or sensor telemetry. Complex workloads can be processed in real-time on the edge, with minimal sample data sent to the cloud for improved training on observations.
  • Flexibility. Developers can choose to perform AI tasks on device or in the cloud based on what their customers & scenarios need. AI processing can happen on the device if it becomes disconnected, or in scenarios where data cannot be sent to the cloud due to cost, size, policy or customer preference.

A key component of the initiative is Windows support for ONNX (Open Neural Network Exchange Format), an open ecosystem for interchangeable AI models, backed by Microsoft, Facebook and Amazon Web Services.

Using Azure Machine Learning Workbench, Windows 10 developers and data science types will be able train and use ONNX models. Also, the company said its Azure Custom Vision Service will support the creation of ONNX models for Windows 10.

The new functionality will soon be available directly within the Visual Studio IDE.

"We've also invested in delivering a great development experience for AI developers on Windows," Microsoft said. "Starting with Visual Studio Preview 15.7, adding an ONNX file to a UWP project will automatically generate a model interfaces in your project. For prior versions of Visual Studio, developers can use the MLGen tool to generate the code interface and then manually add it to their projects. This capability will be coming soon to Visual Studio tools for AI as well."

According to "Windows Machine Learning" documentation published today, the new platform will leverage device CPUs and GPUs for hardware-accelerated performance to help with computational evaluations for both classical machine learning algorithms and deep learning.

The documentation provides guidance for creating a first Windows ML app, training a model and converting a model, along with sample apps that show how to use the new platform.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube