WO2016161631A1 - Hidden dynamic systems - Google Patents
Hidden dynamic systems Download PDFInfo
- Publication number
- WO2016161631A1 WO2016161631A1 PCT/CN2015/076307 CN2015076307W WO2016161631A1 WO 2016161631 A1 WO2016161631 A1 WO 2016161631A1 CN 2015076307 W CN2015076307 W CN 2015076307W WO 2016161631 A1 WO2016161631 A1 WO 2016161631A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- probability distribution
- conditional probability
- data
- class labels
- hidden
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24568—Data stream processing; Continuous queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/01—Probabilistic graphical models, e.g. probabilistic networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
Definitions
- CRFs Conditional Random Fields
- FIG. 1 is a block diagram of an example computing device for analyzing data using hidden dynamic systems
- FIG. 2 is a block diagram of an example computing device in communication with server devices for analyzing data using hidden dynamic systems
- FIG. 3 is a flowchart of an example method for execution by a computing device for analyzing data using hidden dynamic systems
- FIG. 4 is a graph of example hidden dynamic conditional random fields (HDCRFs) .
- CRFs are commonly used for probabilistic sequence modeling. Structured data are widely prevalent in the real world, and observation sequences tend to have distinct internal sub-structure and indicate predictable relationships between individual class labels, especially for natural language.
- a noun phrase begins with a noun or a pronoun and may be accompanied by a set of modifiers.
- a noun phrase may contain one or more base noun phrases.
- named entities have particular characteristics in their composition.
- a location name can end with a location salient word but cannot end with any organization salient word.
- a complex, nested organization name may be composed of a person name, a location name, or even another organization name. Such complex and expressive structures can largely influence predictions.
- the efficiency of the CRF approach heavily depends on its first order Markov property -given the observation, the label of a token is assumed to depend only on the labels of its adjacent tokens. Further, the CRF approach models the transitions between class labels to enjoy advantages of both generative and discriminative methods capture external dynamics without consideration for internal sub-structure.
- the internal sub-structure in sequence data is directly modeled by incorporating a set of observed variables with additional latent, or hidden state variables to model relevant sub-structure in a given sequence, resulting in a new discriminative framework, Hidden Dynamic Conditional Random Fields (HDCRFs) .
- the model learns the external dependencies by modeling a continuous stream of class labels and learns internal sub-structure by utilizing intermediate hidden states.
- HDCRFs define a conditional distribution over the class labels and hidden state labels conditioned on the observations, where dependencies between the hidden variables can be expressed by an undirected graph.
- Such modeling is able to deal with features that can be arbitrary functions of the observations. Efficient parameter estimation and inference can be carried out using standard graphical model algorithms such as belief propagation.
- each encyclopedic page has a major topic or concept represented by a principal data record such as “Beijing” .
- a goal of HDCRFs is to extract all the interested data records such as “Beijing municipality” , “October 28” , “1420” , and “Qing Dynasty” , and assign class labels to these data records.
- the class labels can include pre-defined labels such as “person” , “date” , “year” , “organization” labels assigned to each data record and hidden state variables to identify substructures like the relationship between “Beijing” and “municipality” or “Qing” and “Dynasty.
- Beijing municipality can be properly labeled as an “organization. ” is a registered trademark of the Wikimedia Foundation, Inc., which is headquartered in San Francisco, CA.
- a conditional probability distribution for labeling data record segments is defined, where the conditional probability distribution models dependencies between class labels and internal substructures of the data record segments.
- Data record segments may be observed data such as content from web pages, text from books, documents, etc.
- optimal parameter values are determined for the conditional probability distribution by applying a quasi-Newton gradient ascent method to training data, where the conditional probability distribution is restricted to a disjoint set of hidden states for each of the class labels. The conditional probability distribution and the optimal parameter values are used to determine a most probable labeling sequence for the data record segments.
- FIG. 1 is a block diagram of an example computing device 100 for analyzing data using hidden dynamic systems.
- Computing device 100 may be any computing device capable of accessing server devices, such as server devices 250A, 250N of FIG. 2.
- computing device 100 includes a processor 110, an interface 115, and a machine-readable storage medium 120.
- Processor 110 may be central processing unit (s) (CPUs) , microprocessor (s) , and/or other hardware device (s) suitable for retrieval and execution of instructions stored in machine-readable storage medium 120.
- Processor 110 may fetch, decode, and execute instructions 122, 124, 126 to enable analyzing data using hidden dynamic systems (e.g., hidden states) .
- processor 110 may include electronic circuits comprising a number of electronic components for performing the functionality of instructions 122, 124, 126.
- Interface 115 may include a number of electronic components for communicating with a server device.
- interface 115 may be an Ethernet interface, a Universal Serial Bus (USB) interface, an IEEE 1394 (Firewire) interface, an external Serial Advanced Technology Attachment (eSATA) interface, or any other physical connection interface suitable for communication with the server device.
- interface 115 may be a wireless interface, such as a wireless local area network (WLAN) interface or a near-field communication (NFC) interface.
- WLAN wireless local area network
- NFC near-field communication
- interface 115 may be used to send and receive data to and from a corresponding interface of a server device.
- Machine-readable storage medium 120 may be any electronic, magnetic, optical, or other physical storage device that stores executable instructions.
- machine-readable storage medium 120 may be, for example, Random Access Memory (RAM) , an Electrically-Erasable Programmable Read-Only Memory (EEPROM) , a storage drive, an optical disc, and the like.
- RAM Random Access Memory
- EEPROM Electrically-Erasable Programmable Read-Only Memory
- machine-readable storage medium 120 may be encoded with executable instructions for analyzing data using hidden dynamic systems.
- Probability distribution defining instructions 122 define a probability distribution for labeling observation sequences.
- X is a random variable over data sequences to be labeled
- Y is a random variable over corresponding label sequences.
- Each y j is a member of the possible class label set.
- Each s j is a member of a finite set S yj of possible hidden states for the class label y j .
- S is the set of all possible hidden states of all S y sets.
- Each s j corresponds to a labeling of x j with some member of S, which may correspond to substructure of the sequence.
- a hidden dynamic probabilistic model can be defined as follows:
- conditional probability distributions can take the form:
- Z (X) is an instance-specific normalization function
- Each feature function can be either a transition function t k (s j-1 , sj, X, j) over the entire observation sequence and the hidden variables at positions i and i-1, or a state function s k (s j , X, j) depends on a single hidden variable at position i.
- HCRFs hidden conditional random fields
- HDCRFs combine the strengths of CRFs and HCRFs by modeling both external dependencies between class labels and internal substructure.
- the weights ⁇ k associated with the transition function t k (s j-1 , s j , X, j ) model both the internal sub-structure and external dependencies between different class labels.
- Weights associated with a transition function for hidden states that are in the same subset S yj model the substructure patterns while weights associated with the transition functions for hidden states from different subsets will model the external dependencies between labels.
- log-likelihood can be penalized by a prior distribution over parameters that provide smoothing to help with sparsity in the training data.
- a commonly used prior is a zero-mean (with variance ⁇ 2 ) Gaussian. With a Gaussian prior, log-likelihood is penalized as follows:
- Structural constraints can be encoded with an undirected graph structure, where the hidden variables ⁇ s 1 , s 2 , ... , s T ⁇ correspond to vertices in the graph.
- the model can be restricted to have disjoint sets (i.e., a set that contains no elements in common) of hidden states associated with each class label.
- P (s j a
- Y, X) are marginal distributions over individual variables s j or pairs of variables ⁇ s j , s k ⁇ corresponding to edges in the graph.
- the gradient of L ( ⁇ ) can be defined in terms of these marginal distributions and can therefore be calculated efficiently.
- Labeling sequence determining instructions 126 determine a labeling sequence for observation data (e.g., data record segments) . Given a new test sequence X, the most probable labeling sequence Y * can be estimated that maximizes the conditional model:
- equation (13) can be rewritten as:
- the marginal probabilities P (s j a
- X, ⁇ * ) can be computed for all possible hidden states a ⁇ S to estimate the label These marginal probabilities may then be summed according to the disjoint sets of hidden states S yj , and the label associated with the optimal set can be selected. As discussed in the previous subsection, these marginal probabilities can also be computed efficiently using belief propagation. For example, the above maximal marginal probabilities approach can be used to estimate the sequence of labels because it minimizes error.
- FIG. 2 is a block diagram of an example computing device 200 for analyzing data using hidden dynamic systems.
- Computing device 200 may be, for example, a computing device, a desktop computer, a rack-mount server, or any other computing device suitable for execution of the functionality described below.
- Computing device 200 is in communication with server devices 250A, 250N via a network 245.
- computing device 200 includes interface module 210, modeling module 220, training module 226, and inference module 230. While computing device 200 may include a number of modules 210-234. Each of the modules may include a series of instructions encoded on a machine-readable storage medium and executable by a processor of computing device 200. In addition or as an alternative, each module may include one or more hardware devices including electronic circuitry for implementing the functionality described below.
- Interface module 210 may manage communications with the server devices 250A, 250N. Specifically, the interface module 210 may initiate connections with the server devices 250A, 250N and then send or receive observation data (e.g., data record segments) to/from the server devices 250A, 250N.
- observation data e.g., data record segments
- Modeling module 220 generates hidden dynamic probabilistic models for analyzing data. Specifically, modeling module 220 may generate a probabilistic model as described above with respect to FIG. 1.
- Hidden states module 222 of modeling module 220 can manage a set of hidden states to be used in probabilistic functions. The hidden states can be used to model the internal substructure of an observation sequence.
- External dependencies module 224 of modeling module 220 models external dependencies between class labels and the internal substructure. Weights associated with a transition function for hidden states that are in the same subset model the sub-structure patterns, while weights associated with the transition functions for hidden states from different subsets will model the external dependencies between labels.
- Training module 226 is to estimate parameters of the probabilistic model. Specifically, training module 226 uses training data to maximize the conditional log-likelihood function.
- Analysis module 230 is to determine the most probably labeling sequence for observation data (e.g., data record segments) . Specifically, labeling sequence module 234 of analysis module 230 computes marginal probabilities for all possible hidden states to estimate a label. Then these marginal probabilities are summed according to the disjoint sets of hidden states and the label associated with the optimal set is chosen.
- Server devices 250A, 250N may be any servers accessible to computing device 200 over a network 245 that is suitable for executing the functionality described below. As detailed below, each server device 250A, 250N may include a series of modules 260-264 for providing web content.
- APl module 260 is configured to provide access to observation data of server device A 250A.
- Content module 262 of APl module 260 is configured to provide the observation data as content over the network 245.
- the content can be provided as HTML pages that are configured to be displayed in web browsers.
- server computer device 200 obtains the HTML pages from the content module 262 for processing as observation data as described above.
- Metadata module 264 of API module 260 manages metadata related to the content.
- the metadata describes the content and can be included in, for example, web pages provided by the content module 262.
- keywords describing various page elements can be embedded as metadata in the web pages.
- FIG. 3 is a flowchart of an example method 300 for execution by a computing device 100 for analyzing data using hidden dynamic systems. Although execution of method 300 is described below with reference to computing device 100 of FIG. 1, other suitable devices for execution of method 300 may be used, such as computing device 200 of FIG. 2.
- Method 300 may be implemented in the form of executable instructions stored on a machine-readable storage medium, such as storage medium 120, and/or in the form of electronic circuitry.
- Method 300 may start in block 305 and continue to block 310, where computing device 100 generates a hidden dynamic probabilistic model for analyzing data using hidden dynamic systems.
- the probabilistic model can include hidden states for modeling the internal substructure of an observation sequence. Further, weights associated with a transition function for hidden states that are in the same subset model the sub-structure patterns, while weights associated with the transition functions for hidden states from different subsets will model the external dependencies between labels.
- computing device 100 determines optimal parameters of the probabilistic model by applying an ascent method.
- computing device 100 uses the probabilistic model and the optimal parameters to determine the most probably labeling sequence for observation data. Method 300 may then continue to block 325, where method 300 may stop.
- FIG. 4 is a graph 400 of example hidden dynamic conditional random fields (HDCRFs) .
- the graph 400 shows an observation sequence 406A-406N with potential labels 402A-402N.
- hidden variables 404A-404N model the internal substructure of observation sequence 406A-406N. In this example, only links with the current observation set is shown, but long range dependencies can also possible.
- each transition function defines an edge feature while each state function defines a node feature as described above with respect to FIG. 1.
- All the observed data 406A-406N respect the structure of graph in that no observed data depends on more than two of the hidden variables 404A-404N, and if a feature does depend on two hidden variables, there should be a corresponding edge in the graph.
- Example graph 400 can be encoded arbitrarily to capture domain specific knowledge such as the internal sub-structure.
- the foregoing disclosure describes a number of examples for analyzing data using hidden dynamic systems.
- the example disclosed herein improves labeling of observation data by modeling both external dependencies between the class labels and internal substructure of the observation data.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Analysis (AREA)
- Mathematical Physics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Algebra (AREA)
- Probability & Statistics with Applications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Disclosed is a hidden dynamic system. In the hidden dynamic system, a conditional probability distribution for labeling data record segments is defined, where the conditional probability distribution models dependencies between class labels and internal substructures of the data record segments. At this stage, optimal parameter values are determined for the conditional probability distribution by applying a quasi-Newton gradient ascent method to training data, where the conditional probability distribution is restricted to a disjoint set of hidden states for each of the class labels. The conditional probability distribution and the optimal parameter values are used to determine a most probable labeling sequence for the data record segments.
Description
Annotating or labeling observation sequences arises in many applications across a variety of scientific disciplines, most prominently in natural language processing, information extraction, speech recognition, and bio-informatics. Recently, the predominant formalism for modeling and predicting label sequences has been based on discriminative models and variants. Conditional Random Fields (CRFs) are perhaps the most commonly used technique for probabilistic sequence modeling.
The following detailed description references the drawings, wherein:
FIG. 1 is a block diagram of an example computing device for analyzing data using hidden dynamic systems;
FIG. 2 is a block diagram of an example computing device in communication with server devices for analyzing data using hidden dynamic systems;
FIG. 3 is a flowchart of an example method for execution by a computing device for analyzing data using hidden dynamic systems; and
FIG. 4 is a graph of example hidden dynamic conditional random fields (HDCRFs) .
As detailed above, CRFs are commonly used for probabilistic sequence modeling. Structured data are widely prevalent in the real world, and
observation sequences tend to have distinct internal sub-structure and indicate predictable relationships between individual class labels, especially for natural language. For example in the task of noun phrase chunking, a noun phrase begins with a noun or a pronoun and may be accompanied by a set of modifiers. In this example, a noun phrase may contain one or more base noun phrases. In the named entity recognition task, named entities have particular characteristics in their composition. A location name can end with a location salient word but cannot end with any organization salient word. A complex, nested organization name may be composed of a person name, a location name, or even another organization name. Such complex and expressive structures can largely influence predictions. The efficiency of the CRF approach heavily depends on its first order Markov property -given the observation, the label of a token is assumed to depend only on the labels of its adjacent tokens. Further, the CRF approach models the transitions between class labels to enjoy advantages of both generative and discriminative methods capture external dynamics without consideration for internal sub-structure.
In examples described herein, the internal sub-structure in sequence data is directly modeled by incorporating a set of observed variables with additional latent, or hidden state variables to model relevant sub-structure in a given sequence, resulting in a new discriminative framework, Hidden Dynamic Conditional Random Fields (HDCRFs) . The model learns the external dependencies by modeling a continuous stream of class labels and learns internal sub-structure by utilizing intermediate hidden states. HDCRFs define a conditional distribution over the class labels and hidden state labels conditioned on the observations, where dependencies between the hidden variables can be expressed by an undirected graph. Such modeling is able to deal with features that can be arbitrary functions of the observations. Efficient parameter estimation and inference can be carried out using standard graphical model algorithms such as belief propagation.
For example in web data extraction from encyclopedic pages such as each encyclopedic page has a major topic or concept represented by a principal data record such as “Beijing” . A goal of HDCRFs is to extract all the interested data records such as “Beijing municipality” , “October 28” , “1420” , and “Qing Dynasty” , and assign class labels to these data records. In this example, the class labels can include pre-defined labels such as “person” , “date” , “year” , “organization”
labels assigned to each data record and hidden state variables to identify substructures like the relationship between “Beijing” and “municipality” or “Qing” and “Dynasty. ” If the substructure between “Beijing” and “municipality” is identified, “Beijing municipality” can be properly labeled as an “organization. ”is a registered trademark of the Wikimedia Foundation, Inc., which is headquartered in San Francisco, CA.
In some examples, a conditional probability distribution for labeling data record segments is defined, where the conditional probability distribution models dependencies between class labels and internal substructures of the data record segments. Data record segments may be observed data such as content from web pages, text from books, documents, etc. At this stage, optimal parameter values are determined for the conditional probability distribution by applying a quasi-Newton gradient ascent method to training data, where the conditional probability distribution is restricted to a disjoint set of hidden states for each of the class labels. The conditional probability distribution and the optimal parameter values are used to determine a most probable labeling sequence for the data record segments.
Referring now to the drawings, FIG. 1 is a block diagram of an example computing device 100 for analyzing data using hidden dynamic systems. Computing device 100 may be any computing device capable of accessing server devices, such as server devices 250A, 250N of FIG. 2. In the embodiment of FIG. 1, computing device 100 includes a processor 110, an interface 115, and a machine-readable storage medium 120.
Machine-readable storage medium 120 may be any electronic, magnetic, optical, or other physical storage device that stores executable instructions. Thus, machine-readable storage medium 120 may be, for example, Random Access Memory (RAM) , an Electrically-Erasable Programmable Read-Only Memory (EEPROM) , a storage drive, an optical disc, and the like. As described in detail below, machine-readable storage medium 120 may be encoded with executable instructions for analyzing data using hidden dynamic systems.
Probability distribution defining instructions 122 define a probability distribution for labeling observation sequences. Suppose X is a random variable over data sequences to be labeled, and Y is a random variable over corresponding label sequences. The distribution defines mappings between an observation sequence X=(x1, x2, ... , xT) and the corresponding label sequence Y= (y1, y2, ... , yT) . Each yj is a member of the possible class label set. For each sequence, a vector of sub-structure variables S= (s1, s2, ... , sT) are assumed, which are not observed in training examples and, thus, form a set of hidden variables. Each sj is a member of a finite set Syj of possible hidden states for the class label yj. Suppose S is the set of all possible hidden states of all Sy sets. Each sj corresponds to a labeling of xj with some member of S, which may correspond to substructure of the sequence.
Given the above definitions, a hidden dynamic probabilistic model can be defined as follows:
By definition, sequences which have anywill obviously have p (Y|S, X)=0, so the model above can be rewritten as:
Similar to CRFs, the conditional probability distributions, p (S|X) , can take the form:
where Z (X) is an instance-specific normalization function:
andis a set of real-valued feature functions. is a parameter vector that reflects the confidence of feature functions. Each feature function can be either a transition function tk (sj-1, sj, X, j) over the entire observation sequence and the hidden variables at positions i and i-1, or a state function sk (sj, X, j) depends on a single hidden variable at position i. Note that the model is different from hidden conditional random fields (HCRFs) , which model the conditional probability of one class label y given the observation sequence X through:
where the partition function Z′ (X) is given by:
HDCRFs combine the strengths of CRFs and HCRFs by modeling both external dependencies between class labels and internal substructure. Specifically, the weights λk associated with the transition function tk (sj-1, sj, X, j) model both the internal sub-structure and external dependencies between different class labels. Weights associated with a transition function for hidden states that are in the same subset Syj
model the substructure patterns while weights associated with the transition functions for hidden states from different subsets will model the external dependencies between labels.
Optimal parameter determining instructions 124 determine optimal parameters for probability distribution. Given some training data consist of n labeled sequences D= (X1, Y1) , (X2, Y2) , ... , (Xn, Yn) , the parameters Λ={λk} are set to maximize the conditional log-likelihood. Following previous work on CRFs, the following objective function can be used to estimate the parameters:
To avoid over-fitting, log-likelihood can be penalized by a prior distribution over parameters that provide smoothing to help with sparsity in the training data. A commonly used prior is a zero-mean (with variance σ2) Gaussian. With a Gaussian prior, log-likelihood is penalized as follows:
Structural constraints can be encoded with an undirected graph structure, where the hidden variables {s1, s2, ... , sT} correspond to vertices in the graph. To ensure the training and inference remains tractable, the model can be restricted to have disjoint sets (i.e., a set that contains no elements in common) of hidden states associated with each class label. A quasi-Newton gradient ascent method can be used to search for the optimal parameter values, Λ*=arg maxΛ L (Λ) , under this criterion.
where P (sj=a|Y, X) and P (sj=a, sk=b|Y, X) are marginal distributions over individual variables sj or pairs of variables {sj, sk} corresponding to edges in the graph. The gradient of L (Λ) can be defined in terms of these marginal distributions and can therefore be calculated efficiently.
We first consider derivatives with respect to the parameters λk associated with a state function sk. Taking derivatives results in:
It shows thatcan be expressed in terms of components P (sj=a|X) and P (Y|X) , which can be computed using belief propagation.
For derivatives with respect to the parameters λl corresponding to a transition function tl, a similar calculation provides:
hencecan also be expressed in terms of expressions (e.g., the marginal probabilities P (sj=a, sk=b|Y, X) ) that can be computed efficiently using belief propagation. Gradient ascent can be performed with the limited-memory quasi-Newton BFGS optimization technique.
Labeling sequence determining instructions 126 determine a labeling sequence for observation data (e.g., data record segments) . Given a new test sequence X, the most probable labeling sequence Y* can be estimated that maximizes the conditional model:
where the parameters Λ* are learned via a training process. Assuming each class label is associated with a disjoint set of hidden states, equation (13) can be rewritten as:
The marginal probabilities P (sj=a|X, Λ*) can be computed for all possible hidden states a ∈ S to estimate the labelThese marginal probabilities may then be summed according to the disjoint sets of hidden states Syj, and the label associated with the optimal set can be selected. As discussed in the previous subsection, these marginal probabilities can also be computed efficiently using belief propagation. For example, the above maximal marginal probabilities approach can be used to estimate the sequence of labels because it minimizes error.
FIG. 2 is a block diagram of an example computing device 200 for analyzing data using hidden dynamic systems. Computing device 200 may be, for example, a computing device, a desktop computer, a rack-mount server, or any other computing device suitable for execution of the functionality described below. Computing device 200 is in communication with server devices 250A, 250N via a network 245.
In the embodiment of FIG. 2, computing device 200 includes interface module 210, modeling module 220, training module 226, and inference module 230. While computing device 200 may include a number of modules 210-234. Each of the modules may include a series of instructions encoded on a machine-readable storage medium and executable by a processor of computing device 200. In addition or as an alternative, each module may include one or more hardware devices including electronic circuitry for implementing the functionality described below.
Modeling module 220 generates hidden dynamic probabilistic models for analyzing data. Specifically, modeling module 220 may generate a probabilistic
model as described above with respect to FIG. 1. Hidden states module 222 of modeling module 220 can manage a set of hidden states to be used in probabilistic functions. The hidden states can be used to model the internal substructure of an observation sequence. External dependencies module 224 of modeling module 220 models external dependencies between class labels and the internal substructure. Weights associated with a transition function for hidden states that are in the same subset model the sub-structure patterns, while weights associated with the transition functions for hidden states from different subsets will model the external dependencies between labels.
FIG. 3 is a flowchart of an example method 300 for execution by a computing device 100 for analyzing data using hidden dynamic systems. Although execution of method 300 is described below with reference to computing device 100 of FIG. 1, other suitable devices for execution of method 300 may be used, such as computing device 200 of FIG. 2. Method 300 may be implemented in the form of executable instructions stored on a machine-readable storage medium, such as storage medium 120, and/or in the form of electronic circuitry.
In block 315, computing device 100 determines optimal parameters of the probabilistic model by applying an ascent method. In block 320, computing device 100 uses the probabilistic model and the optimal parameters to determine the most probably labeling sequence for observation data. Method 300 may then continue to block 325, where method 300 may stop.
FIG. 4 is a graph 400 of example hidden dynamic conditional random fields (HDCRFs) . The graph 400 shows an observation sequence 406A-406N with potential labels 402A-402N. As shown, hidden variables 404A-404N model the internal substructure of observation sequence 406A-406N. In this example, only links with the current observation set is shown, but long range dependencies can also possible.
In the example graph 400, each transition function defines an edge feature while each state function defines a node feature as described above with respect to FIG. 1. All the observed data 406A-406N respect the structure of graph in that no observed data depends on more than two of the hidden variables 404A-404N, and if a feature does depend on two hidden variables, there should be a
corresponding edge in the graph. Example graph 400 can be encoded arbitrarily to capture domain specific knowledge such as the internal sub-structure.
The foregoing disclosure describes a number of examples for analyzing data using hidden dynamic systems. In this manner, the example disclosed herein improves labeling of observation data by modeling both external dependencies between the class labels and internal substructure of the observation data.
Claims (15)
- A server computing device for analyzing data using hidden dynamic systems, the computing device comprising:a processor to:define a conditional probability distribution for labeling a plurality of data record segments, wherein the conditional probability distribution models dependencies between class labels and internal substructures of the plurality of data record segments;determine optimal parameter values for the conditional probability distribution by applying a quasi-Newton gradient ascent method to training data, wherein the conditional probability distribution is restricted to a disjoint set of hidden states for each of the class labels; anduse the conditional probability distribution and the optimal parameter values to determine a most probable labeling sequence for the plurality of data record segments.
- The server computing device of claim 2, wherein the plurality of data segments are applied to the conditional probability distribution to determine a plurality of marginal probabilities for each of the class labels.
- The server computing device of claim 4, wherein the plurality of marginal probabilities are summed according to the disjoint sets of hidden states to determine the most probably labeling sequence.
- The server computing device of claim 2, wherein the confidence parameters and a transition function fk model dependencies between the class labels and the internal substructures.
- A method for analyzing data using hidden dynamic systems, comprising:defining a conditional probability distribution for labeling a plurality of data record segments, wherein the conditional probability distribution models dependencies between class labels and internal substructures of the plurality of data record segments;determining optimal parameter values for the conditional probability distribution by applying a quasi-Newton gradient ascent method to training data, wherein the conditional probability distribution is restricted to a disjoint set of hidden states for each of the class labels; andusing the conditional probability distribution and the optimal parameter values to determine a most probable labeling sequence for the plurality of data record segments, wherein the plurality of data segments are applied to the conditional probability distribution to determine a plurality of marginal probabilities for each of the class labels.
- The method of claim 9, wherein the plurality of marginal probabilities are summed according to the disjoint sets of hidden states to determine the most probably labeling sequence.
- The method of claim 8, wherein the confidence parameters and a transition function fk model dependencies between the class labels and the internal substructures.
- A non-transitory machine-readable storage medium encoded with instructions executable by a processor for analyzing data using hidden dynamic systems, the machine-readable storage medium comprising instructions to:define a conditional probability distribution for labeling a plurality of data record segments, wherein the conditional probability distribution models dependencies between class labels and internal substructures of the plurality of data record segments;determine optimal parameter values for the conditional probability distribution by applying a quasi-Newton gradient ascent method to training data, wherein the conditional probability distribution is restricted to a disjoint set of hidden states for each of the class labels; anduse the conditional probability distribution and the optimal parameter values to determine a most probable labeling sequence for the plurality of data record segments, wherein the plurality of data segments are applied to the conditional probability distribution to determine a plurality of marginal probabilities for each of the class labels.
- The non-transitory machine-readable storage medium of claim 14, wherein the plurality of marginal probabilities are summed according to the disjoint sets of hidden states to determine the most probably labeling sequence.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/559,207 US20180075361A1 (en) | 2015-04-10 | 2015-04-10 | Hidden dynamic systems |
| PCT/CN2015/076307 WO2016161631A1 (en) | 2015-04-10 | 2015-04-10 | Hidden dynamic systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/076307 WO2016161631A1 (en) | 2015-04-10 | 2015-04-10 | Hidden dynamic systems |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016161631A1 true WO2016161631A1 (en) | 2016-10-13 |
Family
ID=57072483
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/076307 Ceased WO2016161631A1 (en) | 2015-04-10 | 2015-04-10 | Hidden dynamic systems |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US20180075361A1 (en) |
| WO (1) | WO2016161631A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10482248B2 (en) * | 2016-11-09 | 2019-11-19 | Cylance Inc. | Shellcode detection |
| US20220121906A1 (en) * | 2019-01-30 | 2022-04-21 | Google Llc | Task-aware neural network architecture search |
| US11615102B2 (en) | 2019-10-18 | 2023-03-28 | Splunk Inc. | Swappable online machine learning algorithms implemented in a data intake and query system |
| US12205022B2 (en) | 2020-07-31 | 2025-01-21 | Splunk Inc. | Data field extraction by a data intake and query system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110043626A1 (en) * | 2009-08-18 | 2011-02-24 | Wesley Kenneth Cobb | Intra-trajectory anomaly detection using adaptive voting experts in a video surveillance system |
| CN102473174A (en) * | 2009-07-08 | 2012-05-23 | 瑞典爱立信有限公司 | A method and arrangements for analysing multimedia content |
| CN102681981A (en) * | 2011-03-11 | 2012-09-19 | 富士通株式会社 | Natural language lexical analysis method, device and analyzer training method |
| CN103198057A (en) * | 2012-01-05 | 2013-07-10 | 深圳市腾讯计算机系统有限公司 | Method and device for adding label onto document automatically |
-
2015
- 2015-04-10 US US15/559,207 patent/US20180075361A1/en not_active Abandoned
- 2015-04-10 WO PCT/CN2015/076307 patent/WO2016161631A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102473174A (en) * | 2009-07-08 | 2012-05-23 | 瑞典爱立信有限公司 | A method and arrangements for analysing multimedia content |
| US20110043626A1 (en) * | 2009-08-18 | 2011-02-24 | Wesley Kenneth Cobb | Intra-trajectory anomaly detection using adaptive voting experts in a video surveillance system |
| CN102681981A (en) * | 2011-03-11 | 2012-09-19 | 富士通株式会社 | Natural language lexical analysis method, device and analyzer training method |
| CN103198057A (en) * | 2012-01-05 | 2013-07-10 | 深圳市腾讯计算机系统有限公司 | Method and device for adding label onto document automatically |
Also Published As
| Publication number | Publication date |
|---|---|
| US20180075361A1 (en) | 2018-03-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Hakkani-Tür et al. | Multi-domain joint semantic frame parsing using bi-directional rnn-lstm. | |
| US11604956B2 (en) | Sequence-to-sequence prediction using a neural network model | |
| US10366327B2 (en) | Generating vector representations of documents | |
| US10387531B1 (en) | Processing structured documents using convolutional neural networks | |
| US9697475B1 (en) | Additive context model for entity resolution | |
| US11010664B2 (en) | Augmenting neural networks with hierarchical external memory | |
| CN106294313A (en) | Study embeds for entity and the word of entity disambiguation | |
| JP6611053B2 (en) | Subject estimation system, subject estimation method and program | |
| WO2021051574A1 (en) | English text sequence labelling method and system, and computer device | |
| CN114819137A (en) | Method, system, and storage medium for classifying input samples using a comparison set | |
| US10685012B2 (en) | Generating feature embeddings from a co-occurrence matrix | |
| CN113505601A (en) | Positive and negative sample pair construction method and device, computer equipment and storage medium | |
| CN102314440B (en) | Utilize the method and system in network operation language model storehouse | |
| CN106970981B (en) | Method for constructing relation extraction model based on transfer matrix | |
| CN113723077B (en) | Sentence vector generation method, device and computer equipment based on bidirectional representation model | |
| CN110414005B (en) | Intent recognition method, electronic device and storage medium | |
| US10963501B1 (en) | Systems and methods for generating a topic tree for digital information | |
| WO2012158572A2 (en) | Exploiting query click logs for domain detection in spoken language understanding | |
| WO2014073206A1 (en) | Information-processing device and information-processing method | |
| Bahcevan et al. | Deep neural network architecture for part-of-speech tagging for turkish language | |
| CN109271624A (en) | A kind of target word determines method, apparatus and storage medium | |
| WO2016161631A1 (en) | Hidden dynamic systems | |
| Shalyminov et al. | Data-efficient goal-oriented conversation with dialogue knowledge transfer networks | |
| WO2016210203A1 (en) | Learning entity and word embeddings for entity disambiguation | |
| CN116956935A (en) | Pseudo tag data construction method, pseudo tag data construction device, terminal and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15888188 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 15559207 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15888188 Country of ref document: EP Kind code of ref document: A1 |


















