AI Summer retweeted
My @StanfordHAI colleagues and I predict #AI trends in 2025 hai.stanford.edu/news/predicโฆ
My take: we will see a lot more multi-agent AI teams, instead of individual models, for tackling complex problems like those in science.
AI Summer retweeted
Neural Radiance Fields (NeRF) explained in simple terms from the ground up
Link : theaisummer.com/nerf/
Thx @theaisummer !
AI Summer retweeted
๐ [New Article] ๐ : An overview of classifier-free guidance for diffusion models
This new blog post by @nadaloglou and Tim Kaiser presents an overview of classifier-free guidance (CFG) for diffusion models and recent advancements in CFG.
theaisummer.com/classifier-fโฆ
AI Summer retweeted
๐๐ฎ๐ฟ๐ด๐ฒ ๐๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ ๐ ๐ผ๐ฑ๐ฒ๐น ๐ข๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐ (๐๐๐ ๐ข๐ฝ๐) ๐ฆ๐ฝ๐ฒ๐ฐ๐ถ๐ฎ๐น๐ถ๐๐ฎ๐๐ถ๐ผ๐ป
A new LLMOps course just finalised by Duke University. It covers deployment, management, and optimization of large language models across various platforms such as Azure, AWS, Databricks and local infrastructure.
1. Introduction to Generative AI: coursera.org/learn/intro-genโฆ
2. Operationalizing LLMs on Azure: coursera.org/specializationsโฆ
3. Advanced Data Engineering: coursera.org/learn/advanced-โฆ
4. GenAI and LLMs on AWS: coursera.org/learn/genai-llmโฆ
5. Databricks to Local LLMs: coursera.org/learn/databrickโฆ
6. Open Source LLMOps Solutions: coursera.org/learn/open-sourโฆ
AI Summer retweeted
Replying to @StabilityAI
@StabilityAI introduces Stable Cascade, a new text to image model building upon the Wรผrstchen architecture. Wรผrstchen is a large scale text-to-image diffusion model that showcases competitive performance with very good cost-effectiveness
Wรผrstchen paper: openreview.net/forum?id=gU58โฆ
Blog: stability.ai/news/introducinโฆ
AI Summer retweeted
Let's analyse SORA's technical report:
Sora is a text-conditional diffusion model trained jointly on videos and images. A transformer architecture is used to encode videos and images into a latent space.
๐งต๐
AI Summer retweeted
๐ช๐ต๐ฎ๐ ๐๐๐ ๐ข๐ฝ๐ ๐ถ๐ ๐ฎ๐น๐น ๐ฎ๐ฏ๐ผ๐๐? ๐ค ๐ป
LLMOps is all about the techniques and tools used for the operational management of large language models in production environments. A typical LLMOPs flow is like this:
AI Summer retweeted
Contextual sparsity: Take an LLM and make it sparse at inference time.
In this video, we explain how the DEJAVU method implements contextual sparsity. ๐
๐บ youtu.be/DUkWMoi5nG4
Dejavu was presented by Zichang Liu, Jue Wang, @tri_dao and colleagues. ๐ arxiv.org/abs/2310.17157
AI Summer retweeted
Hugging Face just open-sourced two libraries ๐
1. datatrove: process, filter and deduplicate text data at a very large scale.
github.com/huggingface/datatโฆ
2. nanotron: easy distributed primitives in order to train models efficiently using 3D parallelism
github.com/huggingface/nanotโฆ
AI Summer retweeted
๐๐ซ๐ข๐ง๐๐ข๐ฉ๐ฅ๐๐ ๐๐ง๐ฌ๐ญ๐ซ๐ฎ๐๐ญ๐ข๐จ๐ง๐ฌ ๐๐ซ๐ ๐๐ฅ๐ฅ ๐๐จ๐ฎ ๐๐๐๐ ๐๐จ๐ซ ๐๐ฎ๐๐ฌ๐ญ๐ข๐จ๐ง๐ข๐ง๐ ๐๐๐๐ฌ
26 principles for querying and prompting large language models. ย The principles were tested on LLaMA-1/2 and GPT-3.5/4.
Paper: arxiv.org/abs/2312.16171v1
AI Summer retweeted
A work from StandfordHAI examined the safety and accuracy of GPT-4ย on medical applications. In a nutshell, it shows that GPT-4 is not robust enough for use as a medical co-pilot. Their findings?
- 91% of GPT-3.5 and 93% of GPT-4 responses are deemed safe and the complement were considered โharmfulโ primarily because of the inclusion of hallucinated citations.
- 21% of GPT-3.5 and 41% of GPT-4 responses agreed with the known answer.
- 27% of GPT-3.5 and 29% of GPT-4 responses were such that the clinicians were โunable to assessโ agreement with the known answer.
Paper: arxiv.org/pdf/2304.13714.pdf
hai.stanford.edu/news/how-weโฆ
AI Summer retweeted
What is Mixture-of-Experts (MoE)?
MoE is a neural network architecture design that integrates layers of experts/models within the Transformer block. As data flows through the MoE layers, each input token is dynamically routed to a subset of the experts for computation. This approach allows for more efficient compute with better results as each expert becomes specialized at particular tasks.
Key components:
- Experts: MoE layers comprise many experts, small MLPs or complex LLMs like Mistral 7B.
- Router: Routers determine which input tokens get assigned to which experts. There are two routing strategies: token chooses the router or router chooses the token. How does it work exactly? It uses a softmax gating function to model a probability distribution through experts or tokens and choose the top k.
Why MoE?
- Each expert can be specialized to handle different tasks or different parts of the data.
- Adds learnable parameters to LLMs without increasing inference cost
- Can utilize efficient computation on sparse matrices
- Computes all expert layers in parallel to effectively use the parallel capabilities of GPUs
- Helps scale the model efficiently with reduced training time. Better results at lower computing costs!
Papers to read:
- The Sparsely-Gated Mixture-of-Experts Layer (2017): arxiv.org/pdf/1701.06538.pdf
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding (2020) arxiv.org/pdf/2006.16668.pdf
- MegaBlocks: Efficient Sparse Training with Mixture-of-Experts (2022): arxiv.org/abs/2211.15841
- Mixture-of-Experts Meets Instruction Tuning (2023): arxiv.org/pdf/2305.14705.pdf
AI Summer retweeted
You should definitely watch this @ylecun interview with @bgreene at the World Science Festival (joined by @SebastienBubeck and @tristanharris ) They talk about AGI, AI safety, and much more.
youtube.com/watch?v=EGDG3hgPโฆ
AI Summer retweeted
Neural radiance fields (NeRFs) are already established in many graphics engines. In a nutshell, NeRFs represent a scene with a learned, continuous volumetric radiance field defined over a bounded 3D volume.
theaisummer.com/nerf/
AI Summer retweeted
A new video by @karpathy just dropped !!!!!
youtube.com/watch?v=zjkBMFhNโฆ
AI Summer retweeted
๐๐ข๐ซ๐๐๐ญ ๐๐ซ๐๐๐๐ซ๐๐ง๐๐ ๐๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐๐ญ๐ข๐จ๐ง (๐๐๐): ๐จ๐ง๐ ๐จ๐ ๐ญ๐ก๐ ๐ฆ๐จ๐ฌ๐ญ ๐๐ฑ๐๐ข๐ญ๐ข๐ง๐ ๐ซ๐๐๐๐ง๐ญ ๐๐๐ฏ๐๐ง๐๐๐ฆ๐๐ง๐ญ๐ฌ ๐ข๐ง ๐๐๐๐ฌ
DPO was introduced as an alternative to Reinforcement Learning from Human Feedback (RLHF). What RLHF does is basically train a reward model in order to sync the model's output with human preference. Then, it fine-tunes the LLM using reinforcement learning to maximize this estimated reward without drifting too far from the original model.
On the other hand, DPO treats the problem as a classification problem without the need for applying reinforcement learning. The authors show that we can directly optimize an LLM on preference data. They're doing so by mapping the reward functions to optimal policies and thus transforming the loss function over rewards to a loss function over policies. As a result, we can train a policy network (instead of a reward network) that captures both the LLM and the rewards.
From a mathematical perspective, the loss function of DPO is basically a binary cross-entropy loss(maximum likelihood objective) between the desired policies (that adhere to human preference) and the actual policies. During training, the gradient of the loss increases the likelihood of the preferred outputs and decreases the likelihood of the dispreferred outputs.
This results in a training algorithm that is more stable and less computationally demanding than RLHF. And most importantly, it seems to be on par with the performance of RLHF.
Original paper: arxiv.org/pdf/2305.18290.pdf
AI Summer retweeted
[๐ง Representation Learning MSc course ] - Excited to share our MSC course materials including lectures and exercises!
YT Playlist: youtube.com/playlist?list=PLโฆ
Github: github.com/HHU-MMBS/Represenโฆ
#RepresentationLearning #AI #MSCCourse ๐ท๐
AI Summer retweeted
๐[NEW blog post] - Best #ICCV paper highlights: top papers summarized here: theaisummer.com/iccv-2023/
@ICCVConference #ICCV2023 #deeplearning #MachineLearning @ICCV_2021 @GoogleAI @AIatMeta @NVIDIAAI @theaisummer @KarSergios
AI Summer retweeted
Does a language model trained on โA is Bโ generalize to โB is Aโ?
E.g. When trained only on โGeorge Washington was the first US presidentโ, can models automatically answer โWho was the first US president?โ
Our new paper shows they cannot!
AI Summer retweeted
A 2023 update of the CS224N Natural Language Processing with Deep Learning YouTube playlist is now available with new lectures on pretrained models, prompting, RLHF, natural language and code generation, linguistics, interpretability and more. #NLProc
youtube.com/playlist?list=PLโฆ




















