Swimming with Piranha: Testing Oak Ridge's text analysis tool

 

Connecting state and local government leaders

Oak Ridge lab's scalable software shows why it could be of value to investigators, researchers and analysts, especially once it adds Raptor, a metadata tool.

GCN’s Rutrell Yasin recently profiled the Piranha text analytics software developed at Oak Ridge National Laboratory, in a two part series about how the software was created and what it does. In this, part three, we take the evaluation version the software for a spin.

More Info

Energy lab's Piranha puts teeth into text analysis

Nearly nine years in the making, the agent-based software, available to other agencies, clusters huge volumes of text documents into groups that are easily processed. Read more.

Piranha: Decoding the genomic tree in millions of documents

Oak Ridge's text analytics software sees documents as mathematical vectors, clustering them according to their similarities. Read more.

Piranha was created to help humans quickly find connections in documents that might not be immediately obvious, either because the links between them are tenuous or because the data sets are so large that it’s impossible to get a complete picture. As such, Piranha was built to run on everything from a standalone PC to an entire cloud-based network housing millions of documents. ORNL officials have said Piranha could be a valuable tool for law enforcement, military or health care analysts, as well as any agency dealing with large data sets.

For our testing, we used a single PC and the free-to-try version of Piranha, which behaves just like the full version with the exception of being limited to just 128 documents. The software is available for download and experimentation from the Oak Ridge website.

For our purposes, we played the role of an investigator who was searching documents on a confiscated PC for a common connection or theme. We used a set of old and new articles written for GCN and other publications by a single author.

Loading the documents into Piranha was relatively quick. The program was recently updated to work with Microsoft Word files, XML files and most word processors and  office document formats. Of course, it can also work with plain text files, because the original program was designed to handle them.

Right now, Piranha is only able to analyze text that appears on the screen -- the information a user would see when he opened up a file. However, Oak Ridge is preparing a forensics version of the software that could look at metadata contained within files, according to Dr. Robert M. Patton of the Computational Data Analytics team at Oak Ridge National Laboratory. This metadata -- such as who authored the documents, who edited them, and when they were modified or created -- could prove invaluable for a researcher or investigator.  

Once we had our cache of documents loaded into Piranha, we let the client software get to work. The current version of Piranha requires that a user enter search terms into the program before an analysis takes place. That means users who don’t know what they're looking for could miss important evidence. Piranha is a work in progress, and the researchers at Oak Ridge have already begun to tackle that aspect of Piranha with a new program called Raptor.

Already working in a test environment, Raptor will allow an investigator to ask, “What do all these documents have in common?” Raptor will then return answers in the form of suggested search terms and datasets of documents within the larger group. So it could learn, for example, that several of the documents seem to talk about an attack, and several more of them are informational facts about Grand Central Station.

At that point an investigator will be given suggested search terms that he could bring back to Piranha, but would also be directed to certain documents within the larger set that could be read for additional information. The connection between plans for a general attack and a location could be drawn out from their hiding spots within the huge datasets.

So instead of trying to sift through thousands or millions of documents, an impossible task for one person, an investigator might be directed to read 100 files with a common theme. This would allow a further refining of keywords that are pertinent to the investigation.

Right now, Raptor is a separate program from Piranha. But Patton said that will soon change. Plans call for making Raptor into a module within Piranha, a move that would vastly improve the original program for use with large datasets.

Once the search returns results, Piranha can display that data in graphics and charts that quickly show the relationship between various documents. It just requires a little extra work. As powerful as Piranha is, the current version is a magic bullet on its own. Successfully whittling down searches to narrower and more useful results is a skill that would need to be honed, at least until Raptor officially comes along to make this process more intuitive.

Therefore, for our smaller set of documents, we had to come up with our own search terms. But since we were familiar with the documents in question, it wasn’t hard to find keywords that the software could sink its teeth into. And we were surprised with some of the results.

Piranha was able to pick up patterns within the documents that would not be immediately obvious. For example, it was interesting to note that our mysterious tech writer penned several stories about tablet computers, increasing in number each month until they were the most popular topic of all the documents. But then in October, this writer suddenly stopped writing about tablets altogether. From January to September, tablet computers came up in 30 articles. Then from October through December, the term only appeared once. An investigator could conclude that something major changed in October.

Imagine a scenario where the word "tablets" really means "explosives," and it becomes clear how helpful that information can be for the investigator. In a set of 1,000 documents, such a pattern would be difficult to discover without Piranha. With the software, it’s as obvious as if it had been painted in bright red letters.

Where Piranha could really shine is on huge datasets residing on multiple servers or even on millions of potential documents. In that case, it would simply be impossible for a human to find connections without help. At the desktop level, a set of skilled queries using the software can save time. In the cloud, it would make the impossible actually possible. For that, overworked government agents and law enforcement agencies probably can’t wait to start swimming with Piranha.

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.