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

TaLK need to divide by the area of span? #2

Closed
gaopengcuhk opened this issue Jul 19, 2020 · 2 comments
Closed

TaLK need to divide by the area of span? #2

gaopengcuhk opened this issue Jul 19, 2020 · 2 comments

Comments

@gaopengcuhk
Copy link

Is it possible to divide the output of TaLK to the area of span?

area = (left_offset + right_offset) * kernel
output = integral / area

@lioutasb
Copy link
Owner

We tried normalizing by the size of the summed area (effectively making it an adaptive average pooling) but this normalization made the training unstable. We believe this is because we optimize the parameters ᾶ^l and ᾶ^r for both the optimal window size as well as bringing the magnitude of the representation down.

@gaopengcuhk
Copy link
Author

Thank you for your response.
However, without normalization, the output value will be very large as the window size increase.

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