Let's say we want to perform audio analysis with a broad range of aspects in scope. For…
- User
Let's say we want to perform audio analysis with a broad range of aspects in scope. For this let's assume general model plus specialised ones. General model should be able to perform virtually any of tasks for which we have definition and training data, but can sacrifice accuracy/performance in individual task (jack of all trades master of none/every)
- Assistant
- User
Well, my idea of general is even broader than that - something like audiovisual language transformer model with neural audio codec, VQ-VAE (for tokenisation) or YOLO-like CNN (to map raw pixel data into grid of feature vectors and use them as embeddings), and of course BPE text tokenizer. This allows to represent audio, visual content and text in a unified way (tokens and/or embedding vectors) and also any to any processing (sample audio tokens, visual tokens or text tokens). Maybe with hierarchical aspect, where main context window include coarse level audio/visual tokens (e.g. image patches 16x16, or audio at 16 tokens per second), but during feedforward pass they have additional step of sliding window attention with fine grained tokens (e.g. image patches 4x4 and audio 320 tokens per second, which is 16-20 times better spatial/temporal resolution). For sampling we can use modality filtering controlled by special modalities demarcation tokens (text/audio/image start/end) to switch between them; audio tokens decoded with neural audio codec into waveform; visual tokens are mapped into latent space and decoded into actual image with VAE; text is, well, detokenised. This class of models also known as AVLM (audiovisual language models). How powerful such "general" model ("jack of all trades") can be for audio analysis if done right?
- Assistant
- User
Side question - pro cons analysis of visual representation through YOLO-like CNN (mapping image chunks like 512x512 into fixed number of feature/embedding vectors grid like 13x13x4096 on output which is 169 embeddings in hidden state) vs image patches tokenisation (e.g. 16x16 pixels per visual tokens which is 1024 visual tokens per 512x512, with special line separator token to linearize grid into sequence; this can be done by VQ-VAE or learning centroids through patches clusterisation). How this choices theoretically affect visual aspect of AVLM?
- Assistant
- User
Also IDK how to use CNN-like representation for images output. While for tokens based representation allows well researched autoregressive sampling similar to language modelling, and using latent space + VAE. Maybe we can train AVLM to work with both representations? Or is it unrecommended?
- Assistant
- User
Let's step back and talk about AVLM for audio analysis and processing. List possible tasks in this domain, where it can serve as "generalist model".
- Assistant