Don’t Mess with Robots

On Robots Everywhere we see that a recent BBC show makes it clear why we really shouldn’t get physically aggressive with today’s computer systems!

Posted under Fun, Robotics

This post was written by drknuth on November 15, 2009

Please Don’t Let that Robot Rescue Me!

Robot’s Everywhere has a post where they show the following picture of a Tokyo Fire Department robot rescuing a dummy in a drill.

The robot appears to be dragging the victim up the ramp by his/her neck.

Very Nice!




toykofd-rescue-robot-450x272




This was #8 in a series of photos from a Boston.com News in Photographs piece.   The caption there reads:

Tokyo Fire Department’s rescue robot transfers a mock victim onto itself during an anti-terrorism exercise in the response to a radiological dispersal device in Tokyo, on November 7, 2008. Tokyo Metropolitan government conducted the exercise with eleven organisations including Metropolitan Police Department. (TOSHIFUMI KITAMURA/AFP/Getty Images)

Posted under Fun, Intelligent Systems, Lifestyle, Music, Robotics, Uncategorized

Flight of the Conchords: The Humans are Dead

A fun song about the robotic takeover…

Posted under Fun, Robotics

This post was written by drknuth on February 15, 2009

Tags: , , , ,

Charles Darwin and MCMC

Today is Charles Darwin’s 200th birthday, and I would like to celebrate it by drawing some connections between his theory of evolution and recent advances in machine learning.

It took the genius of Charles Darwin to break with the common belief that species were constant and unchanging.  His voyage on the Beagle was essential in forming these ideas as he encountered fossils of extinct forms and the effects of dramatic earthquakes in the Andes, and was led to realize that the Earth changes and that species change.  This idea of long-term change is hard to come by.  It even evaded Albert Einstein when he derived the expansion of the universe from his theory of general relativity and decided to introduce a correction term in the mathematics to ensure that the universe was constant as he knew it to be.  Einstein called this his biggest blunder.  Yet it was exactly this belief of constancy that Charles Darwin was able to shed.

What few people realize is that Western capitalism has embraced Darwinism and use the arguments of survival of the fittest to defend deregulation in the market.  This competition does work well… as long as you actually have competition.

In the area of data analysis and machine learning, which are my areas of expertise, we rely heavily on computer algorithms that search vast high dimensional spaces for solutions to problems.  The best algorithms employ techniques that are central to evolution.  These methods are called Markov chain Monte Carlo (MCMC)  techniques, and in some specific cases these algorithms have direct relation to genetic evolution and are called genetic algorithms.  What makes these algorithms work is precisely what makes evolution work.

These algorithms rely on a fitness function that enables us to measure the fitness of a hypothesized solution to a problem (we call this a sample).  We often start with many samples scattered throughout the space and let them explore via mutations.  In some algorithms, we take good samples and duplicate them and let them explore further, or we may even combine characteristics of a pair of samples to create a new one (as in genetic algorithms).  After hundreds of thousands of iterations, the algorithms are able to find the solutions to the problem.  These solutions would be impossible to find via brute force search or guessing.

The analogy that holds here is that of organism as sample.  Anyone who has actually done these simulations can understand that you can obtain solutions worthy of creation simply by iterating hundreds of thousands of times under the force of a selection pressure.

Happy Birthday Charles Darwin, and thank you for the insights that have advanced machine learning in the last two decades.

Kevin Knuth
Albany NY

Posted under Biology, Evolution, Intelligent Systems, Robotics

This post was written by drknuth on February 13, 2009

Tags: , , , ,

MATLAB Packages for the NXT

Brickengineer announces MATLAB packages for the LEGO NXT Robotics system:

There are now several MATLAB packages for robotics, and specifically for the NXT. One paradigm is to run the code on a PC and have it communicate direct commands to the NXT Brick via Bluetooth or USB. I have found this paradigm to be a bit dangerous since in the event of a MATLAB crash or a miscommunication, the NXT Brick will continue with its last command until ordered to stop. This has the potential to destroy your robot. The paradigm that I prefer to use is to write several programs that run on the brick. These programs take commands from files on the brick that can be uploaded rapidly from the PC. The MATLAB code then is in charge of sending the command files and starting and stopping programs. In the event of a MATLAB crash or communication failure, the software running on the NXT Brick can be designed to terminate gracefully.

Here are the MATLAB packages that I know of. The first two are specifically geared toward the NXT; whereas the last is a general robotics package.

* LEGO MINDSTORMS NXT Toolkit for MATLAB and Simulink
http://www.mathworks.com/programs/mindstorms/
* Robotics Toolbox for MATLAB (Release 7.1) (P.I. Corke)
http://petercorke.com/Robotics%20Toolbox.html
* RWTH Mindstorms NXT Toolbox for Matlab
http://www.mindstorms.rwth-aachen.de/

Posted under Lego, Programming, Research, Robotics, Software

This post was written by drknuth on February 11, 2009

Tags: , , , ,