
Principal applied scientist @Zalando, deep learning expert, digital art experimenter. See also https://nitter.gq/t.co/xRXElXA8TB
Berlin, Germany
Joined December 2016
- Tweets834
- Following216
- Followers1.9K
- Likes3.8K
Nikolay Jetchev retweeted
What’s the easiest way to specialize an LLM over your own data? Recent research has studied this problem in depth, and RAG is way more effective (and easier to implement) compared to extended pretraining or finetuning…
Knowledge from pretraining. A lot of factual information is inherently present within an LLM’s pretrained weights, but the knowledge possessed by these models is highly dependent upon the characteristics of their pretraining data. Unfortunately, this means that—at least in the current paradigm of LLMs—the knowledge base of these models is static (e.g., ChatGPT has a knowledge cutoff date) and may lack detailed information.
Knowledge injection. Given a pretrained LLM, there are two postprocessing techniques that we can use for injecting new data into the LLM’s knowledge base:
- Finetuning: continuing the model’s pretraining process over a smaller, domain-specialized corpus of new information.
- Retrieval Augmented Generation (RAG): modifying the LLM’s input query by retrieving relevant information that can be leveraged by the model via in-context learning to generate a more grounded/factual output.
The variant of finetuning referenced above is a continued pretraining style of finetuning, where a next token prediction objective is used to further train a pretrained model over a specialized corpus of text. In contrast, SFT and RLHF emphasize the quality of model responses rather than improving the LLM’s breadth of knowledge.
“Given some knowledge base in the form of a text corpus, what is the best way to teach a pre-trained model this knowledge?” - from [1]
Recent research. In [1], authors compare RAG and finetuning to determine the superior knowledge injection approach. The RAG setup uses vector search to retrieve relevant document chunks to include in the model’s prompt. Given a corpus of information, we can:
1. Divide this corpus into chunks of text.
2. Use an embedding model (e.g., bge-large-en) to generate a dense vector for each chunk of text.
3. Search for relevant chunks by embedding the model’s input and performing a vector search.
4. Add relevant chunk’s into the model’s prompt.
What do we learn? While finetuning does improve model performance, RAG consistently outperforms finetuning for the injection of both new and previously encountered knowledge. Put simply, LLMs struggle to learn new information through finetuning. Though finetuning does yield a benefit in performance relative to the base model, RAG has a significant advantage over finetuning. Combining RAG with finetuning—though effective in some cases—does not consistently benefit performance.
Finetuning with paraphrases. We can improve the performance of finetuning for knowledge injection by training the model over several different paraphrases of the same information. In order to teach an LLM new information via finetuning, we must repeat this information in numerous ways.
——
[1] Ovadia, Oded, et al. "Fine-tuning or retrieval? comparing knowledge injection in llms." arXiv preprint arXiv:2312.05934 (2023).
Nikolay Jetchev retweeted
Altman, Hassabis, and Amodei are the ones doing massive corporate lobbying at the moment.
They are the ones who are attempting to perform a regulatory capture of the AI industry.
You, Geoff, and Yoshua are giving ammunition to those who are lobbying for a ban on open AI R&D.
If your fear-mongering campaigns succeed, they will *inevitably* result in what you and I would identify as a catastrophe: a small number of companies will control AI.
The vast majority of our academic colleagues are massively in favor of open AI R&D. Very few believe in the doomsday scenarios you have promoted.
You, Yoshua, Geoff, and Stuart are the singular-but-vocal exceptions.
like many, I very much support open AI platforms because I believe in a combination of forces: people's creativity, democracy, market forces, and product regulations.
I also know that producing AI systems that are safe and under our control is possible. I've made concrete proposals to that effect.
This will all drive people to do the Right Thing.
You write as if AI is just happening, as if it were some natural phenomenon beyond our control.
But it's not. It's making progress because of individual people that you and I know. We, and they, have agency in building the Right Things.
Asking for regulation of R&D (as opposed to product deployment) implicitly assumes that these people and the organization they work for are incompetent, reckless, self-destructive, or evil. They are not.
I have made lots of arguments that the doomsday scenarios you are so afraid of are preposterous. I'm not going to repeat them here. But the main point is that if powerful AI systems are driven by objectives (which include guardrails) they will be safe and controllable because *e* set those guardrails and objectives.
(Current Auto-Regressive LLMs are not driven by objectives, so let's not extrapolate from their current weaknesses).
Now about open source: your campaign is going to have the exact opposite effect of what you seek.
In a future where AI systems are poised to constitute the repository of all human knowledge and culture, we *need* the platforms to be open source and freely available so that everyone can contribute to them.
Openness is the only way to make AI platforms reflect the entirety of human knowledge and culture.
This requires that contributions to those platforms be crowd-sourced, a bit like Wikipedia.
That won't work unless the platforms are open.
The alternative, which will *inevitably* happen if open source AI is regulated out of existence, is that a small number of companies from the West Coast of the US and China will control AI platform and hence control people's entire digital diet.
What does that mean for democracy?
What does that mean for cultural diversity?
*THIS* is what keeps me up at night.
Nikolay Jetchev retweeted
Probably the most impressive thing I've tested this year. One thing's for sure: it's addictive!
#AnimateDiff
Nikolay Jetchev retweeted
Most impressive paper I've seen this week.
Generative Image Dynamics transforms still images into videos or interactive scenes.
The Google team trained the model by using a dataset of motion trajectories from real-life videos of natural, oscillating motions like those seen in trees, flowers, candles, and wind-blown clothing.
Web: generative-dynamics.github.i…
Nikolay Jetchev retweeted
Thanks @angrypenguinPNG for merging my PR to add high resolution to the Illusion Diffusion Space 📺🌀
It's now as fast, double the resolution and has crispy details - go play ▶️
huggingface.co/spaces/AP123/…
Nikolay Jetchev retweeted
This is the future we should have chosen.
A thread of the fascinating illustrations by Russian architectural theorist Arthur Skizhali-Weiss 🧵
Nikolay Jetchev retweeted
My face, courtesy of the DATID-3D demo at CVPR2023 (github.com/gwang-kim/DATID-3…). My favorite is the Tekken one.
Nikolay Jetchev retweeted
Super excited to release Shap-E, our latest work on 3D generative modeling.
Paper: arxiv.org/abs/2305.02463
Code/models: github.com/openai/shap-e
Nikolay Jetchev retweeted
After weeks of research and development I finally managed to turn AI generated images into 3d scenes, refine them in real time in a non-destructive and streamlined workflow... It's beyond camera projection since you can make entire scenes viewable in any angles.. It's not a "magic button" solution but a tedious process and I think I'm like the first one to make this 🤷 It opens so much possibilities for real time experiences... I need to refine a little bit the technique behind this and I'll show you my first finished piece in the coming weeks... It's litteraly game changing ( and I'm exhausted tbh ) Hope you'll like it
Nikolay Jetchev retweeted
Zero-1-to-3: Zero-shot One Image to 3D Object
TL;DR: We learn to control the camera perspective in large-scale diffusion models, enabling zero-shot novel view synthesis and 3D reconstruction from a single image.
abs: arxiv.org/abs/2303.11328
project page: zero123.cs.columbia.edu/
github: github.com/cvlab-columbia/ze…
Nikolay Jetchev retweeted
I love seeing @NJetchev's creatures getting the love they deserve. With their surreal forms and self conscious movements they're kind of perfect AI avatar precursors. Just imagine where this leads.
opensea.io/collection/clipma…
Nikolay Jetchev retweeted
ClipMatrix Creature by @NJetchev @braindrops_art
All of the visuals are created by a novel AI algorithm, with only words as guidance. 3D sculpting and texturing by words. The prompt for this creature is: 'Black knight in aztec maya style with fat belly.'
Nikolay Jetchev retweeted
The InstructPix2Pix #stablediffusion model, which allows editing images using language instructions, is now available in diffusers!
Colab with @Gradio demo:
colab.research.google.com/gi…
Read more about the model here: timothybrooks.com/instruct-p…
Nikolay Jetchev retweeted
Scene Synthesis from Human Motion
abs: arxiv.org/abs/2301.01424
project page: lijiaman.github.io/projects/…
Nikolay Jetchev retweeted
Dream3D: Zero-Shot Text-to-3D Synthesis Using 3D Shape Prior and Text-to-Image Diffusion Models
abs: arxiv.org/abs/2212.14704
project page: bluestyle97.github.io/dream3…
Nikolay Jetchev retweeted
High resolution inpainting experiment with #StableDiffusion2
Transporting the famous Futaba Sushi restaurant in Ginza, Tokyo, to other cities, countries, planets, and finally, to a galaxy far far away…
#StableDiffusion #AIart
Nikolay Jetchev retweeted
DreamFusion: Text-to-3D using 2D Diffusion
paper: openreview.net/pdf?id=FjNys5…
abs: openreview.net/forum?id=FjNy…
project page: dreamfusionpaper.github.io/
DeepDream on a pretrained 2D diffusion model enables text-to-3D synthesis
Nikolay Jetchev retweeted
GET3D: A Generative Model of High Quality 3D Textured Shapes Learned from Images
abs: arxiv.org/abs/2209.11163
project page: nv-tlabs.github.io/GET3D/





















