Fake porn and fake voices: the dark side of machine learning

The advent of machine learning in AI has the potential to disrupt – or even render obsolete – entire industries, and displace millions of jobs. From banking and finance, to advertising and even software development, any work that previously required the output of human thinking may one day be taken over by a self-learning (and possibly self-aware) artificial neural network.

However, machine learning is also being used for other purposes, with troubling implications. An article on Motherboard written by Samantha Cole tells us about how people are using AI to create fake celebrity porn videos, called deepfakes. Using stock photos, videos, and Google image search, they train a neural network – a group of interconnected computer nodes – to manipulate porn videos, superimposing celebrities’ faces into the bodies of the videos’ performers.

daisy-ridley-fakeapp

The above screenshot shows Star Wars actress Daisy Ridley’s face in a porn performer’s video. The video was created using FakeApp, a desktop tool based on the original deepfakes algorithm.

Early examples of deepfake videos were hilariously terrible. But with the AIs getting better at manipulating videos, and with more people joining in, deepfakes are increasingly becoming more realistic. The release of FakeApp has lowered the barriers to entry, by allowing users with no experience in writing machine learning algorithms to create their own deepfakes.

waveform

In a more wholesome vein, Abhimanyu Ghoshal wrote an article on The Next Web about Lyrebird, an experimental voice synthesis tool created by researchers from the Montreal Institute for Learning Algorithms. Now open for public beta, the technology resembles Adobe’s VoCo in that it attempts to recreate your voice using audio samples that you record. However, instead of needing twenty minutes’ worth of samples, this tool needs only one minute.

Here’s a snippet of my AI doppelganger’s voice after hearing me speak 30 phrases. You can still hear distortions in the generated audio, but give it enough phrases to learn (say, a hundred) and the quality of the artificial voice improves, until it becomes almost impossible to tell apart from the real one. Hearing my computer use my voice to say something I never said is rather creepy.

Granted, these examples of machine learning AI are fascinating, and both technologies do have useful applications. Imagine amateur filmmakers digitally resurrecting long-dead actors for their pet projects, or creating a personalized digital assistant whose voice is indistinguishable from your own. But in the wrong hands, the implications are disturbing. If you think about how many selfies and videos we have already uploaded to our social networks, it’s not implausible that voice synthesis and the deepfake algorithm may someday be (ab)used together to create fake, but convincing videos, to blackmail or discredit people.

One thing’s for sure: we’re getting closer to the future depicted in Black Mirror.

Cardboard toys are back in a big way

I loved tinkering with cardboard as a kid. Cardboard trains, armor, and starships – whenever I could get my hands on some cardboard, you can bet I’d make something out of it. I even made an Imperial Star Destroyer out of illustration board in grade school, which I proudly displayed in my bedroom.

Then I got my first PlayStation, followed by my first PC, and soon those cardboard toys lay forgotten.

I never would have ever thought that cardboard and electronic gaming could go together. Then this came along:

Nintendo’s new companion product for the Switch, called the Labo, is a kit that allows you to make DIY accessories out of the included cardboard sheets. The bundled Switch cartridge contains the games for the Labo, and shows you how to assemble the cardboard together. You can then plug in the Switch’s Joy-Con controllers into these accessories to transform them into anything from remote-controlled “cars”, to pianos, to your own full-sized mecha suit.

make-play-discover

It looks crazy, it looks fun, and of all the consoles out there, it’s something that only the Switch can do. But for me, the cherry on top is that the Labo also educational. Not only can kids rediscover the joy of building stuff out of cardboard; the Labo also shows them how digital technologies like motion-sensitive controls work while putting them together.

To me, this is a perfect example of an innovative use of technology to entertain and educate. It wouldn’t come as a surprise to me if our future engineers and technologists grew up playing with the Labo.

If only it were more affordable though – pricing for the Labo starts at USD70, more than the retail price of an AAA game. While this is understandable, given the extra materials and development costs involved, it would only be a matter of time before cheap Chinese knockoffs start flooding the market.

The Nintendo Labo will become available on April 20th. The Variety Kit is priced at USD69.99, while the Robot Kit will be sold for USD79.99.

On being a web developer in 2018

The above image is the starting point for a visualized roadmap that software engineer Kamran Ahmed created about the different technologies that web developers use as of 2018.

“Great,” you think, “now I can follow a path towards becoming a full-stack developer!” But then you see the rest of the roadmap, and it looks like this:

web-dev-roadmap

The number of available web technologies has grown exponentially since I first started coding over fifteen years ago. Back then, all we had to learn was HTML, CSS, Javascript, and one or two server-side languages, like ASP or PHP. Today, it’s probably easier to walk into Mordor than to master even half of the stuff listed in these charts.

No developer can claim to know all of these technologies. Fortunately for us, we don’t need to. Codevolve.com founder and CEO Saul Costa argues that rather than trying to learn everything, it’s better to know how to learn like a developer, and explains what that means.

And I think he’s right. His approach is how I’ve been able to shift to using different (sometimes competing) technologies for different jobs, and has served me well ever since I started learning how to code. It’s better to be an ace at learning new skills, than to be a jack of all trades and master of none.

The true potential of blockchain

Author Steven Johnson wrote an in-depth, yet easy to understand piece about the current Bitcoin mania and its underlying technology, blockchain. Leaving aside the cryptocurrency mania, this article helped me finally understand the many different possible applications of blockchain technology, and its potential to change the world. Although I think it was foolish of him to share his blockchain address and private key with the public (I hope those weren’t real!)

Read Steven’s article in the New York Times here: Beyond the Bitcoin Bubble