Author: Srini Penchikala
Gemma 3 Supports Vision-Language Understanding, Long Context Handling, and Improved Multilinguality
MMS • Srini Penchikala

Google’s open-source generative artificial intelligence (AI) model Gemma 3 supports vision-language understanding, long context handling, and improved multi-linguality. In a recent blog post, Google DeepMind and AI Studio teams discussed the new features in Gemma 3. The model also highlights KV-cache memory reduction, a new tokenizer and offers better performance and higher resolution vision encoders.
Gemma 3 Technical Report summarizes these new features and capabilities. The new vision-language understanding capability includes the models (4B, 12B and 27B parameters) using a custom Sigmoid loss for Language-Image Pre-training (SigLIP) vision encoder, which enables the models to interpret visual input. The encoder operates on fixed 896×896 square images and to handle the images with different aspect ratios or high resolutions, a “Pan & Scan” algorithm is employed. This involves adaptively cropping the image, resizing each crop to 896×896, and then encoding it. The Pan & Scan method further improves performance on tasks involving non-square aspect ratios, high-resolution images, and text reading in images. The new model also treats images as a sequence of compact “soft tokens” produced by MultiModalProjector. This technique cuts down on the inference resources needed for image processing by representing visual data with a fixed number of 256 vectors.
The vision encoder processing in Gemma 3 uses bi-directional attention with image inputs. Bidirectional attention is a good approach for understanding tasks (as opposed to prediction tasks) where we have the entire text and need to deeply understand it (like in models such as BERT).
Architectural changes for memory efficiency include modifications to reduce KV-cache memory usage, which tends to increase with long context. These changes reduce the memory overhead during inference with long context compared to global-only attention mechanisms used in Gemma 1 and the 1:1 local/global ratio used in Gemma 2. This allows for the analysis of longer documents and conversations without losing context. Specifically, it can handle 32k tokens for the 1B model and 128k tokens for larger models.
Gemma 3 also introduces an improved tokenizer. The vocabulary size has been changed to 262k, but uses the same SentencePiece tokenizer. To avoid errors, they recomend to use the new tokenizer with Gemma 3. This is the same tokenizer as Gemini which is more balanced for non-English languages. Gemma 3 has improved multilingual capabilities due to a revisited data mixture with an increased amount of multilingual data (both monolingual and parallel). The team also revised the pre-training data mixture and post-training process to enhance its multilingual capabilities.
Gemma 3 models showed better performance compared to Gemma 2 on both pre-trained instruction-tuned versions across various benchmarks. It is a better model that fits in a single consumer GPU or TPU host. The Gemma 27B IT model ranks among the top 10 models in LM Arena as of Apr 12, 2025, outperforming much larger open models and showing a significantly higher Elo score than Gemma 2.
Gemma 3 models’ longer context handling can generalize to 128k context length after Rotary Position Embedding (RoPE) rescaling during pre-training. They increased RoPE base frequency from 10k to 1M on global self-attention layers, and kept the frequency of local layers at 10k.
For more information on Gemma 3 model, check out the developer guide, model card, meme generator, and Gemmaverse to explore Gemma models developed by the community.
Google’s Cybersecurity Model Sec-Gemini Enables SecOps Workflows for Root Cause and Threat Analysis
MMS • Srini Penchikala

Google’s new cybersecurity model Sec-Gemini focuses on cybersecurity AI to enable SecOps workflows for root cause analysis (RCA) and threat analysis, and vulnerability impact understanding. Google Cybersecurity x AI research lead Elie Bursztein announced last week the release of Sec-Gemini v1.
Security defender teams typically face the task of securing against all cyber threats, while attackers need to successfully find and exploit only a single vulnerability. This asymmetry has made securing systems difficult, time consuming and error prone. AI-powered cybersecurity workflows can help shift the balance back to the defenders by force multiplying cybersecurity professionals. They also help security analysts understand the risk and threat profile associated with specific vulnerabilities faster.
Enabling SecOps workflows requires state-of-the-art reasoning capabilities and current cybersecurity knowledge. Sec-Gemini v1 achieves this by combining Google Gemini’s Large Language Model (LLM) capabilities with near real-time cybersecurity knowledge and tooling. This allows it to achieve a better performance when using it on cybersecurity workflows like incident root cause analysis, threat analysis, and vulnerability impact understanding.
Sec-Gemini v1 leverages various data sources including Google Threat Intelligence (GTI), Open-Source Vulnerabilities database operated by Google (OSV) and Mandiant Threat intelligence data. An example shown on the website highlights Sec-Gemini v1’s answers in response to key cybersecurity questions where the framework, using up-to-date accurate threat actor information, is able to determine that Salt Typhoon is a threat actor and provides a description of that threat actor. The output includes not only vulnerability details (based on OSV data), but also the contextualization of vulnerabilities with respect to threat actors (using Mandiant data). The framework performs well on key cybersecurity benchmarks like Cyber Threat Intelligence Multiple Choice Questions (CTI-MCQ), a leading threat intelligence benchmark and the Cybersecurity Threat Intelligence-Root Cause Mapping (CTI-RCM) benchmark.
Since last year Google has been integrating Gemini product into AI enabled security and compliance strategy programs, including AI-driven security with Google Cloud and Google Security Operations. Last year’s The State of AI and Security Survey Report published by Google Cloud and Cloud Security Alliance (CSA) highlights the AI’s potential to enhance security measures and improve threat detection and response capabilities. Several other organizations including NVIDIA and RedHat are increasingly leveraging AI technologies in cybersecurity use cases to quickly detect anomalies, threats, and vulnerabilities by processing large amounts of data in a short time. Some of these use cases include anomaly detection and AI-assisted code scanning.
It’s important to note that Sec-Gemini v1 is still an experimental cybersecurity model. The team is making it freely available to select organizations, institutions, professionals, and NGOs for research purposes. Google team provided an early access request for their Trusted Tester recruitment program but the forum is currently closed due to the team receiving a lot of requests from the community.