Temporal Analysis of Semantic Graphs Using ASALSAN
Paper · 2007 · Brett W. Bader, Richard A. Harshman and Tamara G. Kolda
Summary
A record of who sends what to whom can reveal relationships that disappear when directions are combined. A country can export heavily to a partner from which it imports little. In a company, one group can send regular updates to another without receiving as many messages in return. Time adds a further question. A relationship that looks stable in the full record may have been concentrated in a short period. The authors study how to preserve both direction and timing while reducing a network to a handful of patterns that a reader can inspect.
They use three-way DEDICOM, a factorization that gives each participant a mixture of roles, estimates a directed relationship between each pair of roles, and assigns each role a strength in each period. The resulting description has a common set of roles across the observation window. What changes from period to period is how strongly those roles participate. The paper introduces ASALSAN as a way to compute this factorization on sparse data, where most possible directed connections have no recorded activity in a given period. It also presents NN-ASALSAN, which keeps all the fitted quantities non-negative so that role weights and relationships can be read directly as strengths.
In world trade data, the non-negative fit recovered patterns centered on North America, Europe, and Japan. It showed substantial trade within North America and Europe, and an imbalance in trade between Japan and Europe. In the Enron email subset, a fit with p = 4 components distinguished legal staff, executives concerned with government and regulatory affairs, top executives, and pipeline staff. The fitted relationships showed more traffic from government affairs to senior executives than in the reverse direction. The monthly profiles also separated roles whose activity rose around October 2001 from roles whose activity declined. For the executive, legal, and pipeline employees included in the role check, agreement with the recorded job label was 89% for ASALSAN and 90% for NN-ASALSAN when either of the highest-scoring roles could count.
The timing experiments showed where the computational change mattered. On the small, dense trade data, Kiers’ earlier algorithm took less time per iteration than either new version. On the larger, sparse Enron array, an iteration took 0.85 seconds with ASALSAN, 1.0 seconds with NN-ASALSAN, and 22.3 seconds with Kiers’ algorithm. Both ASALSAN variants had a reported relative residual norm of 0.885 on Enron after excluding self-connections. The recognizable roles and their changing activity describe broad patterns in the recorded traffic, while that residual shows how much detail remains outside the reduced description.
Deep dive: Temporal Analysis of Semantic Graphs Using ASALSAN
ASALSAN reduces directed networks to a few roles and tracks how their relationships change over time in world trade and Enron email. · about 36 minutes to read
The problem and its context
Why the arrow and the date both matter
A directed network records a relationship from an origin to a destination. In the trade application, the origin and destination are countries, and the relationship is a flow of goods. In the email application, they are network participants, and the relationship is a flow of messages. The two directions are distinct observations. Even when a pair has contact in both directions, the balance between those directions can be part of what an analyst wants to understand.
An adjacency matrix gives each possible origin a row and each possible destination a column. A cell records the strength of a connection from its row participant to its column participant. This arrangement makes direction explicit, but it gives the reader a separate cell for every ordered pair. As the network grows, inspecting those cells individually becomes a poor way to find a recurring pattern of interaction. A useful reduction must bring together participants with similar relational profiles and preserve the tendency for one kind of participant to send more to another kind than it receives.
The authors call the input a semantic graph because its edges carry labels. In the applications here, the label says when the relationship was observed. The time label lets an analyst pose questions about the same participants at different points in the record. Combining every date into a single matrix would still preserve the direction of an edge, but the combined value would give no direct indication of when it accumulated. A group that was active throughout the record and a group that communicated intensely during a short interval could both appear prominent in that pooled view.
The opposite choice, analyzing every period in isolation, creates a problem of comparison. A role recovered from the traffic in one period may be hard to match to a role recovered in another, particularly when the activity that defines it is weak in one of the periods. Three-way DEDICOM supplies a common set of coordinates for the participants. The analyst can follow a role over time because every period is expressed using the same participant loadings and the same underlying directed relationships. Changes in the strength of a role have a defined meaning within that shared description.
The earlier approach to asymmetric relationships
DEDICOM stands for DEcomposition into DIrectional COMponents. The family of methods arose in work on asymmetric relationships. The paper describes an early use for telephone calls among cities and subsequent development for marketing research. A recurring idea is that the same entities occupy the sending and receiving sides of the data. Each entity has a common description on both sides, and the asymmetry is concentrated in the relationships among the underlying components.
Much of the earlier DEDICOM work in the paper deals with a single matrix. The authors also describe research on fitting algorithms, constraints on the factors, and the extension to a sequence of matrices. An earlier three-way application had already analyzed imports and exports among nations over a period of 10 years. The trade application in this paper returns to those data. The advance under study is how to compute the factorization when a graph is appreciably larger and sparsity ought to make its analysis cheaper.
Kiers’ alternating least-squares algorithm was the direct computational predecessor. It updated participant loadings one column at a time. For each of those column updates, it performed a full eigendecomposition of a dense matrix with a row and column for every network participant. An eigendecomposition expresses a matrix through directions on which it acts by scaling. Here, the cost comes from doing that work at the size of the original network, even when the adjacency data contain relatively few non-zero entries. The authors identify this step as the main impediment to applying the older algorithm to a larger sparse graph.
The new algorithm changes the updates for participant loadings and time weights. It retains Kiers’ least-squares solution for directed role relationships, but rearranges the data used by that step when compression is advantageous. These are changes to the way the fitting problem is solved. The same three-way DEDICOM structure supplies the shared roles and their temporal strengths.
Other ways researchers had studied evolving data
The paper places its approach among several uses of multiway arrays. A multiway array, also called a tensor in this setting, extends the idea of a matrix to data with additional indices. Earlier studies described by the authors used that organization to analyze evolving data streams and separate conversations in chatrooms. Other work used interactions among users, query terms, and webpages to personalize search. The authors also describe a sparse representation of the web in which a pair of pages supplies the endpoints and anchor text supplies the edge label. These examples show that the extra axis can represent time or another property that gives a relationship context.
The authors distinguish their question from several earlier lines of social network analysis. Sarkar and Moore represented changing friendships by letting entities move through a space over time. In DEDICOM as fitted here, the participants retain the same role weights across periods. A period is represented by scaling those common roles. That design makes a role easy to follow through its activity curve, with the consequences for individual changes discussed below.
Earlier Enron studies also asked different questions of the communication record. Diesner and Carley examined properties such as network density, centralization, and connections across job positions during the crisis. Chapanond and colleagues investigated communities through graph and spectral analysis. McCallum and colleagues used the Author-Recipient-Topic approach to connect directed interactions to what people discussed. The ASALSAN analysis uses the traffic pattern itself. Its output describes who tends to occupy similar communication roles, which roles send to which, and when those roles are most active.
The method, step by step
From network participants to roles
The starting point is a sequence of adjacency matrices with the same row and column order. For the email data, a cell is tied to the same sender and recipient in every slice. The slice determines the month in which their traffic was recorded. For the trade data, a slice holds a year of exchanges among the same countries. The sequence of slices is the input array.
A role is an inferred pattern of relationships. A participant can have a large weight in more than one role. This is useful in an organization where a senior employee belongs to a department and also takes part in communication characteristic of management. The data determine the weights. A term such as legal or pipeline is attached after inspecting the fitted pattern and comparing it with what is known about the people who score highly on it.
The role relationships form a smaller directed network. It uses the same roles at the sending and receiving ends. A relationship from a sending role to a receiving role has its own fitted value, independent of the value for the reverse direction. A relationship from a role to itself summarizes exchanges within that role. This can be substantial even when individual self-connections are ignored. Trade between different countries associated with North America, for example, can contribute to a within-region relationship.
Each period then weights the roles. The same period weight for a given role applies wherever that role appears, on the sending side and on the receiving side. A directed connection between two roles in a slice therefore depends on the underlying relationship between them and the period weights of both. This gives the analyst a compact way to read the fit at several levels. Participant weights indicate who is associated with a role, the directed relationships give the general pattern, and the period weights show how that pattern is expressed in a slice.
Fitting a shared set of directed roles across periods
The steps in order.
The factorization and the fitting criterion
The paper introduces the three-way form by first considering a single directed network. Its adjacency matrix is approximated as follows.
X ≈ A R Aᵀ
Here X is the square adjacency matrix and A is the loading matrix. A loading is a weight expressing how strongly a participant is associated with a role. A has n rows for the n participants and p columns for the p roles, with p smaller than n. R is the square array of directed values among the roles. The superscript ᵀ transposes a matrix, interchanging its rows and columns. Juxtaposition denotes matrix multiplication, and ≈ indicates an approximation. The common A on both sides gives a participant the same profile whether it is treated as a sender or a receiver. The direction of the approximation comes from R, whose entries can differ when their row and column indices are interchanged.
The time extension inserts a diagonal matrix on each side of the role relationships.
Xₖ ≈ A Dₖ R Dₖ Aᵀ
The index k identifies a period and ranges over the m observed periods. Xₖ is the adjacency matrix for that period, drawn from the array X of size n × n × m, where × separates the dimensions. A contains participant loadings and R contains the shared directed role relationships. Dₖ is a square matrix on the p roles with potentially non-zero entries only on its diagonal. Each such entry is the period weight for that role. The collection of all these matrices is D. The superscript ᵀ transposes A, and ≈ has the same approximation meaning as before.
Multiplying R by Dₖ on the left scales its rows. Multiplying it by Dₖ on the right scales its columns. An entry in the resulting role network is thus adjusted by the period weights at its origin and destination. For a within-role entry, the same weight appears on both sides. For a pair of roles, the same pair of multipliers applies to the forward and reverse entries. This makes it possible for the relative prominence of different connections to change across periods. Within a pair whose period weights are positive, the direction of an existing imbalance comes from R.
The paper mentions variants that would allow different loadings or different scales for senders and receivers. The specification used in these experiments ties those quantities across sides. It places a stronger structural demand on the fit and makes each inferred role a single object that can be recognized at either end of a connection.
The authors measure reconstruction error across the period slices with a squared Frobenius loss.
f(A, R, D) = Σₖ₌₁ᵐ ‖Xₖ − A Dₖ R Dₖ Aᵀ‖²_F
The function f assigns a loss to the factors A, R, and D. The summation Σ adds the terms for periods k from 1 through m. Xₖ is the observed slice, and the product beginning with A is its fitted counterpart. The minus sign forms the matrix of entrywise errors. To compute the Frobenius norm, written ‖·‖_F, square each matrix entry, add the squares, and take the square root. Squaring it gives the sum of squared errors in the slice. The transpose ᵀ makes the role loadings act on the receiving side of the product.
min_{A,R,D} f(A, R, D)
The operator min expresses the fitting goal of making f as small as possible by varying A, R, and D. These are, respectively, the participant loadings, the directed role relationships, and the period scales. The columns of A are allowed to overlap. They are free to describe patterns that involve some of the same participants, and the fit does not impose an orthogonality condition on them.
Fitting all the factors together is difficult because the same quantities occur in several places in the formula. ASALSAN cycles through three subproblems. It first makes a simultaneous approximation to the loadings update, then uses least squares for the directed relationships, then uses Newton’s method for the diagonal scales. Those operations give the algorithm its name, Alternating Simultaneous Approximation, Least Squares, and Newton.
Getting a starting point
The authors describe two ways to start the iteration. One chooses A and R randomly and sets every Dₖ to the identity matrix. An identity matrix has unit diagonal entries and zeros elsewhere, so the role strengths start out equal across periods. The run can then differentiate the periods as the scale updates proceed. Random initializations are especially relevant in the Enron experiment, where the authors search across runs for a solution with smaller residual error.
The other starting procedure uses the following matrix.
Σₖ₌₁ᵐ (Xₖ + Xₖᵀ)
Here Σ adds the terms over all m periods, with k starting at 1. Xₖ is the adjacency matrix for a period, ᵀ denotes transpose, and the plus sign adds the original and reversed versions of the slice. The authors use an eigendecomposition of the resulting matrix to initialize A. With Dₖ set to the identity, their least-squares step then supplies an initial R. The symmetrized data are used for the starting loadings. The subsequent updates use the directed slices.
Updating the participant loadings
A appears at both ends of the reconstruction, which makes a direct simultaneous least-squares fit for A nonlinear. The paper sets up an approximation by pairing each data slice with its transpose. The direct slice gives information about outgoing relationships and the transpose puts incoming relationships in the same position in the stacked calculation. With both views included, solving for the A on one side can take account of both kinds of evidence.
[X₁, X₁ᵀ, …, Xₘ, Xₘᵀ] ≈ A [D₁ R D₁, D₁ Rᵀ D₁, …, Dₘ R Dₘ, Dₘ Rᵀ Dₘ] (I₂ₘ ⊗ Aᵀ)
The square brackets indicate matrices placed side by side. X₁ and Xₘ are the first and last adjacency slices, and the ellipses extend the pattern through the intervening ones. Each Xₖ is followed by its transpose. A contains the participant loadings, R contains their directed role relationships, and Dₖ contains the scales for period k. On transposed slices, Rᵀ reverses the direction of those relationships. I₂ₘ is the identity on the paired slice positions. The Kronecker product ⊗ replaces each entry of the first matrix with a block obtained by scaling the second matrix by that entry. Here it places copies of Aᵀ along the block diagonal. The approximation sign again indicates a fit to the observations.
When the two occurrences of A agree, both the original residual matrices and their transposes contribute to the stacked loss. Transposition preserves a Frobenius norm. The paper uses that observation to explain why the stacking treats the two sides of the problem consistently. For the actual update, the algorithm holds the right-hand A at its current value and solves the resulting linear least-squares problem for the left-hand A. The normal equations are the equations obtained by setting the derivatives of this quadratic least-squares loss to zero. The paper writes the update in terms of two small matrices for each slice.
Bₖ = Dₖ R Dₖ (Aᵀ A) Dₖ Rᵀ Dₖ
Bₖ is the contribution of the original slice orientation to the matrix in the normal equations. Dₖ contains the scales for period k, and R is the directed relationship matrix. The term Aᵀ A collects inner products between the loading columns, where an inner product adds products of the corresponding participant weights. Rᵀ is the transpose of R. The parentheses group the loading inner products, and the products are taken in the order shown.
Cₖ = Dₖ Rᵀ Dₖ (Aᵀ A) Dₖ R Dₖ
Cₖ is the corresponding contribution for the transposed slice. Dₖ again contains period k’s scales, Aᵀ A is the matrix of loading-column inner products, and R and Rᵀ supply the original and transposed role relationships. Interchanging where R and Rᵀ appear accounts for the change of orientation. The equality defines Cₖ from the current factors.
A ← [Σₖ₌₁ᵐ (Xₖ A Dₖ Rᵀ Dₖ + Xₖᵀ A Dₖ R Dₖ)] [Σₖ₌₁ᵐ (Bₖ + Cₖ)]⁻¹
The arrow assigns the new value to A. Each A on the right is the current loading matrix. The first sum accumulates contributions from the observed slices Xₖ and their transposes Xₖᵀ, using the current period scales Dₖ and role relationships R. The second sum combines Bₖ and Cₖ from each period. Both sums run from k = 1 through k = m, with m the number of slices. The exponent ⁻¹ denotes a matrix inverse. The multiplication on the right applies the inverse of a matrix defined on the roles, instead of an eigendecomposition on the participants.
This step updates all loading columns together. Its main computational advantage is that it can use products of the sparse adjacency slices with thin matrices. The approximation has a qualification. When the new A is installed, it replaces both copies in the original factorization, although only one copy was varied in the least-squares subproblem. The least-squares improvement therefore applies directly to the subproblem. The authors expect the approximation to be particularly useful when the loadings are already changing little from one iteration to the next.
Updating the directed role relationships
With A and D fixed, the fitted slices depend linearly on the entries of R. To expose this structure, the paper uses vectorization, which lays out the entries of a matrix as a column. Each slice supplies observations, while the scaled loading matrix for that period supplies the coefficients relating those observations to the entries of R.
Vec(Xₖ) ≈ (A Dₖ ⊗ A Dₖ) Vec(R)
Vec forms a column from a matrix’s entries in a consistent order. Xₖ is the observed slice for period k, A is the participant loading matrix, and Dₖ scales its columns for that period. The Kronecker product ⊗ of the scaled loading matrix with itself supplies the coefficients for both ends of a directed relationship. Vec(R) contains the unknown role relationships. The approximation sign indicates that the predicted slice is fitted to the observed one.
Placing these vectorized slice equations one above the next gives a single multiple regression, with the entries of R as coefficients common to all periods. The closed-form least-squares update used by the authors is Kiers’ solution.
Vec(R) ← [Σₖ₌₁ᵐ ((Dₖ Aᵀ A Dₖ) ⊗ (Dₖ Aᵀ A Dₖ))]⁻¹ Σₖ₌₁ᵐ Vec(Dₖ Aᵀ Xₖ A Dₖ)
The arrow updates the vectorized relationship matrix. The sums span the m periods, indexed by k starting at 1. Aᵀ A gives the inner products of the columns of A, and Dₖ weights those inner products at period k. The Kronecker product ⊗ forms their joint contribution for the sending and receiving coefficients. The superscript ⁻¹ inverts the sum of those contributions. On the right, Xₖ is the observed adjacency slice, A and Aᵀ collect its relationships into the loading coordinates, and the two copies of Dₖ apply the period weights. Vec puts that result in the same entry order as Vec(R).
The system for R has p² coefficients for p roles. This is why keeping the role count modest matters even if the number of participants is large. For fixed loadings and scales, this update minimizes the least-squares loss over R. The fitting criterion for this subproblem is the same as the one used in the full reconstruction.
Updating each period’s scales
With A and R fixed, a scale from one period cannot affect the fitted slice from another. The authors exploit this separation to update all role weights within a period together.
min_{Dₖ} ‖Xₖ − A Dₖ R Dₖ Aᵀ‖²_F
The minimization varies the diagonal entries of Dₖ for period k. The observed matrix is Xₖ, A is the fixed participant loading matrix, R is the fixed relationship matrix, and ᵀ means transpose. The subtraction forms the residual and the squared Frobenius norm ‖·‖²_F measures its summed squared entries. There are p free scale entries in this subproblem, one for each role.
The paper uses Newton’s method for this update. The gradient describes how the error initially changes as each weight varies, and the Hessian describes its curvature, including how the weights interact. The interaction is relevant because a scale can affect both ends of the same connection. A Newton step uses these local quantities to choose a joint change to the weights. The authors refer to their earlier technical report for the gradient and Hessian formulas.
Curvature can give an unsuitable direction for the update. The authors use a modified Cholesky decomposition, a procedure involving triangular matrix factors, to choose a safely positive definite version of the curvature matrix.
H + λI
H is the Hessian of the period-scale objective, I is the identity on the scale variables, and λ is the diagonal adjustment selected by the procedure. The plus sign denotes addition of that adjustment to H. Positive definiteness means that the adjusted matrix describes positive curvature in every non-zero direction. The resulting Newton calculation can then be used to produce a descent direction for the slice objective. The period-by-period formulation also lets the authors apply constraints to keep the scales non-negative when fitting NN-ASALSAN.
Compressing the updates that can use a smaller space
For a large network, the authors project the adjacency slices into the space occupied by the current columns of A before updating R and D. Every fitted slice already has both its columns and its rows in that space. This is the reason the projection can remove a large amount of calculation without changing which R or D gives the best fit for that A.
A = Q Ã
A is the current n × p loading matrix, with n participants and p roles. Q is an n × p matrix whose columns form an orthonormal basis for the loading space. Orthonormal columns have unit length and are mutually perpendicular. Ã is the upper triangular factor from the compact QR decomposition. It expresses A in the coordinates of Q. Equality indicates that multiplying those two factors reconstructs the current A.
min_{Dₖ} ‖Qᵀ Xₖ Q − Ã Dₖ R Dₖ Ãᵀ‖²_F
The minimization still varies the diagonal scales Dₖ for period k. The product Qᵀ Xₖ Q represents the observed slice Xₖ in the basis Q on both its sender and receiver axes. The product with à represents the fitted slice in the same basis, using the directed role relationships R and the period weights on both sides. The superscript ᵀ denotes transpose. The minus sign gives the difference in projected coordinates, and ‖·‖²_F again adds squared errors. Both Qᵀ Xₖ Q and à have size p × p.
The part of the observed slice that lies outside this projected block contributes a fixed error while A is held constant. Since that part is fixed during an R or D update, it has no effect on which values minimize the loss. The paper applies the same reduction to the R step. The compressed quantities must be computed for the current loading space. Subsequent updates to A can change that space.
Some computations still involve the participants, including finding the basis and multiplying the sparse slices by matrices with p columns. The authors characterize the dominant per-iteration work as linear in the number of non-zero slice entries and, for operations such as forming loading inner products and finding the basis, as O(p²n). The O notation describes how the cost grows as p and n vary. For Kiers’ loading update, the dominant work is O(pn³), owing to the full dense n × n eigendecomposition for each of the p columns. These descriptions concern the dominant operations. They leave room for implementation overhead to determine which method runs faster on a small input.
Nonnegative updates and the end of a run
NN-ASALSAN keeps A, R, and D non-negative. For A and R it replaces the unconstrained least-squares steps with multiplicative updates. Each entry is multiplied by a ratio involving the observations and the current fitted quantities. The authors use the following update for the loading entries.
aᵢ꜀ ← aᵢ꜀ [Σₖ₌₁ᵐ (Xₖ A Dₖ Rᵀ Dₖ + Xₖᵀ A Dₖ R Dₖ)]ᵢ꜀ / ([A Σₖ₌₁ᵐ (Bₖ + Cₖ)]ᵢ꜀ + ε)
The entry aᵢ꜀ is the loading of participant i on component c. The subscript ᵢ꜀ on a bracketed expression selects its entry at the same row and column. The arrow assigns the product to that entry. The numerator collects terms from Xₖ and Xₖᵀ, the observed slice and its transpose, with the current loadings A, relationship matrix R, and diagonal scales Dₖ. The denominator multiplies A by the sum of the Bₖ and Cₖ matrices used in the earlier normal equations. Both sums cover the m periods starting at k = 1. The slash denotes division. The small ε, for which the paper gives 10⁻⁹ as an example, is added to the denominator.
Vec(R)ᵢ ← Vec(R)ᵢ [Σₖ₌₁ᵐ Vec(Dₖ Aᵀ Xₖ A Dₖ)]ᵢ / ([Σₖ₌₁ᵐ ((Dₖ Aᵀ A Dₖ) ⊗ (Dₖ Aᵀ A Dₖ)) Vec(R)]ᵢ + ε)
Here Vec(R)ᵢ is entry i of the vector of role relationships. The arrow updates that particular value by multiplication with the displayed ratio. The bracket subscript ᵢ selects the corresponding entry in its numerator and denominator. The numerator collects slice observations Xₖ in the coordinates of A and weights them by Dₖ. The denominator applies the summed Kronecker products ⊗ of the scaled loading inner products to the current Vec(R). The sums span all m periods starting with k = 1, and ᵀ denotes transpose. The slash represents division and ε is the same small denominator adjustment. Starting with non-negative quantities keeps these updates within the non-negative range. For D, the authors retain the Newton procedure and enforce the constraints on the period weights there.
The run ends when the improvement in fit falls below a threshold or the maximum iteration count is reached. The paper expresses the stopping check in terms of a normalized objective.
f(A, R, D) / ‖X‖²_F
The numerator f is the summed squared slice error for the current loadings A, relationships R, and scales D. The slash divides by the squared Frobenius norm of the data array X, denoted by ‖X‖²_F, which adds squared data values across its entries and periods. The stopping rule checks improvement in this normalized error. The authors also note that with m = 1 slice and D fixed as the identity, the non-negative procedure gives a way to fit the single-matrix form.
Experiments and results
What was compared
The paper compares ASALSAN, its non-negative version, and Kiers’ algorithm on world trade and Enron email. The trade experiment uses a small, dense array. The email experiment uses a larger array in which most ordered pairs have no recorded exchange in any particular month. The authors implemented ASALSAN in MATLAB with the Tensor Toolbox. They ran Kiers’ algorithm using compiled Pascal code supplied by Kiers. The tests used a dual 3GHz Pentium Xeon desktop with 2GB of RAM.
There are several kinds of evidence in the experiments. Seconds per iteration measure the work needed for an algorithmic cycle on each input. Average iteration counts say how many cycles were used under the stated change-in-fit criterion. Reconstruction error describes the distance from a fitted array to the observed array. The role comparisons in Enron ask a different question, whether loadings inferred from traffic agree with the employees’ recorded labels. The paper also interprets the fitted role networks and time profiles directly.
Both applications treat a participant’s connection to itself as outside the substantive analysis. The authors handle those entries by imputation. At each iteration, they fill the diagonal of each observed adjacency slice with values from the current reconstruction. A diagonal entry then acts as a current estimate in the fitting procedure, instead of an observed exchange that the factors are expected to explain. The paper reports Enron’s residual with the diagonal excluded. The diagonal of the smaller role network remains meaningful because it concerns exchanges among participants associated with a role.
World trade as a dense test case
From 1981 through 1990, the trade figures track imports and exports between 18 countries across Europe, North America, and the Pacific. The data form an 18 × 18 × 10 array. One slice holds an annual view of the directed trade relationships, and the fits use p = 3 components. The authors report that ASALSAN and Kiers’ algorithm can find the same minimizers on this example. They describe the fitted patterns using NN-ASALSAN because its non-negative relationships are easier to inspect.
Seconds per iteration for each algorithm on World Trade
Kiers’ algorithm has the lowest per-iteration time on the dense trade array.
The numbers
| System or setting | seconds per iteration |
|---|---|
| ASALSAN (this paper) | 0.069 |
| NN-ASALSAN | 0.083 |
| Kiers | 0.022 |
The criterion on World Trade was a change in fit within a tolerance of 10⁻⁵. The average iteration counts were 50 for ASALSAN, 47 for NN-ASALSAN, and 171 for Kiers’ algorithm. These counts give context for interpreting the seconds-per-iteration comparison. The authors suspect that MATLAB overhead helps explain the relative per-cycle cost on this small problem, given that Kiers’ implementation was compiled.
The loadings identify geographically recognizable patterns. The US and Canada have the leading weights on the North American component. Germany, France, and the Netherlands lead the European group alongside Italy, Belgium, and the UK. The remaining component is dominated by Japan, with smaller contributions from the UK and Italy. The groupings follow geography to a considerable extent while allowing a country to contribute to more than one component.
The directed relationships reveal that a region can be prominent through both internal exchange and trade with other regions. Large within-role entries for North America and Europe capture substantial trade among countries associated with those regions. Across roles, the relationship from the Japan component to Europe is stronger than the reverse. The authors interpret this to mean that, over the years covered by the data, Japan sold more to Europe than it bought from Europe. A reduction that combined the two directions would retain the amount of interaction while losing the distinction the authors use to interpret the imbalance.
The period scales show rising commercial participation for each of the trade components. The Japan curve climbs particularly rapidly. The authors link the overall increase to economic growth and suggest that Japan’s profile reflects the expansion that followed the early 1980s recession. The fitted scales show the pattern over time. The explanation for the rise is the authors’ interpretation of that pattern.
From the Enron collection to monthly traffic
The full Enron collection described in the paper comprises 517,431 emails in the directories of 150 users. The authors use a separate, smaller graph prepared by Priebe and colleagues, limited to exchanges among 184 Enron email addresses. They restrict the analysis to the interval from 13-Nov-1998 through 21-Jun-2002. This leaves 34,427 messages over 44 months in an array of size 184 × 184 × 44 with 9838 non-zero entries. A non-zero entry represents activity from a given sender to a given recipient during a month. Multiple messages in that direction and month can contribute to the same entry.
The paper transforms the positive counts before fitting the array.
log₂(w) + 1
Here w is the number of messages in a non-zero entry and log₂ is the logarithm to base 2. The plus sign adds 1 to the transformed count. The logarithm reduces the influence of high message counts, so prolific senders have less leverage through large individual entries. The operation is applied to positive entries, preserving the zeros in the sparse array. The authors say that other weightings gave similar results.
Employee information is incomplete. The Priebe data supplied positions and business units for many participants. The authors supplemented that material with evidence from messages and information from the Federal Energy Regulatory Commission. They looked for corroboration and for details such as a title, business unit, or manager. This information was used to interpret and check roles recovered from traffic.
The authors assigned 56 participants to an executive category, 15 to legal, 13 to pipeline, 29 to energy trader, and 71 to an unaffiliated category. The executive category included directors and employees above director level. Legal referred to the legal department in Enron North America. The pipeline group was mainly drawn from the Transwestern Pipeline Company, and energy traders worked in gas or electricity markets. Participants with too little background information were placed in the unaffiliated category. The rule gave priority to executive rank, so an executive with a legal function could receive the executive label.
The sparse timing comparison
Seconds per iteration for each algorithm on the Enron email array
Both ASALSAN variants take less time per iteration than Kiers’ algorithm.
The numbers
| System or setting | seconds per iteration |
|---|---|
| ASALSAN (this paper) | 0.85 |
| NN-ASALSAN | 1.0 |
| Kiers | 22.3 |
For Enron, the change-in-fit tolerance was 10⁻⁷. The paper’s average iteration counts are 184 for ASALSAN and 74 for NN-ASALSAN. It records 50+ for Kiers’ algorithm, so that entry gives no exact count for a completed run. Here the timing of a cycle reflects the cost advantage of avoiding participant-sized dense eigendecompositions. The contrast with the trade timings also shows why the input size and structure matter to the result.
For the main ASALSAN interpretation, the authors use p = 4 and select the smallest attained error among 40 runs begun from random initializations. They report a relative residual norm of 0.885 with the diagonal excluded. For NN-ASALSAN, they repeat the selection across 40 random starts at the same component count and obtain the same reported relative residual norm, 0.885, under the same exclusion. These are relative errors in reconstructing adjacency entries. The paper evaluates correspondence with employee labels through a separate measure.
The roles and their directions in Enron
The main ASALSAN fit yields a legal role, an executive role associated with government and regulatory affairs, a top executive role, and a pipeline role. In the loading plots, employees tend to have a pronounced association with one dimension. The authors attribute this partly to the temporal information. An employee whose traffic follows one activity profile has a stronger basis for loading on the corresponding role, and a subgroup with a distinctive activity profile can separate from a broad job category. Government and regulatory affairs is such a subgroup of the executives in this analysis.
The fitted aggregate relationships are strongest within roles. The pipeline role in particular has small relationships to and from other roles, suggesting that its traffic is concentrated among its own participants. The relationship from government and regulatory affairs to top executives is larger than the relationship in the reverse direction. In that pair, the top executives appear mainly as recipients. This is a statement about the balance of estimated traffic between roles across the observation window.
The unconstrained fit also has negative relationships. The authors read negative entries between the executive and legal roles as suggesting relatively little communication between them under an informal reference expectation. A signed entry is a coefficient in a reconstruction, and its interpretation depends on the rest of that reconstruction. The non-negative fit gives an easier reading of the strongest directions. The authors describe traffic directed towards top management and report a flow from government affairs towards pipeline staff.
Energy traders are absent as a distinct role in the main fit. The paper reports partial representation in the executive component and finds a trader role in a higher-dimensional solution. This difference matters when reading the label scores. The role fit is free to devote a component to a group with a distinct time profile, even when that means a job category supplied by the analysts has no dedicated component at the chosen size.
How communication changes across the months
The legal scales show a broad span of activity. The government affairs role is active from October 2000 through October 2001 and then falls back. The top executive and pipeline roles show frequent communication after October 2001. The profiles separate kinds of communication that would otherwise be summarized by a single set of aggregate role relationships.
To obtain a role network for a particular month, the paper applies that month’s diagonal scales to the aggregate relationship matrix on both sides. It compares October 2000 and October 2001, periods used in earlier Enron analysis to represent conditions before and during the crisis. The comparison shows a decline in within-role traffic for legal and government affairs and an increase for top executives and pipeline. The paper connects the latter groups to the investigation. Its findings describe differences between the fitted snapshots, alongside the broader profiles across the complete series of months.
The time scales are also important for understanding what a strong aggregate edge means. The same R applies to both of the October snapshots. An edge may look more or less prominent once its endpoint roles have been scaled for the month. An increase in within-role traffic can therefore occur in the fitted graph even though the corresponding diagonal entry in R is shared across the entire period.
Agreement with recorded job labels
For each employee, the authors rank the role scores in the corresponding row of A. They check whether the recorded job label matches the highest-scoring role or appears among the two highest. Unaffiliated employees are excluded because the background information does not support a substantive job label. Energy traders are excluded from this comparison because the fit being evaluated has no distinct trader role. Government affairs is an inferred executive subgroup, while the external labels have no separate government affairs category.
Overall agreement with recorded Enron job labels among evaluated employees
Both algorithms agree with more recorded labels when the next-highest scoring role can count.
The numbers
| System or setting | agreement % |
|---|---|
| ASALSAN highest-scoring role (this paper) | 73% |
| NN-ASALSAN highest-scoring role | 71% |
| ASALSAN highest or next-highest role | 89% |
| NN-ASALSAN highest or next-highest role | 90% |
Under the highest-score criterion, ASALSAN agrees with 75% of executive labels, 73% of legal labels, and 62% of pipeline labels. NN-ASALSAN agrees with 73% of executive labels, 73% of legal labels, and 62% of pipeline labels. Allowing the next-highest role to count raises the reported executive, legal, and pipeline agreement to 95%, 80%, and 77% for ASALSAN and to 93%, 87%, and 85% for NN-ASALSAN.
These figures are checks on the correspondence between loadings and existing occupational information within the analyzed graph. The authors illustrate the distinction using an executive with a legal function. That employee might receive the strongest loading on legal because of their communication pattern, while the recorded label is executive because the labeling procedure gives precedence to seniority. If the executive component comes next in the employee’s scores, the broader agreement criterion recognizes that association. The role scores can express a mixture even where the evaluation label records only one category.
What the ablations show
The paper reports no formal ablation that removes individual steps from ASALSAN, and instead offers comparisons of constraints, component counts, temporal snapshots, and algorithms, along with a test on synthetic arrays with known structure.
Where the nonnegative constraint changes the reading
For the Enron fit with p = 4, ASALSAN and NN-ASALSAN attain the same reported relative residual norm of 0.885 with the diagonal excluded. The authors describe the participant loadings as qualitatively similar and the period scales as nearly identical. At the reported precision and in the plots, the constraint preserves the broad patterns used to name the roles and follow their activity. The clearest difference is in the interpretation of the role relationships. The non-negative relationships can be read as amounts of traffic expressed through the fitted roles. A signed matrix requires an account of how positive and negative terms combine.
The comparison leaves room for differences among the leading role scores. ASALSAN has the higher overall agreement when only the first role is considered. NN-ASALSAN has the higher reported agreement when the next role can count, with the class results showing different changes for executives, legal staff, and pipeline staff. Taken together, these comparisons support a claim about readability of the role relationships more directly than a claim about improved job-label agreement.
What changes when the fit has room for more roles
The authors fit Enron at several component counts and describe a loose progression towards more specific roles. At p = 2 the main distinctions pick out legal staff and executives concerned with government and regulatory affairs. At p = 3 a separate top executive role appears. At p = 4 there is room for a pipeline role. This is the setting used for the principal plots and comparisons.
At p = 5 the fit identifies an additional executive role resembling the government and regulatory affairs group in its organizational character while having a different communication profile over time. At p = 6 the energy traders appear as a distinct role. The authors report similar roles in higher-component non-negative fits. A role’s appearance depends on how many patterns the factorization can express and whether its traffic is distinct in the dimensions being fitted. The recovery of traders at higher capacity gives context to their absence from the job-label comparison at p = 4.
The paper describes the progression as a loose hierarchy. It is based on comparing solutions fitted at different sizes and seeing recognizable roles recur or become more specific. Each component count is a separate factorization. The paper gives no exact nesting rule that requires a higher-component solution to preserve all memberships from a smaller one.
What the synthetic tests establish
To check whether the algorithm could recover known structure, the authors generate synthetic arrays of sizes up to 50 × 50 × 45 using p = 2 to 6 latent components. They use a randomly generated asymmetric R and diagonal period matrices Dₖ to relate and scale the patterns in A. The resulting arrays contain the kind of structure that the factorization is designed to recover. The authors analyze them from multiple random starting points.
Among the solutions they obtain, the authors report finding the global optimum. Its recovered patterns agree with those used to construct the array, up to reordering the role columns and rescaling them. These freedoms arise because the role labels are arbitrary and the factors can exchange some scale without altering their product. For example, changing the scale of a loading column can be offset through the corresponding scales or role relationships. The identity of a role can therefore be preserved even when its numerical normalization changes.
The authors relate the recovery result to the essential uniqueness of the three-way formulation under suitable conditions. In this context, essential uniqueness means that a best-fitting set of axes can be identified apart from such reordering and scaling freedoms. The synthetic experiment illustrates that property when the intended structure is present. It also shows why the additional axis can matter even when the analyst is primarily interested in the participant loadings. Different time profiles put additional constraints on how those loadings can be oriented while fitting all slices together.
What the timing and time-profile comparisons isolate
The timing comparison varies both the input and the implementation. The dense trade case favors Kiers’ algorithm on per-cycle time. The larger sparse email case favors both ASALSAN versions on that measure. These observations agree with the paper’s account of the main computational costs. They do not give a separate measured contribution for the simultaneous A update, the compressed calculations for R and D, or the Newton update. The argument for those mechanisms comes from the equations and their costs, together with the performance of the completed procedures.
The October comparison holds the fitted roles and aggregate relationships fixed while changing the period scales. It shows which within-role relationships are stronger in one fitted month than in the other. The longer curves show that those snapshots are part of different activity histories, including the broad legal profile and the later rise of traffic involving top executives and pipeline staff. The authors also report qualitative stability under alternative email weightings. The paper gives no numerical breakdown of how individual weights affect the fits or label scores.
Limitations
Limits the authors identify
The authors identify incomplete personnel information as a central difficulty in the Enron analysis. They had no access to either an organizational chart or a corporate directory covering that period. They assembled labels from partial records and additional evidence in the emails and government material. Those labels give a basis for assessing the recovered roles, with appreciable uncertainty for participants whose jobs were poorly documented. For employees with multiple functions, a single label also reflects a choice about what to prioritize. The executive precedence rule is explicit, and the authors acknowledge that an employee can accordingly have a strongest role score different from the recorded label even when the inferred role is sensible.
The paper also acknowledges a limitation of the optimization. The A update uses a linear approximation to a step in which the same unknown appears twice. It has no guarantee of decreasing the full objective. The authors report that the step behaved well near solutions, with an exception on the first iteration from a random start in their experience. They also report that complete update cycles improved the objective and converged to a stable value in their runs. These observations support the practical procedure, while the selected Enron fits are best among the starts the authors tried. The synthetic recovery of a known optimum is evidence from a different, more controlled setting.
The authors note the difference in software implementations when discussing speed. Their explanation of the trade timings includes the possibility that MATLAB overhead is important relative to compiled Pascal. They argue that Kiers’ dense loading update becomes increasingly costly on larger sparse inputs. The experiments document the contrast on the two applications and the complexity argument explains the expected direction of further scaling. The paper’s discussion of additional uses extends beyond the workloads it times.
Limits that follow from the setup
The temporal factorization allows a role’s participation to change while keeping participant loadings and aggregate role relationships shared. Consequently, its role networks can express changing activity generated by scaling the endpoints of a connection. For a positive scale on each end, both directions of that same pair receive the same multiplier. A reversal of the pair’s direction imbalance would require flexibility beyond this specification. Likewise, a participant changing jobs is represented with a single loading row across the record. Distinct period profiles for the roles can reflect some consequences of a change in activity, while the fit has no separate participant membership for each month.
The fitted Enron graph is conditioned on the selected addresses, the observation window, monthly aggregation, and the transformation of counts. A role inferred from that graph describes a pattern among the observed exchanges. Communication with addresses outside the graph and interaction by other means are beyond its scope. Within a month, two sequences with the same directed counts contribute the same information to the adjacency array. The time profiles therefore speak to the variation resolved by the chosen slices.
The label check covers executive, legal, and pipeline employees with the categories used for the reported fit. Its overall percentages describe those eligible employees. They give no estimate of how often the fit identifies traders at p = 4 or assigns correct roles to unaffiliated employees. The scores assess correspondence within the analyzed network. A test of how the factorization would assign a new employee, or predict messages in a later time window, would require a different evaluation design.
The residual and the label checks also put different demands on the reduction. The reported Enron residual of 0.885 shows that the adjacency reconstruction still leaves substantial error. Agreement with organizational labels shows that some of the recurring patterns align with occupational functions, even in the presence of that error. Individual exchanges can depart from the reduced pattern. The experiments establish the roles as descriptive summaries of recorded behavior rather than detailed accounts of each communication.
Finally, the interpretation of particular historical events is observational. The Enron profiles place activity changes near periods of interest, and the trade profiles show changes in fitted participation over the years. Associating those changes with the investigation or with economic expansion is an interpretation offered by the authors. The fitting procedure has only the relationship data and their period labels from which to infer the pattern. A causal account would require evidence about the events and the corresponding alternatives beyond these reconstructions.
What came after
The paper gives directions for extending ASALSAN. There is no documented later citing application to trace here, so the extensions below are proposals from the authors.
One proposal is to incorporate knowledge about the participants directly into the loading constraints. The authors discuss restricting the columns of A to a prescribed space. In the email example, a loading column could be constrained to involve only top executives. This would change the role of job information in the analysis. In the reported experiments, it helps interpret and check a role after fitting. Under the proposed restriction, it would help determine which participant patterns the algorithm could fit in the first place.
The authors also propose adapting the method to large skew-symmetric data. In a skew-symmetric matrix, reversing the direction of an entry changes its sign. DEDICOM had previously been used with such data, and the authors suggest bringing that analysis to larger problems. They also name web traffic between servers and time-indexed web or citation graphs as possible applications. Those proposals carry forward the same question as the trade and email experiments. How much of a changing directed network can be understood through a small set of roles and the relationships among them?
Cite
Cite as Brett W. Bader, Richard A. Harshman and Tamara G. Kolda. 2007. Temporal Analysis of Semantic Graphs Using ASALSAN. Proceedings.
@inproceedings{bader2007temporal,
title = {{Temporal Analysis of Semantic Graphs Using ASALSAN}},
author = {Brett W. Bader, Richard A. Harshman and Tamara G. Kolda},
booktitle = {Proceedings},
year = {2007},
doi = {10.1109/icdm.2007.54},
url = {https://doi.org/10.1109/icdm.2007.54}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bader-2007-temporal-analysis-semantic-graphs-asalsan/