Skip to content

This repository is for reproducing the experimental results in our manuscript submitted to IEEE TIT. An early version of this work have been presented in part at ICML'24.

Notifications You must be signed in to change notification settings

dassein/cycloid_em_tit

Repository files navigation

This repository contains the code used for reproducing the experimental results in our manuscript submitted to IEEE Transactions on Information Theory.

Setup

Required libraries: NumPy, Matplotlib

Clone the repository:

git clone https://github.com/dassein/cycloid_em_tit.git
cd cycloid_em_tit/code

Experiments

Detailed instructions on how to reproduce the experiments from the paper.

Experiment 1: Cycloid Trajectory of EM Iterations

To validate the Cycloid trajectories of EM iterations when $d=2, 3, 50$, use the following commands:

python trajectory_dim2.py
python trajectory_dim3.py
python trajectory_dimhigh.py

The results are shown in the figure below.

d=2 d=3 d=50

Experiment 2: Superlinear Convergence for 2 Mixtures

To show the super-linear convergence under high SNR regimes, use the following command:

python superlinear.py

The convergence curves are shown below. The slopes of lines at different SNR values consistently hover around 2 when the sub-optimality angle is large enough. superlinear

Experiment 3: Error of Mixing Weights and Angle

To demonstrate the linear correlation between the error of mixing weights and the angle, use the following command:

python mixingweight.py

The experimental results are depicted in the following figure. mixingweight

Experiment 4: Comparison with Different Mixing Weights

To show that the EM update for regression parameters is independent of the true mixing weights, and that the final error in mixing weights depends on the error in regression parameters and true mixing weights, use the following command:

python plot_iters.py

The experimental results align with our theoretical analysis, see the figure below. dists

About

This repository is for reproducing the experimental results in our manuscript submitted to IEEE TIT. An early version of this work have been presented in part at ICML'24.

Topics

Resources

Stars

Watchers

Forks

Languages