For context: i have a master degree in computer science. (Now questions) What do you…
- User
For context: i have a master degree in computer science. (Now questions) What do you know about hebbian learning and spike neural networks?
- Assistant
- User
How about multimodal language model visual adapter? But adding mixed/fused visual representation including visual tokens, embeddings, parametric modelling language description (through partial vectorisation, or geometry recognition), text detection and OCR layer (overlay), maybe 3d space reconstruction (from motion if video/multiframe imaging or monocular depth estimation) and temporal patterns (optical flow representation, perhaps, if video/multiframe). Perform decomposition of this idea and what capabilities it might introduce to multimodal language model ().
- Assistant
- User
So, this way we'll have: text, audio (by mapping audio signal into discrete 'acoustic' token sequence) and visual data (plus additional like body language, geometric, 3d and temporal) in "ingested"/"deep learning based sensory memory" representation form as a numerous data points within such hybrid system... for input direction. For output it can allow language modelling (text generation), audio synthesis (including speech, but general acoustic signals too), imaging (technical and artistic, 2d or 3d, static or dynamic) and virtual avatars (with additional controller model). And some kind of task identification & routing mechanism. How viable such concept? What features and functions can such system provide for user? Maybe particular examples of application to real world problems?
- Assistant
- User
About model internal routing mechanism (automatic tasks identification and mapping/routing input into respective pipeline within model components), is it possible to make it... Brain/neuroscience inspired, I guess? Something like activation patterns excitation and inhibition in nerve tissues with weights/routes reuse and learning through activation path reinforcement or depression with neurotransmitters but as computational model, or rather as "pseudo cognitive" architecture that recreates such capabilities (with mathematical foundation/concept inspired by) - correct me if I am wrong, especially on neuroscience perspective on learning underlying mechanisms and their mapping into machine learning architecture.
- Assistant
- User
I have a slightly different vision about working with activation patterns, especially for skills, tasks and in context learning (deeper/more sophisticated than one in transformers attention mechanism). Is it possible to control internal communication/representations flow through entire clusters acting like computation graph nodes, but learnable, and with dynamic activation, or routing? Maybe even to the point of model being able to (temporally, within frame of task) configure itself as a target function/architecture, as a kind of virtual runtime, even without retraining thanks to pretraining, flexible routing and strong in-context learning (single step optimisation, in some sense). With training procedure/trainer sub model for fast iteration with few examples, user preferences or feedback loop, maybe even form of self-reflection assessment, not just as detached, freezed weights. Decompose, and analyse, please. Prefer out of the box perspective and rationalistic mindset.
- Assistant
- User
What would be a good interpretation of "serving as a virtual runtime for target function" and "strong in-context learning" (incl. [online/reversible] "single-step optimization" and "rapid adaptation")?
- Assistant
- User
Let's step back to [audio]visual language model. I have suggested preprocessing the incoming images (or frames sequences) into mixed representation (maybe storing intermediate visual data as a temporal files within session), compatible with language model architecture (assuming GPT-like language model). But, what exactly it should be able to do, or be trained on? If we use parametric component and encoded visual data (maybe sparse, where during preprocessing "visual attention" is mimicked, sorting visual tokens fused with spatial position encoding), it might be possible to output generative imaging as well, by first using autoregressive sampling of transformer component, than using this output to initialise latent diffusion model and guide synthesis (including constraints from parametric geometry and 3d space component). (1) Decompose this conceptual framework, (2) associate relevant research or methods that can be used to implement components of such system (hybrid architecture), (3) speculate about training data (maybe interleaved text with images, or synthetic task specific input output pairs) and procedure (multi phase, perhaps).
- Assistant
- User
Can you elaborate more on "internalised" visual representation? Given proposed mixed composition, would it be organised in sections?, e.g. geometry described in parametric modelling language, layout (if applicable), direct visual tokens with spatial position and their "attention signal", text detection and OCR overlay, motion and 2.5d/3d information (again, if applicable), something else.
- Assistant
- User
Let's assume, that we have the model to convert images (or frames sequences) into this representation and/or generate imaging from it (which requires other models, like mentioned diffusion, maybe enhanced with parametric modelling, geometry and text rendering, stylisation, etc). Actually it can be hierarchy of representations, including original, output of preprocessing components and tokenized one (actual input-output for model). Now, let's elaborate on language modelling part. Would it be enough to use GPT-like architecture, or some changes should be made? Maybe at sampling for image "frame" to ensure correct format (we can define special "image start" and "image end" tokens to indicate where we switch from text to image, and where back; this can affect sampling strategy). What tasks it can be trained on? Visual understanding, recognition and transformation? E.g. recognition of illustrations from scientific papers (with diagrams, technical illustrations, or something else), or structured business documents analysis, medical imaging processing, industrial monitoring, etc (just example)? With instructions in free form text (natural language interface, especially if user is not expert), maybe with visual instructions in some cases too (e.g. user input layer within GUI where image viewer allows collaborative human-AI interactions, allowing user to point or draw/sketch to guide).
- Assistant
- User
Now, what about audio? It is somewhat closer to language, because both are sequential. So, we can split input audio signal (mono, stereo or multichannel) into frames (e.g. 10-30 second) and map into discrete "acoustic tokens" (with fixed rate tokens per second of input signal) or "semantic tokens" (more abstract/higher level representation of signal, without fixed rate) sequence; within shared vocabulary, of course, so it can be interleaved with text within same tokens sequence in context window of language model. Am I understanding audio linguistics modelling approach right? Or is there other, better ideas on how it can look like/be designed? Again, decompose the concept and analyse.
- Assistant
- User
So, this way (combining both directions and mentioned ideas) it should be possible to develop and train audiovisual language model, able to both "percive" and generate audio and imaging. Confirm this and write summary as kind of "model card".
- Assistant
- User
Sounds about right. Theoretically speaking, code base will include: 1. Text tokenizer; 2. Audio preprocessing (including splitting into segments) and tokenisation adapter model; 3. Audio "summarisation" to generate semantic tokens from acoustic ones (but, in some cases, we still want to directly pass acoustic tokens frame into language model component); 4. CV methods (both classic and deep learning ones) for each layer of visual information; 5. Mapping visual "stimuli" into shared tokens space through visual adapter model; 6. Transformers language model to process this interleaved audio segments/vision frames/text snippets and predict logits distribution; 7. Sampler, which use model prediction and sampling strategy settings (including modalities switching, because we can encourage/depress special tokens indicating start and end of corresponding modalities) to determine next token; 8. For text tokens output, just detokenise, for audio use acoustic/semantic tokens segment to guide audio/mel synthesis, for imaging use described previously organised visual format to generate coherent images or even frames sequence. Analyse this as a software project, as I understand we need development roadmap and specifications.
- Assistant
- User
Elaborate on machine learning components specification.
- Assistant
- User
This was input and core parts, continue with specifications for mentioned earlier output components as well.
- Assistant
- User
How about to push the idea a little bit further. What do you know about potential reasoning and inferential mechanisms, that can potentially be adapted to guide such AVLM generation process?
- Assistant
- User
How about combination of Bayesian networks, symbolic reasoning, memory augmentation (hybrid "reasoning" engine) to generate hypothesis and derive heuristics (including ones close to actual "cog-level understanding" models/laws)? Maybe with imitation learning objective on "observed agentic behaviour" (e.g. through contextualised by AVLM carefully selected videos, serving as "target").
- Assistant