A Faster Algorithm for the Half-Trek Criterion in Structural Causal Models
Yasmine Briefs, Markus Bläser
NeurIPS 2026
TL;DR. We present a new algorithm for the half-trek criterion that is both theoretically and practically faster than existing algorithms.
Abstract. Linear structural causal models (SCMs) are used to analyze relationships among random variables. In these models, directed edges encode direct causal effects, while bidirected edges capture latent confounding. The problem of generically identifying the hidden parameters from observed correlations remains open in causal inference. The half-trek criterion by Foygel, Draisma, and Drton [2012] and its generalization to the edge-wise criterion are important criteria for generic identification in linear SCMs, since the half-trek criterion can be efficiently decided by an algorithm with running time . We here develop a new criterion that is equivalent to the edgewise criterion. Utilizing this criterion, we design a faster randomized algorithm for deciding the half-trek criterion with running time . For sparse graphs, our algorithm even works in . We show that the algorithm is useful in practice by providing an implementation that outperforms the implementation of HTC in the state-of-the art R package SEMID.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) Summary of the scientific claims and findings
The paper studies generic identifiability in linear structural causal models with latent confounding. Its focus is the half-trek criterion (HTC), a standard sufficient criterion for generic identifiability, and the more general edgewise HTC. The main technical contribution is a reformulation of the half-trek conditions in terms of the generic full rank or invertibility of appropriately residualized covariance matrices. Building on this reformulation, the authors replace repeated max-flow computations used in existing HTC algorithms with randomized finite-field rank tests. The authors claim a randomized running time of O(n^4) in general, improving on the previously reported O(n^5) complexity for deciding HTC, and O(n^3) for sparse directed graphs. Empirically, the implementation outperforms the HTC implementation in the SEMID package on the tested synthetic graph families while returning the same identifiable edge sets.
(b) Main strengths
-The paper addresses a concrete and well-defined computational problem in causal identifiability. HTC is an important criterion for linear SCMs with latent confounding, and improving the efficiency of its implementation can make identifiability analysis more practical on larger graphs.
-The central algorithmic idea is clean and effective.
-The empirical evaluation supports the paper’s primary computational claim.
-The paper is generally regarded as clear and easy to follow.
(c) Main weaknesses
-The contribution is an acceleration of an existing criterion rather than a new identifiability result. This limits the conceptual significance of the paper, even though the computational contribution is useful. The practical significance of the complexity improvement is not fully established.
-The novelty of the matrix reformulation should be positioned more carefully.
-A recurring concern is that the edgewise extension is not developed as fully as the standard HTC algorithm.
(d) Overall, the submission is a technically solid and useful algorithmic contribution. Its significance is limited. Nevertheless, the improvement from O(n^5) to O(n^4), and to O(n^3) for sparse graphs, is theoretically meaningful. Provided that the authors convincingly clarify the novelty, practical significance, and the edgewise extension in the response, the reasons for acceptance slightly outweigh the limitations.
(e) The authors’ rebuttal largely addressed the reviewers’ concerns regarding novelty and the edgewise HTC extension, and further clarified the technical contribution. However, the reviewers’ reservations about the significance of the work remain.
(f) The paper received two borderline accept recommendations and one borderline reject recommendation. Reviewers regard the work as technically sound, clearly written, and supported by both theoretical analysis and empirical results. The rebuttal further clarified the technical novelty and resolved several concerns. The main remaining reservation is one of significance: the contribution is primarily computational, providing a faster algorithm for an existing identifiability criterion without enlarging the class of identifiable models or parameters, and there is some disagreement about whether the resulting improvement is sufficiently consequential for acceptance. On balance, I consider the algorithmic improvement theoretically meaningful and the overall contribution sufficiently strong, and therefore recommend weak acceptance.
Final justification
The meta-review already includes the updated justification.
- Final justification
- The meta-review already includes the updated justification.
Read meta-review
Meta-review
(a) Summary of the scientific claims and findings
The paper studies generic identifiability in linear structural causal models with latent confounding. Its focus is the half-trek criterion (HTC), a standard sufficient criterion for generic identifiability, and the more general edgewise HTC. The main technical contribution is a reformulation of the half-trek conditions in terms of the generic full rank or invertibility of appropriately residualized covariance matrices. Building on this reformulation, the authors replace repeated max-flow computations used in existing HTC algorithms with randomized finite-field rank tests. The authors claim a randomized running time of O(n^4) in general, improving on the previously reported O(n^5) complexity for deciding HTC, and O(n^3) for sparse directed graphs. Empirically, the implementation outperforms the HTC implementation in the SEMID package on the tested synthetic graph families while returning the same identifiable edge sets.
(b) Main strengths
-The paper addresses a concrete and well-defined computational problem in causal identifiability. HTC is an important criterion for linear SCMs with latent confounding, and improving the efficiency of its implementation can make identifiability analysis more practical on larger graphs.
-The central algorithmic idea is clean and effective.
-The empirical evaluation supports the paper’s primary computational claim.
-The paper is generally regarded as clear and easy to follow.
(c) Main weaknesses
-The contribution is an acceleration of an existing criterion rather than a new identifiability result. This limits the conceptual significance of the paper, even though the computational contribution is useful. The practical significance of the complexity improvement is not fully established.
-The novelty of the matrix reformulation should be positioned more carefully.
-A recurring concern is that the edgewise extension is not developed as fully as the standard HTC algorithm.
(d) Overall, the submission is a technically solid and useful algorithmic contribution. Its significance is limited. Nevertheless, the improvement from O(n^5) to O(n^4), and to O(n^3) for sparse graphs, is theoretically meaningful. Provided that the authors convincingly clarify the novelty, practical significance, and the edgewise extension in the response, the reasons for acceptance slightly outweigh the limitations.
(e) The authors’ rebuttal largely addressed the reviewers’ concerns regarding novelty and the edgewise HTC extension, and further clarified the technical contribution. However, the reviewers’ reservations about the significance of the work remain.
(f) The paper received two borderline accept recommendations and one borderline reject recommendation. Reviewers regard the work as technically sound, clearly written, and supported by both theoretical analysis and empirical results. The rebuttal further clarified the technical novelty and resolved several concerns. The main remaining reservation is one of significance: the contribution is primarily computational, providing a faster algorithm for an existing identifiability criterion without enlarging the class of identifiable models or parameters, and there is some disagreement about whether the resulting improvement is sufficiently consequential for acceptance. On balance, I consider the algorithmic improvement theoretically meaningful and the overall contribution sufficiently strong, and therefore recommend weak acceptance.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a faster randomized algorithm for checking the half-trek criterion (HTC) in linear structural causal models. Its key technical step is to reformulate the existence of no-sided-intersection half-trek systems as generic full-rank conditions on certain residualized covariance matrices. This reformulation is shown to be equivalent to the existing edgewise HTC, so the paper enables an algorithm based on randomized polynomial identity testing and finite-field rank computations, replacing repeated max-flow checks. The resulting method runs in time in general and time for sparse graphs, improving over the existing -complexity. Experiments suggest that the implementation is faster than the SEMID package while returning the same HTC identifiability results in tested cases.
Strengths and weaknesses
Strengths:
- The algorithmic idea is natural and effective. Existing HTC/edgewise HTC implementations rely on repeated max-flow computations. This paper replaces these tests with rank computations on residualized covariance matrices and incrementally maintains row echelon forms as new eligible rows become available. This is a meaningful algorithmic improvement.
- The paper provides both theoretical and empirical support for the speedup. The empirical comparison with SEMID also suggests substantial speedups, which is valuable for implementing HTC-based identification tools.
- The randomized nature of the algorithm is reasonably controlled. In particular, failures can be mitigated by repeated runs and seem acceptable in practice.
Weaknesses:
- The identifiability power is not improved. Proposition 1 and Theorem 1 are equivalent reformulations of the edgewise HTC of Weihs et al. (2018). Thus, the method does not identify any additional models or edge coefficients beyond existing HTC/edgewise HTC; it only checks the same criterion faster. For this reason, I view the originality and significance as moderate rather than high. The paper makes a useful algorithmic contribution, but its conceptual contribution to identifiability theory appears limited.
- The novelty of Lemma 1 appears limited. Its equivalence between half-trek systems and generic invertibility of a residualized matrix is closely related to existing determinant/rank characterizations in the trek-separation literature, especially results such as Proposition 3.4 in [1]. The main difference is that the matrix is residualized so that ordinary trek systems become half-trek systems. This is useful for the algorithm, but it is not fundamentally new.
- The main algorithm, runtime analysis, and experiments focus on standard HTC. The extension to edgewise HTC is only sketched. Since edgewise HTC can identify strictly more edges/graphs than standard HTC, a fuller treatment would strengthen the paper. In particular, the authors should provide pseudocode, complexity analysis, and empirical evaluation for the edgewise version, including how the randomized failure probability behaves when many subsets are tested.
References:
[1] Trek Separation for Gaussian Graphical Models. Ann. Statist. 38(3): 1665-1685 (2010).
Questions
- The main algorithm and runtime analysis focus on standard HTC. Can the authors provide a more detailed pseudocode and complexity analysis for the edgewise HTC extension?
- Can the authors report the failure probability for the extension to edgewise HTC? Since edgewise HTC can identify more edges than standard HTC, it would be useful to know whether the proposed approach retains similarly controlled failure probability and empirical speedups when many subsets are considered.
- Does the method interact with Tian decomposition in the same way as SEMID, and are there graph classes where decomposition changes the practical speedup substantially?
Reference: [1] Jin Tian. Identifying direct causal effects in linear models. AAAI 2005.
Limitations
Partially. The authors mention two important limitations: the method only checks HTC/edgewise HTC and is therefore not complete for generic identifiability, and the randomized algorithm has one-sided error. I would encourage them to also clarify that the proposed criterion is equivalent to existing edgewise HTC, not a stronger identifiability criterion.
Final justification
The paper proposes a randomized algorithm for checking the half-trek criterion by replacing repeated max-flow computations with rank tests and incremental row-echelon maintenance, improving the runtime from to , or for sparse graphs. The rebuttal clarified that using the fixed sets , rather than dynamically changing sets of identified parents, is essential for reusing rank computations, and I acknowledge this as a technically sound and practically useful idea. Nevertheless, the proposed criterion is equivalent to the existing edgewise HTC and does not improve identifiability power, while its determinant characterization is closely related to established trek-separation results. Overall, I view the paper as technically solid and useful, but somewhat limited in originality and significance. I therefore maintain my borderline score and leave the final balance to the AC.
Formatting concerns
N/A
1 comment
Rebuttal
Thank you very much for your thoughtful comments.
Regarding weaknesses:
- While we do not prove new criteria, we think that faster algorithms are useful, see for instance our answer to reviewer DKNE for potential uses.
- Thank you for pointing this out. While we agree that similar lemmas exist, there is a crucial difference that is important for our work. Namely, in the sum in item 1 of Proposition 1 (which is proved by Weihs et al., 2017), we sum over a set , which however can change over time, when more edges get identified. This will make it impossible to reuse prior computations in our rank-increasing method! In our new Theorem 1 (which uses Lemma 1), this is replaced by , which is a static set. This is a crucial difference, which is essential for our algorithm. We will point out the importance of this difference more clearly in our work, but will also explain that related methods exist in the literature and give clearer references to them.
- See answers to questions 1 and 2.
Regarding questions:
- See the answer to question 1 by reviewer DKNE.
- See the answer to question 2 by reviewer DKNE
- Our method and SEMID use the Tian decomposition exactly in the same way as a preprocessing step. The Tian decomposition is particularly effective when the graph has many Tian components. One can create such graphs by having the graph induced by the bidirected edges having many connected components, that is, the SCM has only very few bidirected edges (considerably less than there are nodes). Then SEMID and also our implementation treat each component separatly, since a graph is HTC identifiable iff all its Tian components are. When comparing SEMID to our impementation, the Tian decomposition does not play a role because, when there are many Tian components, it would mean that we simply compare on smaller input SCMs.
Regarding limitations:
We will point this out more clearly in the introduction.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents a faster algorithm for determining the generic identifiability of edge coefficients in linear structural causal models. Specifically, it improves the time complexity of checking the half-trek criterion from O(n^5) to O(n^4), and to O(n^3) for sparse graphs.
Strengths and weaknesses
Strengths
- The paper is easy to follow, everything is clearly represented.
- The contribution is clear, the deduction of the complexity.
- The comparison to the SEMID is provided.
Weakness
- The work is restricted to linear SCM, which most of the SCM is not.
- It out performed SEMID, and do have a O(n^4) time complexity, but lack of evidence that the time complexity makes a different in applications. To my best knowledge, this complexity of determine this identifiability is not the bottle neck in causal inference tasks.
- the contribution is clear, but limited in my point.
Questions
- any evidence that the new complexity makes the difference, such as the SEMID cannot do in practice?
- How about the extension to the near linear SCMs?
Limitations
- I recommend the author talks about the limitations to the linear SCM settings.
Final justification
The authors fail to provide an example demonstrating that the complexity improvement from O(n^5) to O(n^4) actually makes a meaningful difference in decision support for linear SCMs. Instead, their rebuttal emphasizes the importance of linear SCMs, which does not address my concern. While I acknowledge the complexity improvement as a contribution, I still consider it incremental for a NeurIPS paper. Therefore, I still lean toward rejection of the paper and maintain my current assessment.
Formatting concerns
N/A
4 comments
Rebuttal
Thank you very much for your thoughtful comments.
Regarding weaknesses:
While there are surely areas where most SCMs are not linear, there many also areas where linear SCMs (also called linear SEMs) appear frequently, including econometrics, genetics and systems biology, or psychology. In particular, Wright's trek rule, which goes back to the 1930s, is particularly designed for linear SEMs/SCMs.
Answer to questions:
-
Even if two algorithms identify exactly the same set of causal effects, a faster one may make a difference when working with large networks like gene regulatory networks. While they are not solved as a whole, they are broken into many coupled sparse linear SEMs, so that any gain in speed is multiplied by the large number of instances solved. Another application could be interactive settings when one wants to design an experimental setup interactively, even a small one, and check for identifiability. When one wants to solve a problem only once, one might be willing to wait a few minutes or even hours, but not in an interactive setting.
-
HTC requires a linear framework with Gaussian noise. In can be shown that, under these assumptions, identification means that the equations given by the matrix equation (1) in our paper have a unique solution generically. Therefore, the only way to apply our algorithm, as well as SEMID, since they both implement the same criterion, is to approximate the near linear SCM by a linear one and then identify there and try to transfer the results back.
Regarding limitations:
We will address the linearity assumption more clearly in the paper.
Thank you for the rebuttal. While I appreciate the clarifications, my main concerns remain. The rebuttal explains why a faster algorithm could be useful, but it does not provide evidence that the improved complexity leads to meaningful practical benefits or enables applications that existing methods cannot. I believe this is extremely important given the contribution is limited in linear SCMs. Therefore, my overall assessment on significance and the score remain unchanged.
As we mentioned before, interactive applications require fast algorithms. One could consider an interactive editor which allows a user to draw and change a linear SCM interactively and the user gets immediate feedback whether the current SCM is HTC-identifiable. If one wants to check HTC-identifiability in an interactive manner, then is too slow, even though it is polynomial-time. For instance, for linear SCMs with size , our algorithm requires only < 0.02 sec while SEMID already needs > 1.5 sec. According to Nielsen (1993), 0.1 sec is the limit for users to perceive the system as reacting instantaneously and we are well below this; while SEMID is already over the limit of 1 sec, which is necessary for maintaining the user's flow of thought without significant interruption (Nielsen, 1993, Chapter 5). We stay below 0.1 sec until .
Nielsen, J. Usability Engineering, Academic Press, 1993.
And in general: Why should I wait longer, if I can have the same result faster?
Furthermore, although linear structural causal models (SCMs), also called linear structural equation models (SEMs), are of course a special case of general SCMs, they remain very important in many fields, including machine learning. Linear SCMs are easier to analyze mathematically and are often used to develop and understand basic ideas in causal inference.
The classical textbook Structural Equations with Latent Variables by Kenneth A. Bollen (1989) is mainly concerned with linear SEMs and their applications in econometrics, sociology, psychology, and other fields. Likewise, large parts of Principles and Practice of Structural Equation Modeling by Rex B. Kline (2023) focus on linear SEMs, although it also discusses more general causal models. Linear SCMs also appear in the causal inference literature. For example, Pearl's Causality contains several chapters devoted to linear SCMs. Similarly, Elements of Causal Inference by Peters, Janzing, and Schölkopf discusses linear SCMs before moving to nonlinear and non-Gaussian models.
From the literature on linear SCMs that we cite in our paper, ten have appeared in top venues in AI and ML like NeurIPS, ICML, or AAAI and the original paper on HTC appeared in Annals of Statistics, a top venue in statistics.
Thank you for the additional clarification. The runtime comparison demonstrates that the proposed algorithm can be beneficial in interactive settings. However, I do not find this evidence sufficient to substantially change my assessment of the paper's significance. In my view, reducing the complexity from O(n^5) to O(n^4), resulting in a runtime improvement from approximately 1.5 seconds to below 0.02 seconds for this particular task, does not convincingly demonstrate a practical impact that would change decision support or enable applications that were previously infeasible.
I also want to clarify that my concern is not that linear SCMs are unimportant, those papers you mentioned make great contributions in Linear SCM. Rather, my concern is that the contribution is an incremental improvement within the setting of linear SCMs. The response largely discusses the importance and widespread use of linear SCMs, whereas my concern is about whether the proposed complexity improvement itself constitutes a sufficiently significant advance under the linear settings.
Therefore, while I acknowledge the contribution, it is still incremental to my current assessment, my overall assessment remains unchanged before AC-reviewer discussion.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a faster randomized algorithm for checking the half-trek criterion (HTC) in linear structural causal models with latent confounding. The key idea is to reformulate the relevant half-trek conditions as generic invertibility of residualized covariance matrices, enabling finite-field rank computations and incremental row-echelon updates instead of repeated max-flow checks. The resulting algorithm runs in time in general and time for sparse directed graphs. Experiments against SEMID show substantial speedups while returning the same HTC-identifiable edge sets on the tested synthetic graphs.
Strengths and weaknesses
Strength
The paper addresses a concrete computational bottleneck in linear SCM identifiability by accelerating the half-trek criterion, a standard sufficient criterion for generic identifiability. The proposed reformulation from repeated combinatorial searches to randomized rank computations on residualized matrices is clean and algorithmically effective, especially because the row echelon forms can be maintained incrementally as new eligible nodes become available. The theoretical analysis is also solid, covering the required equivalence, correctness, runtime, and error probability of the randomized algorithm. The empirical comparison with SEMID further supports the main efficiency claim, showing substantial speedups while returning matching HTC-identifiable edge sets on the tested graph families.
Weakness
- The main contribution is computational rather than identifiability-theoretic. The proposed method does not appear to identify more edges or more graphs than existing HTC/edgewise HTC criteria. Instead, it provides a faster way to check essentially the same criterion. This is useful, but it limits the conceptual impact of the work.
- The novelty of the matrix-based reformulation could be positioned more carefully. The connection between trek-like graphical conditions and rank or determinant conditions is a known theme in the linear SEM literature. The paper’s residualized formulation is important for the proposed incremental algorithm, but the authors should more explicitly distinguish which parts are new technical contributions and which parts are adaptations of existing algebraic ideas.
- The edgewise HTC extension is not developed to the same level as the standard HTC algorithm. Since edgewise HTC can be strictly more powerful than standard HTC, a more complete treatment would strengthen the paper. In particular, the current discussion would benefit from explicit pseudocode, a detailed runtime analysis, and experiments for the edgewise version.
- The experimental evaluation is somewhat narrow. The benchmarks focus on synthetic graph families and runtime comparisons. It would be helpful to include additional graph regimes, such as denser graphs, graphs where HTC partially succeeds, and cases where Tian decomposition substantially changes the problem size. This would clarify when the practical speedup is largest or smallest.
- The randomized nature of the method is well analyzed, but the implications for large-scale or edgewise use could be clearer. In particular, when many rank tests are performed across many candidate parent subsets, the cumulative failure probability may become more relevant than in the standard HTC setting.
Questions
- Does the proposed edgewise extension preserve the same asymptotic advantage over existing implementations when all relevant subsets are considered? Can the authors provide full pseudocode and a detailed complexity bound for this case?
- How does the randomized error probability scale in the edgewise setting, where potentially many more matrix-rank tests are performed? Would repeated runs still be sufficient in practice for graphs with high indegree?
- Can the authors clarify whether the speedup comes mainly from the new incremental rank-maintenance idea, from the finite-field implementation, from Tian decomposition, or from a combination of these factors? An ablation would be useful.
- Are there graph families where the proposed method provides little or no practical speedup over SEMID? Conversely, are there graph structures where the speedup is especially large?
Limitations
Yes
Final justification
The rebuttal substantially clarified the technical contribution and addressed many of my concerns. I now view the work as technically solid and sufficiently original. My remaining reservation is primarily about significance, since the contribution is mainly an acceleration of an existing identifiability criterion. On balance, I believe the paper is worthy of acceptance, and I therefore maintain my original overall rating.
Formatting concerns
Some figure captions and text in the algorithm appear to use a noticeably smaller font than the main text. The authors should ensure that all captions follow the official NeurIPS 2026 style file and have not been manually reduced in size.
2 comments
Rebuttal
Thank you very much for your thoughtful comments.
Regarding weaknesses:
-
Although we do not provide any new identification criteria, finding more efficient algorithms has been an important theme of computer science since its early days. Even if two algorithms identify exactly the same set of causal effects, a faster one may make a difference when working with large data sets, for instance, biological networks like large gene regulatory networks. These are often broken into many coupled sparse linear SEMs, so that any gain in speed is multiplied by the number of instances solved. Moreover, faster algorithms can be used in interactive settings.
-
Thanks for pointing this out, we will state more clearly which of our matrix reformulations are new and compare them more thoroughly with the existing ones.
-
Thanks for the helpful feedback. We thought that Section 4.3 would be sufficient, but we agree that we have assumed too much background knowledge on how HTC works. We have spelled out the details, including pseudocode, in the answer to question 1.
-
We use the same experimental setup that is used by Foygel et al. [2012]. (The reference is cited in our paper). We increase the density of edges up to the point when no edge is identifiable (for , this happens for about half of the generated graphs). The running time of the algorithms is fairly independent of the graph structure, unless the Tian decomposition breaks it into many parts. But then this is just like having a smaller instance.
-
See the answer to question 2
Answers to questions:
-
Yes, the edgewise extension preserves the same asymptotic advantage over the SEMID implementation. This can be achieved by iterating over all allowed subsets of parents, instead of only considering the subset that contains all parents. More precisely, our algorithm can be extended to decide the edgewise criterion as follows:
Instead of one matrix per node, we now maintain a matrix in row echelon form per node and considered subset of parents. Further, instead of maintaining the set of eligible per node (stored in the set ), we now maintain the set of eligible per node and considered subset of parents (now stored in a set ). According to Theorem 1, a node is eligible for a node and a subset of 's parents if all treks from to either end in edges , that are already identified or for which , or begin in identified edges . This condition can be checked by the following case distinction: If 's parent , then is only eligible once is identified. If 's parent , then is only eligible if or once is identified. Further, we consider all pairs of 's parents and 's parents . If there is a trek between and (holds if is nonzero), then is only eligible if , or once or is identified. Similarly to how we maintain the in Algorithm 1, we can incrementally maintain the by re-checking this condition whenever a new edge is identified.
In our Algorithm 1, lines 1-4 remain unchanged for the edgewise case. Analogously to lines 5-7, we initialize the (according to the previously described condition) and add all rows for that are initially in . The pseudocode for the remaining algorithm is as follows:
8: For all such that has full rank, we add the pair to
9: while is nonempty
10:
11: If all for are already identified, continue
12: Mark for as identified
13: . Iterate over , check for which subsets became eligible now and integrate 's row into the respective row echelon forms.
The part of the loop from line 12 on is executed at most times. The bottleneck of the algorithm for the HTC is computing the rows of the matrices and integrating rows into the row echelon form. The time complexity of this for a single matrix does not change, so since we now have instead of such matrices, the running time is simply multiplied by , so the overall running time is in general and in the sparse case.
For edgewise HTC, SEMID implements algorithm 1 of the paper by Weihs et al. [2017]. (The reference is cited in our paper.) The outermost loop (line 2) iterates over all edges, the next loop (line 3) over all vertices. The loop in line 6 iterates over all subsets of , which are many. Then a max-flow computation is performed, which takes time . Therefore, the overall running time is . Thus, we get an even better speed up for our algorithm in the edgewise case as .
We will add the pseudocode as well as a runtime analysis to the paper.
-
Astonishingly, it will only have a small effect on the error probability. The reason is the following: The error that our implementation makes is always one-sided. If we identify an edge, then the chosen random numbers give a proof that the matrix ranks are full and we can identify. The only error occurs when we fail to identify an edge, because we have chosen bad random numbers and the computed rank is not maximal, but the rank as a polynomial matrix is. When we iterate over all subsets in the code above, for the error analysis, we can disregard all iterations over subsets, where the identification fails, because the polynomial matrix does not have full rank. No matter whether the random numbers are good or bad, the rank will not be maximal. We only need to estimate the error when an edge is identified for the first time. This happens at most times for each node . So the number of identity tests that we have to pass correctly is only multiplied by the maximum indegree of a node, which is at most . For the theoretical analysis (Theorem 2), this does not make a difference since the additional contribution will be subsumed in the big-Oh, the practical estimates in Appendix B will get a little worse but are still reasonably small enough.
We will add a corresponding lemma to the paper.
-
The main speed-up comes from the incremental rank-maintenance idea, which prevents that work is done more than once. However, the finite field idea is an important catalyst for the incremental rank-maintenance idea. Without it, the speed-up would be nullified by the growth of coefficients in the linear algebra computations. (The bitsize of the matrix entries would only grow polynomially but would not fit into built-in integers or registers of a word-RAM anymore.) The Tian decomposition has no impact compared to SEMID, since SEMID also uses it. It does give a speed-up in general, since it can break a large graph into smaller pieces. But our algorithm and SEMID both use it. Thanks for pointing this out, we will address this more clearly in the paper.
-
We are not aware of any such classes in general. It is also quite unlikely that such classes exist, since the actual graph structure does not seem to play a big role. Our algorithm depends on the number of edges, but not where they appear. SEMID consists of two nested for-loops with a max-flow computation inside. The running time of SEMID is always at least , even if no edge is identifiable (which is the best case for SEMID). The only exceptional case is when there are very few bidirected edges (considerably less than there are nodes). Then we have many Tian components. In this case, we run the algorithm on many small instances and then the speed-up is the speed-up achieved on these instances.
Thank you for the detailed rebuttal. The rebuttal and the authors’ replies to other reviewers address several of my technical concerns, including the edgewise HTC extension, the novelty of the matrix reformulation, and randomized error analysis. These clarifications make me more positive about the technical contribution and completeness of the work, so I will update my originality score from 2 to 3. However, my overall significance assessment remains unchanged: the work is solid and worthy of acceptance, but its contribution is still primarily an acceleration of an existing identifiability criterion. I therefore maintain my original overall rating.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Just to make sure: We believe that the questions raised in the meta-review have already been addressed in our responses to the reviewers (in particular to reviewer DKNE) and that no further clarification is needed. Please let us know if there are any outstanding questions.