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

Curious About Subspace Size #35

Closed
Lqf-HFNJU opened this issue Sep 10, 2024 · 2 comments
Closed

Curious About Subspace Size #35

Lqf-HFNJU opened this issue Sep 10, 2024 · 2 comments

Comments

@Lqf-HFNJU
Copy link

Hi,

I'm curious about the choice of subspace sizes mentioned in the paper, which are set to 64(2^6) and 4096(2^12). What was the reasoning behind this specific configuration? Why not use two subspaces of the same size, such as both being 512(2^9)?

Thank you for your insights!

@ShiFengyuan1999
Copy link
Collaborator

Hi @Lqf-HFNJU. With two different subspace sizes (first 2^6 and second 2^12), we can first make a coarse classification and narrow down the search space, then make a precise classification in the reduced space. Moreover, this asymmetric token factorization introduces more learnable embeddings (64+4096 vs. 512+512), which increases the model capacity.

@Lqf-HFNJU
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants