# Patent

## Title
Inferring emerging and evolving topics in streaming text

## Abstract

A method, system and computer program product for inferring topic evolution and emergence in a set of documents. In one embodiment, the method comprises forming a group of matrices using text in the documents, and analyzing these matrices to identify a first group of topics as evolving topics and a second group of topics as emerging topics. The matrices includes a first matrix X identifying a multitude of words in each of the documents, a second matrix W identifying a multitude of topics in each of the documents, and a third matrix H identifying a multitude of words for each of the multitude of topics. These matrices are analyzed to identify the evolving and emerging topics. In an embodiment, the documents form a streaming dataset, and two forms of temporal regularizers are used to help identify the evolving topics and the emerging topics in the streaming dataset.

## Background
BACKGROUND OF THE INVENTION
The present invention generally relates to document analysis, and more specifically, to inferring topic evolution and emergence in streaming documents.
Learning a dictionary of basis elements with the objective of building compact data representations is a problem of fundamental importance in statistics, machine learning and signal processing. In many settings, data points appear as a stream of high dimensional feature vectors. Streaming datasets present new twists to the problem. On one hand, basis elements need to be dynamically adapted to the statistics of incoming datapoints, while on the other hand, many applications require early detection of rising new trends. The analysis of social media streams formed by tweets and blog posts is a prime example of such a setting, where topics of social discussions need to be continuously tracked and new emerging themes need to be rapidly detected.
Consider the problem of building compact, dynamic representations of streaming datasets such as those that arise in social media. By constructing such representations, “signal” can be separated from “noise” and essential data characteristics can be continuously summarized in terms of a small number of human interpretable components. In the context of social media applications, this maps to the discovery of unknown “topics” from a streaming document collection. Each new batch of documents arriving at a timepoint is completely unorganized and may contribute either to ongoing unknown topics of discussion (potentially causing underlying topics to drift over time) and/or initiate new themes that may or may not become significant going forward, and/or simply inject irrelevant “noise”.
While the dominant body of previous work in dictionary learning and topic modeling has focused on solving batch learning problems, a real deployment scenario in social media applications truly requires forms of online learning. The user of such a system is less interested in a one-time analysis of topics in a document archive, and more in being able to follow ongoing evolving discussions and being vigilant of any emerging themes that might require immediate action. Several papers have proposed dynamic topic and online dictionary learning models (see [D. Blei and J. Lafferty, Dynamic topic models, in ICML, 2006; Tzu-Chuan Chou and Meng Chang Chen, Using Incremental PLSI for Threshold-Resilient Online Event Analysis, IEEE transactions on Knowledge and Data Engineering, 2008; A. Gohr, H. Hinneburg, R. Schult, and M. Spiliopoulou, Topic evolution in a stream of documents, in SDM, 2009; and J. Mairal, F. Bach, J. Ponce and G. Sapiro, Online learning for matrix factorization and sparse coding, JMLR, 2010] and references therein) that either exploit temporal order of documents in offline batch mode or are limited to handling a fixed bandwidth of topics with no explicit algorithmic constructs to attempt to detect emerging themes early.
BRIEF SUMMARY
Embodiments of the invention provide a method, system and computer program product for inferring topic evolution and emergence in a multitude of documents. In one embodiment, the method comprises forming a group of matrices using data in the documents, and analyzing this group of matrices to identify evolving topics and emerging topics. This group of matrices includes a first matrix X identifying a multitude of words in each of the documents, a second matrix W identifying a multitude of topics in each of the documents, and a third matrix H identifying a multitude of words for each of said multitude of topics. These matrices are analyzed to identify a first group of said multitude of topics as the evolving topics and a second group of said multitude of topics as the emerging topics.
In an embodiment, the input is a sequence of streaming documents, and each of the document is associated with a timepoint ti. The group of matrices may include a first sequence of matrices X(t), a second sequence of matrices W(t), and a third sequence of matrices H(t). Each of the first matrices X(t) identifies a multitude of words in each of a set of the documents associated with the timepoints within a defined sliding window ω in a time period T. Each of the matrices W(t) identifies a multitude of topics in said set of documents associated with the timepoints within the defined window, and each of the matrices H(t) identifies a multitude of words for each of the topics identified in the matrices W(t).
In one embodiment, groups of matrices are analyzed using a defined equation, including the matrices X(t), W(t) and H(t), to identify the evolving and the emerging topics. In an embodiment, the defined equation includes first and second regularizers. The first regularizer μ enforces a smooth evolution of the evolving topics via constraints on an amount of drift allowed by the evolving topics. The second regularizer Ω applies a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics.
In one embodiment, said defined equation is an objective function:



  
    
      (
      
        
          W
          *
        
        ,
        
          H
          ⁡
          
            (
            t
            )
          
        
      
      )
    
    =
    
      
        
          
            arg
            ⁢
            
              
            
            ⁢
            min
          
          
            W
            ,
            H
          
        
        ⁢
        
          
            
            
              
              
                
                  X
                  ⁡
                  
                    (
                    
                      
                        t
                        -
                        w
                      
                      ,
                      t
                    
                    )
                  
                
                -
                WH
              
              
            
            
          
          fro
          2
        
      
      +
      
        μΩ
        ⁡
        
          (
          W
          )
        
      
    
  




  
    
      such
      ⁢
      
        
      
      ⁢
      that
      ⁢
      
        
      
      ⁢
      W
    
    ,
    
      H
      ≥
      0
    
  



where X(t−w, t) refers to the document-term matrix in the time interval (t−w) to t.

In another embodiment, groups of matrices are analyzed using a defined equation, including the matrices X(t), W(t) and H(t), to identify the emerging topics. In this embodiment, a two stage approach based on l1-dictionary learning is used to detect emerging topics.
In one embodiment, said defined equation is an objective function:




  
    
      (
      
        
          W
          *
        
        ,
        
          H
          ⁡
          
            (
            t
            )
          
        
      
      )
    
    =
    
      
        
          
            arg
            ⁢
            
              
            
            ⁢
            min
          
          
            W
            ,
            H
          
        
        ⁢
        
          
            
            
              
                X
                ⁡
                
                  (
                  
                    
                      t
                      -
                      w
                    
                    ,
                    t
                  
                  )
                
              
              -
              WH
            
            
          
          fro
          2
        
      
      +
      
        μ
        ⁢
        
          
        
        ⁢
        
          Ω
          ⁡
          
            (
            W
            )
          
        
        ⁢
        
          
        
        ⁢
        such
        ⁢
        
          
        
        ⁢
        that
        ⁢
        
          
        
        ⁢
        W
      
    
  
  ,
  
    H
    ≥
    0
  




In an embodiment, said defined equation is an objective function:

W*, H*=argminW,H∥X−WH∥W∥1+λ∥W∥1 such that W, H≧0

Embodiments of the invention provide an online learning framework to consistently reassemble the data streams into coherent threads of evolving components while also serving as an early warning or detection system for new, rapidly emerging trends.
In an embodiment, the invention provides a framework for online dictionary learning to handle streaming non-negative data matrices with possibly growing number of components. Embodiments of the invention are rooted in non-negative matrix factorizations (NMF) [D. Lee and H. S. Seung, Learning the parts of objects using non-negative matrix factorizations, Nature, 1999] whose unregularized variants for generalized KL-divergence minimization is equivalent to pLSI [C. Ding, T. Li, and W. Peng, On the equivalence between non-negative matrix factorizations and probabilistic latent semantic analysis, Computational Statistics and Data Analysis, 2008]. For squared loss, NMF finds a low-rank approximation to a data matrix X by minimizing ∥X−WH∥fro2 under non-negativity and scaling constraints on the factors W and H. It is common to add some form of l1 or l2 regularization, e.g., to encourage sparse factors. If X is an N×D document-term matrix, then W is a N×K matrix of topic encodings of documents, while H is a K×D matrix of topic-word associations, whose rows are the dictionary elements learnt by the NMF approach.
In one embodiment of the invention, given streaming matrices, a sequence of NMFs is learned with two forms of temporal regularization. The first regularizer enforces smooth evolution of topics via constraints on amount of drift allowed. The second regularizer applies to an additional “topic bandwidth” introduced into the system for early detection of emerging trends. Implicitly, this regularizer extracts smooth trends of candidate emerging topics and then encourages the discovery of those that are rapidly growing over a short time window. This setup is formulated as an objective function which reduces to rank-one subproblems involving projections onto the probability simplex and SVM-like optimization with additional non-negativity constraints. Embodiments of the invention provide efficient algorithms for finding stationary points of this objective function. Since they mainly involve matrix-vector operations and linear-time subroutines, these algorithms scale gracefully to large datasets.
In one embodiment of the invention, given streaming matrices, a sequence of NMFs is learned under a robust objective function. The objective function is a combination of the l1-norms of a sparse error (robust reconstruction) and a sparse code, which appears well suited for sparse high-dimensional datasets such as those that arise in text applications. Additionally, there are non-negativity constraints on the sparse code and dictionary, to maintain interpretability.



BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
FIG. 1 illustrates static non-negative matrix factorizations.
FIG. 2 illustrates dynamic NMFs with temporal regularization.
FIG. 3 shows the temporal profile of an emerging topic and overall dynamics in a simulated dataset used in an empirical study of an embodiment of this invention.
FIG. 4 shows the tracking performance as a function of an evolution parameter δ in an embodiment of the invention.
FIG. 5 shows the effectiveness of emergence regulation in an embodiment of the invention.
FIGS. 6 and 7 illustrates an approach of using robust objective function for detecting emerging topics.
FIG. 8 shows the effectiveness of robust l1/l1 objective function for emerging topic detection.
FIG. 9 depicts a computer system that may be used in the implementation of the present invention.



DETAILED DESCRIPTION
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, method or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, embodiments of the present invention may take the form of a computer program product embodied in any tangible medium of expression having computer usable program code embodied in the medium.
Any combination of one or more computer usable or computer readable medium(s) may be utilized. The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CDROM), an optical storage device, a transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. Note that the computer-usable or computer-readable medium could even be paper or another suitable medium, upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-usable medium may include a propagated data signal with the computer-usable program code embodied therewith, either in baseband or as part of a carrier wave. The computer usable program code may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
The present invention is described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Embodiments of the invention provide a method, system and computer program product for inferring topic evolution and emergence in a multitude of documents. In an embodiment, the invention provides a framework for online dictionary learning to handle streaming non-negative data matrices with possibly growing number of components. With reference to FIG. 1, embodiments of the invention are rooted in non-negative matrix factorizations (NMF) [D. Lee and H. S. Seung, Learning the parts of objects using non-negative matrix factorizations, Nature, 1999] whose unregularized variants for generalized KL-divergence minimization is equivalent to pLSI [C. Ding, T. Li, and W. Peng, On the equivalence between non-negative matrix factorizations and probabilistic latent semantic analysis, Computational Statistics and Data Analysis; 2008]. For squared loss, NMF finds a low-rank approximation to a data matrix X 102 by minimizing ∥X−WH∥fro2 under non-negativity and scaling constraints on the factors W 104 and H 106. It is common to add some form of l1 or l2-regularization e.g., to encourage sparse factors. If X is an N×D document-term matrix, then W is an N×K matrix of topic encodings of documents while H is a K×D matrix of topic-word associations, whose rows are the dictionary elements learnt by the NMF approach.
In one embodiment, we use the l1 loss function ∥X−WH∥1 is used with the motivation that l1 loss function performs better when the underlying noise distribution is spiky.
FIG. 2 illustrates dynamic NMFs with temporal regularization.
FIGS. 6 and 7 illustrate an approach of using robust l1 objective function for detecting emerging topics.
Let {X(t)εRN(t)×D, t=1, 2 . . . } denote a sequence of streaming matrices 152 where each row of X(t) represents an observation whose timestamp is t. In topic modeling applications over streaming documents, X(t) will represent the highly sparse document-term matrix observed at time t. X(t1,t2) is used to denote the document-term matrix formed by vertically concatenating {X(t), t1, ≦t≦t2}. At the current timepoint t, the model consumes the incoming data X(t) and generates a factorization (W(t), H(t)) comprising of K(t) topics.
One embodiment of this factorization stems from the following considerations: (1) The first K(t−1) topics in H(t) must be smooth evolutions of the K(t−1) topics found up to the previous timepoint, H(t−1). This is called the evolving set 154 and an evolution parameter, δ, is introduced which constrains the evolving set to reside within a box of size δ on the probability simplex around the previously found topics. With minor modifications, δ can also be made topic or word-specific e.g., to take topic volatility or word dominance into account. (2) A second consideration is the fast detection of emerging topics. At each timepoint, we inject additional topic bandwidth for this purpose. This is called the emerging set 156. Thus the topic variable H(t) can be partitioned into an evolving set of K(t−1) topics, Hev, and an emerging set of Kem topics Hem. Furthermore, it is assumed that emerging topics can be distinguished from noise based on their temporal profile. In other words, the number of documents that a true emerging topic associates with begins to rapidly increase. For this purpose, we introduce a short sliding time window ω is introduced over which topical trends are estimated. As discussed in more detail below, a novel regularizer Ω(Wem) is defined that consumes the document-topic associations for the emerging bandwidth and penalizes components that are static or decaying so that learnt emerging topics are more likely to be ones that are rising in strength. (3) It is assumed that topics in the emerging set become part of the evolving set going forward, unless some of them are discarded as noise by manual guidance from the user or using criteria such as net current strength. In experiments, all topics in the emerging set were retained. This embodiment is discussed more below.
The discussion above motivates the following objective function that is optimized at every timepoint t.




  
    
      
        
          (
          
            
              W
              *
            
            ,
            
              H
              ⁡
              
                (
                t
                )
              
            
          
          )
        
        =
        
          
            
              
                arg
                ⁢
                
                  
                
                ⁢
                min
              
              
                W
                ,
                H
              
            
            ⁢
            
              
                
                
                  
                    X
                    ⁡
                    
                      (
                      
                        
                          t
                          -
                          w
                        
                        ,
                        t
                      
                      )
                    
                  
                  -
                  WH
                
                
              
              fro
              2
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              Ω
              ⁡
              
                (
                W
                )
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




This objective function is minimized under the following constraints.




  
    
      
        W
        ,
        
          H
          ≥
          0
        
      
    
    
      
        (
        2
        )
      
    
  
  
    
      
        
          
            
              ∑
              
                j
                =
                1
              
              D
            
            ⁢
            
              
            
            ⁢
            
              H
              ij
            
          
          =
          1
        
        ⁢
        
          

        
        ⁢
        
          ∀
          
            i
            ∈
            
              [
              
                
                  K
                  ⁡
                  
                    (
                    
                      t
                      -
                      1
                    
                    )
                  
                
                +
                
                  K
                  em
                
              
              ]
            
          
        
      
    
    
      
        (
        3
        )
      
    
  
  
    
      
        
          
            min
            ⁢
            
              
            
            ⁢
            
              (
              
                
                  
                    
                      H
                      ij
                    
                    ⁡
                    
                      (
                      
                        t
                        -
                        1
                      
                      )
                    
                  
                  -
                  δ
                
                ,
                0
              
              )
            
          
          ≤
          
            
              H
              ij
            
            ⁡
            
              (
              t
              )
            
          
          ≤
          
            max
            ⁡
            
              (
              
                
                  
                    
                      H
                      ij
                    
                    ⁡
                    
                      (
                      
                        t
                        -
                        1
                      
                      )
                    
                  
                  +
                  δ
                
                ,
                1
              
              )
            
          
        
        ,
        
          

        
        ⁢
        
          ∀
          
            i
            ∈
            
              [
              
                
                  K
                  ⁡
                  
                    (
                    
                      t
                      -
                      1
                    
                    )
                  
                
                ,
                
                  ∀
                  
                    j
                    ∈
                    
                      [
                      D
                      ]
                    
                  
                
              
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




W(t) is then extracted from the bottom rows of W* that correspond to X(t). The system is then said to have tagged the ith document (row) in X(t) with the most dominating topic argmaxj W(t)(i,j) which gives a clustering of documents. Note that the regularizer, Ω(W), defined below, implicitly only operates on those columns of W that correspond to emerging topics. Note that W* is prepared for initializing parts of W in the next run. This hot-start mechanism significantly accelerates convergence.
In another embodiment of this factorization, the task of detecting novel signals in streaming datasets is formulated as a sparse signal representation problem. A signal is represented with a sparse code over an existing dictionary along with a sparse error term. A novel signal is detected based on the lack of sparsity in such a representation. While one application is emerging topic detection on streaming text, the methodology applies more broadly to other domains. This embodiment is discussed in more detail below.
In this embodiment, the objective function is a combination of the l1-norms of a sparse error (robust reconstruction) and a sparse code which appears well suited for sparse high-dimensional datasets such as those that arise in text applications. Additionally, there are non-negativity constraints on the sparse code and dictionary, to maintain interpretability.
A new practical alternating direction method (ADM) is used to solve various optimization problems appearing in the formulation. ADM has recently gathered significant attention in the Machine Learning community due to its wide applicability to a range of learning problems with complex objective functions [S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein, Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers].
Temporal Regularization
Generally, the regularization operator Ω(W) is formulated by chaining together trend extraction with a margin-based loss function to penalize static or decaying topics. We begin with a brief discussion of trend filtering.
Hodrick-Prescott (HP) Trend Filtering: Let {yt}t=1T be a univariate time-series which is composed of an unknown, slowly varying trend component {xt}t=1T perturbed by random noise {zt}t=1T. Trend Filtering is the task of recovering the trend component {xt} given {yt}. The Hodrick-Prescott filter is an approach to estimate the trend assuming that it is smooth and that the random residual is small. It is based on solving the following optimization problem:




  
    
      
        
          
            arg
            
              {
              
                x
                
                  t
                  }
                
              
            
          
          ⁢
          
            
          
          ⁢
          min
          ⁢
          
            1
            2
          
          ⁢
          
            
              ∑
              
                i
                =
                1
              
              T
            
            ⁢
            
              
            
            ⁢
            
              
                (
                
                  
                    y
                    t
                  
                  -
                  
                    x
                    i
                  
                
                )
              
              2
            
          
        
        +
        
          λ
          ⁢
          
            
              ∑
              
                t
                =
                2
              
              
                T
                -
                1
              
            
            ⁢
            
              
            
            ⁢
            
              
                (
                
                  
                    (
                    
                      x
                      
                        t
                        +
                        1
                      
                    
                    )
                  
                  -
                  
                    (
                    
                      
                        x
                        t
                      
                      -
                      
                        x
                        
                          t
                          -
                          1
                        
                      
                    
                    )
                  
                
                )
              
              2
            
          
        
      
    
    
      
        (
        5
        )
      
    
  




Let us introduce the second order difference matrix DεR(T−2)×T such that

D(i,i)=1,D(i,i+1)=2, and D(i,i+2)=1 ∀i ε[T−2]

Then, it is easy to see that the solution to the optimization problem of Equation 5 is given by, x=[I+2 λDTD]−1y, where we use the notation y−(y1 . . . yT)T, x=(x1 . . . xT)T. We use F to denote [I+2 λDTD]−1, the linear smoothing operator associated with the Hodrick-Prescott Filter. Given the time series y, the Hodrick-Prescott (HP) trend estimate simply is x=Fy.

Loss Function for Measuring Emerging Trend: Let x=Fy be the HP trend of the time series y. Let D be the forward difference operator, i.e., the only non-zero entries of D are: Di,j=−1 and Di,j+1=1. If z=Dx, then zi=xi+1−x1 reflects the discrete numerical gradient in the trend x. Given zi, we define a margin based loss function (the l2-hinge loss), L(zi)=ci max (0, δ−zi)2, where if the growth in the trend at time i is sufficient, i.e., greater than δ, the loss evaluates to 0. If the growth is insufficient, the loss evaluates to ci(δ−zi)2 where ci is the weight of timepoint i which typically increases with i. For a vector z, the loss is added over the components. In terms of the original time series y, this loss function is,




  
    
      
        
          
            
              L
              ⁡
              
                (
                y
                )
              
            
            =
            
              
                ∑
                
                  i
                  =
                  1
                
                
                  T
                  -
                  1
                
              
              ⁢
              
                
              
              ⁢
              
                
                  c
                  1
                
                ⁢
                
                  
                    max
                    ⁡
                    
                      (
                      
                        0
                        ,
                        
                          δ
                          -
                          DFy
                        
                      
                      )
                    
                  
                  i
                
              
            
          
          )
        
        2
      
    
    
      
        (
        6
        )
      
    
  




Optimization Problem: As documents arrive over t ε[T], we use S to denote a T×N time-document matrix, where S(i,j)=1 if the document j has time stamp i. Noting that each column w of W, denotes the document associations for a given topic, Sw captures the time series of total contribution of the topic w over the time frame of S. Finally, we concretize equation (1) as the following optimization problem

argmin ∥X−WH∥fro2+μΣL(Swi). W, H≧0 and wi in Wem   (7)

subject to constraints in Equations (2) and (4)

We optimize the above objective using the rank-one residue iteration (RRI) approach [Ngoc-Diep Ho, Paul Van Dooren, and Vincent D. Blondel, Descent methods for nonnegative matrix factorization, Numerical Linear Algebra in Signals, abs/0801.3199, 2007]. We approximate X as the sum of rank-one matrices wihiT and optimize cyclically over individual wi and hi variables while keeping all other variables fixed. This results in three specific sub-problems, each of which requires an efficient projection of a vector onto an appropriate space.
Optimization over hi: Holding all variables except hi fixed and omitting additive constants independent of hi, equation (7) can be reduced to argminhiεC∥R−wihiT∥fro2 for appropriate RεRN×D independent of hi. Simple algebraic operations yield that the above is equivalent to




  
    
      
                ⁢
        
          
            
            
              
                h
                i
              
              -
              
                
                  R
                  T
                
                ⁢
                
                  
                    w
                    i
                  
                  /
                  
                    
                      
                      
                        w
                        i
                      
                      
                    
                    2
                  
                
              
            
            
          
          2
        
      
    
    
      
        (
        8
        )
      
    
  




Case 1: hi is evolving: For an evolving topic, the optimization needs to be performed under the constraints of equations (4) and (3). Thus the optimum hi* is obtained by projection onto the set ={hi:hi ε ΔD, lj≧hij≧uj} for appropriate constants lj and uj. This is equivalent to a projection onto a simplex with box constraints. Adapting a method due to [P. M. Pardalos and N. Kovoor. An algorithm for singly constrained class of quadratic programs subject to upper and lower bounds. Mathematical Programming, 46:321-328, 1990], we can find the minimizer in O(D) time i.e., linear in the number of coordinates.
Case 2: hi is emerging: For an emerging topic ={hi:hi ε ΔD} and the optimization equation (8) becomes equivalent to a projection onto the simplex ΔD, the same algorithm [P. M. Pardalos and N. Kovoor, An algorithm for singly constrained class of quadratic programs subject to upper and lower bounds, Mathematical Programming, 46:321-328, 1990] again gives us the minimizer in linear time O(D).
Optimization over evolving wi: When wi ε Wev, the second term in equation (7) does not contribute and using the RRI scheme, the optimization problem can be written down as wi*arg minwi≦0∥R−wihiT∥2. Similar to equation (8), simple algebraic operations yield that the above minimization is equal to the following simple projection algorithm




  
    
      
        
          
            arg
            ⁢
            
              
            
            ⁢
            min
          
          
            
              w
              i
            
            ≥
            0
          
        
        ⁢
        
          
            
            
              
                w
                i
              
              -
              
                R
                ⁢
                
                  
                
                ⁢
                
                  
                    h
                    i
                  
                  /
                  
                    
                      
                      
                        h
                        i
                      
                      
                    
                    2
                  
                
              
            
            
          
          2
        
      
    
    
      
        (
        9
        )
      
    
  




The corresponding minimizer is simply given by




  
    w
    ij
  
  =
  
    
      max
      (
      
        0
        ,
        
          
            1
            
              
                
                
                  h
                  i
                
                
              
              2
            
          
          ⁢
          
            
              (
              
                R
                ⁢
                
                  
                
                ⁢
                
                  h
                  i
                
              
              )
            
            j
          
        
      
      )
    
    .
  








  
    
      
        arg
        ⁢
        
          
        
        ⁢
        min
      
      
        
          w
          i
        
        ≥
        0
      
    
    ⁢
    
      
        
        
          R
          -
          
            
              w
              i
            
            ⁢
            
              
            
            ⁢
            
              h
              i
              T
            
          
        
        
      
      2
    
  
  +
  
    L
    ⁡
    
      (
      
        S
        ⁢
        
          
        
        ⁢
        
          w
          i
        
      
      )
    
  




Emerging wi: When wi ε Wem, the RRI step of the corresponding optimization problem look like




  
    
      
        
          
            
              arg
              ⁢
              
                
              
              ⁢
              min
            
            
              
                w
                i
              
              ≥
              0
            
          
          ⁢
          
            
              
              
                
                  w
                  i
                
                -
                
                  R
                  ⁢
                  
                    
                  
                  ⁢
                  
                    h
                    i
                  
                
              
              
            
            2
          
        
        +
        
          μ
          ⁢
          
            
          
          ⁢
          
            
              L
              ⁡
              
                (
                
                  S
                  ⁢
                  
                    
                  
                  ⁢
                  
                    w
                    i
                  
                
                )
              
            
            /
            
              
                
                
                  h
                  i
                
                
              
              2
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




Noting that we choose L to be the l2 hinge loss, equation (10) leads




  
    
      
        arg
        ⁢
        
          
        
        ⁢
        min
      
      
        
          w
          i
        
        ≥
        0
      
    
    ⁢
    
      
        
        
          
            w
            i
          
          -
          
            R
            ⁢
            
              
            
            ⁢
            
              h
              i
            
          
        
        
      
      2
    
  
  +
  
    
      μ
      
        
          
          
            h
            i
          
          
        
        2
      
    
    ⁢
    
      
        ∑
        
          i
          =
          1
        
        
          T
          -
          1
        
      
      ⁢
      
        
      
      ⁢
      
        
          c
          i
        
        ⁢
        
          
            max
            ⁡
            
              (
              
                0
                ,
                
                  δ
                  -
                  
                    
                      q
                      i
                      T
                    
                    ⁢
                    
                      w
                      i
                    
                  
                
              
              )
            
          
          2
        
      
    
  




to

where qiT-(DFS)i. This can be converted into a generic mimization problem of the form




  
    
      
        
          
            min
            
              w
              ≥
              0
            
          
          ⁢
          
            J
            ⁡
            
              (
              w
              )
            
          
        
        =
        
          
            
              ∑
              i
            
            ⁢
            
              
            
            ⁢
            
              
                (
                
                  max
                  ⁡
                  
                    (
                    
                      0
                      ,
                      
                        
                          c
                          i
                        
                        ⁡
                        
                          (
                          
                            
                              δ
                              i
                            
                            -
                            
                              〈
                              
                                w
                                ,
                                
                                  x
                                  i
                                
                              
                              〉
                            
                          
                          )
                        
                      
                    
                    )
                  
                
                )
              
              2
            
          
          +
          
            
              λ
              2
            
            ⁢
            
              
                
                
                  w
                  -
                  
                    w
                    0
                  
                
                
              
              2
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




for some constant w0. This is precisely the SVM optimization problem with additional non-negativity constraints on wi. This objective is minimized using a projected gradient algorithm on the primal objective directly, as it is smooth and therefore the gradient is well defined. Thus

w(k+1)=Π(w(k)−ηk∇J(w(k)))   (12) (12)

where Π is the projection operator Π(s)=max(s,0) and





  
    ∇
    
      J
      ⁡
      
        (
        
          w
          
            (
            k
            )
          
        
        )
      
    
  
  =
  
    
      
        -
        2
      
      ⁢
      
        
          ∑
          i
        
        ⁢
        
          
        
        ⁢
        
          
            max
            ⁡
            
              (
              
                
                  
                    c
                    i
                  
                  ⁡
                  
                    (
                    
                      
                        
                          
                            δ
                            i
                          
                          -
                        
                        <
                        
                          w
                          
                            (
                            k
                            )
                          
                        
                      
                      ,
                      
                        
                          x
                          i
                        
                        >
                      
                    
                    )
                  
                
                ,
                0
              
              )
            
          
          ⁢
          
            x
            i
          
        
      
    
    +
    
      λ
      ⁡
      
        (
        
          
            w
            
              (
              k
              )
            
          
          -
          
            w
            0
          
        
        )
      
    
  




The best rate ηk at the kth step is chosen according to [C. J. Lin, Projected gradient methods for non-negative matrix factorization, In Neural Computation, 2007]. In particular ηk=βtk for some constant β and tk is the smallest integer for which

J(w(k+1))−J(w(k))≦σ∇J(w(k)), w(k+1)−w(k)  (13)

At every iteration ηk is hot started from ηk−1 and finally it is the largest η which satisfies Equation (13).
L1 Dictionary Learning Approach for Emerging Topic Detection
In the discussion below, the need for l1 loss objective function is discussed, and then an optimization algorithm is presented that is used to solve an embodiment of the factorization.
Let H(t−1) in Rm×k represent the dictionary after time t−1; where the dictionary H(t−1) is a compact summary representation of all the documents in X(1,t−1). Given a new document vector y with timestamp t, we see if y could be represented as a sparse linear combination of the rows of H(t−1). The sparsest representation is the solution of:

minx∥x∥0 such that y=H(t−1)Tx, with x≧0   (13)

where, ∥ ∥0 is the I0 norm counting the non-zero entries of the vector. However, in general case solving the above optimization problem is NP-hard and also hard to approximate [E. Amaldi and V. Kann. On the Approximability of Minimizing Nonzero Variables or Unsatisfied Relations in Linear Systems]. Therefore, instead of solving the (13), we solve a convex relaxation of it:

minx∥x∥1 such that y=H(t−1)Tx+e such that x≧0.   (14)

In most practical situations, equation (14) is not applicable because it may not be possible to represent y as H(t−1)Tx, e.g., if y has new words which are absent (i.e., have no support) in H(t−1). In such cases, one could represent y=H(t−1)Tx+e where e is an unknown noise vector. In the presence of isotopic Gaussian noise, the l2-penalty of e=y−H(t−1)Tx gives the best approximation of x. However, for text documents (and in most other real scenarios), the noise vector e rarely satisfies the Gaussian assumption, and some of its coefficients contain large, impulsive values. In such scenarios, the l2-penalty on the loss function may give an extremely bad approximation of x. However, in such a real-world scenario, imposing an 11 reconstruction error gives a more robust and better approximation of x. The following l1-formulation is used to recover x.

minx∥y−H(t−1)Tx∥1+λ1|x∥1 such that x≧0   (15)

Given a new document y with timestamp of t and a dictionary H(t−1), equation (15) is solved to determine whether y is novel (with respect to dictionary H(t−1)) or not. If the objective value of (15) is “small,” then y is well-reconstructed by a linear combination of some basis vectors in H(t−1). Such documents are marked as non-novel discarded. Now, if the objective value is “large,” then y has no good reconstruction among the basis vectors of the previous topics, thus suggesting novelty of y. We add such documents to the set Nvlt.
Dictionary Update: The dictionary is updated so that it forms a compact summary representation of all the documents in X(1,t). The dictionary is updated by minimizing

W(t),H(t)=argminW,H∥X(1,t)−WH∥1+λ∥W∥1 such that W,H≧0   (16)

For scalability, an online version of dictionary learning is used, where only H is updated and use W is obtained from previous stages of the algorithm.
The algorithm alternates between a “detection stage”, represented in FIG. 6, and a “dictionary learning stage,” represented in FIG. 7. The detection stage at time t gets as input the dictionary H(t−1) and X(t), and for each document pj in X(t), computes the best representation of pj in terms of H(t−1) by solving equation (15) (where y is replaced by pj). A document pj is classified as novel if the objective value of equation (15) is above some chosen threshold ζ. Let Nvlt be the set of document that are marked as novel at time t. The set of novel documents is then passed to a clustering stage represented at 160. The idea is to again use dictionary learning. Given as input a set of (novel) documents and the number of topics k1 to be generated, a suitable modification of equation (16) is used to detect emerging topics. The idea is as follows: If Nvlt represents the set of novel documents, we learn a dictionary with k1 atoms, where each atom corresponds to an emerging topic. In other words, we minimize the following function over (R(t), S(t)):

R(t),S(t)=argminR,S∥Nvlt−RS∥1+λ∥R∥t such that R,S≧0   (17)

Since, the size of Nvlt is typically small, this function is solved using a simple iterative batch procedure, alternatively fixing R(t), S(t) and updating the other variables using the method of alternating directions.

The dictionary learning stage is performed in an online fashion. In the online setting, instead of using equation (16), the dictionary is updated by minimizing the following function over H:

H(t)=argminH∥X(1,t)−W(1,t)H∥1 such that H≧0,

where W(1,t)=[x1,x2, . . . ] are computed during the previous detection stages. This online dictionary learning framework has similar structure to that of [J. Mairal, F. Bach, J. Ponce, and G. Sapiro. Online Learning for Matrix Factorization and Sparse Coding].

To speedup the algorithms, the method of alternating directions is used to solve the various optimization problems. We start with a brief review of the general framework of ADM from [J. Yang and Y. Zhang. Alternating Direction Algorithms for L1-Problems in Compressive Sensing]. Let p(x): Ra→R and q(y): Rb→R be convex functions, F in Rcxa, G in Rcxb, and z in Rc. Consider the following optimization problem

minx,yp(x)+q(y)s.t. Fx+Gy=z, 

where the variable vectors x and y are separate in the objective, and coupled only in the constraint. The augmented Lagrangian for the above problem is given by

L(x, y, ρ)=p(x)+q(y)+ρT(z−Fx−Gy)+β/2∥z−Fx−Gy∥22,   (18)

where ρ is the Lagrangian multiplier and β>0 is a penalty parameter. ADM utilizes the separability form of equation (18) and replaces the joint minimization over x and y with two simpler problems. The ADM first minimizes L over x, then over y, and then applies a proximal minimization step with respect to the Lagrange multiplier ρ.

Let R, be the set of positive real numbers. In the detection stage for each document pj, the following program is solved:minx,e ∥e∥1+λ∥x∥1 such that e=pj−H(t−1)Tx
Then the augmented Lagrangian form of the above is

L(x,e,ρ)=minx,e∥e∥1+λ∥x∥1+ρT(pj−H(t−1)Tx−e)+β/2∥pj−H(t−1)Tx−e∥22   (19)

ADM is now applied to the above Lagrangian. Let us assume that we have (x(i), e(i), ρ(i)), (x(i+1),e(i+1),ρ(i+1)) is constructed as follows. First, for a fixed x(i) and ρ(i), e is updated by solving

mine∥e∥1+ρ(i)T(pj−H(t−1)Tx(i)−e)+β/2∥pj−H(t−1)Tx−e∥22 

The minimum value of the above optimization is attained by setting

e=soft(pj−H(t−1)Tx(i)+ρ(i)/β, 1/β),

where soft(r, T)=sign(r)×max{|r|−, 0}, where sign(r) is the sign of vector r.

Now, for a fixed e(i+1) and ρ(i) a simple manipulation shows that we can obtain x that minimizes by solving the following

minxλ∥x∥1+(β/2)∥pj−H(t−1)Tx−e(i+1)+ρ(i)/β∥22.

However, instead of solving the above optimization exactly, it is approximated by

minxλ∥xλ1+β(g(i)T(x−x(i))+ρ/2∥x−x(i)∥22   (20)

where τ>0 is a proximal parameter and g(i)=H(t−1) (H(t−1)Tx(i)+e(i+1)−pj−ρ(i)/β). The minimum value of equation (20) is attained by setting x=max{x(i)−τg(i)−(λ,τ)/β,0}. Now given fixed x(i+1) and e(i+1), multiplier ρ is updated as ρ(i+1)=ρ(i)+γβ(pj−H(t−1)Tx(i+1)−e(i+1)). The ADM equations for updating the dictionary H( ) are derived similarly.

Empirical Studies for Detecting Evolving and Emerging Topics using Temporal Regularizers

The goal of this empirical study is to understand the influence of temporal regulation (evolution and emergence parameters) on the effectiveness of topic detection and tracking. To enable quantitative evaluation, two topic-labeled datasets were presented to the algorithm as streams, and the resulting topics generated by the system were benchmarked against ground truth topic assignments.
Datasets: Two datasets were used for the experiments. The Simulation dataset consists of 1000 documents with 2500 terms divided into 25 topics accumulated over 31 days. We generated a (nearly) low-rank document-term matrix, X=WH+S, where S is a noise matrix with sparsity 0.001 and non-zero elements randomly drawn from a uniform distribution on the unit interval. This dataset comprises of 25 topics whose term-distributions (as specified by the 25 rows of H) are random 2500-dimensional points on the topic simplex with sparsity 0.01. These topics are then randomly mixed (as specified in W) to create the documents such that each topic dominates 40 documents with at least 80% mixing proportions and each document on average contains 2.5 topics. These documents are then associated with timestamps such that topic i, i>5 steadily emerges at timepoint i with a time profile as shown in the left subfigure in FIG. 3. These emerging topics arise in the background of 5 initial static topics leading to an overall profile of temporal dynamics as shown (stacked area chart) in the right subfigure of FIG. 3. We choose the hinge parameter to be μ=5 and emerging bandwidth of 1 per timepoint for this dataset. In the experiments, a sliding window of ω=7 timepoints was used. The second dataset is drawn from the Nist Topic Detection and Tracking (TDT2) corpus which consists of news stories in the first half of 1998. In the evaluation, we used a set of 9394 documents represented over 19528 terms and distributed into the top 30 TST2 topics over a period of 27 weeks. We choose the hinge parameter to be μ=20 and emerging bandwidth of 2 per week for this dataset. In the experiments, a sliding window of ω=4 weeks was used.
Evaluation Metrics: For tracking, we use F1 scores, as commonly reported in topic detection and tracking (TDT) literature. A precise definition of micro averaged F1 used in the experiments is given in [Tzu-Chuan Chou and Meng Chang Chen, Using Incremental PLSI for Threshold-Resilient Online Event Analysis, IEEE transactions on Knowledge and Data Engineering, 2008]. A second performance metric is defined to capture how rapidly an emerging topic is “caught” and communicated to the user. Recall that a topic is communicated by the top keywords that dominate the associated term distribution in H(t). We first define true topic distributions as Htrue(t)=argminH>0∥X(1,t)−WtrueH∥fro2 where Wtrue is set using true topic labels. Next, for each true topic i, we compute first detection time, which is the first timepoint at which the system generates a topic distribution in H(t) that is within a threshold of t from the true topic, as measured by symmetric KL-divergence. We then record the percentage of documents missed before detection, and take the average of this miss rate across all true topics.
Results and Discussion: FIG. 4 shows tracking performance as a function of the evolution parameter δ. When δ=0, the system freezes a topic as soon as it is detected, not allowing the word distributions to change as the underlying topic drifts over time. When δ=1, the system has complete freedom in retraining topic distributions, causing no single channel to remain consistently associated with an underlying topic. It can be seen that both these extremes are suboptimal. Tracking is much more effective when topic distributions are allowed to evolve under sufficient constraints in response to the statistics of incoming data. In FIG. 5 we turn to the effectiveness of emergence regularization. The figure shows how much information on average is missed before underlying topics are first detected, as a function of the emergence parameter μ. We see that increasing μ, for a fixed choice of δ, typically reduces miss rates, causing topics to be detected early. As δ is increased, topics become less constrained and therefore provide additional bandwidth to drift towards emerging topics, therefore lowering the miss rate curves. However, this comes at the price of reduced tracking performance. Thus, for a fixed amount of available topic bandwidth, there is a tradeoff between tracking and early detection that can be navigated with the choice of μ and δ.
Empirical Studies for Detecting Emerging Topic Detection using L1 Dictionary Learning
The goal of this empirical study is to understand the influence of using a l1 loss function for detecting emerging topics. We first empirically evaluate our approach on publicly-available labeled datasets from news streams and newsgroups.
Evaulation Metrics: For the purpose of evaluation, we assume that documents in the corpus have been identified with a set of topics. For simplicity, we assume that each document is tagged with a single, most dominant topic that it associates with which we refer to as the true topic for that document.
We use variations of standard IR measures like pairwise precision, recall, and F1 score. Given X(t), the set of documents arriving at time t, let TNvlt be the set of true novel documents in X(t). Let Ct be the set of system generated emerging topic clusters at time tt and let Tt be the true emerging topic clusters at time t. Note that clusters in Tt are formed over documents in TNvlt, whereas the clusters in Ct are formed over documents in Nvlt, and TNvlt may not be equal to Nvlt.
We define our evaluation metrics over the novel documents. Pairwise precision is the number of pairs of documents that are in the same cluster in both Tt and Ct divided by the number of pairs of documents that are in the same cluster in Ct. Pairwise recall is the number of pairs of documents that are in the same cluster in both Tt and Ct divided by the number of pairs of documents that are in the same cluster in Tt. Pairwise F1 is the harmonic mean of pairwise precision and recall.
We compare the performance of the algorithm against three alternative approaches that were created, which are based on combining nearest neighbor (NN) and K-Means algorithms with dictionary learning. We describe these baselines below.
NN-KM: To detect novel documents, we use the nearest neighbor approach used by the UMass FSD system [J. Allan. Topic Detection and Tracking: Event-based Information Organization], which is one of the best performing system for this task. As in the UMass system, we use cosine distance as a similarity measure and a TF-IDF weighted document representation. Every document in X(t) whose cosine distance to its nearest neighbor in X(t−1) is below some threshold is marked as novel. We build on this algorithm to get a baseline for emerging topic detection, by running a K-Means clustering with cosine distance (Spherical K-Means) on the documents marked novel.
DICT-KM: The second baseline is a modification of the above-identified dictionary based scheme. We use the dictionary learning approach to detect novel documents and then run a Spherical K-Means clustering on these novel documents to create emerging topic clusters.
NN-DICT: The third baseline is also a modification of the dictionary based scheme. We first use the nearest neighbor approach (explained above) to detect novel documents and then run a dictionary based clustering on these novel documents to create emerging topic clusters.
Results on TDT2 and 20 Newsgroups Datasets: We use two standard labeled datasets to evaluate the performance of the proposed algorithm. We start by describing these datasets and the experimental setup.
The first dataset is the NIST topic detection and tracking (TDT2) corpus. For the evaluation, we use a set of 9,394 documents represented over 19,528 terms and spread over 27 weeks. These documents are partitioned into 30 human-labeled topics. We introduce the documents from the 27 weeks in 5 different phases. In the zeroth phase, we introduce all the documents between weeks 1 to 5 and these documents are used for initializing the dictionary H(0). In the first phase, we introduce all the documents between weeks 6 to 7 and run the emerging topic detection on these documents with dictionary H(0). In the second phase, we introduce all the documents between weeks 8 to 13 and run the emerging topic detection algorithm on these documents with dictionary H(1) (outputted by the first phase). We repeat the same steps for the third phase (between weeks 14 to 17) and fourth phase (between weeks 18 to 27).
As the second dataset we use the 20 Newsgroups corpus. The corpus contains 18,774 articles distributed among 20 clusters where each cluster is a Usenet group. For the experiments, we use a vocabulary of 10,000 terms selected based on frequency. We do a set of controlled experiments on this corpus. Again, we introduce the documents in phases. Documents within each cluster are temporally ordered, and we use this temporal ordering to introduce the documents. At the end of Phase i-1, we have documents from some (old) clusters, and in Phase i we introduce a mixture of documents, some coming from these old clusters and some belonging to new clusters; and see how well the algorithm performs in detecting these new clusters. We begin Phase 0 with documents sampled from 6 randomly chosen clusters. In each subsequent phase, we introduce documents from 2 new clusters. The numbers of documents from added at each phase are presented in FIG. 8.
For baselines with K-Means clustering, we run the algorithm 8 times (with random initialization for centroids) and take the best result. FIG. 7 presents the maximum F1 for both datasets (obtained by varying thresholds). The algorithm always outperforms all the three baselines. For TDT2, the algorithm gives on average 16.9% improvement in F1 score over the NN-KM, 6.7% improvement over DICT-KM, and 4.3% improvement over NN-DICT. For 20 Newsgroups, we notice on average 16.0% improvement over NN-KM, 7.0% improvement over DICT-KM, and 9.0% improvement over NN-DICT. The results are shown in FIG. 8.
A computer-based system 200 in which a method embodiment of the invention may be carried out is depicted in FIG. 9. The computer-based system 200 includes a processing unit 210, which houses a processor, memory and other systems components (not shown expressly in the drawing) that implement a general purpose processing system, or computer that may execute a computer program product. The computer program product may comprise media, for example a compact storage medium such as a compact disc, which may be read by the processing unit 210 through a disc drive 120, or by any means known to the skilled artisan for providing the computer program product to the general purpose processing system for execution thereby.
The computer program product may comprise all the respective features enabling the implementation of the inventive method described herein, and which—when loaded in a computer system—is able to carry out the method. Computer program, software program, program, or software, in the present context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: (a) conversion to another language, code or notation; and/or (b) reproduction in a different material form.
The computer program product may be stored on hard disk drives within processing unit 210, as mentioned, or may be located on a remote system such as a server 230, coupled to processing unit 210, via a network interface such as an Ethernet interface. Monitor 240, mouse 250 and keyboard 260 are coupled to the processing unit 210, to provide user interaction. Scanner 280 and printer 270 are provided for document input and output. Printer 270 is shown coupled to the processing unit 210 via a network connection, but may be coupled directly to the processing unit. Scanner 280 is shown coupled to the processing unit 210 directly, but it should be understood that peripherals might be network coupled, or direct coupled without affecting the performance of the processing unit 210.
While it is apparent that the invention herein disclosed is well calculated to fulfill the objectives discussed above, it will be appreciated that numerous modifications and embodiments may be devised by those skilled in the art, and it is intended that the appended claims cover all such modifications and embodiments as fall within the true spirit and scope of the present invention.

## Claims

1. A system for inferring topic evolution and emergence as topics evolve and emerge over time in an evolving discussion comprised of a temporal sequence of a multitude of documents, the system comprising one or more processing units configured for:
forming a group of matrices using text in the documents, said group of matrices including a first, document—word matrix X identifying a multitude of words in the documents, a second, document—type matrix W identifying a multitude of topics in the documents, and a third, topic-word matrix H identifying a multitude of words for each of said multitude of topics; and
analyzing the temporal sequence of the documents to identify a first group of said multitude of topics as evolving over time from document to document in the evolving discussion and a second group of said multitude of topics as emerging over time in said evolving discussion, including
for each of the documents, identifying the words of the first matrix that are in said each document
and using the words of the document identified in the first matrix to identify one or more of the topics of the second matrix as one or more topics of said each document, and
comparing the identified one or more topics of each of the documents with the identified one or more topics of others of the documents to identify the evolving topics and the emerging topics of the discussion; and wherein the analyzing the temporal sequence of the documents includes:
using a first regularizer μ to enforce smooth evolution of the evolving topics; and
using a second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics.

2. The system according to claim 1, wherein said multitude of documents comprise a sequence of streaming documents, each of the documents being associated with a timepoint ti in a defined period of time T, and wherein the forming the group of matrices using data in the documents includes:
forming a first sequence of matrices X(t), each of the first matrices X(t) identifying a multitude of words in each of a set of the documents associated with the timepoints within a defined sliding window in the time period T;
forming a second sequence of matrices W(t), each of the matrices W(t) identifying a multitude of topics in said set of documents associated with the timepoints within said defined window; and
forming a third sequence of matrices H(t), each of the matrices H(t) identifying a multitude of words for each of the topics identified in an associated one of the matrices W(t).

3. The system according to claim 2, wherein the analyzing the temporal sequence of the documents includes using a defined equation including the matrices X(t), W(t) and H(t), to identify the evolving and the emerging topics.

4. The system according to claim 3, wherein:
said defined equation includes solving an l1 dictionary learning problem to identify evolving topics, and using a reconstruction error to identify novel documents;
the analyzing the temporal sequence of the documents further includes clustering said novel documents to identify emerging topics; and
said defined equation is an objective function:


W*,H*=argminW,H∥X−WH∥1+λ∥W∥1 such that W, H≧0.

5. The system according to claim 1, wherein the analyzing the temporal sequence of the documents includes:
using a defined equation including the matrices to identify the evolving and the emerging topics; and
said defined equation includes: the first regularizer μ to enforce smooth evolution of the evolving topics via constraints on an amount of drift allowed by the evolving topics; and the second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics.

6. A system for inferring topic evolution and emergence in a multitude of documents, the system comprising one or more processing units configured for:
forming a group of matrices using text in the documents, said group of matrices including a first matrix X identifying a multitude of words in each of the documents, a second matrix W identifying a multitude of topics in each of the documents, and a third matrix H identifying a multitude of words for each of said multitude of topics; and
analyzing said group of matrices to identify a first group of said multitude of topics as evolving topics and a second group of said multitude of topics as emerging topics; wherein:
said multitude of documents comprise a sequence of streaming documents, each of the documents being associated with a timepoint ti in a defined period of time T;
the forming the group of matrices using data in the documents includes:
forming a first sequence of matrices X(t), each of the first matrices X(t) identifying a multitude of words in each of a set of the documents associated with the timepoints within a defined sliding window in the time period T;
forming a second sequence of matrices W(t), each of the matrices W(t) identifying a multitude of topics in said set of documents associated with the timepoints within said defined window; and
forming a third sequence of matrices H(t), each of the matrices H(t) identifying a multitude of words for each of the topics identified in an associated one of the matrices W(t);
the analyzing the groups of matrices includes using a defined equation including the matrices X(t), W(t) and H(t), to identify the evolving and the emerging topics;
said defined equation includes: a first regularizer μ to enforce smooth evolution of the evolving topics via constraints on an amount of drift allowed by the evolving topics; and a second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics; and
said defined equation is an objective function:





  
    (
    
      
        W
        *
      
      ,
      
        H
        ⁡
        
          (
          t
          )
        
      
    
    )
  
  =
  
    
      
        
          arg
          ⁢
          
            
          
          ⁢
          min
        
        
          W
          ,
          H
        
      
      ⁢
      
        
          
          
            
              X
              ⁡
              
                (
                
                  
                    t
                    -
                    w
                  
                  ,
                  t
                
                )
              
            
            -
            WH
          
          
        
        fro
        2
      
    
    +
    
      μ
      ⁢
      
        
      
      ⁢
      
        
          Ω
          ⁡
          
            (
            W
            )
          
        
        .

7. An article of manufacture comprising:
at least one tangible computer readable device having computer readable program code logic tangibly embodied therein to infer topic evolution and emergence as topics evolve and emerge over time in an evolving discussion comprised of a temporal sequence of a multitude of documents, said computer readable program code logic, when executing, performing the following:
forming a group of matrices using text in the documents, said group of matrices including a first, document—word matrix X identifying a multitude of words in the documents, a second, document—type matrix W identifying a multitude of topics in each of the documents, and a third, topic-word matrix H identifying a multitude of words for each of said multitude of topics; and
analyzing the temporal sequence of the documents to identify a first group of said multitude of topics as evolving over time from document to document in the evolving discussion and a second group of said multitude of topics as emerging over time in said evolving discussion, including
for each of the documents, identifying the words of the first matrix that are in said each document
and using the words of the document identified in the first matrix to identify one or more of the topics of the second matrix as one or more topics of said each document, and
comparing the identified one or more topics of each of the documents with the identified one or more topics of others of the documents to identify the evolving topics and the emerging topics of the discussion; and wherein the analyzing the temporal sequence of the documents includes:
using a first regularizer μ to enforce smooth evolution of the evolving topics; and
using a second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics.

8. The article of manufacture according to claim 7, wherein said multitude of documents comprise a sequence of streaming documents, each of the documents being associated with a timepoint ti in a defined period of time T, and wherein the forming the group of matrices using data in the documents includes:
forming a first sequence of matrices X(t), each of the first matrices X(t) identifying a multitude of words in each of a set of the documents associated with the timepoints within a defined sliding window in the time period T;
forming a second sequence of matrices W(t), each of the matrices W(t) identifying a multitude of topics in said set of documents associated with the timepoints within said defined window; and
forming a third sequence of matrices H(t), each of the matrices H(t) identifying a multitude of words for each of the topics identified in an associated one of the matrices W(t).

9. The article of manufacture according to claim 8, wherein the analyzing the temporal sequence of the documents includes using a defined equation including the matrices X(t), W(t) and H(t), to identify the evolving and the emerging topics.

10. The article of manufacture according to claim 9, wherein:
said defined equation includes a first regularizer μ to enforce smooth evolution of the evolving topics via constraints on an amount of drift allowed by the evolving topics, and a second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics; and
said defined equation is an objective function:





  
    (
    
      
        W
        *
      
      ,
      
        H
        ⁡
        
          (
          t
          )
        
      
    
    )
  
  =
  
    
      
        
          arg
          ⁢
          
            
          
          ⁢
          min
        
        
          W
          ,
          H
        
      
      ⁢
      
        
          
          
            
              X
              ⁡
              
                (
                
                  
                    t
                    -
                    w
                  
                  ,
                  t
                
                )
              
            
            -
            WH
          
          
        
        fro
        2
      
    
    +
    
      μ
      ⁢
      
        
      
      ⁢
      
        
          Ω
          ⁡
          
            (
            W
            )
          
        
        .

11. The article of manufacture according to claim 10, wherein:
said defined equation includes solving an l1 dictionary learning problem to identify evolving topics, and using a reconstruction error to identify novel documents;
the analyzing the temporal sequence of the documents further includes clustering said novel documents to identify emerging topics; and
said defined equation is an objective function:


W*,H*=argminW,H∥X−WH∥1+λ∥W∥1 such that W, H≧0.

12. The article of manufacture according to claim 7, wherein the analyzing the temporal sequence of the documents includes:
using a defined equation including the matrices to identify the evolving and the emerging topics; and said defined equation includes: the first regularizer μ to enforce smooth evolution of the evolving topics via constraints on an amount of drift allowed by the evolving topics; and the second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics.

13. A method of inferring topic evolution and emergence over time in an evolving dataset comprised of a temporal sequence of a multitude of documents, the method comprising:
forming a group of matrices using text in the documents, said group of matrices including a first matrix X identifying a multitude of words in each of the documents, a second matrix W identifying a multitude of topics in each of the documents, and a third matrix H identifying a multitude of words for each of said multitude of topics; and
analyzing the temporal sequence of the documents to identify a first group of said multitude of topics as evolving over time in the evolving dataset and a second group of said multitude of topics as emerging over time in the evolving dataset, including using the group of matrices to compare at least a plurality of the documents to others of the documents to identify some of the documents as novel documents based on defined criteria, and identifying the emerging topics from the novel documents; and wherein:
said multitude of documents comprise a sequence of streaming documents, each of the documents being associated with a timepoint ti in a defined period of time T;

the forming the group of matrices using data in the documents includes:
forming a first sequence of matrices X(t), each of the matrices X(t) identifying a multitude of words in each of a set of the documents associated with the timepoints within a defined sliding window in the time period T;
forming a second sequence of matrices W(t), each of the matrices W(t) identifying a multitude of topics in said set of documents associated with the timepoints within said defined window; and
forming a third sequence of matrices H(t), each of the matrices H(t) identifying a multitude of words for each of the topics identified in an associated one of the matrices W(t);
the analyzing the groups of matrices includes using a defined equation including the matrices X(t), W(t), and H(t), to identify the evolving and the emerging topics;
said defined equation includes a first regularizer μ to enforce smooth evolution of the evolving topics via constrains on an amount of drift allowed by the evolving topics, and a second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics; and
said defined equation is an objective function:





  
    (
    
      
        W
        *
      
      ,
      
        H
        ⁡
        
          (
          t
          )
        
      
    
    )
  
  =
  
    
      
        
          arg
          ⁢
          
            
          
          ⁢
          min
        
        
          W
          ,
          H
        
      
      ⁢
      
        
          
          
            
              X
              ⁡
              
                (
                
                  
                    t
                    -
                    w
                  
                  ,
                  t
                
                )
              
            
            -
            WH
          
          
        
        fro
        2
      
    
    +
    
      μ
      ⁢
      
        
      
      ⁢
      
        
          Ω
          ⁡
          
            (
            W
            )
          
        
        .

14. The method according to claim 13, wherein the forming the group of matrices using text in the documents includes using the first matrix to form the second and third matrices.

15. The method according to claim 13, wherein the analyzing the group of matrices includes using a defined equation, including the first, second and third matrices, to identify the evolving topics and the emerging topics.

16. The method of claim 15 wherein the analyzing the group of matrices further includes:
using said defined equation to identify the novel documents based on reconstruction error; and
clustering the novel documents to identify the emerging topics and for updating the evolving topics.

17. The method according to claim 16, wherein:
the using the defined equation includes applying a threshold on the reconstruction errors obtained from a solution of said defined equation to identify the novel documents, and
the clustering the novel documents includes using a given clustering algorithm to cluster the novel documents.

18. A method of inferring topic evolution and emergence in a multitude of documents, comprising:
forming a group of matrices using text in the documents, said group of matrices including a first matrix X identifying a multitude of words in each of the documents, a second matrix W identifying a multitude of topics in each of the documents, and a third matrix H identifying a multitude of words for each of said multitude of topics; and
analyzing said group of matrices to identify a first group of said multitude of topics as evolving topics and a second group of said multitude of topics as emerging topics, including using a defined equation to identify the evolving and emerging topics, using the group of matrices to compare at least a plurality of the documents to others of the documents to identify some of the documents as novel documents based on defined criteria, and identifying the emerging topics from the novel documents, wherein:
said defined equation includes a first regularizer μ to enforce smooth evolution of the evolving topics via constraints on an amount of drift allowed by the evolving topics, and a second regularizer Ω to apply a topic bandwidth for early detection of the emerging topics to extract smooth trends of candidate emerging topics; and
said defined equation is an objective function:





  
    (
    
      
        W
        *
      
      ,
      
        H
        ⁡
        
          (
          t
          )
        
      
    
    )
  
  =
  
    
      
        
          arg
          ⁢
          
            
          
          ⁢
          min
        
        
          W
          ,
          H
        
      
      ⁢
      
        
          
          
            
              X
              ⁡
              
                (
                
                  
                    t
                    -
                    w
                  
                  ,
                  t
                
                )
              
            
            -
            WH
          
          
        
        fro
        2
      
    
    +
    
      μ
      ⁢
      
        
      
      ⁢
      
        
          Ω
          ⁡
          
            (
            W
            )
          
        
        .

19. A method of inferring topic evolution and emergence in a multitude of documents, comprising:
forming a group of matrices using text in the documents, said group of matrices including a first matrix X identifying a multitude of words in each of the documents, a second matrix W identifying a multitude of topics in each of the documents, and a third matrix H identifying a multitude of words for each of said multitude of topics; and
analyzing said group of matrices to identify a first group of said multitude of topics as evolving topics and a second group of said multitude of topics as emerging topics, including using a defined equation to identify the evolving and emerging topics, using the group of matrices to compare at least a plurality of the documents to others of the documents to identify some of the documents as novel documents based on defined criteria, and identifying the emerging topics from the novel documents, wherein:
said defined equation includes solving an l1 dictionary learning problem to identify evolving topics, and using a reconstruction error to identify novel documents;
the analyzing the group of matrices further includes clustering said novel documents to identify emerging topics; and
said defined equation is an objective function:


W*,H*=argminW,H∥X−WH∥1+λ∥W∥1 such that W, H≧0.