Is it possible to combine text detection+OCR layout, parametric geometry, and visual…
- User
Is it possible to combine text detection+OCR layout, parametric geometry, and visual tokens (visual tokenizer split image into patches and replace with token of closest centroid estimated by clustering set of patches in visual tokenizer training dataset; visual tokens are linearized with line separator token) as a hybrid representation of visual content and input for visual language model?
- Assistant
- User
Can you list types of visual content to better understand what we are working with?
- Assistant
- User
Nice. But this is just static 2d? What about 3d and video? They are too, visual content.
- Assistant
- User
As I know, various multimodal (transformers) architectures and their variations was proposed. Early and late fusion. Encoder-decoder and decoder only. Visual tokens representation, and hybrid one. And if tokens - discrete vs continuous. Special tokens, for conditioning, including tasks tokens. How to handle parametric values with transformers architecture. Pretraining curriculum, loss function, secondary loss function, training objectives. Plus what you said about 3d and video processing. So... How to know what's works and what not? How to find "true" visual language model (aka VLM) design?
- Assistant
- User
Let's look at audio language models (aka ALM) next. First, list types of audio (auditory?) content.
- Assistant
- User
Ok, let's say we have "speech + non-verbal human sounds" as analogue of text. If we was to split the rest of types in two large groups (clusters), what would be their names?
- Assistant
Sure, if we were to split the remaining types of audio content into two large groups (clusters), we can consider the nature of the content and its typical use cases. Here's a possible way to cluster them:
- User
Ok, if we would, theoretically, train digital agent (imagine smarter videogame NPC, powered by machine learning) with audio and visual capabilities, would this audio clusters ("Speech and Non-verbal", "Environmental and Ambient Audio", "Music and Structured Audio") be enough to grant it "auditory comprehension"?
- Assistant
- User
Cool, can you provide similar analysis for visual comprehension?
- Assistant
- User
This is on input direction. But we can use audiovisual language models (aka AVLM; they combine elements of both ALM and VLM, but usually are harder to train) to generate content as well. Let's look at conditioned audio generation (where we have text, or interleaved multimodal input). In case of decoder only transformer and "acoustic tokens" representation for audio, thus can be achieved by autoregressive tokens sampling (with filter for audio modality, if we use shared codebook) and than "decoding" with neural audio codec (serves similar function to BPE texr tokenizer; in other words - neural audio codec can be used as an audio tokenizer). Decompose ans analyze this approach.
- Assistant
- User
What do you know about neural audio codecs? Looks like it is important component of potential audio language model. And somewhat reminds me of pre trained CNN to get visual features for various purposes (e.g. image classification).
- Assistant
- User
I have crazy idea. Can we first train neural audio codec and ALM on top of it, and after this train ALM to act like codec on its own, processing low level acoustic signal representation (e.g. MFCCs) to produce codes/tokens, or vice versa. Something like split audio into segments, feed next one in low level representation into ALM and append with "task token" (<audio_encode>), generate "acoustic tokens" until <segment_end>, remove previous low level representation chunk from context window. Perform pros cons analysis, i guess?
- Assistant