Connect with us

Artificial Intelligence

Apple aims to simplify AI models with CreateML and Core ML 2

Published

on

During its annual WWDC event, Apple announced the launch of its CreateML tool alongside the sequel of its Core ML framework.

CreateML aims to simplify the creation of AI models. In fact, because it’s built in Swift, it’s possible to use drag-and-drop programming interfaces like Xcode Playgrounds to train models.

Core ML, Apple’s machine learning framework, was first introduced at WWDC last year. This year, the company has focused on making it leaner and meaner.

Apple claims Core ML 2 is 30 percent faster using a technique called batch prediction. Quantization has enabled the framework to shrink models by up to 75 percent.

This is how Apple describes Core ML:

“Core ML lets you integrate a broad variety of machine learning model types into your app. In addition to supporting extensive deep learning with over 30 layer types, it also supports standard models such as tree ensembles, SVMs, and generalised linear models.

Because it’s built on top of low-level technologies like Metal and Accelerate, Core ML seamlessly takes advantage of the CPU and GPU to provide maximum performance and efficiency.

You can run machine learning models on the device so data doesn’t need to leave the device to be analysed.”

An effort is evidently made to iterate that no information leaves the device as people become ever more wary about how their data is collected and used.

Google launched ML Kit last month at its I/O developer conference. Most of its abilities can run offline but are more limited than when connected to Google’s cloud. For example, the on-device version of the API could detect a dog is in a photo – but when connected to the internet – it could recognise the specific breed.

Apple says the developers of Memrise, a language-learning app, previously took 24 hours to train a model using 20,000 images. CreateML and Core ML 2 reduced it to 48 minutes on a MacBook Pro and 18 minutes on an iMac Pro. Furthermore, the size of the model was reduced from 90MB to just 3MB.

For developers who like Core ML, but use TensorFlow, Google released a tool in December 2017 which converts AI models into a compatible file type. You can find it on the now Microsoft-owned GitHub here.

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Artificial Intelligence

China plans new era of sea power with unmanned AI submarines

Published

on

China is planning to upgrade its naval power with unmanned AI submarines that aim to provide an edge over the fleets of their global counterparts.

A report by the South China Post on Sunday revealed Beijing’s plans to build the automated subs by the early 2020s in response to unmanned weapons being developed in the US.

The subs will be able to patrol areas in the South China Sea and Pacific Ocean that are home to disputed military bases.

While the expected cost of the submarines has not been disclosed, they’re likely to be cheaper than conventional submarines as they do not require life-supporting apparatus for humans. However, without a human crew, they’ll also need to be resilient enough to be at sea without onboard repairs possible.

The XLUUVs (Extra-Large Unmanned Underwater Vehicles) are much bigger than current underwater vehicles, will be able to dock as any other conventional submarine, and will carry a large amount of weaponry and equipment.

As a last resort, they could be used in automated ‘suicide’ attacks that scuttle the vessel but causes damage to an enemy’s ship that may or not be manned.

“The AI has no soul. It is perfect for this kind of job,” said Lin Yang, Chief Scientist on the project. “[An AI sub] can be instructed to take down a nuclear-powered submarine or other high-value targets. It can even perform a kamikaze strike.”

The AI element of the submarines will need to carry out many tasks including navigating often unpredictable waters, following patrol routes, identifying friendly or hostile ships, and making appropriate decisions.

It’s the decision-making that will cause the most concern as the AI is being designed not to seek input during the course of a mission.

The international norm being promoted by AI researchers is that any weaponised AI system will require human input to ultimately make a decision. Any news that China is following a policy of creating weaponised AIs that do not require human input should be of global concern.

Continue Reading

Artificial Intelligence

AI robots will solve underwater infrastructure damage checks

Published

on

Robots will be paired with a versatile AI that can quickly adapt to unpredictable conditions when examining underwater infrastructure.

Some of a nation’s most vital infrastructure hides beneath the water. The difficulty in accessing most of it, however, makes important damage checks infrequent.

Sending humans down requires significant training and can take several weeks to recover due to the often extreme depths. There are far more underwater structures than skilled divers to inspect them.

Robots have been designed to carry out some of these dangerous tasks. The problem is until now they’ve lacked the smarts to deal with the unpredictable and rapidly-changing nature of underwater conditions.

Researchers from Stevens Institute of Technology are working on algorithms which enable these underwater robots to check and protect infrastructure.

Their work is led by Brendan Englot, Professor of Mechanical Engineering at Stevens.

“There are so many difficult disturbances pushing the robot around, and there is often very poor visibility, making it hard to give a vehicle underwater the same situational awareness that a person would have just walking around on the ground or being up in the air,” says Englot.

Englot and his team are using reinforcement learning for training algorithms. Rather than use an exact mathematical model, the robot performs actions and observes whether it helps to attain its goal.

Through a case of trial-and-error, the algorithm is updated with the collected data to figure out the best ways to deal with changing underwater conditions. This will enable the robot to successfully manoeuvre and navigate even in previously unmapped areas.

A robot was recently sent on a mission to map a pier in Manhattan.

“We didn’t have a prior model of that pier,” says Englot. “We were able to just send our robot down and it was able to come back and successfully locate itself throughout the whole mission.”

The robots use sonar for data, widely regarded as the most reliable for undersea navigation. It works similar to a dolphin’s echolocation by measuring how long it takes for high-frequency chirps to bounce off nearby structures.

A pitfall with this approach is you’re only going to be able to receive imagery similar to a grayscale medical ultrasound. Englot and his team believe that once a structure has been mapped out, a second pass by the robot could use a camera for a high-resolution image of critical areas.

For now, it’s early days but Englot’s project is an example of how AI is enabling a new era for robotics that improves efficiency while reducing the risks to humans.

Continue Reading

Artificial Intelligence

Technology Trends That Will Dominate 2018

Published

on

  1. AI permeation. Artificial intelligence (AI), largely manifesting through machine learning algorithms, isn’t just getting better. It isn’t just getting more funding. It’s being incorporated into a more diverse range of applications. Rather than focusing on one goal, like mastering a game or communicating with humans, AI is starting to make an appearance in almost every new platform, app, or device, and that trend is only going to accelerate in 2018. We’re not at techno-pocalypse levels (and AI may never be sophisticated enough for us to reach that point), but by the end of 2018, AI will become even more of a mainstay in all forms of technology.

  2. Digital centralization. Over the past decade, we’ve seen the debut of many different types of devices, including smartphones, tablets, smart TVs, and dozens of other “smart” appliances. We’ve also come to rely on lots of individual apps in our daily lives, including those for navigation to even changing the temperature of our house. Consumers are craving centralization; a convenient way to manage everything from as few devices and central locations as possible. Smart speakers are a good step in the right direction, but 2018 may influence the rise of something even better.

  3. 5G preparation. Though tech timelines rarely play out the way we think, it’s possible that we could have a 5G network in place—with 5G phones—by the end of 2019. 5G internet has the potential to be almost 10 times faster than 4G, making it even better than most home internet services. Accordingly, it has the potential to revolutionize how consumers use internet and how developers think about apps and streaming content. 2018, then, is going to be a year of massive preparation for engineers, developers, and consumers, as they gear up for a new generation of internet.

  4. Data overload. By now, every company in the world has realized the awesome power and commoditization of consumer data, and in 2018, data collection is going to become an even higher priority. With consumers talking to smart speakers throughout their day, and relying on digital devices for most of their daily tasks, companies will soon have access to—and start using—practically unlimited amounts of personal data. This has many implications, including reduced privacy, more personalized ads, and possibly more positive outcomes, such as better predictive algorithms in healthcare.

 

Continue Reading

Trending