Blogger Templates

Collaborative learning -- for robots: New algorithm

Machine learning, in which computers learn new skills by looking for patterns in training data, is the basis of most recent advances in artificial intelligence, from voice-recognition systems to self-parking cars. It's also the technique that autonomous robots typically use to build models of their environments.
That type of model-building gets complicated, however, in cases in which clusters of robots work as teams. The robots may have gathered information that, collectively, would produce a good model but which, individually, is almost useless. If constraints on power, communication, or computation mean that the robots can't pool their data at one location, how can they collectively build a model?
At the Uncertainty in Artificial Intelligence conference in July, researchers from MIT's Laboratory for Information and Decision Systems will answer that question. They present an algorithm in which distributed agents -- such as robots exploring a building -- collect data and analyze it independently. Pairs of agents, such as robots passing each other in the hall, then exchange analyses.
In experiments involving several different data sets, the researchers' distributed algorithm actually outperformed a standard algorithm that works on data aggregated at a single location.
"A single computer has a very difficult optimization problem to solve in order to learn a model from a single giant batch of data, and it can get stuck at bad solutions," says Trevor Campbell, a graduate student in aeronautics and astronautics at MIT, who wrote the new paper with his advisor, Jonathan How, the Richard Cockburn Maclaurin Professor of Aeronautics and Astronautics. "If smaller chunks of data are first processed by individual robots and then combined, the final model is less likely to get stuck at a bad solution."
Campbell says that the work was motivated by questions about robot collaboration. But it could also have implications for big data, since it would allow distributed servers to combine the results of their data analyses without aggregating the data at a central location.
"This procedure is completely robust to pretty much any network you can think of," Campbell says. "It's very much a flexible learning algorithm for decentralized networks."
Matching problem
To get a sense of the problem Campbell and How solved, imagine a team of robots exploring an unfamiliar office building. If their learning algorithm is general enough, they won't have any prior notion of what a chair is, or a table, let alone a conference room or an office. But they could determine, for instance, that some rooms contain a small number of chair-shaped objects together with roughly the same number of table-shaped objects, while other rooms contain a large number of chair-shaped objects together with a single table-shaped object.
Over time, each robot will build up its own catalogue of types of rooms and their contents. But inaccuracies are likely to creep in: One robot, for instance, might happen to encounter a conference room in which some traveler has left a suitcase and conclude that suitcases are regular features of conference rooms. Another might enter a kitchen while the coffeemaker is obscured by the open refrigerator door and leave coffeemakers off its inventory of kitchen items.
Ideally, when two robots encountered each other, they would compare their catalogues, reinforcing mutual observations and correcting omissions or overgeneralizations. The problem is that they don't know how to match categories. Neither knows the label "kitchen" or "conference room"; they just have labels like "room 1" and "room 3," each associated with different lists of distinguishing features. But one robot's room 1 could be another robot's room 3.
With Campbell and How's algorithm, the robots try to match categories on the basis of shared list items. This is bound to lead to errors: One robot, for instance, may have inferred that sinks and pedal-operated trashcans are distinguishing features of bathrooms, another that they're distinguishing features of kitchens. But they do their best, combining the lists that they think correspond.
When either of those robots meets another robot, it performs the same procedure, matching lists as best it can. But here's the crucial step: It then pulls out each of the source lists independently and rematches it to the others, repeating this process until no reordering results. It does this again with every new robot it encounters, gradually building more and more accurate models.
Imposing order
This relatively straightforward procedure results from some pretty sophisticated mathematical analysis, which the researchers present in their paper. "The way that computer systems learn these complex models these days is that you postulate a simpler model and then use it to approximate what you would get if you were able to deal with all the crazy nuances and complexities," Campbell says. "What our algorithm does is sort of artificially reintroduce structure, after you've solved that easier problem, and then use that artificial structure to combine the models properly."
In a real application, the robots probably wouldn't just be classifying rooms according to the objects they contain: They'd also be classifying the objects themselves, and probably their uses. But Campbell and How's procedure generalizes to other learning problems just as well.
The example of classifying rooms according to content, moreover, is similar in structure to a classic problem in natural language processing called topic modeling, in which a computer attempts to use the relative frequency of words to classify documents according to topic. It would be wildly impractical to store all the documents on the Web in a single location, so that a traditional machine-learning algorithm could provide a consistent classification scheme for all of them. But Campbell and How's algorithm means that scattered servers could churn away on the documents in their own corners of the Web and still produce a collective topic model.
"Distributed computing will play a critical role in the deployment of multiple autonomous agents, such as multiple autonomous land and airborne vehicles," says Lawrence Carin, a professor of electrical and computer engineering and vice provost for research at Duke University. "The distributed variational method proposed in this paper is computationally efficient and practical. One of the keys to it is a technique for handling the breaking of symmetries manifested in Bayesian inference. The solution to this problem is very novel and is likely to be leveraged in the future by other researchers."

Story Source:
The above story is based on materials provided by Massachusetts Institute of Technology. The original article was written by Larry Hardesty. Note: Materials may be edited for content and length.

Cite This Page:
Massachusetts Institute of Technology. "Collaborative learning -- for robots: New algorithm.
Source: ScienceDaily

Can we see the arrow of time? Algorithm can determine, with 80 percent accuracy, whether video is running forward or backward.

Einstein's theory of relativity envisions time as a spatial dimension, like height, width, and depth. But unlike those other dimensions, time seems to permit motion in only one direction: forward. This directional asymmetry -- the "arrow of time" -- is something of a conundrum for theoretical physics.

But is it something we can see?
An international group of computer scientists believes that the answer is yes. At the IEEE Conference on Computer Vision and Pattern Recognition this month, they'll present a new algorithm that can, with roughly 80 percent accuracy, determine whether a given snippet of video is playing backward or forward.
"If you see that a clock in a movie is going backward, that requires a high-level understanding of how clocks normally move," says William Freeman, a professor of computer science and engineering at MIT and one of the paper's authors. "But we were interested in whether we could tell the direction of time from low-level cues, just watching the way the world behaves."
By identifying subtle but intrinsic characteristics of visual experience, the research could lead to more realistic graphics in gaming and film. But Freeman says that that wasn't the researchers' primary motivation.
"It's kind of like learning what the structure of the visual world is," he says. "To study shape perception, you might invert a photograph to make everything that's black white, and white black, and then check what you can still see and what you can't. Here we're doing a similar thing, by reversing time, then seeing what it takes to detect that change. We're trying to understand the nature of the temporal signal."

Word perfect
Freeman and his collaborators -- his students Donglai Wei and YiChang Shih; Lyndsey Pickup and Andrew Zisserman from Oxford University; Changshui Zhang and Zheng Pan of Tsinghua University; and Bernhard Schölkopf of the Max Planck Institute for Intelligent Systems in Tübingen, Germany -- designed candidate algorithms that approached the problem in three different ways. All three algorithms were trained on a set of short videos that had been identified in advance as running either forward or backward.
The algorithm that performed best begins by dividing a frame of video into a grid of hundreds of thousands of squares; then it divides each of those squares into a smaller, four-by-four grid. For each square in the smaller grid, it determines the direction and distance that clusters of pixels move from one frame to the next.
The algorithm then generates a "dictionary" of roughly 4,000 four-by-four grids, where each square in a grid represents particular directions and degrees of motion. The 4,000-odd "words" in the dictionary are chosen to offer a good approximation of all the grids in the training data. Finally, the algorithm combs through the labeled examples to determine whether particular combinations of "words" tend to indicate forward or backward motion.
Following standard practice in the field, the researchers divided their training data into three sets, sequentially training the algorithm on two of the sets and testing its performance against the third. The algorithm's success rates were 74 percent, 77 percent, and 90 percent.
One vital aspect of the algorithm is that it can identify the specific regions of a frame that it is using to make its judgments. Examining the words that characterize those regions could reveal the types of visual cues that the algorithm is using -- and perhaps the types of cues that the human visual system uses as well.
The next-best-performing algorithm was about 70 percent accurate. It was based on the assumption that, in forward-moving video, motion tends to propagate outward rather than contracting inward. In video of a break in pool, for instance, the cue ball is, initially, the only moving object. After it strikes the racked balls, motion begins to appear in a wider and wider radius from the point of contact.

Probable cause
The third algorithm was the least accurate, but it may be the most philosophically interesting. It attempts to offer a statistical definition of the direction of causation.
"There's a research area on causality," Freeman says. "And that's actually really quite important, medically even, because in epidemiology, you can't afford to run the experiment twice, to have people experience this problem and see if they get it and have people do that and see if they don't. But you see things that happen together and you want to figure out: 'Did one cause the other?' There's this whole area of study within statistics on, 'How can you figure out when something did cause something else?' And that relates in an indirect way to this study as well."
Suppose that, in a video, a ball is rolling down a ramp and strikes a bump that briefly launches it into the air. When the video is playing in the forward direction, the sudden change in the ball's trajectory coincides with a visual artifact: the bump. When it's playing in reverse, the ball suddenly leaps for no reason. The researchers were able to model that intuitive distinction as a statistical relationship between a mathematical model of an object's motion and the "noise," or error, in the visual signal.
Unfortunately, the approach works only if the object's motion can be described by a linear equation, and that's rarely the case with motions involving human agency. The algorithm can determine, however, whether the video it's being applied to meets that criterion. And in those cases, its performance is much better.

Story Source:
The above story is based on materials provided by Massachusetts Institute of Technology. The original article was written by Larry Hardesty. Note: Materials may be edited for content and length.

Cite This Page:
Massachusetts Institute of Technology. "Can we see the arrow of time? Algorithm can determine, with 80 percent accuracy, whether video is running forward or backward." 

Invisible wireless networks brought to life as stunning 'spectres'

Invisible wireless networks brought to life by Newcastle University student Luis Hernan.
Credit: Image courtesy of Newcastle University


Invisible wireless networks are transformed into beautiful beams of colour in a series of photographs.
The images, created by Newcastle University researcher Luis Hernan, show the 'spectres' of wireless networks sweeping, swirling and swooping around a ghostly figure.
They were produced as part of Luis's Digital Ethereal project, which aims to bring the invisible world around us to life.
Luis Hernan, who is studying for a PhD in Architecture and Interaction Design, became fascinated with the idea of being able to see the hidden wireless networks which surround us.
"I call the images 'spectres' because wireless networks remind me of ghosts," he said. "They are there but you can't see them with the human eye.
"The fact we are becoming increasingly reliant on something that we can't see intrigues me. I wanted to find a way to show the wireless which is around us and also to show how it changes. It is an impossibly fragile and volatile infrastructure that holds our digital technologies together, and shapes the way in which we interact with the digital world. Something as seemingly inconsequential as walking around the house will interfere with and reshape their propagation and strength field. Close the wrong door, and the bedroom becomes a dead spot for wireless."
Luis created the photographs by a "Kirlian Device", an instrument specially designed by him to reveal the qualities of wireless networks. The instrument scans continuously for wireless networks, and transforms the signal strength to colour LEDs. Then, using the device in different places, his movements were captured using long exposure photography. The results are multi-coloured streaks of light which twirl and wrap in spaces, showing how we are surrounded without even realising we are.
Luis has also created a Kirlian Device app which can be downloaded for free for Android devices.
He said: "I would love other people to get involved and to create their own images using the app. I used it as part of an exhibition of my work, where we hung mobile phones from the ceiling and it showed how signal strength was varying as people moved around the room.

Story Source:
The above story is based on materials provided by Newcastle University. Note: Materials may be edited for content and length.

Cite This Page:
Newcastle University. "Invisible wireless networks brought to life as stunning 'spectres'." ScienceDaily. ScienceDaily, 15 May 2014. <www.sciencedaily.com/releases/2014/05/140515090910.htm>.

Computer models helping unravel the science of life? How cells of the fruit fly react to changes in the environment

Scientists have developed a sophisticated computer modelling simulation to explore how cells of the fruit fly react to changes in the environment.
The research, published today in the science journalCell, is part of an on-going study at The Universities of Manchester and Sheffield that is investigating how external environmental factors impact on health and disease.
The model shows how cells of the fruit fly communicate with each other during its development. Dr Martin Baron, who led the research, said: "The work is a really nice example of researchers from different disciplines of maths and biology working together to tackle challenging problems."
The current phase of the study aims to understand how temperature interacts with cell signalling networks during development. Flies are able to develop normally across a wide range of temperatures and it is not understood how this is achieved.
The combined disciplines approach was undertaken because the complexity of development involves numerous components that are interconnected with each other in networks of cell to cell communication pathways, whose outcomes are difficult to predict without computer simulations.
The fruit fly is a commonly used in lab work because, although its development is relatively simple, around 75% of known human disease genes have a recognisable match in the genome of fruit flies which means they can be used to study the fundamental biology behind complex conditions such as neurodegeneration or cancer.
Baron said: "it is exciting that the computer model was able to make predictions that we could test by going back to the fly experiments to investigate the effects of different mutations which alter the components of the cells. It shows us that the model is working well and provides a solid basis on which to develop its sophistication further."
The next phase will see the team research how the cell signalling network adjusts and responds to other environmental changes such as nutrition. Baron says "There is a lot of interest in how environmental inputs influence our health and disease by interacting with our genetic makeup. Our initial studies have already shown that changes to the adult fly's diet can also affect how cells inside a fly communicate with each other and produce responses in certain fly tissues. This is a promising avenue for future studies."
Baron explains that there are wider implications for understanding human health and disease: "Many different types of signal control normal development but when some of these signals are mis-activated they can result in the formation of tumours."
"What we've learnt from studying the flies" said Baron, "is that some communication signals can arise in different ways and this means that, in cancer, mis-activation of these signals can also occur by different routes. This is important because it can help us to understand how to stop mis-activation from occurring."

Story Source:
The above story is based on materials provided by University of Manchester. Note: Materials may be edited for content and length.

Journal Reference:
  1. Hideyuki Shimizu, Simon A. Woodcock, Marian B. Wilkin, Barbora Trubenová, Nicholas A.M. Monk, Martin Baron. Compensatory Flux Changes within an Endocytic Trafficking Network Maintain Thermal Robustness of Notch Signaling. Cell, 2014; 157 (5): 1160 DOI: 10.1016/j.cell.2014.03.050

Cite This Page:
University of Manchester. "Computer models helping unravel the science of life? How cells of the fruit fly react to changes in the environment." ScienceDaily. ScienceDaily, 22 May 2014. <www.sciencedaily.com/releases/2014/05/140522123505.htm>.

Security In Wireless Cellular Networks

Cellular towers are almost ubiquitous, so it's a great convenience to be able to connect your computer to one of these networks and access the Internet in locations that no other ISP serves. But what are the security implications? That's what we'll look at in this article.

Introduction

The networks run by cellular providers aren't just for cell phones anymore. Today's 3G and 4G networks also provide wireless connections for laptops and even desktop systems via GSM or CDMA modems, cards and built-in chips, or by connecting to a mobile hotspot device such as the MiFi. You can also tether your computer to your cell phone to use its Internet connection, either via a USB cable or “mobile hotspot” capabilities built into the phone.  

The history of cellular networks

Cellular technology, like other wireless technologies, uses radio signals to communicate over the air. Cellular networks are so named because the area within which you can pick up a signal from a particular tower is called a cell. In the early days of cellular technology, in the 1960s, mobile phones could only operate within a cell; if the phone moved outside the cell (range of the tower where the call was begun), the call would be cut off. In the 1970s, the concept of automatic call handoff (or handover) came into being. This means a voice call or a data session can be transferred from one tower to another as the phone or device moves.

Early cellular communications used analog transmissions and were called AMPS for Advanced Mobile Phone System. Digital AMPS services (which superseded AMPS in the 1990s) use the same towers and use the AMPS protocol to set up a call but then switch to digital transmission. Another system, PCS, uses a different set of towers and different (higher) frequencies. Because of the higher frequencies, there is less distance between towers.
The first commercial cellular networks are referred to as 1G (for first generation). These were launched in Japan, Scandinavia, the U.K., Mexico, Canada and the U.S. in the late 1970s and 1980s. The next generation of cellular, 2G, came about in the 1990s. In the U.S., two different technologies developed, GSM (used by AT&T and T-Mobile) and CDMA (used by Sprint and Verizon). 1G networks handled voice only. 2G networks added SMS/text messaging, and the ability to download content.

Internet service on mobile phones was introduced in 1999 in Japan. This led to the need for a new type of data transmission that could provide faster performance. 3G services were developed to fill that need, and replaced the old circuit switching transmission (traditionally used by landlines and used by 1G and 2G cellular networks) with packet switching (used on TCP/IP local area networks and Internet providers). The higher speeds and better reliability of 3G made use of the cellular networks for Internet access practical.
Today’s fastest networks are called 4G, although it is implemented differently by different cellular carriers and there is disagreement within the industry about what constitutes “true 4G.” 4G technologies include LTE (used by Verizon), Wi-Max (used by Sprint) and HSPA+ (used by AT&T and T-Mobile, which some argue would be more accurately called 3.5G). AT&T plans to migrate to LTE in the near future. 4G is designed with data in mind, and can handle high-bandwidth applications such as streaming video.

How cellular networks work

The basic components of the cellular network are:
  • The wireless network
  • The core network
  • The Internet connection
  • The PSTN
Cellular users access the network via radio signals between their devices and the cellular towers. This wireless network is also connected to the core network, which is a wired network. The wired core network connects to the Public Switched Telephone Network (PSTN) for making voice calls to landlines. The core network also connects to the Internet, using protocol gateways and multiprotocol mobility managers, for sending data to and receiving data from other data networks. The core network uses service nodes, which are servers, to store data such as subscriber information. Of course, it’s far more complicated than this, but this describes the basic architecture of how the components of the cellular network interoperate.

Security issues

Anyone who has worked in network administration and security knows that any network is only as secure as its weakest point. The problem with complex internet works such as the cellular networks is that they have so many parts and thus so many potential points of security failure. Overall security of cellular data transmission depends on the security of all of the four major components listed above.

Wireless communications are inherently more difficult to secure than wired transmissions. When signals go through the airwaves, it’s easier to intercept them because you don’t have to physically tap into a line. Anyone with a transmitter/receiver can capture the signals. Since it’s difficult or impossible to prevent the interception of the signals, the key to securing a wireless network is encrypting those signals so that they will be useless to any unauthorized party who does intercept them. Early cellular networks did not adequately secure the wireless signals in transit. However, 3G (and above) networks use strong cipher keys to encrypt the signals. Two way authentication is used to prevent the use of cloned cellular devices. 3G networks are still vulnerable to Denial of Service (DoS) attacks.

Security of the core network refers to the security of the service nodes (servers) and the security of data in transit over the wire between the service nodes. The MAPSec (Mobile Application Part Security) protocol provides security for the application layer protocol that is used for exchanging information that is specific to a subscriber and authentication information. IPSec is also used on the core network to protect communications in transit between service nodes. However, use of MAPSec and IPSec is optional and up to the service provider. Each provider has its own security policies regarding physical security of the servers and remote access to those servers.

Just as the Internet poses a threat to home networks connected to it, it also poses a threat to the core network. Attacks can travel from the Internet through the gateways and infiltrate the core network. These include DoS attacks and SMS (text) spam. Because it is connected to the Internet through the core network, the PSTN’s security cannot be assured, either. The PSTN was designed as a closed network and so did not include security mechanisms designed to protect from the types of threats that can come in from the Internet. The SS7 protocols it uses are plaintext and don’t include authentication.

The good news is that cellular carriers are becoming more aware of the vulnerabilities of the cellular networks and are taking steps to remedy them. Nonetheless, it’s just as important for you to take measures to secure your own data and systems when operating them on a cellular network. Recent reports, such as the McAfee report on mobile security released this month, focus on smartphone and tablet operating systems, but it’s important to realize that laptops and desktops connected to the Internet via cellular transmissions need to be protected, as well.

Security best practices on a cellular network

Not surprisingly, the steps that an end-user needs to take when connected to a cellular network are much the same as best practices on any other network. The key here is that when you use a cellular Internet connection, you’re subject to the same threats – malware, viruses, DoS attacks, intrusions – as with any other Internet connection. There are also vulnerabilities specific to the devices; for example, there were reports that the GPS on the 3G MiFi mobile hotspot could be enabled without the user’s knowledge if you happen to visit the wrong malicious web site. The latest version of the MiFi, made for Verizon’s LTE network, comes with the GPS chip deactivated.
The big risk on the cellular networks is that many users won’t be as cognizant of the risks as when, for instance, they connect to a wi-fi network. However, using the cellular network is generally more secure than using an open public wi-fi hotspot.
Because of the complexity of the network architecture, you can never be assured of end-to-end security. Thus host-based security becomes paramount. When using a 3G/4G device or mobile hotspot feature with your laptop, there may be two network segments to worry about: the 3G/4G wireless signal to the hotspot device or phone, and the wi-fi connection between the device/phone and the laptop. If you have the option to connect to the 3G/4G device/phone via either wi-fi or USB tethering, remember that the latter is more secure because you eliminate the possibility of data transmitted between the device/phone and the laptop being intercepted wirelessly. If your device offers the option, set it to automatically disable wi-fi when a computer is connected to it over USB.
Here are some standard precautions to take:
  • Ensure that your 3G/4G device – whether a USB modem, a MiFi device, a card or a smart phone – has all available updates installed to address vulnerabilities in the firmware or software
  • Have a firewall installed and properly configured on the host device
  • Have anti-virus and antimalware software installed and turned on
  • Use strong passwords or multi factor authentication for accessing sites involving financial data or sensitive personal information
  • Enable logging and alerting
  • For the wi-fi part of the connection, enable WPA2 encryption
  • On a mobile hotspot device such as the MiFi or Sprint’s Overdrive, disable SSID broadcasting and disable the DHCP server
  • When using a mobile hotspot device or the mobile hotspot function your phone, which allows for multiple computers to use the 3G or 4G connection, monitor the hotspot software to be sure only devices you know about are connected
  • If the device allows you to set a maximum number of users, set this to 1 if you are going to be the only one connecting to the device
  • Change the default administrative passwords on your 3G/4G devices
  • If your 3G/4G device supports MAC filtering, enable it and create a whitelist of the physical addresses of devices (such as your laptop) that you want to be able to use the 3G/4G network, and block all others

Cellular security issues for network admins

It’s also important for network admins to recognize the possibility that corporate users can pop a 3G or 4G card or modem into their laptops and access the Internet through a cellular network, bypassing corporate gateways, while also connected to the internal network over Ethernet. This can pose a threat to the internal network, since the user can visit web sites or run protocols or applications that would be blocked by the corporate firewalls. AT&T security chief Ed Amoroso discusses that in this video



Simplicity is key to co-operative robots

A way of making hundreds -- or even thousands -- of tiny robots cluster to carry out tasks without using any memory or processing power has been developed by engineers at the University of Sheffield, UK.
The team, working in the Sheffield Centre for Robotics (SCentRo), in the University's Faculty of Engineering, has programmed extremely simple robots that are able to form a dense cluster without the need for complex computation, in a similar way to how a swarm of bees or a flock of birds is able to carry out tasks collectively.


The work, published April 17, 2014 in the International Journal of Robotics Research, paves the way for robot 'swarms' to be used in, for example, the agricultural industry where precision farming methods could benefit from the use of large numbers of very simple and cheap robots.
A group of 40 robots has been programmed to perform the clustering task and the researchers have shown, using computer simulations, that this could be expanded to include thousands of robots.
Each robot uses just one sensor that tells them whether or not they can 'see' another robot in front of them. Based on whether or not they can see another robot, they will either rotate on the spot, or move around in a circle until they can see one.
In this way they are able to gradually form and maintain a cluster formation. The system's ingenuity lies in its simplicity. The robots have no memory, do not need to perform any calculations and require only very little information about the environment.
Until now robotic swarms have required complex programming, which means it would be extremely difficult to miniaturise the individual robots.
With the programming developed by the Sheffield team, however, it could be possible to develop extremely small -- even nanoscale -- machines.
The Sheffield system also shows that even if the information perceived by the robots gets partially corrupted, the majority of them will still be able to work together to complete the task.
Roderich Gross, of SCentRo, explains: "What we have shown is that robots do not need to compute to solve problems like that of gathering into a single cluster, and the same could be true for swarming behaviours that we find in nature, such as in bacteria, fish, or mammals."
"This means we are able to 'scale up' these swarms, to use thousands of robots that could then be programmed to perform tasks. In a real world scenario, this could involve monitoring the levels of pollution in the environment; we could also see them being used to perform tasks in areas where it would be hazardous for humans to go. Because they are so simple, we could also imagine these robots being used at the micron-scale, for example in healthcare technologies, where they could travel through the human vascular network to offer diagnosis or treatment in a non-invasive way."
The researchers are now focusing on programming the robots to accomplish simple tasks by interacting with other objects, for example by moving them around or by sorting them into groups.
Video of the swarming robots can be seen at https://www.youtube.com/watch?v=LO9JxFLgh94&feature=youtu.be

Story Source:
The above story is based on materials provided by University of Sheffield. Note: Materials may be edited for content and length.

Journal Reference:
  1. M. Gauci, J. Chen, W. Li, T. J. Dodd, R. Gross. Self-organized aggregation without computation. The International Journal of Robotics Research, 2014; DOI:10.1177/0278364914525244

Cite This Page:
University of Sheffield. "Simplicity is key to co-operative robots." ScienceDaily. ScienceDaily, 16 April 2014. <www.sciencedaily.com/releases/2014/04/140416225324.htm>.

First contagious airborne WiFi virus discovered

Researchers at the University of Liverpool have shown for the first time that WiFi networks can be infected with a virus that can move through densely populated areas as efficiently as the common cold spreads between humans.
The team designed and simulated an attack by a virus, called "Chameleon," and found that not only could it spread quickly between homes and businesses, but it was able to avoid detection and identify the points at which WiFi access is least protected by encryption and passwords.
Researchers from the University's School of Computer Science and Electrical Engineering and Electronics, simulated an attack on Belfast and London in a laboratory setting, and found that "Chameleon" behaved like an airborne virus, travelling across the WiFi network via Access Points (APs) that connect households and businesses to WiFi networks.
Areas that are more densely populated have more APs in closer proximity to each other, which meant that the virus propagated more quickly, particularly across networks connectable within a 10-50 metre radius.
Alan Marshall, Professor of Network Security at the University, said: "When "Chameleon" attacked an AP it didn't affect how it worked, but was able to collect and report the credentials of all other WiFi users who connected to it. The virus then sought out other WiFi APs that it could connect to and infect."
"Chameleon" was able to avoid detection as current virus detection systems look for viruses that are present on the Internet or computers, but Chameleon is only ever present in the WiFi network. Whilst many APs are sufficiently encrypted and password protected, the virus simply moved on to find those which weren't strongly protected including open access WiFi points common in locations such as coffee shops and airports.
Professor Marshall continued said: "WiFi connections are increasingly a target for computer hackers because of well-documented security vulnerabilities, which make it difficult to detect and defend against a virus.
"It was assumed, however, that it wasn't possible to develop a virus that could attack WiFi networks but we demonstrated that this is possible and that it can spread quickly. We are now able to use the data generated from this study to develop a new technique to identify when an attack is likely."

Story Source:
The above story is based on materials provided by University of Liverpool. 
Note: Materials may be edited for content and length.

Journal Reference:
  1. Jonny Milliken, Valerio Selis, Alan Marshall. Detection and analysis of the Chameleon WiFi access point virus. EURASIP Journal on Information Security, 2013; 2013 (1): 2 DOI: 10.1186/1687-417X-2013-2


Fixing broken links the fast way: Data links quick-fix developed !!!

Software that can fix 90 percent of broken links in the web of data, assuming the resources are still on the site's server, has been developed by researchers in Iran. The details are reported this month in the International Journal Web Engineering and Technology.
Everyone knows the frustration of following a link to an interesting web site only to discover the target page is no longer there and to be presented with an error page. However, more frustrating and with wider implications for science, healthcare, industry and other areas is when machines communicate and expect to find specific resources that turn out to be missing or dislocated from their identifier. This can cause problems when a computer is processing large amounts of data in a financial or scientific analysis, for instance. If the resource is still on the servers, then it should be retrievable given a sufficiently effective algorithm that can recreate the missing links.


Computing engineers Mohammad Pourzaferani and Mohammad Ali Nematbakhsh of the University of Isfahan explain that previous efforts to address the issue of broken links in the web of data have focused on the destination point. This approach has two inherent limitations. First, it homes in on a single point of failure whereas there might be wider issues across a database. Secondly, it relies on knowledge of the destination data source.
The team has now introduced a method for fixing broken links which is based on the source point of links and a way to discover the new address of the digital entity that has become detached. Their method creates a superior and an inferior dataset which lets them create an exclusive data graph that can be monitored over time in order to identify changes and trap missing links as resources become detached.


"The proposed algorithm uses the fact that entities preserve their structure event after movement to another location. Therefore, the algorithm creates an exclusive graph structure for each entity," explains Pourzaferani. This graph consists of two types of entity called 'Superior' and 'Inferior'. Which are entities point to the detached entity and point by it, respectively. When the broken link is detected the algorithm starts its task to find the new location for detached entity or the best similar candidate for it. To this end, the crawler controller module searches for the superiors of each entity in the inferior dataset, and vice versa. After some steps the search space is narrowed and the best candidate is chosen."
The researchers tested the algorithm on two snapshots of DBpedia within which are contained almost 300,000 person entities. Their algorithm identified almost 5,000 entities that changed between the first and second snapshot recorded some time later. The algorithm demonstrated its prowess in relocating 9 out of 10 of the broken links.

Story Source:
The above story is based on materials provided by Inderscience Publishers. 
Note: Materials may be edited for content and length.


Journal Reference:
  1. Mohammad Pourzaferani, Mohammad Ali Nematbakhsh. Repairing broken RDF links in the web of data. International Journal of Web Engineering and Technology.



Storage system for 'big data' dramatically speeds access to information

As computers enter ever more areas of our daily lives, the amount of data they produce has grown enormously. But for this "big data" to be useful it must first be analyzed, meaning it needs to be stored in such a way that it can be accessed quickly when required.
Previously, any data that needed to be accessed in a hurry would be stored in a computer's main memory, or dynamic random access memory (DRAM) -- but the size of the data-sets now being produced makes this impossible.
So instead, information tends to be stored on multiple hard disks on a number of machines across an Ethernet network. However, this storage architecture considerably increases the time it takes to access the information, according to Sang-Woo Jun, a graduate student in the Computer Science and Artificial Intelligence Laboratory (CSAIL) at MIT.
"Storing data over a network is slow because there is a significant additional time delay in managing data access across multiple machines in both software and hardware," Jun says. "And if the data does not fit in DRAM, you have to go to secondary storage -- hard disks, possibly connected over a network -- which is very slow indeed."
Now Jun, fellow CSAIL graduate student Ming Liu, and Arvind, the Charles W. and Jennifer C. Johnson Professor of Electrical Engineering and Computer Science, have developed a storage system for big-data analytics that can dramatically speed up the time it takes to access information.
The system, which will be presented in February at the International Symposium on Field-Programmable Gate Arrays in Monterey, Calif., is based on a network of flash storage devices.
Flash storage systems perform better at tasks that involve finding random pieces of information from within a large dataset than other technologies. They can typically be randomly accessed in microseconds. This compares to the data "seek time" of hard disks, which is typically four to 12 milliseconds when accessing data from unpredictable locations on demand.
Flash systems also are nonvolatile, meaning they do not lose any of the information they hold if the computer is switched off.
In the storage system, known as BlueDBM -- or Blue Database Machine -- each flash device is connected to a field-programmable gate array (FPGA) chip to create an individual node. The FPGAs are used not only to control the flash device, but are also capable of performing processing operations on the data itself, Jun says.
"This means we can do some processing close to where the data is [being stored], so we don't always have to move all of the data to the machine to work on it," he says.
What's more, FPGA chips can be linked together using a high-performance serial network, which has a very low latency, or time delay, meaning information from any of the nodes can be accessed within a few nanoseconds. "So if we connect all of our machines using this network, it means any node can access data from any other node with very little performance degradation, [and] it will feel as if the remote data were sitting here locally," Jun says.
Using multiple nodes allows the team to get the same bandwidth and performance from their storage network as far more expensive machines, he adds.
The team has already built a four-node prototype network. However, this was built using 5-year-old parts, and as a result is quite slow.
So they are now building a much faster 16-node prototype network, in which each node will operate at 3 gigabytes per second. The network will have a capacity of 16 to 32 terabytes.
Using the new hardware, Liu is also building a database system designed for use in big-data analytics. The system will use the FPGA chips to perform computation on the data as it is accessed by the host computer, to speed up the process of analyzing the information, Liu says.
"If we're fast enough, if we add the right number of nodes to give us enough bandwidth, we can analyze high-volume scientific data at around 30 frames per second, allowing us to answer user queries at very low latencies, making the system seem real-time," he says. "That would give us an interactive database."
As an example of the type of information the system could be used on, the team has been working with data from a simulation of the universe generated by researchers at the University of Washington. The simulation contains data on all the particles in the universe, across different points in time.
"Scientists need to query this rather enormous dataset to track which particles are interacting with which other particles, but running those kind of queries is time-consuming," Jun says. "We hope to provide a real-time interface that scientists can use to look at the information more easily."


Story Source:
The above story is based on materials provided by Massachusetts Institute of Technology. The original article was written by Helen Knight. 
Note: Materials may be edited for content and length.


C++ Vs Java (In terms of Syntax)

Syntactical differences between Java and C++ are small, but important. It can become difficult for a coder, especially when they are moving from C++ to Java.


Are you having a tough time differentiating between C++ and Java? Do you keep using the semicolon when you're not supposed to? While the two languages are similar, there are certain 'syntactical differences' that can be confusing. Here’s something that will come in handy....

The main function:


C++:
int main( int X, char* Y[])
{
printf( "Hello, world" );
}


Java:
Every function in Java has to be made a part of a class. So, the main function also has to be a part of a class. Moreover, in Java there is one main() function for every class. This can come in handy when writing unit tests for the class.
class HelloWorld
{
public static void main(String X[])
{
System.out.println( "Hello, World" );
}
}
Compiling:


C++
In C++, you will be compiling as,
g++ X.cc -o outfile

This will then be run with,
./outfile

Java
In Java, you will compile the classes in X.java.
javac X.java
You have to run this by invoking the static main method.

Class declarations:

While C++ requires a semicolon at the end of class declarations, Java
does not have any such requirement.
C++
class X{};

Java
class X{}


Method declarations:

A method declaration in Java must be a part of a class always. Otherwise, both the languages are quite the same syntactically on this front. You can also use the public, private and protected access specifications in Java.

Constructors and destructors:

In the case of constructors, the syntax in both C++ and Java is the same. Java though has no exact replacement for destructors.

Static members:

Static members (variables and functions) are also declared in the same way in both the languages. But, Java allows for static initialization blocks in order to initialize static variables.
 
Class Foo
{
static private int x;
// static initialization block
{ x = 5; }
}
Scoop static namespaces and methods.

C++:
In C++, you will use the 'Class::method form' in order to scoop static methods.
 
class MyClass
{
public:
static do();
};

Use this by,
MyClass::do();
 
Java:
In Java, on the other hand, scooping comes with the use of the .again parameter. This is similar to accessing the fields of a class.

class MyClass
{
public static do()
{
// do something
}
}

To use the static method,
MyClass.doStuff();

Object declarations:
C++
// on the stack
myClass x;

Java
// or on the heap
myClass *x = new myClass;

Accessing fields from various objects:
C++
In order to access fields from classes and other such objects, the programmer has to use dots.
myClass x;
x.field;

If a pointer is involved, then the narrow operator (->) has to be used.
myClass x = new MyClass();
x->field;

Java
In Java, only the dot is used. Since we always use references in Java, even pointers are accessed using the dot.
myClass x = new MyClass();
x.field;

Protection levels:
They are specified in a different manner.

C++
public:
void X();
void Y();

Java
public void X();
public void Y();

Virtual functions:
C++
virtual int X();
Virtual functions can also be used non virtually. You can simply say into X().

Java
int foo(); // or, final int foo();
In Java, functions are always virtual by default. You use ‘final’ in order to avoid them from being overridden.

Abstract Classes:
C++
All you need to do is include public virtual functions./
class X{ public: virtual void X() = 0; };

Java
In Java the syntax allows the programmer to be explicit.

abstract class X{ public abstract void X(); }

If you want to specify an interface, then say,

interface X{ public void foo(); }

In that case though, you will have to implement it by,

class Y implements X
{
public void M() { /* do something */ }
}


Memory management:

This is also pretty much the same in both the languages, except that Java has garbage collection, so no 'delete' keyword for Java.

Ads