Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] time-aligned dimensionality reduction #54

Open
mglowacki100 opened this issue Feb 22, 2023 · 1 comment
Open

[feature] time-aligned dimensionality reduction #54

mglowacki100 opened this issue Feb 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mglowacki100
Copy link

Hi,
Really nice approach. Is it possible and relatively simple to implement in paradime time-aligned dimensionality reduction? (e.g. https://umap-learn.readthedocs.io/en/latest/aligned_umap_politics_demo.html, https://umap-learn.readthedocs.io/en/latest/aligned_umap_basic_usage.html, other approaches: lmcinnes/umap#966 ). It'd be great to have it as additional options in your grammar. If yes, could you provide some examples?

@einbandi
Copy link
Collaborator

einbandi commented Jun 5, 2023

Hi, sorry for the late reply. I guess it really depends on how the alignment should be done exactly. I see two main options.

  • Embed everything with a single model. This would require a temporal index and a second loss term that makes sure that representations with the same index remain close together. The trick here would be to get the sampling right. You could use the temporal index with negative edge sampling, but that could conflict with UMAP's required sampling.
  • Embed with two models that are optimized jointly. This is currently not supported at all and would entail major changes in how the optimization is set up behind the scenes.

With regards to the first option, I am currently thinking about how to make the sampling a bit more flexible. At the moment, there are only the two hard-coded sampling options (item- and edge-based). Giving users more control over the sampler would probably make experiments like this easier.

@einbandi einbandi added the enhancement New feature or request label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants