Described is system for early detection of civil unrest events. A set of textual social media data having corresponding user identifications is received as input. The textual social media data is filtered with a keyword filter, resulting in a first set of data comprising keywords of interest. The first set of data is then filtered with a future date filter, resulting in a second set of data comprising future dates. The second set of data is filtered based on relevance to a civil unrest event with a text classifier module, resulting in a third set of data that is classified based on relevance to the civil unrest event. The third set of data is then filtered based on a location of interest, resulting in a fourth set of data having user identifications in the location of interest. A location is assigned to the civil unrest event, and a forecast of the civil unrest event is output.

Patent
   9953080
Priority
Apr 05 2013
Filed
Jun 03 2014
Issued
Apr 24 2018
Expiry
Aug 04 2035
Extension
509 days
Assg.orig
Entity
Large
1
7
currently ok
7. A computer-implemented method for early detection of civil unrest events, comprising:
an act of causing a data processor to execute instructions stored on a non-transitory memory such that upon execution, the data processor performs operations of:
receiving a set of textual social media data having corresponding user identifications as input;
filtering the set of textual social media data with a keyword filter, resulting in a first set of data comprising keywords of interest;
filtering the first set of data with a future date filter, resulting in a second set of data comprising future dates;
filtering the second set of data based on relevance to a civil unrest event with a text classifier module, resulting in a third set of data that is classified based on relevance to the civil unrest event;
filtering the third set of data based on a location of interest, resulting in a fourth set of data having user identifications in the location of interest;
assigning a location to the civil unrest event; and
outputting a forecast of the civil unrest event.
1. A system for early detection of civil unrest events, the system comprising:
one or more processors and a non-transitory computer-readable medium having executable instructions encoded thereon such that when executed, the one or more processors perform operations of:
receiving a set of textual social media data having corresponding user identifications as input;
filtering the set of textual social media data with a keyword filter, resulting in a first set of data comprising keywords of interest;
filtering the first set of data with a future date filter, resulting in a second set of data comprising future dates;
filtering the second set of data based on relevance to a civil unrest event with a text classifier module, resulting in a third set of data that is classified based on relevance to the civil unrest event;
filtering the third set of data based on a location of interest, resulting in a fourth set of data having user identifications in the location of interest;
assigning a location to the civil unrest event; and
outputting a forecast of the civil unrest event.
13. A computer program product for early detection of civil unrest events, the computer program product comprising computer-readable instructions stored on a non-transitory computer-readable medium that are executable by a computer having a processor for causing the processor to perform operations of:
receiving a set of textual social media data having corresponding user identifications as input;
filtering the set of textual social media data with a keyword filter, resulting in a first set of data comprising keywords of interest;
filtering the first set of data with a future date filter, resulting in a second set of data comprising future dates;
filtering the second set of data based on relevance to a civil unrest event with a text classifier module, resulting in a third set of data that is classified based on relevance to the civil unrest event;
filtering the third set of data based on a location of interest, resulting in a fourth set of data having user identifications in the location of interest;
assigning a location to the civil unrest event; and
outputting a forecast of the civil unrest event.
2. The system as set forth in claim 1, wherein the forecast comprises a demographic of participants of the civil unrest event, a reason for the civil unrest event, a date the civil unrest event is forecast to occur on, a location where the civil unrest event is expected to occur, and a probability of how likely it is that the civil unrest event will occur.
3. The system as set forth in claim 2, wherein the text classifier module comprises a standard logistic regression classifier trained on the set of textual social media data.
4. The system as set forth in claim 3, wherein the text classifier module further comprises a user type identification classifier to determine whether a user identification is related to an individual or an organization, and wherein the one or more processors further perform an operation of increasing the probability of the civil unrest event occurring if the user identification is related to an organization.
5. The system as set forth in claim 4, wherein the one or more processors further perform an operation of searching the set of textual social media data for mentions of cities or monuments to assign a location to the civil unrest event.
6. The system as set forth in claim 5, wherein if there are no mentions of cities or monuments in the set of textual social media data, the one or more processors further perform an operation of assigning a location to the civil unrest event using a geocoding module that infers a location of a user identification based on a set of social media relationships within the set of textual social media data.
8. The method as set forth in claim 7, wherein the forecast comprises a demographic of participants of the civil unrest event, a reason for the civil unrest event, a date the civil unrest event is forecast to occur on, a location where the civil unrest event is expected to occur, and a probability of how likely it is that the civil unrest event will occur.
9. The method as set forth in claim 8, wherein the text classifier module comprises a standard logistic regression classifier trained on the set of textual social media data.
10. The method as set forth in claim 9, wherein the text classifier module further comprises a user type identification classifier to determine whether a user identification is related to an individual or an organization, and wherein the one or more processors further perform an operation of increasing the probability of the civil unrest event occurring if the user identification is related to an organization.
11. The method as set forth in claim 10, wherein the one or more processors further perform an operation of searching the set of textual social media data for mentions of cities or monuments to assign a location to the civil unrest event.
12. The method as set forth in claim 11, wherein if there are no mentions of cities or monuments in the set of textual social media data, the one or more processors further perform an operation of assigning a location to the civil unrest event using a geocoding module that infers a location of a user identification based on a set of social media relationships within the set of textual social media data.
14. The computer program product as set forth in claim 13, wherein the forecast comprises a demographic of participants of the civil unrest event, a reason for the civil unrest event, a date the civil unrest event is forecast to occur on, a location where the civil unrest event is expected to occur, and a probability of how likely it is that the civil unrest event will occur.
15. The computer program product as set forth in claim 14, wherein the text classifier module comprises a standard logistic regression classifier trained on the set of textual social media data.
16. The computer program product as set forth in claim 15, wherein the text classifier module further comprises a user type identification classifier to determine whether a user identification is related to an individual or an organization, and wherein the one or more processors further perform an operation of increasing the probability of the civil unrest event occurring if the user identification is related to an organization.
17. The computer program product as set forth in claim 16, further comprising instructions for causing the processor to perform an operation of searching the set of textual social media data for mentions of cities or monuments to assign a location to the civil unrest event.
18. The computer program product as set forth in claim 17, wherein if there are no mentions of cities or monuments in the set of textual social media data, the computer program product further comprises instructions for causing the processor to perform an operation of assigning a location to the civil unrest event using a geocoding module that infers a location of a user identification based on a set of social media relationships within the set of textual social media data.
19. The system as set forth in claim 1, wherein the one or more processors further perform an operation of assigning a probability score to the civil unrest event.
20. The system as set forth in claim 1, wherein the one or more processors further perform an operation of condensing duplicate forecasts into one forecast by averaging probabilities of how likely it is that the civil unrest event will occur.
21. The system as set forth in claim 1, wherein the text classifier module further comprises a user type identification classifier to determine whether a user identification is related to an individual or an organization, and wherein the one or more processors further perform an operation of increasing the probability of the civil unrest event occurring if the user identification is related to an organization.
22. The system as set forth in claim 1, wherein the one or more processors further perform an operation of searching the set of textual social media data for mentions of cities or monuments to assign a location to the civil unrest event.
23. The system as set forth in claim 1, wherein if there are no mentions of cities or monuments in the set of textual social media data, the one or more processors further perform an operation of assigning a location to the civil unrest event using a geocoding module that infers a location of a user identification based on a set of social media relationships within the set of textual social media data.

This is a Continuation-in-Part application of U.S. Non-Provisional application Ser. No. 14/210,265, filed in the United States on Mar. 13, 2014, entitled, “Inferring the Location of Users in Online Social Media Platforms Using Social Network Analysis,” which is a Non-Provisional patent application of U.S. Provisional Application No. 61/809,160, filed in the United States on Apr. 5, 2013, entitled, “Inferring the Location of Users in Online Social Media Platforms Using Social Network Analysis.”

This is ALSO a Non-Provisional patent application of U.S. Provisional Application No. 61/831,058, filed in the United States on Jun. 4, 2013, entitled, “Social Media Data Mining for Early Detection of Newsworthy Civil Unrest Events.”

This invention was made with government support under U.S. Government Contract Number D12PC000285 Open Source Indicators. The government has certain rights in the invention.

The present invention relates to a system for early detection of civil unrest events and, more particularly, to a system for early detection of civil unrest events using social media data mining.

Widespread adoption of social media has made it possible for any individual to rapidly communicate with an audience of thousands (see the List of Incorporated Cited Literature References, Literature Reference No. 1). Unlike traditional media, where several difficult time-consuming steps must be carried out prior to publication, information in social media becomes publicly available within a few seconds of its creation.

With regards to existing social media analysis systems, red24 (red24 plc, Berkshire, UK http://www.red24.com taken on Jun. 2, 2014) is a crisis management assistance system, developed by a company by the same name, which provides security and risk assessment services to its clients. red24's system relies heavily on interaction by highly trained staff and is limited by the amount of data a few humans can process daily. Similarly, Dataminr (http://www.dataminr.com taken on Jun. 2, 2014), developed by Dataminr, Inc. of New York, N.Y., is a real-time social media analytics company with a mission to extract value from social media for clients in the finance and government sectors. Dataminr is limited by the coverage and accuracy of its geocoding approach.

Thus, a continuing need exists for a system for automatic detection of civil unrest events using a geocoding approach with high accuracy.

The present invention relates to a system for early detection of civil unrest events and, more particularly, to a system for early detection of civil unrest events using social media data mining. The system comprises one or more processors and a memory having instructions such that when the instructions are executed, the one or more processors perform multiple operations. The system receives a set of textual social media data having corresponding user identifications as input. The set of textual social media data is filtered with a keyword filter, resulting in a first set of data comprising keywords of interest. The first set of data is filtered with a future date filter, resulting in a second set of data comprising future dates. The second set of data is filtered based on relevance to a civil unrest event with a text classifier module, resulting in a third set of data that is classified based on relevance to the civil unrest event. The third set of data is filtered based on a location of interest, resulting in a fourth set of data having user identifications in the location of interest. A location is assigned to the civil unrest event, and a forecast of the civil unrest event is output.

In another aspect, the forecast comprises a population element, an event type element, a date element, a location element, and a probability element, wherein the population element describes a demographic of participants of the civil unrest event, the event type element describes a reason for the civil unrest event, the date element describes a date the civil unrest event is forecast to occur on, the location element describes a location where the civil unrest event is expected to occur, and the probability element describes how likely it is that the civil unrest event will occur.

In another aspect, the text classifier module comprises a standard logistic regression classifier trained on the set of textual social media data.

In another aspect, the text classifier module further comprises a user type identification classifier to determine whether a user identification is related to an individual or an organization, and wherein the one or more processors further perform an operation of increasing the probability of the civil unrest event occurring if the user identification is related to an organization.

In another aspect, the system searches the set of textual social media data for mentions of cities or monuments to assign a location to the civil unrest event.

In another aspect, if there are no mentions of cities or monument in the set of textual social media data, the system assigns a location to the civil unrest event using a geocoding module that infers a location of a user identification based on a set of social media relationships within the set of textual social media data.

In another aspect, the present invention also comprises a method for causing a processor to perform the operations described herein.

Finally, in yet another aspect, the present invention also comprises a computer program product comprising computer-readable instructions stored on a non-transitory computer-readable medium that are executable by a computer having a processor for causing the processor to perform the operations described herein.

The objects, features and advantages of the present invention will be apparent from the following detailed descriptions of the various aspects of the invention in conjunction with reference to the following drawings, where:

FIG. 1 is a block diagram depicting the components of a system for early detection of civil unrest events according to the principles of the present invention;

FIG. 2 is an illustration of a computer program product according to the principles of the present invention; and

FIG. 3 is a flow diagram depicting a system for early detection of civil unrest events according to the principles of the present invention.

The present invention relates to a system for early detection of civil unrest events and, more particularly, to a system for early detection of civil unrest events using social media data mining. The following description is presented to enable one of ordinary skill in the art to make and use the invention and to incorporate it in the context of particular applications. Various modifications, as well as a variety of uses in different applications will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to a wide range of aspects. Thus, the present invention is not intended to be limited to the aspects presented, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

In the following detailed description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without necessarily being limited to these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.

The reader's attention is directed to all papers and documents which are filed concurrently with this specification and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference. All the features disclosed in this specification, (including any accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.

Furthermore, any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6. In particular, the use of “step of” or “act of” in the claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.

Please note, if used, the labels left, right, front, back, top, bottom, forward, reverse, clockwise and counter-clockwise have been used for convenience purposes only and are not intended to imply any particular fixed direction. Instead, they are used to reflect relative locations and/or directions between various portions of an object. As such, as the present invention is changed, the above labels may change their orientation.

Before describing the invention in detail, first a list of cited literature references used in the description is provided. Next, a description of various principal aspects of the present invention is provided. Finally, specific details of the present invention are provided to give an understanding of the specific aspects.

The following references are cited throughout this application. For clarity and convenience, the references are listed herein as a central resource for the reader. The following references are hereby incorporated by reference as though fully included herein. The references are cited in the application by referring to the corresponding literature reference number, as follows:

The present invention has three “principal” aspects. The first is a system for early detection of civil unrest events. The system is typically in the form of a computer system operating software or in the form of a “hard-coded” instruction set. This system may be incorporated into a wide variety of devices that provide different functionalities. The second principal aspect is a method, typically in the form of software, operated using a data processing system (computer). The third principal aspect is a computer program product. The computer program product generally represents computer-readable instructions stored on a non-transitory computer-readable medium such as an optical storage device, e.g., a compact disc (CD) or digital versatile disc (DVD), or a magnetic storage device such as a floppy disk or magnetic tape. Other, non-limiting examples of computer-readable media include hard disks, read-only memory (ROM), and flash-type memories. These aspects will be described in more detail below.

A block diagram depicting an example of a system (i.e., computer system 100) of the present invention is provided in FIG. 1. The computer system 100 is configured to perform calculations, processes, operations, and/or functions associated with a program or algorithm. In one aspect, certain processes and steps discussed herein are realized as a series of instructions (e.g., software program) that reside within computer readable memory units and are executed by one or more processors of the computer system 100. When executed, the instructions cause the computer system 100 to perform specific actions and exhibit specific behavior, such as described herein.

The computer system 100 may include an address/data bus 102 that is configured to communicate information. Additionally, one or more data processing units, such as a processor 104 (or processors), are coupled with the address/data bus 102. The processor 104 is configured to process information and instructions. In an aspect, the processor 104 is a microprocessor. Alternatively, the processor 104 may be a different type of processor such as a parallel processor, or a field programmable gate array.

The computer system 100 is configured to utilize one or more data storage units. The computer system 100 may include a volatile memory unit 106 (e.g., random access memory (“RAM”), static RAM, dynamic RAM, etc.) coupled with the address/data bus 102, wherein a volatile memory unit 106 is configured to store information and instructions for the processor 104. The computer system 100 further may include a non-volatile memory unit 108 (e.g., read-only memory (“ROM”), programmable ROM (“PROM”), erasable programmable ROM (“EPROM”), electrically erasable programmable ROM “EEPROM”), flash memory, etc.) coupled with the address/data bus 102, wherein the non-volatile memory unit 108 is configured to store static information and instructions for the processor 104. Alternatively, the computer system 100 may execute instructions retrieved from an online data storage unit such as in “Cloud” computing. In an aspect, the computer system 100 also may include one or more interfaces, such as an interface 110, coupled with the address/data bus 102. The one or more interfaces are configured to enable the computer system 100 to interface with other electronic devices and computer systems. The communication interfaces implemented by the one or more interfaces may include wireline (e.g., serial cables, modems, network adaptors, etc.) and/or wireless (e.g., wireless modems, wireless network adaptors, etc.) communication technology.

In one aspect, the computer system 100 may include an input device 112 coupled with the address/data bus 102, wherein the input device 112 is configured to communicate information and command selections to the processor 100. In accordance with one aspect, the input device 112 is an alphanumeric input device, such as a keyboard, that may include alphanumeric and/or function keys. Alternatively, the input device 112 may be an input device other than an alphanumeric input device. In an aspect, the computer system 100 may include a cursor control device 114 coupled with the address/data bus 102, wherein the cursor control device 114 is configured to communicate user input information and/or command selections to the processor 100. In an aspect, the cursor control device 114 is implemented using a device such as a mouse, a track-ball, a track-pad, an optical tracking device, or a touch screen. The foregoing notwithstanding, in an aspect, the cursor control device 114 is directed and/or activated via input from the input device 112, such as in response to the use of special keys and key sequence commands associated with the input device 112. In an alternative aspect, the cursor control device 114 is configured to be directed or guided by voice commands.

In an aspect, the computer system 100 further may include one or more optional computer usable data storage devices, such as a storage device 116, coupled with the address/data bus 102. The storage device 116 is configured to store information and/or computer executable instructions. In one aspect, the storage device 116 is a storage device such as a magnetic or optical disk drive (e.g., hard disk drive (“HDD”), floppy diskette, compact disk read only memory (“CD-ROM”), digital versatile disk (“DVD”)). Pursuant to one aspect, a display device 118 is coupled with the address/data bus 102, wherein the display device 118 is configured to display video and/or graphics. In an aspect, the display device 118 may include a cathode ray tube (“CRT”), liquid crystal display (“LCD”), field emission display (“FED”), plasma display, or any other display device suitable for displaying video and/or graphic images and alphanumeric characters recognizable to a user.

The computer system 100 presented herein is an example computing environment in accordance with an aspect. However, the non-limiting example of the computer system 100 is not strictly limited to being a computer system. For example, an aspect provides that the computer system 100 represents a type of data processing analysis that may be used in accordance with various aspects described herein. Moreover, other computing systems may also be implemented. Indeed, the spirit and scope of the present technology is not limited to any single data processing environment. Thus, in an aspect, one or more operations of various aspects of the present technology are controlled or implemented using computer-executable instructions, such as program modules, being executed by a computer. In one implementation, such program modules include routines, programs, objects, components and/or data structures that are configured to perform particular tasks or implement particular abstract data types. In addition, an aspect provides that one or more aspects of the present technology are implemented by utilizing one or more distributed computing environments, such as where tasks are performed by remote processing devices that are linked through a communications network, or such as where various program modules are located in both local and remote computer-storage media including memory-storage devices.

An illustrative diagram of a computer program product (i.e., storage device) embodying the present invention is depicted in FIG. 2. The computer program product is depicted as floppy disk 200 or an optical disk 202 such as a CD or DVD. However, as mentioned previously, the computer program product generally represents computer-readable instructions stored on any compatible non-transitory computer-readable medium. The term “instructions” as used with respect to this invention generally indicates a set of operations to be performed on a computer, and may represent pieces of a whole program or individual, separable, software modules. Non-limiting examples of“instruction” include computer program code (source or object code) and “hard-coded” electronics (i.e. computer operations coded into a computer chip). The “instruction” is stored on any non-transitory computer-readable medium, such as in the memory of a computer or on a floppy disk, a CD-ROM, and a flash drive. In either event, the instructions are encoded on a non-transitory computer-readable medium.

Described is a system that “beats the news” by reporting on civil unrest events prior to their occurrence. Social media's accelerated publication speed allows for reporting of events while they are still in their planning stages. This is possible by filtering through the large and dynamic supply of information available publicly on a social media website, such as Twitter™, for messages exhibiting several independent features. Twitter™ is a non-limiting example used only for illustrative purposes, but not intended to be limited thereto.

Early reporting of civil unrest events is valuable for several government and industrial applications. For example, if a port is likely to shut down due to a riot, shipping companies may opt to redirect freight to prevent unexpected losses. As another non-limiting example, if a massive protest is planned to occur in a large metropolitan area, government officials may elect to postpone diplomatic visits in order to ensure the safety of their politicians.

In contrast to traditional news media, the system according to the principles of the present invention relaxes the assumption of perfect accuracy and replaces it with a probability score; this allows a user to report on events prior to their occurrence. Social media allows any user to immediately publish short messages about any topic to a potentially huge audience. No content filtering is applied prior to publication.

The system according to the principles of the present invention automatically filters social media content on social media websites, such as Twitter™, to identify Tweets™ (a message sent using Twitter™) which are likely related to the planning of an upcoming civil unrest event. Following this, the system labels the Tweets™ of interest with a date, location, probability, population, and “event subcode” to make an informative prediction. The prediction can be available immediately after a tweet is posted on line. A lead-time of several days is typical.

Specifically, the detection process of the present invention can be broken down into the application of several filters, which are used to continually monitor streaming data from Twitter™. Below is a table depicting the process of future event detection according to the principles of the present invention.

Future Event Detection
Input: millions of today's tweets ™ on Twitter ™
Output: a few dozen tweets ™ relevant to upcoming events
t1 = tweets ™ with text containing specific keywords
t2 = tweets ™ in t1 with text containinu future dates
t3 = tweets ™ in t2 which have passed through, text classifier
t4 = tweets ™ in t3 whose retweeters localize within nations
of interest or whose text contains mentions of specific
locations
return t4

Forecasts are generated in the following form:

{population, event_type, date, location, probability},

where “population” represents the demographic of the event participants (e.g., education, labor, agriculture), “event type” gives further detail regarding the reason for the event (e.g., employment, housing, economic policies), “date” is the date the event is forecast to occur on, “location” is the city where we expect the event to occur, and “probability” is how likely it is that the event will actually happen.

For experimental studies, approximately 93 gigabytes (GB) of Twitter™ data were downloaded each day from a GNIP-provided “decahose”. This volume of data comprises a 10% sampling of all Tweets™ posted. Data was stored and processed on a 36-node 1008-CPU cluster running Hadoop 0.20.2 produced by Apache™ on all machines. In another aspect, Twitter™ data was obtained by continually querying Twitter™'s rate-limited public application programming interface (API).

FIG. 3 is a flow diagram depicting a system for early detection of civil unrest events according to the principles of the present invention. In this example, the input 300 comprises millions of a day's Tweets™ on Twitter™; however, other textual inputs could be used. The Tweets™ are first filtered through the keyword filter 302, which searches for text containing specific keywords. Following the keyword filter 302, a set of remaining t1 Tweets™ are filtered through a future date filter 304, which keeps t1 Tweets™ that comprise text containing future dates. A resulting set of t2 Tweets™ are passed through a logistic regression classification module 306 to classify Tweets™ based on their relevance to a civil unrest event. The logistic regression classification module 306 is comprised of a standard logistic regression classifier 308 and a user-identification classifier 310. Following the logistic regression classification module 306, a set of resulting t3 Tweets™ is passed through an event geocoding module 312 and a demographics module 314, resulting in a set of t4 Tweets™ whose retweeters localize within nations of interest or whose text contains mentions of specific locations. The final output 316 is a history document which includes the Tweets™ used, the retweeter locations, the keywords matched, and links to all retweeter accounts. Each of these elements will be described in further detail below.

(3.1) Keyword Searches

The first filter (the keyword filter 302) that a Tweet™ (or other textual input) must pass is a simple check for mentions of civil unrest keywords. For the purposes of the present application, civil unrest events in Latin America are used as a non-limiting example. The advantage of this filter is that it is possible to apply it to the entirety of Twitter™ by using the public search application programming interface (API) (e.g., https://dev.twitter.com taken on Jun. 2, 2014). A collection of 26 keywords were manually identified as having substantial importance in the example presented, and the API was queried to obtain full coverage of these keywords.

Additionally, a set of 335 words related to Latin America civil unrest (e.g., Socialista, Protesta, Marchista) was identified by a domain expert for use in the system according to the principles of the present invention. Searching the public API for all occurrences of all 335 keywords is not possible, so searches for the set of 335 words was constrained to the 10% data sampling.

Thus, an example of the keyword filter process being applied to raw Twitter™ data each day is as follows. Read through each day's worth of data and collect Tweets™ containing both a civil unrest term (as defined by, for example, Latin America civil unrest domain experts) and a future date in Spanish/Portuguese, for example.

(3.2) Future Date Searches

An experiment indicated that, in both English and Spanish, only about 20% of Tweets™ that contain a civil unrest keyword were indeed about civil unrest. Furthermore, it was unclear how to forecast an event date from only Tweets™ with certain keywords. Therefore, a second filter (i.e., the future date filter 304) is applied, for mentions of future dates, to the Tweets™ containing civil unrest keywords.

The future date filter 304 searches first for month names and abbreviations in Spanish and Portuguese, and second for numbers less than 31 within three whitespace separated tokens from each other. Thus, an example matching date pattern would be “10 de enero”. Four-digit years are rare in Tweets™, therefore, in order to determine the year of the mentioned date, the year which minimizes the number of days between the mentioned date and the tweet's post time is used. For instance, if a Tweet™ mentions “10 de enero” on 2012-12-29, it is assumed that the user is referring to 2013-01-10, as 2013-01-10 is closer in time to 2012-12-29 than 2012-01-10 is.

Date extraction from user entered text is done by regex (regular expression) identification of two adjacent digits with the possibility of a trailing ordinal symbol (e.g., “o” for Portuguese ordinals). Once digits have been identified, nearby words are checked for matches with Spanish/Portuguese month names.

The extracted date is then compared against the tweets'™ post time. Once dates are extracted from the text, it is asserted that the mentioned dates occur after the Tweets'™ post time. It is assumed that Tweets™ mentioning past dates are unlikely to be indicative of future events. When the future date filter 304 is applied, the number of Tweets™ is reduced substantially. Only Tweets™ containing future dates are retained. According to an experimental study performed on 144,167 Tweets™ containing civil unrest keywords collected from the Twitter™ API, it was found that only 1,512 of the Tweets™ also contained future dates. For each Tweet™ passing the future date filter, a forecast for the mentioned date is tentatively issued.

(3.3) Logistic Regression Classification Module 306

Co-mentions of keywords with future dates do not guarantee that a particular Tweet™ is indeed about civil unrest. Two classifiers were developed and designed to classify Tweets™ based on their relevance to a civil unrest event. The first classifier is a standard logistic regression text-document classifier 308 trained on Tweets™. In an experimental study, 3000 Tweets™ were annotated for their relevance to a civil unrest event.

The second classifier (i.e., the user-identification classifier 310) makes use of recent work establishing that civil unrest Tweets™ are three-times more likely to originate from organizations rather than individuals (see Literature Reference No. 2). For this classifier (i.e., the user-identification classifier 310), an ensemble framework for user type identification based on heuristics, an n-gram classifier, and a linguistic classifier is used (see Literature Reference No. 2 for a description of the classifiers). An n-gram is a contiguous sequence of n items from a given sequence of text or speech. The items can be phonemes, syllables, letters, words, or base pairs according to the application. After identifying the posting user as an individual or organization, the forecast probability is adjusted accordingly.

(3.4) Event Geocoding Module 312

Identification of event location is central to the system according to the present invention. The location of an upcoming event is inferred by searching the Tweet™ for mentions of cities or monuments from a manually compiled list. In the event that no locations are mentioned in the text, a location is assigned to an event based on the location of retweeters. For each Tweet™ passing the logistic regression filter described above, the Twitter™ API is queried for user IDs (identifications) of all of the Tweet's™ retweeters. The model according to the principles of the present invention assumes that the demographics most interested in the Tweet™ are well-represented by the retweeters. The model also assumes that retweeting provides an excellent content filter which is naturally done by Twitter's™ users. User IDs are then fed into a geocoder (described in detail below) and filtered based on whether or not they reside in Latin America (in this example). Note that this filter is remarkably difficult to pass. Of the 1,512 Tweets™ collected in the previous step of the described example, only 36 passed the Latin America geocoding filter. This is significant because 36 Tweets™ is a small enough amount of data that a single human can read them all.

It is assumed that civil unrest events tend to occur in population centers. Therefore, the geocoded users are reverse-geocoded into the nearest city with a population greater than 500,000 people. The most commonly occurring city is used as the location of the event.

Identification of retweeter locations is performed with a previously developed geocoder, as described in U.S. application Ser. No. 14/210,265, entitled, “Inferring the Location of Users in Online Social Media Platforms Using Social Network Analysis,” which is hereby incorporated by reference as though fully set forth herein. A distinguishing feature of the geocoder is its ability to infer a user's location based on the locations of that user's social bonds. This is accomplished via a technique similar to label propagation (see Literature Reference No. 3 for a description of label propagation) applied to the Twitter™ bidirectional @mention network.

Briefly, the user geocoder works as follows. First, home locations for users are extracted based on the number of times they have Tweeted™ with GPS turned on. When the 10% data sample of Twitter™ contains three or more Tweets™ from a user within a 15 kilometer radius, the geometric median of those tagged Tweets™ is used to establish the user's home location. Denote the bidirectional @network by N and define a geometric median function ø: N→N according to the following:

ϕ ( n ) = { n if n is gps - known min x n i adj to n d ( n i , x ) else , ( 1 )
where each node nϵN stores information about the latitudeilongitude for the user associated to that node. The distance function is computed with Vicenty's formulas (see Literature Reference No. 4). The optimization in equation (1) is known as the l1 multivariate median or geometric median (Literature Reference No. 5)

(3.5) Demographics and Event Code Assignment

To assign a demographic to each forecast in the demographics module 314, the Tweet™ histories of every retweeter of every Tweet™ associated with a forecast are collected, and a search is performed of lists of terms relevant to several demographics and event types in Latin America. The most commonly occurring classes of terms were used to assign the forecast's demographic and event code. All retweeter histories are combined into one large history document, which is a history of what the participants have said online.

The history document is then classified as civil unrest/not civil unrest. The results are used to assign a probability score to this event. This is done by counting the probability that a word in the history document is one of the domain terms and mapping to [0,1] via tan h. In other words, the probability is assigned to tan h(number of domain terms/number of terms in the history document).

A population label is assigned by searching for words known to be of interest to certain populations. The population label is used for the population field in the warning. Examples of allowed populations are “General Population”. “Education”, “Labor”, and “Agriculture”. Then, a civil unrest subcode is assigned by searching for words known to be associated with a set of civil unrest subcodes. Non-limiting examples of allowed subcodes include “Employment and Wages”, “Housing”, “Energy and Resources”, “Other Economic Policies”, and “Other Government Policies”.

Duplicate forecasts for the same date/location are condensed into one forecast comprising several Tweets™ by averaging their probabilities. The Tweets™ are saved as part of an audit trail.

By utilizing an approach based on early detection rather than prediction, the system according to the principles of the present invention can easily provide an audit trail which can be understood with minimal effort. For each forecast generated, the Tweets™ used, the retweeter locations, the keywords matched, and links to all retweeter accounts are provided.

The invention described herein is related to U.S. Non-Provisional application Ser. No. 14/210,265, entitled, “Inferring the Location of Users in Online Social Media Platforms Using Social Network Analysis,” U.S. Provisional Application No. 61/809,160, entitled, “Inferring the Location of Users in Online Social Media Platforms Using Social Network Analysis,” and U.S. Provisional Application No. 61/831,058, entitled, “Social Media Data Mining for Early Detection of Newsworthy Civil Unrest Events.” which are all hereby incorporated by reference as though fully set forth herein.

Compton, Ryan F.

Patent Priority Assignee Title
11861630, Dec 15 2017 PAYPAL, INC. System and method for understanding influencer reach within an augmented media intelligence ecosystem
Patent Priority Assignee Title
20080288326,
20110125826,
20120330721,
20130041860,
20130073336,
20130218965,
20140258197,
//
Executed onAssignorAssigneeConveyanceFrameReelDoc
Jun 03 2014HRL Laboratories, LLC(assignment on the face of the patent)
Jul 21 2014COMPTON, RYAN F HRL Laboratories, LLCASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0335580269 pdf
Date Maintenance Fee Events
Oct 21 2021M1551: Payment of Maintenance Fee, 4th Year, Large Entity.


Date Maintenance Schedule
Apr 24 20214 years fee payment window open
Oct 24 20216 months grace period start (w surcharge)
Apr 24 2022patent expiry (for year 4)
Apr 24 20242 years to revive unintentionally abandoned end. (for year 4)
Apr 24 20258 years fee payment window open
Oct 24 20256 months grace period start (w surcharge)
Apr 24 2026patent expiry (for year 8)
Apr 24 20282 years to revive unintentionally abandoned end. (for year 8)
Apr 24 202912 years fee payment window open
Oct 24 20296 months grace period start (w surcharge)
Apr 24 2030patent expiry (for year 12)
Apr 24 20322 years to revive unintentionally abandoned end. (for year 12)