IP Library › Granted Patent US 10,311,218
Granted Patent B2
US 10,311,218 · App. 14/882,829 · Granted Jun 4, 2019

Identifying machine-generated strings

Inventors: Ehud Aharoni (Kfar Saba, IL); Tamer Salman (Haifa, IL); Onn M. Shehory (Kiryat-Ono, IL)
Assignee: International Business Machines Corporation
G06F21/31G06F2221/2133
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,311,218
App. No.
14/882,829
Granted
Jun 4, 2019
Kind
B2
Abstract

A computer receives human generated reference strings and determines the character, n-gram, type switch, and subtype switch distributions of the reference strings. Each of the aforementioned distributions include corresponding statistical data, such as an average frequency, maximum frequency, minimum frequency, and standard deviation. The computer then receives one or more test strings from which the computer similarly computes the aforementioned statistical data for each of the aforementioned distributions. The computer then compares the distributions of the test string(s) with the distributions of the reference strings. Based on the deviation of the test string distributions from the reference string distributions, the computer determines whether the test strings are human or machine generated.

Claims (61)

1. A computer-implemented method for string analyzing, the method comprising:

determining a reference string character distribution of one or more reference strings that includes a reference character minimum, a reference character maximum, a reference character average, and a reference character standard deviation;

determining a test string character distribution of one or more test strings that includes a test character minimum, a test character maximum, a test character average, and a test character standard deviation; and

identifying the one or more test strings as human generated based on determining that the test character average is within a threshold number of the reference character standard deviations of the reference character average.

2. The method of claim 1 , further comprising:

determining a reference string n-gram distribution of the one or more reference strings that includes a reference n-gram minimum, a reference n-gram maximum, a reference n-gram average, and a reference n-gram standard deviation;

determining a test string n-gram distribution of the one or more test strings that includes a test n-gram minimum, a test n-gram maximum, a test n-gram average, and a test n-gram standard deviation; and

wherein identifying the one or more test strings as human generated is further based on determining that the test n-gram average is within the threshold number of the reference n-gram standard deviations of the reference n-gram average.

3. The method of claim 1 , further comprising:

determining a reference string type switch distribution of the one or more reference strings that includes a reference type switch minimum, a reference type switch maximum, a reference type switch average, and a reference type switch standard deviation;

determining a test string type switch distribution of the one or more test strings that includes a test type switch minimum, a test type switch maximum, a test type switch average, and a test type switch standard deviation; and

wherein identifying the one or more test strings as human generated is further based on determining that the test type switch average is within the threshold number of the reference type switch standard deviations of the reference type switch average.

4. The method of claim 1 , further comprising:

determining a reference string subtype switch distribution of the one or more reference strings that includes a reference subtype switch minimum, a reference subtype switch maximum, a reference subtype switch average, and a reference subtype switch standard deviation;

determining a test string subtype switch distribution of the one or more test strings that includes a test subtype switch minimum, a test subtype switch maximum, a test subtype switch average, and a test subtype switch standard deviation; and

wherein identifying the one or more test strings as human generated is further based on determining that the test subtype switch average is within the threshold number of the reference subtype switch standard deviations of the reference subtype switch average.

5. The method of claim 1 , wherein identifying the one or more test strings as human generated is further based on determining that the test character average is between the reference character minimum and the reference character maximum.

6. The method of claim 1 , further comprising:

based on not identifying the one or more test strings as human generated, providing an option to search, inspect, ignore, delete, or quarantine the one or more test strings.

7. The method of claim 1 , wherein the one or more reference strings and the one or more test strings may be classified by one or more domains, and wherein identifying the one or more test strings as human generated is further based on the classified one or more domains.

8. A computer program product for string analyzing, the computer program product comprising:

one or more computer-readable non-transitory storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising:

program instructions to determine a reference string character distribution of one or more reference strings that includes a reference character minimum, a reference character maximum, a reference character average, and a reference character standard deviation

program instructions to determine a test string character distribution of one or more test strings that includes a test character minimum, a test character maximum, a test character average, and a test character standard deviation

program instructions to identify the one or more test strings as human generated based on determining that the test character average is within a threshold number of the reference character standard deviations of the reference character average.

9. The computer program product of claim 8 , further comprising:

program instructions to determine a reference string n-gram distribution of the one or more reference strings that includes a reference n-gram minimum, a reference n-gram maximum, a reference n-gram average, and a reference n-gram standard deviation;

program instructions to determine a test string n-gram distribution of the one or more test strings that includes a test n-gram minimum, a test n-gram maximum, a test n-gram average, and a test n-gram standard deviation; and

wherein the program instructions to identify the one or more test strings as human generated is further based on determining that the test n-gram average is within the threshold number of the reference n-gram standard deviations of the reference n-gram average.

10. The computer program product of claim 8 , further comprising:

program instructions to determine a reference string type switch distribution of the one or more reference strings that includes a reference type switch minimum, a reference type switch maximum, a reference type switch average, and a reference type switch standard deviation;

program instructions to determine a test string type switch distribution of the one or more test strings that includes a test type switch minimum, a test type switch maximum, a test type switch average, and a test type switch standard deviation; and

wherein the program instructions to identify the one or more test strings as human generated is further based on determining that the test type switch average is within the threshold number of the reference type switch standard deviations of the reference type switch average.

11. The computer program product of claim 8 , further comprising:

program instructions to determine a reference string subtype switch distribution of the one or more reference strings that includes a reference subtype switch minimum, a reference subtype switch maximum, a reference subtype switch average, and a reference subtype switch standard deviation;

program instructions to determine a test string subtype switch distribution of the one or more test strings that includes a test subtype switch minimum, a test subtype switch maximum, a test subtype switch average, and a test subtype switch standard deviation; and

wherein the program instructions to identify the one or more test strings as human generated is further based on determining that the test subtype switch average is within the threshold number of the reference subtype switch standard deviations of the reference subtype switch average.

12. The computer program product of claim 8 , wherein identifying the one or more test strings as human generated is further based on determining that the test character average is between the reference character minimum and the reference character maximum.

13. The computer program product of claim 8 , further comprising:

based on not identifying the one or more test strings as human generated, program instructions to provide an option to search, inspect, ignore, delete, or quarantine the one or more test strings.

14. The computer program product of claim 8 , wherein the one or more reference strings and the one or more test strings may be classified by one or more domains, and wherein identifying the one or more test strings as human generated is further based on the classified one or more domains.

15. A computer system for string analyzing, the computer system comprising:

one or more computer processors, one or more computer-readable storage media, and program instructions stored on one or more of the computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising:

program instructions to determine a reference string character distribution of one or more reference strings that includes a reference character minimum, a reference character maximum, a reference character average, and a reference character standard deviation

program instructions to determine a test string character distribution of one or more test strings that includes a test character minimum, a test character maximum, a test character average, and a test character standard deviation

program instructions to identify the one or more test strings as human generated based on determining that the test character average is within a threshold number of the reference character standard deviations of the reference character average.

16. The computer system of claim 15 , further comprising:

program instructions to determine a reference string n-gram distribution of the one or more reference strings that includes a reference n-gram minimum, a reference n-gram maximum, a reference n-gram average, and a reference n-gram standard deviation;

program instructions to determine a test string n-gram distribution of the one or more test strings that includes a test n-gram minimum, a test n-gram maximum, a test n-gram average, and a test n-gram standard deviation; and

wherein the program instructions to identify the one or more test strings as human generated is further based on determining that the test n-gram average is within the threshold number of the reference n-gram standard deviations of the reference n-gram average.

17. The computer system of claim 15 , further comprising:

program instructions to determine a reference string type switch distribution of the one or more reference strings that includes a reference type switch minimum, a reference type switch maximum, a reference type switch average, and a reference type switch standard deviation;

program instructions to determine a test string type switch distribution of the one or more test strings that includes a test type switch minimum, a test type switch maximum, a test type switch average, and a test type switch standard deviation; and

wherein the program instructions to identify the one or more test strings as human generated is further based on determining that the test type switch average is within the threshold number of the reference type switch standard deviations of the reference type switch average.

18. The computer system of claim 15 , further comprising:

program instructions to determine a reference string subtype switch distribution of the one or more reference strings that includes a reference subtype switch minimum, a reference subtype switch maximum, a reference subtype switch average, and a reference subtype switch standard deviation;

program instructions to determine a test string subtype switch distribution of the one or more test strings that includes a test subtype switch minimum, a test subtype switch maximum, a test subtype switch average, and a test subtype switch standard deviation; and

wherein the program instructions to identify the one or more test strings as human generated is further based on determining that the test subtype switch average is within the threshold number of the reference subtype switch standard deviations of the reference subtype switch average.

19. The computer system of claim 15 , further comprising:

based on not identifying the one or more test strings as human generated, program instructions to provide an option to search, inspect, ignore, delete, or quarantine the one or more test strings.

20. The computer system of claim 15 , wherein the one or more reference strings and the one or more test strings may be classified by one or more domains, and wherein identifying the one or more test strings as human generated is further based on the classified one or more domains.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 14, 2015
From: AHARONI, EHUD; SALMAN, TAMER; SHEHORY, ONN M.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 036790/0926 →
Continuity (1)
Related Publication 20170109515A1 · Apr 20, 2017
Cited By (1)
US 12,536,290