# Multimodality

Published articles for Multimodality.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How to get a Google Gemini API key--and use the Gemini API

DevFeed: [How to get a Google Gemini API key--and use the Gemini API](<https://devfeed.tech/articles/how-to-get-a-google-gemini-api-key-and-use-the-gemini-api-129823.md>)

Original publisher: [Read original article](<https://zapier.com/blog/gemini-api>)

Author: Miguel Rebelo

Published: 2026-11-11T05:00:00Z

Content type: tutorial

Language: en

Sources: [Zapier](<https://devfeed.tech/sources/zapier.md>)

Topics: [generative-ai-tools](<https://devfeed.tech/topics/generative-ai-tools.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [API Monetization](<https://devfeed.tech/topics/api-monetization.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-studio](<https://devfeed.tech/tags/ai-studio.md>), [api](<https://devfeed.tech/tags/api.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemini-4](<https://devfeed.tech/tags/gemini-4.md>), [gemini-4-carbon](<https://devfeed.tech/tags/gemini-4-carbon.md>), [gemini-api](<https://devfeed.tech/tags/gemini-api.md>), [google](<https://devfeed.tech/tags/google.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [images](<https://devfeed.tech/tags/images.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [openai](<https://devfeed.tech/tags/openai.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

The guide explains how to obtain a Gemini API key in Google AI Studio and make a REST request, using Postman as its example. Create a key from the key icon, associate it with a project, and store it securely. In Postman, send a POST request with the API URL, the x-goog-api-key and Content-Type: application/json headers, and a JSON body containing a model and prompt. The guide also shows how to add system instructions and nest generation settings such as max_output_tokens under generation_config. It contrasts AI Studio's simpler setup with the broader model and settings access through Google Cloud's Gemini platform. Pricing includes a limited free tier, pay-as-you-go usage, and an enterprise option; the free tier has lower limits and may time out or return 503 errors during high demand, while its requests and outputs may be used for model training. The text notes that API rate limits are not clearly displayed and recommends checking the Rate Limits tab. This is an excerpted guide, so it does not establish current model availability or provide a complete API reference.

### Source excerpt

OpenAI and Anthropic models can read text and look at images just fine, but video is a big no-no. If you're building a tool or a product that absolutely needs that type of media, you'd have to engineer a long workaround, decomposing it into multiple images and then feeding them as an input. A big techie flex if you manage to do it, but is it worth the time? Google has the answer if you want to go faster. Its latest models, led by Gemini 4 Carbon, focus on multimodality, being capable of consumin

## Align Your Query: Representation Alignment for Multimodality Medical Object Detection

DevFeed: [Align Your Query: Representation Alignment for Multimodality Medical Object Detection](<https://devfeed.tech/articles/align-your-query-representation-alignment-for-multimodality-medical-object-detection-123069.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2510.02789>)

Author: Ara Seo, Bryan Sangwoo Kim, Hyungjin Chung, Jong Chul Ye

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Medical imaging](<https://devfeed.tech/topics/medical-imaging.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [align](<https://devfeed.tech/tags/align.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attention](<https://devfeed.tech/tags/attention.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [class](<https://devfeed.tech/tags/class.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [define](<https://devfeed.tech/tags/define.md>), [detection](<https://devfeed.tech/tags/detection.md>), [effective](<https://devfeed.tech/tags/effective.md>), [effectively](<https://devfeed.tech/tags/effectively.md>), [medical](<https://devfeed.tech/tags/medical.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [object](<https://devfeed.tech/tags/object.md>), [object-detection](<https://devfeed.tech/tags/object-detection.md>), [query](<https://devfeed.tech/tags/query.md>)

### AI overview

For medical object detection trained across modalities such as CXR, CT, and MRI, the paper proposes aligning DETR-style object queries with modality context to address heterogeneous data statistics and disjoint representations. MoCA uses self-attention to propagate compact, text-derived modality tokens through the query set; QueryREPA adds a short pretraining stage with a modality-balanced contrastive objective to align queries with those tokens. The abstract reports consistent AP improvements across jointly trained modalities, with minimal latency and no architectural modifications. It does not provide numerical results or further evaluation details.

### Source excerpt

arXiv:2510.02789v3 Announce Type: replace-cross Abstract: Medical object detection suffers when a single detector is trained on mixed medical modalities (e.g., CXR, CT, MRI) due to heterogeneous statistics and disjoint representation spaces. To address this challenge, we turn to representation alignment, an approach that has proven effective for bringing features from different sources into a shared space. Specifically, we target the representations of DETR-style object queries and propose a simple, detector-agnostic framework to align them with modality context. First, we define modality tokens: compact, text-derived embeddings encoding imaging modality that are lightweight and require no extra annotations. We integrate the modality tokens into the detection process via Multimodality Context Attention (MoCA), mixing object-query representations via self-attention to propagate modality context within the query set. This preserves DETR-style architectures and adds negligible latency while injecting modality cues into object queries. We further introduce QueryREPA, a short pretraining stage that aligns query representations to their modality tokens using a task-specific contrastive objective with modality-balanced batches. Together, MoCA and QueryREPA produce modality-aware, class-faithful queries that transfer effectively to downstream training. Across diverse modalities trained altogether, the proposed approach consistently improves AP with minimal overhead and no architectural modifications, offering a practical path toward robust multimodality medical object detection.

## Preconditioned Flow Matching

DevFeed: [Preconditioned Flow Matching](<https://devfeed.tech/articles/preconditioned-flow-matching-102941.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.02337>)

Author: Shadab Ahamed, Eshed Gal, Md Shahriar Rahim Siddiqui, Simon Ghyselincks, Moshe Eliasof, Eldad Haber

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>)

Tags: [convergence](<https://devfeed.tech/tags/convergence.md>), [covariance](<https://devfeed.tech/tags/covariance.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [flow-matching](<https://devfeed.tech/tags/flow-matching.md>), [image](<https://devfeed.tech/tags/image.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [precision](<https://devfeed.tech/tags/precision.md>), [precondition](<https://devfeed.tech/tags/precondition.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [transformation](<https://devfeed.tech/tags/transformation.md>)

### AI overview

Ill-conditioned intermediate distributions can slow flow matching because training fits high-variance directions faster than low-variance ones; in Gaussian mixtures, the worst-conditioned component can dominate. Preconditioned flow matching transforms the target to a more isotropic representation, trains the flow there, then maps generated samples back. The analysis proves conditioning-dependent convergence in a Gaussian setting and extends the bottleneck result to mixtures. Experiments on controlled distributions, latent MNIST, and image datasets up to 512x512 report improved conditioning diagnostics, low-eigenvalue recovery, FID, MMD, precision, and recall. Compute-matched baselines and preconditioner-quality ablations attribute gains to improved downstream geometry rather than simply added parameters.

### Source excerpt

arXiv:2603.02337v3 Announce Type: replace-cross Abstract: Flow matching (FM) learns vector fields by regressing stochastic velocity targets along intermediate distributions $p_t$. We identify a geometric optimization bottleneck in this regression problem: when the covariance $\Sigma_t$ of $p_t$ is ill-conditioned, gradient-based training rapidly fits high-variance directions while making slow progress along low-variance ones. In an exactly solvable Gaussian setting, we prove that the excess risk is weighted by $\Sigma_t$, and that both gradient descent and stochastic gradient descent inherit condition-number-dependent convergence. We then extend the analysis to Gaussian mixtures, showing that multimodality does not average away this effect; instead, the slowest and worst-conditioned component can control optimization. Motivated by this analysis, we propose $\textit{preconditioned flow matching}$, a precondition-then-match framework that transforms the target distribution into a more isotropic representation, trains the main flow in the transformed space, and maps generated samples back through the inverse transformation. We show theoretically that preconditioning reshapes the intermediate FM path and improves its conditioning. Across controlled Gaussian and Gaussian-mixture experiments, latent MNIST and other high resolution image datasets up to $512{\times}512$ resolution, preconditioning improves path-conditioning diagnostics, low-eigenvalue recovery, FID, MMD, precision, and recall. Compute-matched baselines and preconditioner-quality ablations further show that the gains are not explained merely by additional preconditioner parameters, but by improved geometry of the downstream flow matching problem. GitHub: https://github.com/ahxmeds/preconditioned-flow-matching.git.

## R\\\`enyi-Regularized Flow-Based Variational Inference for Bayesian Calibration

DevFeed: [R\\\`enyi-Regularized Flow-Based Variational Inference for Bayesian Calibration](<https://devfeed.tech/articles/r-enyi-regularized-flow-based-variational-inference-for-bayesian-calibration-103242.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.37169>)

Author: Exauc\\\`e Luweh Adjim Ngarti (AIRSEA), \\'Elise Arnaud (AIRSEA), L\\'eo Nicoletti (Mines Saint-\\'Etienne MSE, LIMOS, FAYOL-ENSMSE, FAYOL-ENSMSE), Victor Trappler (Mines Saint-\\'Etienne MSE, LIMOS, FAYOL-

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [VAE](<https://devfeed.tech/topics/vae.md>)

Tags: [bayesian](<https://devfeed.tech/tags/bayesian.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [flow](<https://devfeed.tech/tags/flow.md>), [gaussian](<https://devfeed.tech/tags/gaussian.md>), [inference](<https://devfeed.tech/tags/inference.md>), [model-calibration](<https://devfeed.tech/tags/model-calibration.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>)

### AI overview

The study tests a Rényi-divergence regularizer intended to improve mode coverage in flow-based variational inference for Bayesian calibration. With Gaussian observation errors and a Gaussian prior, the unregularized minimization objective combines the expected Tikhonov calibration objective with negative differential entropy; this does not ensure that an approximation captures multiple modes. In a two-parameter twin experiment, flows captured both modes when the bimodal posterior was connected, but flows and Gaussian mixtures often missed one when the modes were well separated. The regularizer, which encourages coverage of the prior support, reduced the near-collapse fraction from 50% to 25%. This result is limited to the reported experiment: the term changes the Bayesian variational objective, trades off approximation accuracy, and does not generally solve mode collapse.

### Source excerpt

arXiv:2610.37169v1 Announce Type: new Abstract: Variational inference with normalizing flows provides a flexible posterior approximation for Bayesian model calibration, but struggles when the posterior has several modes separated by regions of low probability mass. We study this behavior in a two-parameter twin experiment and regularize the variational objective. Under Gaussian observation errors and a Gaussian prior, the corresponding minimization objective is the expected Tikhonov calibration objective minus the differential entropy of the approximating distribution. However, the expected Tikhonov term favors concentration near one of the modes, while entropy maximization does not guarantee multimodality. We introduce a regularization term based on R\'enyi divergence that encourages the approximate posterior to cover the prior support. In the connected bimodal case, a flow approximation represents both modes; in the case with well-separated modes, the flow and Gaussian mixture frequently miss one mode. The introduced regularization reduces the near-collapse fraction from 50% to 25%. While the regularization improves mode coverage in this experiment, it changes the Bayesian variational objective, introduces a trade-off in approximation accuracy, and does not provide a general solution to mode collapse.

## Metric Conformal Prediction via the Conditional Expected Local Radius

DevFeed: [Metric Conformal Prediction via the Conditional Expected Local Radius](<https://devfeed.tech/articles/metric-conformal-prediction-via-the-conditional-expected-local-radius-97054.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31336>)

Author: Rui Qiu, Fang Yao, Zhou Yu

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [conditional](<https://devfeed.tech/tags/conditional.md>), [conditional-probability](<https://devfeed.tech/tags/conditional-probability.md>), [conformal-prediction](<https://devfeed.tech/tags/conformal-prediction.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [local](<https://devfeed.tech/tags/local.md>), [metric](<https://devfeed.tech/tags/metric.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [radius](<https://devfeed.tech/tags/radius.md>), [responses](<https://devfeed.tech/tags/responses.md>), [spaces](<https://devfeed.tech/tags/spaces.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [transport](<https://devfeed.tech/tags/transport.md>), [uncertainty-quantification](<https://devfeed.tech/tags/uncertainty-quantification.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

The paper introduces conditional expected local radius (CELR), a conformal prediction method for responses in general metric spaces. CELR measures local conditional probability concentration, so prediction sets can reflect heterogeneity and multimodality without requiring densities or vector-space structure. Its conditional distribution provides nonconformity scores comparable across covariate values and avoids transport comparisons between distance profiles. A metric distributional random forest handles multivariate covariates and nonlinear interactions; one forest fit supplies the score components, avoiding repeated local fitting. The authors report uniform estimator consistency, asymptotic conditional validity under suitable regularity conditions, and finite-sample marginal coverage under exchangeability. Numerical studies report effective uncertainty quantification across metric spaces and computational savings over the conditional profile score method.

### Source excerpt

arXiv:2610.31336v1 Announce Type: cross Abstract: We introduce the conditional expected local radius (CELR) and develop a new conformal prediction method for non-Euclidean responses in general metric spaces. CELR measures local conditional probability concentration, allowing prediction sets to accommodate heterogeneity and multimodality without requiring densities or a vector space structure. Its conditional distribution yields a nonconformity score that is comparable across covariate values and avoids costly transport comparisons between distance profiles. We further adapt a metric distributional random forest that handles multivariate covariates and nonlinear interactions, while a single forest fit supplies all score components, reducing computation by eliminating repeated local fitting. We establish uniform consistency of the estimators and asymptotic conditional validity under suitable regularity conditions, together with finite-sample marginal coverage under exchangeability. Numerical studies demonstrate effective uncertainty quantification across different metric spaces and substantial computational savings over the conditional profile score method.

## We Specified an AI Agent in 2016. We Called It Analytics.

DevFeed: [We Specified an AI Agent in 2016. We Called It Analytics.](<https://devfeed.tech/articles/we-specified-an-ai-agent-in-2016-we-called-it-analytics-85370.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/we-specified-an-ai-agent-in-2016-we-called-it-analytics/>)

Author: Mario Noioso

Published: 2026-10-12T12:30:00Z

Content type: article

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Agent Skills](<https://devfeed.tech/topics/agent-skills.md>)

Tags: [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-systems](<https://devfeed.tech/tags/ai-systems.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [attention](<https://devfeed.tech/tags/attention.md>), [cognitive-load](<https://devfeed.tech/tags/cognitive-load.md>), [consent](<https://devfeed.tech/tags/consent.md>), [context-engineering](<https://devfeed.tech/tags/context-engineering.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [editor-s-picks](<https://devfeed.tech/tags/editor-s-picks.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [human-in-the-loop](<https://devfeed.tech/tags/human-in-the-loop.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [real-time](<https://devfeed.tech/tags/real-time.md>)

### AI overview

The author revisits a 2016 IBM patent for real-time feedback during musical performances and maps its design to a modern AI agent: multimodal perception, context aggregation, memory-grounded inference, evaluation, and human-directed action under a tight latency budget. The article argues that the architecture anticipated important agent design concerns, while identifying gaps in reasoning capability, memory lifecycle, permissions, and learning from outcomes.

### Source excerpt

Re-reading my own IBM patent on real-time concert feedback as what it actually was: an agentic loop with multimodal perception, memory-grounded inference, and a human in the loop. What it got right, and what a decade of hindsight teaches agent builders today. The post We Specified an AI Agent in 2016. We Called It Analytics. appeared first on Towards Data Science.

## Gemini 2.5 Flash-Lite is now ready for scaled production use

DevFeed: [Gemini 2.5 Flash-Lite is now ready for scaled production use](<https://devfeed.tech/articles/gemini-2-5-flash-lite-is-now-ready-for-scaled-production-use-6155.md>)

Original publisher: [Read original article](<https://deepmind.google/blog/gemini-25-flash-lite-is-now-ready-for-scaled-production-use/>)

Author: Logan Kilpatrick; Zach Gleicher

Published: 2025-10-25T17:34:32Z

Content type: release

Language: en

Sources: [Google DeepMind News](<https://devfeed.tech/sources/google-deepmind-news.md>)

Topics: [context window](<https://devfeed.tech/topics/context-window.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [context](<https://devfeed.tech/tags/context.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [cost](<https://devfeed.tech/tags/cost.md>), [family](<https://devfeed.tech/tags/family.md>), [features](<https://devfeed.tech/tags/features.md>), [flash](<https://devfeed.tech/tags/flash.md>), [flash-lite](<https://devfeed.tech/tags/flash-lite.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [model](<https://devfeed.tech/tags/model.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [preview](<https://devfeed.tech/tags/preview.md>), [production](<https://devfeed.tech/tags/production.md>), [quality](<https://devfeed.tech/tags/quality.md>), [size](<https://devfeed.tech/tags/size.md>), [small](<https://devfeed.tech/tags/small.md>), [stable](<https://devfeed.tech/tags/stable.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

Gemini 2.5 Flash-Lite is now stable and generally available for scaled production use. Google describes it as the fastest and lowest-cost model in the 2.5 family, priced at $0.10 per million input tokens and $0.40 per million output tokens, with native reasoning that can be toggled for demanding tasks. It offers a 1-million-token context window, controllable thinking budgets, and tools including Grounding with Google Search, Code Execution, and URL Context. The source says it has lower latency than 2.0 Flash-Lite and 2.0 Flash across a broad prompt sample, and higher benchmark quality than 2.0 Flash-Lite. Example deployments include translation, telemetry diagnostics, video processing, and analysis of AI model outputs. Use the model ID "gemini-2.5-flash-lite"; the source says the preview alias was planned for removal on August 25, without specifying a year.

### Source excerpt

Gemini 2.5 Flash-Lite, previously in preview, is now stable and generally available. This cost-efficient model provides high quality in a small size, and includes 2.5 family features like a 1 million-token context window and multimodality.