Ok you might have caught the wind that I like dabbing with LSTM now. In my second paper on GPT-2 (details later!) reviewers noticed that the LSTM baseline performed surprisingly well and encouraged me to dig deeper. Here's a slide on LSTM limitations from the man himself: https://people.idsia.ch/~juergen/lstm/sld025.htm
In the modern world shooting sparrows with cannons means using context length 1024 and larger when you can fit your data into 128 time steps.
Yes, you can stack 5 MFCC time steps with no overlap no problem
Yes, you can stack 5 MFCC time steps with no overlap no problem
> We note that the models trained on uniformly distributed samples seem to perform the best amongst all the four distributions in all the three languages.
https://aclanthology.org/W19-0128.pdf
Let's find out if resampling my dataset is going to help with the data distributed like on the attached figure.
https://aclanthology.org/W19-0128.pdf
Let's find out if resampling my dataset is going to help with the data distributed like on the attached figure.
This video is definitely validating my anxieties when training models https://www.youtube.com/watch?v=p9IxoSkvZ-M
In our previous work we trained several GPT-style models on UberText 2.0 and found that
1. the bigger transformer the faster to train (applying Chinchilla scaling laws to Ukrainian datasets)
2. small transformers seem to struggle with context lookup, which we fix by constraining decoding
3. small multi-task decoder-only models lose to small encoder-decoder models pretrained more (possibly out of domain) data and finetuned on one task (in retrospect really hoped that one would not be true)
Please enjoy:
https://aclanthology.org/2023.unlp-1.4/
You can play with the models by doing
Since then we learned that context lookup (aka induction heads) requires 2^14 *tasks* in decoder-only models, and it's feasible using synthetic pretraining (Kirsch on GPICL 2022). We also learned a thing or two about learning rate schedules, like pretend convergences happen faster if you decay early (search for Vaswani on arxiv), Dmytro is currently playing with that on TPUs.
Now it's time to take all that to speech!
1. the bigger transformer the faster to train (applying Chinchilla scaling laws to Ukrainian datasets)
2. small transformers seem to struggle with context lookup, which we fix by constraining decoding
3. small multi-task decoder-only models lose to small encoder-decoder models pretrained more (possibly out of domain) data and finetuned on one task (in retrospect really hoped that one would not be true)
Please enjoy:
https://aclanthology.org/2023.unlp-1.4/
You can play with the models by doing
pip install haloop, see instructions in https://github.com/proger/haloopSince then we learned that context lookup (aka induction heads) requires 2^14 *tasks* in decoder-only models, and it's feasible using synthetic pretraining (Kirsch on GPICL 2022). We also learned a thing or two about learning rate schedules, like pretend convergences happen faster if you decay early (search for Vaswani on arxiv), Dmytro is currently playing with that on TPUs.
Now it's time to take all that to speech!
ACL Anthology
GPT-2 Metadata Pretraining Towards Instruction Finetuning for Ukrainian
Volodymyr Kyrylov, Dmytro Chaplynskyi. Proceedings of the Second Ukrainian Natural Language Processing Workshop (UNLP). 2023.
Oh, and metadata pretraining is awesome. Stop cleaning your data, let the transformer slurp it all in.
So far I'm struggling with preventing forgetting when shoving the model with real speech data after synthetic pretraining.
I decided to park that for now and come back to tuning the model. I have started multiplicative relative position encodings in encoder and decoder attention and left cross attention on its own.
Things I'd like to try to prevent cross attention drift:
1. use relative position encodings but interpolate token positions between speech frame positions (i must have seen this somewhere already)
2. put a gaussian window around every token with a learnable sigma. This idea is one year yonger than Alibi and uses a different additive attention bias: http://www.interspeech2020.org/uploadfile/pdf/Thu-3-10-8.pdf
I decided to park that for now and come back to tuning the model. I have started multiplicative relative position encodings in encoder and decoder attention and left cross attention on its own.
Things I'd like to try to prevent cross attention drift:
1. use relative position encodings but interpolate token positions between speech frame positions (i must have seen this somewhere already)
2. put a gaussian window around every token with a learnable sigma. This idea is one year yonger than Alibi and uses a different additive attention bias: http://www.interspeech2020.org/uploadfile/pdf/Thu-3-10-8.pdf
So the gaussian window around every token for speech paper does not mention how to compute the center of the gaussian.
I found an even older paper (Alex Graves 2013) for a different task (handwriting synthesis) that suggests to learn the centers and enforce their monotonicity. Which I am about to do!
I found an even older paper (Alex Graves 2013) for a different task (handwriting synthesis) that suggests to learn the centers and enforce their monotonicity. Which I am about to do!
While I'm really uneasy with the idea of predicting the center of attention from a single frame, I've emailed the authors of Cross-attention with monotonic alignment asking how they compute
I am running out of time to fix this problem so I'm going to apply the good old "convolve the dataset with itself" trick.
k. From the paper it seems like you need to compute attention to compute attention. I would like to see the reviews of this paper and too bad interspeech does not publish them. I am running out of time to fix this problem so I'm going to apply the good old "convolve the dataset with itself" trick.
New paper by Alex Graves et al, Bayesian diffusion for language modeling.
https://arxiv.org/abs/2308.07037
https://arxiv.org/abs/2308.07037
Vol Building AGI
New paper by Alex Graves et al, Bayesian diffusion for language modeling. https://arxiv.org/abs/2308.07037
Rupesh Srivastava with a thread https://x.com/rupspace/status/1691584987148218841?
Twitter
New work: Bayesian Flow Networks!
https://t.co/9QatLDVRw5
We present a new perspective on the ideas related to diffusion models. BFNs combine Bayesian inference and neural nets to yield a model class with simple objectives that gracefully extends to discrete…
https://t.co/9QatLDVRw5
We present a new perspective on the ideas related to diffusion models. BFNs combine Bayesian inference and neural nets to yield a model class with simple objectives that gracefully extends to discrete…
🔥1
My paper on reproducing approximation errors in VAEs has been published in ReScience C. We see how choosing a factorized latent distributions causes perfectly good decoders to run their reconstruction quality adapting to the encoder.
https://x.com/darkproger/status/1691755047145673029
https://x.com/darkproger/status/1691755047145673029
Twitter
Why does ELBO losses goes up but FID goes down? We reproduce approximation errors in Variational Autoencoders in out latest Rescience C paper https://t.co/abbGO7qkoJ
🥰1🎉1
https://drive.google.com/file/d/15TmDQ8lONE66_hc_me7ML1Xv6a4pup59/edit
Tutorial 2 at Interspeech:
Recent Advances in Speech Frontend, Diarization and ASR for Multi-talker Cocktail Party Problem
Austin Zhang / Yong Xu / Dong Yu / Shinji Watanabe
Tutorial 2 at Interspeech:
Recent Advances in Speech Frontend, Diarization and ASR for Multi-talker Cocktail Party Problem
Austin Zhang / Yong Xu / Dong Yu / Shinji Watanabe