هل يمكنك شرح هذا النص بالتفصيل At Liquid AI, we build new methods for designing powerful…
- User
هل يمكنك شرح هذا النص بالتفصيل At Liquid AI, we build new methods for designing powerful AI systems over which we have significant control. We design them the same way engineers built engines, cars, and airplanes: from first principles. Our mission is to create best-in-class, intelligent, and efficient systems at every scale – systems designed to process large amounts of sequential multimodal data, to enable advanced reasoning, and to achieve reliable decision-making.
Today, we introduce the first generation of Liquid Foundation Models (LFMs). LFMs are large neural networks built with computational units deeply rooted in the theory of dynamical systems, signal processing, and numerical linear algebra. This unique blend allows us to leverage decades of theoretical advances in these fields in our quest to enable intelligence at every scale. LFMs are general-purpose AI models that can be used to model any kind of sequential data, including video, audio, text, time series, and signals.
Our name “Liquid” pays homage to our roots in dynamic and adaptive learning systems.
Introducing the First Generation of Language LFMs We are proud to release our first series of language models:
A dense 1.3B model, ideal for highly resource-constrained environments.
A dense 3.1B model, optimized for edge deployment.
A 40.3B Mixture of Experts (MoE) model, designed for tackling more complex tasks.
Architecture work cannot happen in a vacuum – our goal is to develop useful models that are competitive with the current best-in-class LLMs. In doing so, we hope to show that model performance isn’t just about scale – it’s also about innovation.
State-of-the-Art Performance We report the results of our fine-tuned LFMs and compare them with similar-sized language models using Eleuther AI’s lm-evaluation-harness v0.4. Unless specified otherwise, we compare to other fine-tuned models.
LFM-1B achieves the highest scores across various benchmarks in the 1B category, making it the new state-of-the-art model at this size. This is the first time a non-GPT architecture significantly outperforms transformer-based models.
Benchmark LFM-1B Preview 1.3B OpenELM (Apple) 1.1B Llama 3.2 (Meta) 1.2B Phi 1.5 (Microsoft) 1.4B Stable LM 2 (Stability) 1.6B RWKV 6 (RWKV) 1.6B Smol LM (Hugging Face) 1.7B Danube 2 (H2O) 1.8B Rene (Cartesia) Base 1.3B R Gemma 2 (Google) Base 2.7B Context length (tokens) 32k 1k 128k 2k 4k 1k 2k 8k
256k MMLU (5 shot) 58.55 25.65 45.46 42.26 41.06 26.02 28.46 37.63 32.61 34.38 MMLU-Pro (5 shot) 30.65 11.19 19.41 16.80 16.73 11.61 10.94 14.00 12.27 11.78 Hellaswag (10-shot) 67.28 71.8 59.72 64.03 69.33 61.46 62.52 73.99 69.93 72.24 ARC-C (25-shot) 54.95 41.64 41.3 53.75 44.11 36.95 45.48 43.77 38.91 46.76 GSM8K (5-shot) 55.34 0.38 33.36 31.61 41.55 5.76 0.38 31.92 2.58 17.74 LFM-3B delivers incredible performance for its size. It positions itself as first place among 3B parameter transformers, hybrids, and RNN models, but also outperforms the previous generation of 7B and 13B models. It is also on par with Phi-3.5-mini on multiple benchmarks, while being 18.4% smaller. LFM-3B is the ideal choice for mobile and other edge text-based applications.
Benchmark LFM-3B Preview 3.1B Gemma 2 (Google) 2.6B Zamba 2 (Zyphra) 2.7B AFM Edge (Apple) 3B Llama 3.2 (Meta) 3.2B Phi-3.5 (Microsoft) 3.8B Mistral-7b v0.3 (Mistral AI) 7B Llama 3.1 (Meta) 8B Mistral Nemo (Mistral AI) 12.2B Context length (tokens) 32k 8k
32k 128k 128k 4k 128k 128k MMLU (5 shot) 66.16 56.96 56* 60.64* 59.65 68.91 62.04 67.92 68.47 MMLU-Pro (5 shot) 38.41 27.32
30.07 38.31 30.35 37.72 35.56 Hellaswag (10-shot) 78.48 71.31 76* 55.24* 73.36 78.84 84.62 80.00 84.31 ARC-C (25-shot) 63.99 57.94 56* 45.39* 52.65 64.51 64.16 60.58 65.70 GSM8K (5-shot) 70.28 44.28
64.9 79.15 49.05 75.44 73.54 *Scores reported by the developers. All the other scores were calculated with the same evaluation harness we used for our own models. LFM-40B offers a new balance between model size and output quality. It leverages 12B activated parameters at use. Its performance is comparable to models larger than itself, while its MoE architecture enables higher throughput and deployment on more cost-effective hardware.
Benchmark LFM-40 Preview 40B A12B Jamba 1.5 (AI21) 52B A12B Mixtral (Mistral) 47B A13B Qwen 2 (Alibaba) 57B A14B Gemma 2 (Google) 27B Yi 1.5 (01.AI) 34B AFM Server (Apple) Llama 3.1 (Meta) 70B Context length (tokens) 32k 256k 8k 32k 128k 32k 32k 128k MMLU (5 shot) 78.76 59.57 73.42 75.75 76.20 76.19 75.3* 82.25 MMLU-Pro (5 shot) 55.63 28.69 38.12 47.47 45.69 45.13
52.89 Hellaswag (10-shot) 82.07 77.16 87.54 85.96 85.79 85.37 86.9* 86.40 ARC-C (25-shot) 67.24 60.90 71.33 66.89 74.83 69.11 69.7* 70.39 GSM8K (5-shot) 76.04 46.47 64.22 77.79 84.53 79.68 72.4* 88.10 *Scores reported by the developers. All the other scores were calculated with the same evaluation harness we used for our own models. LFMs are Memory-Efficient LFMs have a reduced memory footprint compared to transformer architectures. This is particularly true for long inputs, where the KV cache in transformer-based LLMs grows linearly with sequence length. By efficiently compressing inputs, LFMs can process longer sequences on the same hardware. For example, compared to other 3B-class models, LFMs maintain a minimal memory footprint.
Fig. 2. Total inference memory footprint of different language models vs. the input+generation length. Fig. 2. Total inference memory footprint of different language models vs. the input+generation length. LFMs Truly Exploit their Context Length In this preview release, we have optimized our models to deliver a best-in-class 32k token context length, pushing the boundaries of efficiency for our size. This was confirmed by the RULER benchmark, where a length is considered “effective” when its corresponding score is higher than 85.6 [Hsieh et al. 2024 - RULER]. The following table compares several models at different context lengths.
Model Claimed length Effective length 4k 8k 16k 32k 64k Gemma 2 2B (Google) 8k 4k 88.5 0.60
Llama 3.2 3B (Meta) 128k 4k 88.7 82.4 78.3 74.1
Phi-3.5 3.8 B (Microsoft) 128k 32k 94.3 91.7 90.9 87.3 78.0 Llama 3.1 8B (Meta) 128k 32k 95.5 93.8 91.6 87.4 84.7 LFM-3B 32k 32k 94.4 93.5 91.8 89.5
This highly efficient context window enables long-context tasks on edge devices for the first time. For developers, it unlocks new applications, including document analysis and summarization, more meaningful interactions with context-aware chatbots, and improved Retrieval-Augmented Generation (RAG) performance.
Our goal is to keep scaling LFMs across model size, train/test time compute, and context length. Beyond our language LFMs, we have designed models for various data modalities, domains, and applications that we plan to release in the next months.
Advancing the Pareto Frontier of Large AI Models To achieve these results, we optimized our pre- and post-training pipelines and infrastructure to ensure our models excel across five criteria:
Reimagining Model Architectures Building on a long line of research in designing expressive and efficient learning systems, we have developed a new design space for foundation models, focusing on different modalities and hardware requirements. Our goal is to explore ways to build foundation models beyond Generative Pre-trained Transformers (GPTs).
With LFMs, we put into practice new principles and methods guiding model design, developed by our team over the past months.
Fig. 4. Our architectures feature custom computational units arranged in depth groups (weight sharing), with additional featurizer interconnections (feature sharing). Fig. 4. Our architectures feature custom computational units arranged in depth groups (weight sharing), with additional featurizer interconnections (feature sharing). Fig. 3. Our architectures feature custom computational units arranged in depth groups (targeted weight sharing), with additional featurizer interconnections (feature sharing). Liquid’s design space is primarily defined by featurization and footprint of architectures and their core operators. Featurization refers to the process of converting input data (e.g., text, audio, images, video) into a structured set of features or vectors that are used to modulate computation inside the model in an adaptive manner. For example, audio and time series data generally requires less featurization in operators due to lower information density, compared to language and multi-modal data. The other key dimension is the computational complexity of the operators. Being able to traverse and complete the design space of structured adaptive operators allows us maximize performance with controlled computational requirements.
Fig. 5. We built the foundations of a new design space for computational units, enabling customization to different modalities and hardware requirements. Fig. 4. We built the foundations of a new design space for computational units, enabling customization to different modalities and hardware requirements. At their core, LFMs are built with computational units that can be expressed as adaptive linear operators whose actions are determined by inputs. The LFM design framework unifies and subsumes a wide range of existing computational units in deep learning, providing a systematic approach to exploring the space of architectures. Specifically, our analysis informs model building by improving three key aspects: token-mixing structure (how the operator mixes embeddings in the input sequence), channel-mixing structure (how it mixes channel dimensions), and featurization, responsible for modulating computation based on the input context.
Join us as an early adopter of LFMs As we are still in the early stages of this journey, we welcome the opportunity to collaborate and discover the strengths and weaknesses of these systems together.
What are Language LFMs good at today:
General and expert knowledge Mathematics and logical reasoning Efficient and effective long-context tasks Their primary language is English, with secondary multilingual capabilities in Spanish, French, German, Chinese, Arabic, Japanese, and Korean What are Language LFMs not good at today:
Zero-shot code tasks Precise numerical calculations Time-sensitive information Counting r's in the word "Strawberry"! Human preference optimization techniques have not been applied extensively to our models yet. At Liquid AI, we take an open-science approach. We have and will continue to contribute to the advancement of the AI field by openly publishing our findings and methods through scientific and technical reports. As part of this commitment, we will release relevant data and models produced by our research efforts to the wider AI community. We have dedicated a lot of time and resources to developing these architectures, so we're not open-sourcing our models at the moment. This allows us to continue building on our progress and maintain our edge in the competitive AI landscape.
If your enterprise is looking to experience the forefront of AI, we invite you to get in touch with us. If this aligns with your personal goals and ambitions, we invite you to join our team and drive this vision forward. We are very early on this journey and actively innovating across various aspects of foundation model development and deployment. We invite enthusiastic users to share their experience as well as criticism, and join our red-teaming efforts to improve the capabilities of our models.
Share your feedback Liquid Product Launch Event October 23, 2024 | Cambridge, MA Come join us at MIT Kresge, Cambridge, MA on October 23rd 2024, to learn more about Liquid as we unveil more products and progress on LFMs and their applications in consumer electronics, finance, healthcare, biotechnology, and more!
RSVP Here About Liquid Liquid AI, an MIT spin-off, is a foundation model company headquartered in Boston, Massachusetts. Our mission is to build capable and efficient general-purpose AI systems at every scale.
- Assistant
بالتأكيد! سأشرح لك النص بشكل مفصل باللغة العربية، موضحًا جميع النقاط الرئيسية التي يتناولها حول شركة Liquid AI ونموذجها الجديد للذكاء الاصطناعي المعروف بـ Liquid Foundation Models (LFMs).
مقدمة عن شركة Liquid AI
Liquid AI هي شركة متخصصة في تطوير أنظمة الذكاء الاصطناعي قوية وقابلة للتحكم بشكل كبير. تأسست كفرع من معهد ماساتشوستس للتكنولوجيا (MIT) وتقع مقرها الرئيسي في بوسطن، ماساتشوستس. تهدف الشركة إلى تصميم أنظمة ذكاء اصطناعي ذكية وفعّالة على مختلف المقاييس، مشابهة للطريقة التي يبني بها المهندسون المحركات أو السيارات أو الطائرات من المبادئ الأولى (First Principles).
مهمة الشركة
مهمة Liquid AI تتمثل في إنشاء أنظمة ذكاء اصطناعي رائدة في الفئة، قادرة على:
- معالجة كميات كبيرة من البيانات متعددة الوسائط والمتسلسلة: مثل الفيديو، الصوت، النصوص، السلاسل الزمنية، والإشارات.
- تمكين التفكير المتقدم واتخاذ قرارات موثوقة: بحيث تكون هذه الأنظمة قادرة على إجراء عمليات تحليلية متقدمة واتخاذ قرارات دقيقة بناءً على البيانات المدخلة.
التعريف بـ Liquid Foundation Models (LFMs)
الجيل الأول من LFMs
تم الإعلان عن الجيل الأول من Liquid Foundation Models (LFMs)، وهي شبكات عصبية كبيرة مبنية باستخدام وحدات حسابية تعتمد بشكل عميق على نظريات الأنظمة الديناميكية، ومعالجة الإشارات، والجبر الخطي العددي. هذا الدمج الفريد يُمَكِّن الشركة من الاستفادة من عقود من التقدم النظري في هذه المجالات لتحقيق الذكاء على مختلف المقاييس.
خصائص LFMs
- نماذج عامة الأغراض: يمكن استخدام LFMs لنمذجة أي نوع من البيانات المتسلسلة، بما في ذلك الفيديو، الصوت، النص، السلاسل الزمنية، والإشارات.
- الاسم "Liquid": يرمز إلى جذور الشركة في أنظمة التعلم الديناميكية والتكيفية.
النماذج اللغوية الأولى من LFMs
أطلقت Liquid AI سلسلة من النماذج اللغوية المميزة:
-
نموذج 1.3 مليار معلمة:
- مناسب للبيئات ذات الموارد المحدودة.
-
نموذج 3.1 مليار معلمة:
- مُحسَّن للنشر على الأجهزة الطرفية (Edge Deployment).
-
نموذج 40.3 مليار معلمة بنية Mixture of Experts (MoE):
- مصمم للتعامل مع المهام الأكثر تعقيدًا.
أداء النماذج
- الأداء المتفوق: حقق نموذج LFM-1B أعلى الدرجات في العديد من الاختبارات القياسية ضمن فئة 1 مليار معلمة، مما يجعله النموذج الرائد في هذا الحجم. هذا يُمثل لأول مرة تفوق بنية غير GPT بشكل ملحوظ على النماذج القائمة على المحولات (Transformers).
مقارنات الأداء (Benchmarking)
تم مقارنة نماذج LFMs مع نماذج لغوية مماثلة الحجم باستخدام أداة التقييم lm-evaluation-harness v0.4 من Eleuther AI. تظهر النتائج أن نماذج LFMs تتفوق على منافسيها في عدة مقاييس، مما يعزز مكانتها كنموذج ذكاء اصطناعي متفوق في تلك الفئات الحجمية.
تفاصيل مقارنة LFM-1B
- LFM-1B:
- حجم: 1.3 مليار معلمة.
- حقق أعلى نتائج في عدة اختبارات مثل MMLU، Hellaswag، ARC-C، GSM8K مقارنة بنماذج أخرى مثل OpenELM (Apple)، Llama 3.2 (Meta)، Phi 1.5 (Microsoft)، وغيرها.
مقارنة LFM-3B
- LFM-3B:
- حجم: 3.1 مليار معلمة.
- يتفوق على نماذج القواعد الثلاثية والمعقدة الأخرى مثل Phi-3.5-mini، مُكونًا خيارًا مثاليًا للتطبيقات النصية على الأجهزة المحمولة والأجهزة الطرفية الأخرى.
مقارنة LFM-40B
- LFM-40B:
- حجم: 40 مليار معلمة باستخدام 12 مليار معلمة مُفعّلة أثناء الاستخدام.
- يقدم توازنًا جديدًا بين حجم النموذج وجودة المخرجات، حيث يُعادل أداء النماذج الأكبر حجماً بفضل بنية Mixture of Experts التي تسمح بمزيد من الإنتاجية ونشرها على أجهزة أكثر فعالية من حيث التكلفة.
كفاءة استخدام الذاكرة
- كفاءة الذاكرة: تتميز نماذج LFMs بأنها تستهلك ذاكرة أقل مقارنة ببنى المحولات التقليدية، خاصة مع المدخلات الطويلة حيث تنمو ذاكرة التخزين المؤقت (KV cache) في نماذج المحولات بشكل خطي مع طول التسلسل.
- معالجة تسلسلات أطول: بفضل كفاءة الضغط، يمكن لـ LFMs معالجة تسلسلات أطول باستخدام نفس الأجهزة.
استغلال فعّال لطول السياق
- طول سياق 32k توكن: تم تحسين النماذج لتحقيق طول سياق يصل إلى 32 ألف توكن، مما يُتيح التعامل مع مهام طويلة جدًا على الأجهزة الطرفية.
- تطبيقات جديدة: يُمكّن هذا الأداء الجديد المطورين من إنشاء تطبيقات مثل تحليل المستندات، التلخيص، التفاعلات الأكثر فاعلية مع الروبوتات الحوارية الواعية بالسياق، وتحسين أداء أنظمة الاسترجاع المعزز بالتوليد (Retrieval-Augmented Generation).
الأهداف المستقبلية
- توسع القياسات: تهدف Liquid AI إلى توسيع نطاق نماذج LFMs عبر زيادة حجم النماذج، زمن التدريب/الاختبار، وطول السياق.
- تصميم نماذج متنوعة: بخلاف النماذج اللغوية، قامت الشركة بتصميم نماذج لأنواع بيانات متعددة، مجالات مختلفة، وتطبيقات متنوعة ستصدر في الأشهر المقبلة.
الابتكار في هندسة النماذج
- إعادة تصور معماريات النماذج: تستند Liquid AI على أبحاث طويلة في تصميم أنظمة تعلم فعّالة ومعبرة، وتهدف إلى استكشاف طرق لبناء نماذج أساسية تتجاوز بنية الـ Generative Pre-trained Transformers (GPTs).
- وحدات حسابية مخصصة: تعتمد LFMs على وحدات حسابية يمكن التعبير عنها كمشغلات خطية تكيفية تتحدد أفعالها بناءً على المدخلات، مما يتيح تصميمات مرنة وفعّالة تتناسب مع متطلبات مختلفة للبيانات والأجهزة.
الدعوة للمشاركة والتعاون
- دعوة للمطورين والشركات: تدعو Liquid AI الشركات والمطورين لتجربة واختبار نماذج LFMs في مراحلها المبكرة، والمساهمة في اكتشاف نقاط القوة والضعف بها.
- التغذية الراجعة والتعاون: تؤكد الشركة على أهمية تلقي الملاحظات والمشاركة في جهود الفريق لتحسين قدرات النماذج.
ما يتقنه وما لا يتقنه LFMs اليوم
ما تتقنه LFMs:
- المعرفة العامة والمتخصصة.
- الرياضيات والتفكير المنطقي.
- المهام الطويلة السياق بكفاءة وفعالية.
- اللغات: اللغة الأساسية هي الإنجليزية، مع قدرات متعددة اللغات مثل الإسبانية، الفرنسية، الألمانية، الصينية، العربية، اليابانية، والكورية.
ما لا تتقنه LFMs:
- مهام البرمجة بدون تدريب مسبق (Zero-shot code tasks).
- الحسابات الرياضية الدقيقة.
- المعلومات الحساسة بالزمن.
- مهام محددة مثل عد الأحرف في كلمة معينة.
- تقنيات تحسين تفضيلات الإنسان لم تُطبق بشكل واسع بعد.
نهج العلم المفتوح
- الشفافية والمشاركة: تتبع Liquid AI نهج العلم المفتوح، حيث تنشر الشركة نتائجها وطرقها من خلال تقارير علمية وتقنية.
- عدم نشر النماذج حاليًا: رغم ذلك، لم تُفتح النماذج بعد للسماح للشركات بالبناء على تقدمها والحفاظ على ميزتها التنافسية.
فعالية الحدث المنتجي
- حدث إطلاق المنتج: سيتم عقد حدث إطلاق في كامبريدج، ماساتشوستس في 23 أكتوبر 2024، حيث سيتم عرض المزيد من المنتجات وتقدم نماذج LFMs وتطبيقاتها في مجالات مثل الإلكترونيات الاستهلاكية، المالية، الرعاية الصحية، والتكنولوجيا الحيوية.
الخلاصة
شركة Liquid AI تسعى لتطوير أنظمة ذكاء اصطناعي مبتكرة وفعالة تعتمد على تصميمات جديدة تتجاوز البنى التقليدية مثل GPTs. من خلال إطلاق نماذج LFMs، تقدم الشركة أداءً متفوقًا في فئاتها الحجمية مع كفاءة عالية في استخدام الذاكرة وقدرات معالجة طويلة السياق، مما يفتح آفاقًا جديدة لتطبيقات الذكاء الاصطناعي في مختلف الصناعات والمجالات.
إذا كنت مهتمًا بمجال الذكاء الاصطناعي الحديث أو ترغب في الاستفادة من تقنيات متقدمة في مؤسستك، فإن Liquid AI تقدم حلولًا واعدة تستحق المتابعة.