
TL;DR
This paper introduces a new two-stage group testing algorithm using hypergraph methods, achieving near-optimal test efficiency for large sample sets and addressing partial defect detection.
Contribution
The paper presents a novel hypergraph-based algorithm for two-stage group testing that improves known bounds and achieves near-optimal performance for large sample sizes.
Findings
Achieves the information-theoretic lower bound for s=2 as t→∞.
Improves known results for fixed s and large t.
Addresses the problem of identifying m out of s defectives.
Abstract
Group testing is a well-known search problem that consists in detecting of defective members of a set of samples by carrying out tests on properly chosen subsets of samples. In classical group testing the goal is to find all defective elements by using the minimal possible number of tests in the worst case. In this work, two-stage group testing is considered. Using the hypergraph approach we design a new search algorithm, which allows improving the known results for fixed and . For the case this algorithm achieves information-theoretic lower bound on the number of tests in the worst case. Also, the problem of finding out of defectives is considered.
| 3 | 4 | 5 | 6 | |
|---|---|---|---|---|
| old | 0.199 | 0.145 | 0.114 | 0.094 |
| new | 0.3219 | 0.199 | 0.145 | 0.114 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A New Algorithm for Two-Stage Group Testing
Ilya Vorobyev
Center for Computational and Data-Intensive Science and Engineering,
Skolkovo Institute of Science and Technology
Moscow, Russia 127051
Advanced Combinatorics and Complex Networks Lab,
Moscow Institute of Physics and Technology
Dolgoprudny, Russia 141701
Email: [email protected]
Abstract
Group testing is a well-known search problem that consists in detecting of defective members of a set of samples by carrying out tests on properly chosen subsets of samples. In classical group testing the goal is to find all defective elements by using the minimal possible number of tests in the worst case. In this work, two-stage group testing is considered. Using the hypergraph approach we design a new search algorithm, which allows improving the known results for fixed and . For the case this algorithm achieves information-theoretic lower bound on the number of tests in the worst case. Also, the problem of finding out of defectives is considered.
I Introduction
Group testing problem was introduced by Dorfman in [1]. Suppose that we have a population of items(samples), some of which are defective. Our task is to find all defective items by performing a minimal number of tests. The test is carried out on a properly chosen subset (pool) of the set of samples. The test outcome is positive if the tested set contains at least one defective element; otherwise, it is negative. In this work consider the noiseless case, i.e., the outcomes are always correct.
In group testing, two types of algorithms are usually considered. In adaptive group testing, at each step the algorithm decides which group to test by observing the responses of the previous tests. In non-adaptive algorithm, all tests are carried out in parallel. Multistage algorithm is a compromise solution to the group testing problem. In -stage algorithms all tests are divided into stages. Tests from the th stage may depend on the outcomes of the tests from the previous stages.
Define to be the minimal worst-case total number of tests needed to find all defective members of a set of samples using at most stages. Also define the optimal rate of -stage search algorithm as
[TABLE]
By the similar way we define the rate of fully adaptive algorithms.
In many applications, it is much cheaper and faster to perform tests in parallel, but non-adaptive algorithms require far more tests than adaptive ones. More precise, for non-adaptive algorithms it is known [2, 3] that . In contrast, adaptive algorithms allow to achieve the rate . Rather surprisingly, for 2-stage algorithms it was proved that tests are already sufficient [4, 5, 6]. This fact emphasizes the importance of multistage algorithms.
I-A Previous results
We refer the reader to the monographs [7, 8] for a survey on group testing and its applications. In this paper, only the number of test needed in the worst-case scenario is considered. For the problem of finding the average number of tests we refer the reader to [9] for and to [10, 11] for .
For non-adaptive algorithms the best known asymptotic () lower [6] and upper [12] bounds are as follows
[TABLE]
In addition, we refer to the work [13], where the best lower and upper bounds on were established
[TABLE]
For the case of -stage algorithms, , the only known upper bound is information-theoretic one
[TABLE]
Group testing algorithms with 2-stages can be constructed from disjunctive list-decoding codes [14] and selectors [4]. Both approaches provide the bound , but best results for disjunctive list-decoding codes give a better constant [12]
[TABLE]
For the specific case the best result was obtained in [15]
[TABLE]
All of the lower bounds mentioned above were probabilistic. We want to refer to 2 constructive lower bounds for the case . In [16] the authors obtained a 2-stage algorithm with rate . In [17] an explicit 4-stage testing scheme with the rate was constructed. This bound matches the information-theoretic upper bound, i.e. the presented 4-stage algorithms allow to achieve the same rate as a fully adaptive algorithm.
The aim of this work is a further development of the bounds on the rates .
I-B Outline
In Section II, we introduce the notation and describe the hypergraph approach to group testing problem. In Section III, we establish Theorem 1 which states . This result means that 2-stage testing schemes can achieve the same rate as fully adaptive algorithms for . Theorem 4 proved in Section IV is a generalization of Theorem 1 for the case of an arbitrary number of defectives. Numerical results and comparison with the best previously known bounds are presented in Table I. In section V, we consider the problem of finding out of defective elements. Theorem 5 shows that we can find defective elements with the rate . Finally, Section VI concludes the paper.
II Preliminaries
Throughout the paper we use and for the number of elements and defectives, respectively. By we denote the set . The binary entropy function is defined as usual
[TABLE]
A binary -matrix with rows and columns
[TABLE]
is called a binary code of length and size . The number of ’s in the codeword , i.e., , is called the weight of , and parameter , , is the relative weight. The quantity is called the rate of the code .
Represent non-adaptive tests with a binary matrix in the following way. An entry equal if and only if th element is included in th test. Let denote the disjunctive sum of binary columns . For any subset define the binary vector
[TABLE]
which later will be called the outcome vector. By , , denote an unknown set of defects.
In the sequel, we consider 2-stage search algorithms. During the first stage, some pools are tested in parallel. Tests for the second stage depend on the outcomes of the first stage.
Let us describe the hypergraph approach to group testing problem. Suppose that we use a binary matrix at the first stage. As a result of performed tests we get the outcome vector . Construct a hypergraph in the following way. The set of vertexes coincides with the set of samples . The set of edges consists of all sets , , such that . In other words, the set of edges of the hypergraph represents all possible defective sets of size . We want to design such a matrix for the first stage of an algorithm that the hypergraph has some good properties, which will allow us to quickly find all defectives at the next few stages.
We can describe previously known algorithms using this terminology. Disjunctive list-decoding codes and selectors give a binary matrix such that the hypergraph has only a constant amount of edges for all possible outcome vectors . Then we can test all non-isolated vertices individually at the second stage. In the algorithm from [16] the degree of all vertices of the graph is at most 1. This fact allows dividing vertices into 2 parts, each containing exactly one defective. In the algorithm from [17] the graph has a small chromatic number, which also allows finding defectives quickly.
We design a new sufficient condition on matrix to guarantee that the hypergraph has a constant amount of edges. Our condition is weaker than conditions for selectors or disjunctive list-decoding codes and allows to construct matrices with a higher rate. A step-by-step description of our algorithm is as follows:
Take a binary matrix such that the hypergraph has only a constant amount of edges for all possible outcome vectors . Use as a testing matrix at the first stage. 2. 2.
Using the outcome vector construct the hypergraph . 3. 3.
Test all non-isolated vertices of the hypergraph at the second stage.
We perform only a constant amount of tests at the second stage, therefore, the asymptotic() rate of such scheme is equal to the asymptotic rate of the code . Lower bounds on the rate of such codes are derived in Theorem 1 for and in Theorem 4 for .
III Algorithm for 2 defectives
We apply the algorithm described in the previous section to the case . Note that in this case, we have a graph instead of hypergraph .
Theorem 1**.**
**
As it was mentioned before, this bound matches the bound for a fully adaptive algorithm. In addition, the algorithm from this theorem can be used to find not only defectives but also at most defectives. But to keep things simple, here we consider only the case of exactly 2 defectives.
Proof of Theorem 1.
Consider a random matrix of size , each column of which is chosen independently and uniformly from the set off all columns of weight , . To keep the notation simple, we ignore the fact that may not be an integer. Fix the constant and consider a graph , where vector is from .
Call the index a -bad index of the first type if the degree of the vertex in the graph is at least . Call the index a -bad index of the second type if in the graph the vertex is included in some matching, which contains at least edges. Recall that matching is a set of edges without common vertexes. Finally, call the index a bad index if there exists a vector such that is a -bad index of the first or the second type.
The following two propositions imply the theorem.
Proposition 1**.**
If the maximum vertex degree and the maximum cardinality of a matching in a graph are less than , then .
Proposition 2**.**
For any and , there exists an integer such that for the mathematical expectation of the number of bad indexes less than for big enough.
Let us show how the Theorem 1 can be deduced from these two propositions. Indeed, take the parameters , , from Proposition 2. Thus, for big enough there exists a matrix without bad indexes. It means that for any outcome vector graph does not contain a matching of size at least or a vertex with a degree at least . Applying the Proposition 1 to the graph , we conclude that it has less than edges. Using the matrix as a testing matrix at the first stage we obtain a search procedure with asymptotic rate at least .
Now we prove propositions 1 and 2.
Proof of Proposition 1.
Fix an arbitrary maximum matching , , in the graph . Denote the set of endpoints of as , . Since is a maximum matching, every edge has at least one endpoint in the set . Therefore, the total number of edges is upper bounded by
[TABLE]
∎
Proof of Proposition 2.
Denote the event that a fixed index is a -bad index of the first(second) type for some outcome vector as (). The probability for a vector of weight can be upper bounded by the probability that there exists a non-ordered collection of other vertices , , …, , such that the graph contains edges for , therefore,
[TABLE]
where is a probability that for some index the equation holds.
The probability for a vector of weight is at most the probability that there exists an ordered collection of other vertices , , …, , such that the graph contains edges for , and an edge . Hence,
[TABLE]
where is a probability that for some indexes the equation holds true.
Therefore, the mathematical expectation of the number of bad indexes can be upper bounded as follows
[TABLE]
Take such that , . Then the mathematical expectation of the number of bad indexes is less than
[TABLE]
To finish the proof of the proposition it is sufficient to show that and for all . It is easy to see that , hence it is enough to verify the inequality .
Taking the logarithm and dividing by , we obtain
[TABLE]
For the maximal value of the left-hand side is equal to , therefore, the inequality holds.
∎
The theorem is proved. ∎
IV Algorithm for defectives
To construct a matrix for the first stage of our algorithm for we must introduce some new notions. Fix an integer and consider a -uniform hypergraph . Call the set of edges a -bad configuration if , , for any and . In other words, -bad configuration consists of edges such that the intersection of every two edges is the same set of size . Call a code a -good code, , if the hypergraph doesn’t contain a -bad configuration for any outcome vector and integer . Let be the minimal length of -good code of size . The asymptotic rate of -good code is defined as follows
[TABLE]
Denote the limit by .
The following lemma demonstrates the connection between -good codes and two-stage group testing problem.
Lemma 2**.**
[TABLE]
Proof of Lemma 2.
Use -good code of size as a test matrix at the first stage. Then for any outcome vector hypergraph doesn’t contain -bad configurations for .
Proposition 3**.**
If a -uniform hypergraph doesn’t contain -bad configurations for , then the number of edges is at most , where doesn’t depend on .
Proof of Proposition 3.
Suppose, seeking a contradiction, that a hypergraph without bad configurations contains more than edges. Exact formula for will be specified later. Construct a complete graph , which vertex set corresponds to the edges of hypergraph . Color the edge of the graph in color , if the cardinality of the intersection is equal to , .
Recall that Ramsey number is a minimal integer such that if the edges of a complete graph are colored with different colors, then for some between and , the graph must contain a complete subgraph of size whose edges are all color . Here we need only the fact that the number exists.
Take . Then for some there exists a set of edges , …, from the hypergraph such that for any .
Consider an edge . Any other edge from the set has common vertexes with . Taking , we obtain that some vertexes belong to another edges from the set . But then the set of edges forms bad configuration of type . This contradiction proves the proposition. ∎
Using Proposition 3 we conclude that the hypergraph has at most edges. Thus, we can find all defectives by testing all non-isolated vertices individually at the second stage. The number of tests at the second stage doesn’t depend on the number of elements , therefore, taking limits and we obtain the inequality (8).
∎
To obtain a lower bound on the rate we use a random coding method.
Lemma 3**.**
Define a function
[TABLE]
where is a unique root of the equation
[TABLE]
Define as follows.
[TABLE]
where
[TABLE]
[TABLE]
Then
[TABLE]
The proof of this lemma can be found in the Appendix.
Theorem 4**.**
[TABLE]
The best previously known lower bounds for the case are given by disjunctive list-decoding codes with the length of the list [12]. In Table I we compare bounds given by Theorem 4 with the best previously known lower bounds.
Note that the new lower bound for defective elements coincides with the old lower bound for defective elements. It is easy to show that -good code is a -disjunctive list-decoding code with a list of size . Therefore, a new bound for defectives can’t be better than an old bound for defectives. In particular, it means that a new algorithm doesn’t improve the previously best known bound for .
V Finding out of defectives
The technique developed in the previous sections can be used to find only part of the defectives. Suppose that we want to find only out of defectives. Define to be the minimal worst-case total number of tests needed to find out of defective members in a set of samples using at most stages. Also define the optimal rate of -stage search algorithm as
[TABLE]
The problem of finding out of defectives with the help of non-adaptive algorithms was formulated in [18] for and in [19] for the general case. The best results were obtained in [20, 21], where the following bound was proved
[TABLE]
for some constants and .
For two-stage algorithms, we don’t know if it is possible to find all defectives with the rate . But it turns out that we can find at least half of the defectives with this rate.
Theorem 5**.**
[TABLE]
Proof of Theorem 5.
This proof is based on the following technical lemma.
Lemma 6**.**
[TABLE]
The proof of this lemma is postponed to the Appendix. Let us show how it implies the theorem. Use -good code of size as a test matrix at the first stage. Then for any outcome vector hypergraph doesn’t contain -bad configurations for . Form subset of edges such that for every the intersection has at most vertices, and for every , the intersection has at least vertices. Such subset can be constructed greedily by adding edges one by one while it is possible. At the second stage we test all non-isolated vertices of the hypergraph . At least vertices of every edge will be tested by construction of , thus, we will find at lest defectives. The number of tests at the second stage is upper bounded by . The hypergraph doesn’t contain any -bad configurations for . Using Proposition 3 we conclude that . Therefore, the number of tests at the second stage doesn’t depend on the total number of elements . Taking limits and and using lemma 6 we obtain the desired inequality (16). ∎
VI Conclusion
A new algorithm for two-stage group testing was proposed, which improves previously known results. For the case of 2 defectives, this algorithm has the optimal rate 0.5. Also, a two-stage algorithm which finds at least half of the defectives with the rate was constructed.
Development of the algorithm, which will achieve the optimal rate for the number of defectives greater than 2, is a natural open problem. Another interesting task is to obtain an upper bound on the rate , , which is stronger than information-theoretic bound .
We note that the technique used in this paper could be also applied to other group testing models, such as, for example, symmetric or threshold group testing.
VII Acknowledgement
I. Vorobyev was supported in part by RFBR through grant nos. 18-07-01427 A, 18-31-00361 MOL_A.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Dorfman, “The detection of defective members of large populations,” The Annals of Mathematical Statistics , vol. 14, no. 4, pp. 436–440, 1943.
- 2[2] A. G. D’yachkov and V. V. Rykov, “Bounds on the length of disjunctive codes,” Problemy Peredachi Informatsii , vol. 18, no. 3, pp. 7–13, 1982.
- 3[3] M. Ruszinkó, “On the upper bound of the size of the r-cover-free families,” Journal of Combinatorial Theory, Series A , vol. 66, no. 2, pp. 302–310, 1994.
- 4[4] A. De Bonis, L. Gasieniec, and U. Vaccaro, “Optimal two-stage algorithms for group testing problems,” SIAM Journal on Computing , vol. 34, no. 5, pp. 1253–1270, 2005.
- 5[5] A. Rashad, “Random coding bounds on the rate for list-decoding superimposed codes,” Problems of Control and Information Theory , vol. 19, no. 2, pp. 141–149, 1990.
- 6[6] A. G. D’yachkov, “Lectures on designing screening experiments,” ar Xiv preprint ar Xiv:1401.7505 , 2014.
- 7[7] D. Du, F. K. Hwang, and F. Hwang, Combinatorial group testing and its applications . World Scientific, 2000, vol. 12.
- 8[8] F. Cicalese, Fault-Tolerant Search Algorithms , ser. Monographs in Theoretical Computer Science. An EATCS Series. Springer Berlin Heidelberg, 2013.
