Thursday, 31 March 2016

The Rise of VPUs: Giving eyes to machines

Because, seeing is believing.

VPU giving eyes to machines

On August 31, 1999, when Nvidia unveiled the GeForce 256, the company called it the "world's first GPU". According to Nvidia's website, "A GPU represents a significant breakthrough in realism. It literally transforms the way you interact with your PC. It accomplishes this by completely offloading all graphics acceleration from the CPU." In essence, a GPU is a specialised chip tasked with taking load off the CPU in order to deliver high level graphics. It was developed out of a need for such performance in computers, because a single chip couldn't perform every task that it was required to.
It was a turning point in computing, leading to a lot of features that we take for granted today. But as then, today we stand at the same hurdle once again: The need for specialised chips is again apparent, thanks in no small part to theobsolescence of Moore's Law. Until now, developments in the chip industry were driven by a prophecy made by Intel's co-founder Gordon Moore that has led us from the Intel 4004 (with around 2,300 transistors embedded) to the Intel Skylake, with approximately 1.75 billion transistors embedded on it.
"Moore's Law: Processing power doubles roughly every two years, as smaller and more transistors are packed on a silicon wafer. This boosts performance and reduces costs"
Death of Moore's law and the rise of VPUs

"Broadly speaking, yes," said Jack Dashwood, Marcom Director, Movidius, when asked whether the obsolescence of Moore's law plays a part in the rise of VPUs. "We are increasingly less reliant on the implicit benefits provided by moving down to a new process node. Purpose built processors and perhaps even more importantly, elegant marriage of software on top of the underlying silicon is going to be a huge source of improvements going forward, both from a technological and economic perspective."


Movidius is a small chip startup that you've most probably not heard of, yet. It's a European company that currently produces specialised chips known as Vision Processing Units (VPUs). The chips are meant for application in areas like Augmented Reality, Virtual Reality and others. Movidius' Myriad 2 chip is running on the recently-announced DJI Phantom 4 drone, and its Myriad 1 chip was used in Google's first Project Tango device. Dashwood explains that while Movidius is a decade-old company, it turned its attention to VPUs in 2009, with Google's first Project Tango phone being the first instance of its chips being implemented. The Myriad 1 and Myriad 2 are high-performance, low-power chips, meant specifically for Computer Vision.
The failure of Moore's Law has led companies to look at new methods of adding more computing power, and chips such as the Myriad 2 make for one of the most promising avenues. VPUs, like the Myriad 2, don't sound like much, but like GPUs they come out of a specific need for computer vision. Computer Vision is a branch of computing that deals with processing and understanding real world elements and images. It is the technology behind myriad augmented reality apps that you see today (like Blippar, for instance). It's also important in intelligent drones and robots that can navigate around and interpret real world objects by themselves.
"GPUs are actually quite a good analogy. In the early 1990s, people realised that 3D gaming and visualisation was going to be hugely important for both commercial as well as consumer purposes, but existing architectures were not well suited to the types of computation required for rich graphics. In a similar vein, we are now keenly aware of the value of computer vision, but much of the existing hardware and software approaches aren't optimised for such tasks," said Dashwood.
"VPUs are to Computer Vision, what GPUs are to 
gaming and graphics"
Obstacles to overcome

Using a specialised chip for a particular purpose is easier said than done. Gamers usually use complex liquid cooling techniques in order to meet the heat requirements that GPUs come with. But, while GPUs were originally meant for PCs where there was enough space to implement such cooling methods, VPUs do not enjoy that luxury. They are meant for drones, smartphones and other smaller devices, becoming an integral part of the mobile environment that the world is rapidly progressing towards.
According to Dashwood, that problem has already been solved. "The Myriad 2 has been developed from the ground up to run in a low power envelope, and at temperatures low enough that they can be embedded on wearable devices." The Myriad 2 can process millions of pixels, while consuming less than one watt of power. This is significantly lower than the power consumed by smartphone processors today and necessary for a chip that is supposed to run alongside those processors. In essence, while the multi-core processor on your phone will be responsible for fast boot-up of an augmented reality app, the VPU will be responsible for what that app does,” he said.
Heat isn't the only hurdle, though. The problem with implementing specialised chips is that it’s harder to program for them. Dashwood explained that the Myriad 2 is aimed at device manufacturers who are competent in this realm. Programmability of the chip should not be confused with end-applications running on Android OS.
The computing industry is no stranger to specialised logic. Intel's newest chips have special programming meant for videos and other tasks; MediaTek's Helio chips come with CorePilot algorithm to improve performance; Qualcomm, the biggest name in smartphone SoCs, recently introduced a bunch of enhancements made to its chips using specialised algorithms. In its data centres, Microsoft uses a specialised FPGA (Field-Programmable Gate Array) chip for Bing. The company told The Economist that it has doubled the number of queries a server can process in a given time. Given the DJI Phantom 4's proficiency in obstacle avoidance and Google's recent showcase of Project Tango devices, it looks like the industry has overcome this hurdle as well.
Lastly, Dashwood says that VPUs take almost no discernible space, which makes them easier to implement in smaller devices such as smartphones and smartwatches. "The additional sensors often involved are much larger considerations when it comes to space," Dashwood said.
Application in Virtual Reality

While the implementation of VPUs in augmented reality is apparent, the industry today has been primarily focused on virtual reality. For starters, VPUs can help make a VR headset less bulky, Dashwood believes. More importantly, it can add hundreds of ways for Virtual Reality applications to interact with the real world. Room-scaling in HTC's Vive headset is one example of how virtual reality can work in conjunction with the real world. Think of this as a union between Virtual and Augmented Reality. What if the virtual space was built around your real space?
VPUs can help in "all sorts of areas", says Dashwood. He lists positional tracking, gesture, environment mapping, eye tracking and object classification as a few examples. These are some of the essential components of Virtual Reality today. If your environment can be effectively mapped, then the virtual reality space that a headset like the Oculus Rift takes you to can be built around it. This means that if you're in your living room, your Minecraft game will be built based on things in the room. Thinking back to the legendary Age of Empires games, imagine players in a single house, building their empires in separate rooms of the house, while the doorways act as borders between their empires.
Microsoft's Hololens is another area where VPUs can come in handy. The augmented reality headset seems to be one of the best things to have come out of Microsoft's stables recently, and it essentially depends on recognising the real world and then overlaying the virtual on top of it.
"VPUs are not just possible for VR, they're almost essential"
Application in smartphones

VR is still about a year or so away from truly coming to the mainstream, and consumers today are still more focused on smartphones. A very interesting possibility for VPUs in smartphones is in improving cameras on them. "Computational photography is an obvious application," says Dashwood, "there are great deal of ways of working around the physical limitations of optics running on various operations, to construct a visually pleasing photograph." According to him, computational photography has the potential to bring DSLR (or better) quality images to our smartphones.
In essence, the fact is that Computer Vision allows your smartphone to understand the scene in front of you. A photograph can be passed through additional processing, adding inputs from the VPU to generate more realistic representations.
This could help in two things -- first, enhancing camera quality without making your phone thicker. One of the main reasons why smartphones cannot attain DSLR-like quality lies in their space constraints. You cannot fit large enough lenses or sensors into them. VPUs, potentially, can solve this. Secondly, it could also improve low-light photography, a major area of focus for smartphone OEMs. While a lot of advancements have been made by companies like Apple and Samsung, low light remains the bane for smartphone cameras, and VPUs may help here as well.
We have reached out to some OEMs to get their take on the use of VPUs for such purposes. The story will be updated when their response is available.
Brains and Brawns

Perhaps the most interesting and potentially scary implementation of VPUs lies in machine learning. A neural network of machine learning algorithm replicates the human brain, which means that a VPU can act as the eyes for that brain. On January 27, 2016, Movidius announced that it is working with Google to accelerate the adoption of deep learning within mobile devices. The partnership gives Movidius access to Google's neural network technology roadmap, while the Search giant will source Movidius' processors and entire software development network.
"What Google has been able to achieve with neural networks is providing us with the building blocks for machine intelligence, laying the groundwork for the next decade of how technology will enhance the way people interact with the world," said Blaise Aguera y Arcas, head of Google's machine intelligence group. Arcas said, working with Movidius allowed Google to expand its technology out of data centres and into the real world. Google is using MA2450, the most powerful iteration of Movidius' Myriad 2 chip for this purpose. According to Remi El-Ouazzane, CEO, Movidius, the challenge in embedding the technological advances that Google has made in machine intelligence is in extreme power efficiency. This needs deep synthesis between the underlying hardware architecture, and that is where neural computer comes in.
In an interview with Digit, David Silver, Research Scientist on Google's Deep Mind, said that it is early days for Artificial Intelligence and we are "decades away from human level AGI". Silver heads the team that developed Deep Mind'sAlphaGo algorithm, which recently beat Go champion Lee Sedol in a best-of-five tournament. Dashwood says that machine learning and VPUs go hand-in-hand.
"VPUs will, in future, make for an integral part of artificially intelligent robots, working as the eyes for the neural networks to work with"
The booming market

To add the proverbial cherry on the cake, Computer Vision and VPU markets are at a nascent stage, but is booming. Google and DJI are two of the best-known names, but there are others exploring these avenues. Dashwood says that currently, Movidius is the only viable solution that presents low power, low thermal characteristics and high performance.
According to him, the company's chief competitors come from the GPU and CPU market, as in some cases, they may make for viable solutions for Computer Vision requirements. "In some instances, a CPU or GPU might make for a viable solution for high performance, OR, low power, OR, low thermal characteristics...but all three at the same time? We think we are the only viable solution right now," said he.
The Movidius MA2450 mentioned above is the only commercial solution for computer vision in the market today. While VPUs won't offset chipmakers like Qualcomm, MediaTek and Intel, and they won't compete against Nvidia and AMD in the GPU segment either. Instead, they're creating a whole new segment for themselves.

Your favourite porn website now offers VR porn, this is how it feels

PornHub's entry is to VR porn, what the Apple Watch is to smartwatches. Potentially.


VR porn image

India is the third largest contributor to traffic on PornHub and your favourite porn website is now running a free channel on Virtual Reality Porn. Incidentally, companies like Samsung and Lenovo have been marketing their Gear VR and AntVR headsets very aggressively for a while now. Many OnePlus fans already have the Google Cardboard (you may know it as the OnePlus Cardboard), and Amazon is selling Google Cardboard variants at as low as Rs. 300. So, once you have amassed the right tools, read further.
There’s a general rule about porn, known as Rule 34. It says, “If it exists, there’s porn about it -- no exceptions.” The pornography industry works really hard to maintain this rule as well, which in turn makes it one of the most innovative industries you can find. As times change, so does pornography, and it just gets ‘better’ every day. Recently, the industry has made appearances in worldwide tech events, showcasing the capabilities of Virtual Reality Porn, and one of the biggest names in the porn industry, PornHub, has entered the market, announcing a free VR channel for users of its website.
It’s not new of course. In fact, PornHub’s partner, BadoinkVR, was one of the first to enter the VR Porn space. “At Pornhub it is our duty to provide our global audience with the latest in cutting edge technology. Virtual reality is the next phase in the constantly metamorphosing world of adult entertainment, and will provide users with a mesmeric experience unlike anything they’ve seen before. Now, our users are not only able to view our content, but be protagonists in the experience and interact with their favorite porn stars,” said Corey Price, Vice President, Pornhub.
The company also encourages its users to “request a free pair of virtual reality goggles and visit PornHub’s virtual reality section”, although that giveaway is now over. You can click on this not-for-family link or (if you would rather be on incognito mode) navigate to PornHub’s VR Homepage, for more. The company even has an app for the same.
PornHub’s VR content is made for the Google Cardboard, Oculus Rift and more, so we expect it’ll work with that AntVR headset you got with Lenovo’s newest phone as well. That should be an important tidbit for India, which is the third biggest contributor to PornHub’s traffic, according to the company’s year-in-review, from January.
Now that we’re through with the news part, let me take you through a text-based, but immersive journey on what virtual reality porn actually feels like.
You see, like most other virtual reality content, VR Porn is also immersive, but there’s a problem here. While other videos in VR do pixelate, you wouldn’t want the same with porn. It’s as immersive, but I never really cared for the pixels that I could see in other content, as I did here. That said, BadoinkVR and others have gone the distance to ensure that the quality of content is as good as possible, but the limitations of the headsets and the fact that I wear glasses do come into play. The Samsung Gear VR's focus toggle does help a little bit, but it's not perfect yet.
The most interesting part about VR porn is in the myriad reactions it draws. I tried to get as many reactions from friends as I could. While one complained that their head ached from the 360 effect, another was simply too amused to say anything. There was yet another who was just told of the experience and became interested, even before watching it.
That pretty much sums up the concept of VR Porn for you. It’s innovative, immersive and interesting. One of the biggest and established industries in the world is making use of the budding industry that is VR, and it’s interesting to say the least. Watching in 360 just offers that extra bit which you couldn't get before, and the VR industry is trying its best to ensure that you never have to go out of your home again. It's everything you imagine it to be and with time, it can only get better.
Everybody here at Digit has watched VR porn (you know, for work purposes) and everyone had a reaction. But these are just the initial days of VR Porn. If we’ve learned anything about porn over the years, it’s that it...umm...matures, fast. Pretty soon you may be looking at 360 degree pornographic content based on different genres, from animated to the most real.

What to expect at Microsoft's Build 2016

Microsoft is holding its annual Build developer conference from March 30 to April 1 and the company is expected to make announcements related to Windows 10, UWP, HoloLens, and more.


microsoft build

Microsoft is hosting its annual Build developer conference from March 30 to April 1 this year. During the conference, Microsoft is expected to make a number of key announcements related to Windows 10, Universal Windows Platform, HoloLens, IoT, and more. Here’s what you can expect from this year’s Build conference.

After announcing the new operating system last year, Microsoft may unveil some new features for the OS. The company is expected to bring updates to Notifications and Live Tiles, with “two highly-requested surprises” for the latter. Rumours suggest that Microsoft may introduce interactive Live Tiles that would allow users to interact with them without opening the app. The company is also expected to talk about its new Edge browser and show ways developers could integrate biometric identification into websites using Windows Hello.
The company may also talk about the future of Cortana and Continuum at the event. Finally, there may also be talk about game development on Windows, now that games will be available across consoles, PC, phones, tablets, and more.
Universal Windows Platform 
Last year, the company unveiled its Windows bridges that would allow developers to port apps from other platforms like iOS and Android over to Windows. However, following the acquisition of Xamarin, Microsoft discontinued the Android bridge called Project Astoria. Xamarin allows developers to write apps in a single programing language and customise the software to run on Android, iOS, and Windows. The company may also showcase some improvements in the user interface and experience in the Universal Windows Platform (UWP).
HoloLens
The first shipments of the Developer Edition of the HoloLens start from March 30, so expect Microsoft to talk about development for the AR headset. The company has been talking about HoloLens every chance it gets anyway. Microsoft will be holding sessions on educational experiences in HoloLens as well as its apps. The company is holding a session on developing UWP apps on HoloLens. These apps are called ‘2D apps’ by Microsoft, since they are projected on 2D surfaces and the company will inform developers how to ensure their apps work well on a platform like HoloLens.
Xbox
Microsoft is expected to talk about bringing UWP apps to the Xbox One console now that it has received the Windows 10 update. The company will be hosting a session on how to build apps for the console as well as integrating Windows 10 UWP games with Xbox Live. In addition, the company may talk about cross-platform play.
IoT and Cloud
Microsoft is also expected to talk about IoT and the cloud at Build 2016. The company is holding a number of sessions on its Azure cloud computing platform and IoT. In addition, the company will talk about building apps for Azure as well as home automation using IoT and UWP apps.