- Rating
- 5
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
This paper introduces a new method of applying the mini-batch k-means algorithm to kernelized k-means. To save computation, it proposes a way of truncating which points are consideration if they were used in batches too far in the past. The paper gives theoretical and experimental results.
Strengths and weaknesses
-
The examples in figure 2 are not highly compelling. The image segmentations are fairly noisy, and it's unclear how many clusters are being used.
-
There has been work to accelerate kernel k-means with distance bounds (using triangle inequalities to bound how center movements affect point-center distances), and I think that that work could possibly combine with mini-batch k-means. It would be good to mention this as well.
-
Line 61: "Applying the mini-batch approach for kernel k-means is even more difficult because the assumption that cluster centers are always the mean of some subset of X in feature space no longer holds." -- this is an incorrect, or at least misleading, statement. The centers are the mean of some subset of X that has been mapped to the feature space H.
-
"This is a considerable speedup compared to the best known quadratic update time." This is true because b < n, but it is not because of the derivation (which is how the sentence reads). The asymptotic complexity of O(n(b+k)) is really no different than the standard quadratic formulation. In other words, if b = n, then they have the same asymptotic complexity of O(n^2).
-
Line 202: "from i to i-t" -- it feels more natural to me to use increasing order, so "from i-t to i" would read better.
-
Line 203: "It is the case that ... <= \tau + b" -- this is not obvious to me.
-
The proof of Lemma 4.1 is unclear:
- what allows the first equality?
- explain why the product (inside the norm) is upper-bounded by e^{-\sum}
- it's not clear at all why \sqrt{\tau / b} is greater than or equal to \ln(28\gamma / \epsilon).
- the second-to-last quantity has \ln(\epsilon / 28 \gamma), which could be misinterpreted as \ln((\epsilon / 28) \gamma). Extra parentheses would help here.
-
Somehow I read almost the entire paper before I realized that the proposed algorithm is keeping explicit representations for the cluster centers in the feature space (rather than employing the kernel trick). This point is made around line 61, but that point is much too subtle (and I disagreed with it the first time I read it, so I thought that the claim was incorrect). The point needs to be justified and emphasized. Further, it becomes unclear how something like an infinite-dimensional feature space (e.g. with a Gaussian kernel) could be used with the proposed formulation without the kernel trick.
The proposed algorithm can be implemented via the kernel trick. Suppose that c represents the previous center, and c' represents the center of mass based on a new batch. Then ||x - a*c - (1-a)c'||^2 can be written using only inner products between x, the points that comprise c, and the points that comprise c'. And the proposed algorithm could still truncate "old" points (those whose contribution disappears) in much the same way (by pruning the members of the old "c"). This would permit the algorithm to use the kernel trick exclusively.
-
The paper defines f_x(C), but never uses it in the paper (only in the appendix).
-
There are 3 claims given in Theorem 1.1, but after reading the paper only the first claim appears to be addressed in the paper (but not proven). The second claim is not addressed within the paper itself (it is in the appendix). The third claim is never supported in either.
-
There is no conclusion section in the paper.
-
The paper claims that the algorithm halts in O(1) iterations, but does not provide an experimental evaluation of that claim (all experiments run for a fixed number of iterations).
Questions
The key question I have is about whether the proposed algorithm actually uses the kernel trick, or instead keeps explicit centers in the feature space. The exposition of the paper leaves this unclear to me.
Limitations
The primary limitation of this paper is how effectively it can communicate the correctness of the proposed method, as well as the method with clarity enough to replicate the work (see my comments earlier about being uncertain about use of the kernel trick).
Paper formatting concerns
Typo on line 127: "The authors do not"
Final justification
I have considered the rebuttals from the authors, especially the clarifications on the kernel trick and the proof of Lemma 4.1.
Thank you for the positive evaluation and constructive feedback.
We would be happy to remove this figure if that is the consensus of the reviewers. In previous iterations, we were advised to include a qualitative demonstration of the difference between k-means and kernel k-means. The number of clusters shown in the figure was taken from the number of ground-truth clusters.
We would be happy to reference this work. Are you referring to Section 5 of Kernel k-means, Spectral Clustering and Normalized Cuts?
You are correct for full-batch kernel k-means and for the initial centers of mini-batch kernel k-means when using k-means++ initialization. However, after the mini-batch updates begin, the learning-rate-weighted centers are not generally equal to the unweighted mean of a subset of the input points. Instead, each center moves only part of the way towards the corresponding batch mean.
We will revise the wording to make clear that the speedup comes from operating in the regime b≪n, rather than from the algebraic derivation alone. In the regime established by Theorem 1.1, b grows only logarithmically with n. Thus, the case b=n is not the regime targeted by our theoretical result.
We will change this.
This is by the definition of Qij to be the smallest set of consecutive t indices up to i such that cluster j had at least tau points assigned. The upper bound follows because to achieve at least tau points we may include up to an extra b points in the sum (that is bij≤b for all i,j). For example, assume both b=10 and τ=20, then for some i it might be the case that bij=10 and bi−1j=9 and then the sum contains also bi−2j which is at most 10.
You are right that the proof should be clearer. We provide a detailed proof at the end of this rebuttal and will add it to the final version of the paper. The revised proof also reduces the dependence of τ on the logarithmic term from quadratic to linear.
We will add the parentheses.
We're not quite sure what you mean. We only store the linear combination coefficients for each centre, and don't try to represent points in feature space explicitly; this makes implementing our algorithm straightforward with the kernel trick. I think we are agreeing on the same thing but please elaborate if we are wrong.
We will move this definition to the appendix.
All three claims are proved, but you are right that their locations are not identified clearly:
We will make these references explicit in the final version of the paper.
We will add a conclusion section.
We thought running each algorithm for 200 iterations would be the fairest and most intuitive approach as this was almost certainly long enough for each method to converge. We did consider using early stopping for comparison instead, but controlling the effect of early stopping across the full batch and mini-batch algorithms with various batch sizes is not obvious. If you have a specific experimental evaluation in mind, we will be happy to add it.
Expanded proof of Lemma 4.1
Lemma 4.1. Setting $ \tau=\left\lceil b\ln\left(\frac{28\gamma}{\epsilon}\right)\right\rceil$, it holds that, for every i∈N and j∈[k],
Ci+1j−Ci+1j≤28ϵ.
Proof. Recall that Qij is the shortest consecutive suffix of iterations ending at iteration i during which at least τ points were assigned to cluster j. Thus, minQij is the earliest iteration retained in the truncated center. If minQij=1, then the truncated center equals the full center by definition, and the claim follows immediately. We therefore consider the remaining case, in which
minQij>1and∑ℓ∈Qijbℓj≥τ.
At each iteration ℓ, the center update is $ \mathcal{C}_{\ell+1}^j=(1-\alpha_\ell^j)\mathcal{C}_\ell^j+\alpha_\ell^j\operatorname{cm}(B_\ell^j). $ Starting from Ci+1j, we repeatedly substitute the update rule backwards through the iterations in Qij, stopping at minQij. This gives
Ci+1j=CminQijj∏ℓ∈Qij(1−αℓj)+∑ℓ∈Qijαℓjcm(Bℓj)∏z∈Qij,,z>ℓ(1−αzj).
The first term is the contribution of the center from before the retained updates. The truncated center discards exactly this term and retains the sum:
Ci+1j=∑ℓ∈Qijαℓjcm(Bℓj)∏z∈Qij,,z>ℓ(1−αzj).
Therefore, the identical sums cancel when the two centers are subtracted:
Ci+1j−Ci+1j=CminQijj∏ℓ∈Qij(1−αℓj).
Using 1−x≤e−x, we obtain
Ci+1j−Ci+1j≤CminQijjexp(−∑ℓ∈Qijαℓj).
Here, the inequality 1−x≤e−x is applied to each x=αℓj.
For every ℓ, we have
αℓj=bbℓj.
Since 0≤bℓj/b≤1, it follows that
bbℓj≥bbℓj.
Therefore,
∑ℓ∈Qijαℓj=∑ℓ∈Qijbbℓj≥∑ℓ∈Qijbbℓj≥bτ≥ln(ϵ28γ).
The second-to-last inequality follows from the definition of Qij, and the last follows from $\tau=\left\lceil b\ln\left(\frac{28\gamma}{\epsilon}\right)\right\rceil. $ Finally, CminQijj is a convex combination of points in X, so its norm is at most γ. Therefore,
CminQijjexp(−∑ℓ∈Qijαℓj)≤γexp(−ln(ϵ28γ))=28ϵ.