C
Ask a smart home device for the weather forecast and it takes several seconds for the device to respond. This latency (延时) occurs as connected devices don't have enough memory or power to store and run the enormous machine-learning models needed for the device to understand what a user is asking of it. The model is stored in a data center that may be hundreds of miles away, where the answer is computed and sent to the device.
MIT researchers have created a new method for computing directly on these devices, which drastically reduces this latency. Their technique shifts the steps of running a machine-learning model to a central server where components of the model are encoded onto light waves. The waves are sent to a connected device using fiber optics (纤维光学), which enables tons of data to be sent lightning-fast through a network. The receiver then employs a simple optical device that rapidly performs computations using the parts of a model carried by those light waves.
This technique leads to more than a hundredfold improvement in energy efficiency when compared to other methods. It could also improve security, since a user's data do not need to be transferred to a central location for computation. This method could enable a self-driving car to make decisions in real-time while using just a tiny percentage of the energy currently required by power-hungry computers. It could also allow a user to have a latency-free conversation with their smart home device, be used for live video processing, or even enable high-speed image classification on a spacecraft millions of miles from Earth.
"Every time you want to run a neural network, you have to run the program, and how fast you can run the program depends on how fast you can pipe the program in from memory. Our pipe is massive - it corresponds to sending a full feature-length movie over the internet every millisecond or so. That is how fast data comes into our system. And it can compute as fast as that," says professor Dirk England.
The neural network architecture involves storing weights in a central server that is connected to a novel piece of hardware called a smart transceiver. This smart transceiver, a thumb-sized chip(芯片), can receive and send data. Moving forward, the researchers want to update the smart transceiver chip to achieve even better performance.