arXiv Science⌕ Search

arXiv subjects

Mohammed Abdulrahman

Publications and source records attributed to Mohammed Abdulrahman.

4 recordsLinked to original sources

Rewriting Without a Rewriter: Distilling Prompt Enhancement into the Text Encoder

Rewriting image prompts with LLMs improves the semantic alignment of text-to-image (T2I) models, especially when the image's content needs to be inferred. However, the extra LLM call is expensive at deployment. We introduce Subtext, which distills the rewriter into the T2I model's text encoder: with the image generator frozen, the encoder is finetuned so that the plain prompt induces the denoising trajectory of the rewritten prompt. Velocity matching, the standard distillation objective in this setting, recovers the rewriter's gain on prompts that only need more detail (elaboration prompts), but struggles to bridge the gap on prompts that require reasoning. We therefore add a set-matching loss that pulls the encoder's padding outputs toward the words the rewriter adds. On SD3.5-Medium, the finetuned encoder matches the rewriter on eight elaboration benchmarks, and on five reasoning benchmarks it recovers twice the share that velocity-only distillation recovers, without additional deployment-time compute. Our encoder is also complementary to rewriting: when deployment-time compute permits an LLM rewrite, feeding it to our encoder outperforms feeding it to the base model. Because only the encoder changes, it transfers without retraining to larger models that share the same base encoder (SD3.5-Large, FLUX.1-schnell), keeping a similar share of the rewriter's reasoning gain. Our recipe outperforms velocity-only and generator-side distillation at the same parameter count, and matches variants with twice the trainable parameters and 1.5x the training compute. The recipe also ports to generators with LLM text encoders: on FLUX.2-klein and Qwen-Image-2.1, it significantly improves both prompt types and again beats velocity-only distillation on reasoning. Gains are measured in-domain and out-of-domain on 14 benchmarks, using a strong validated judge, with significance levels reported.

cs.CV↗

Almieyar: A Culturally Grounded Benchmark for Multi-Dialect Arabic Speech Recognition

Arabic speech technology has largely focused on Modern Standard Arabic, leaving the living dialects spoken by hundreds of millions under-served. We introduce ALMIEYAR, a culturally grounded ASR benchmark covering 17 Arabic dialects across six families, built entirely from newly recorded speech unseen by existing models. Dialect-community coordinators selected culturally relevant images across 10 topics, and native speakers described them through five structured scenarios, yielding approximately 50 minutes per dialect (13.7 hours total). We benchmark 12 state-of-the-art ASR systems zero-shot, including GPT-4o-transcribe, Voxtral-Mini-4B, Fanar-STT-LF, Whisper, SeamlessM4T-v2, and wav2vec2-based models. GPT-4o-transcribe achieves the lowest overall WER at 35.0%, followed by Voxtral-Mini-4B, Fanar-STT-LF, and Whisper-Large-v3 at 41.1%, 45.9%, and 49.5%, respectively, indicating substantial remaining errors across Arabic dialect communities. Performance varies considerably across dialect groups, with no model performing uniformly best across all groups. WER alone also obscures dialectal ASR behaviour: wav2vec2-based models show large WER/CER gaps, where character-level agreement remains much higher than word-level accuracy, motivating joint WER/CER reporting. ALMIEYAR provides a unified benchmark for culturally grounded Arabic ASR evaluation, including the first published benchmark for Ahwazi Arabic.

cs.CL↗

Image-POSER: Reflective RL for Multi-Expert Image Generation and Editing

Recent advances in text-to-image generation have produced strong single-shot models, yet no individual system reliably executes the long, compositional prompts typical of creative workflows. We introduce Image-POSER, a reflective reinforcement learning framework that (i) orchestrates a diverse registry of pretrained text-to-image and image-to-image experts, (ii) handles long-form prompts end-to-end through dynamic task decomposition, and (iii) supervises alignment at each step via structured feedback from a vision-language model critic. By casting image synthesis and editing as a Markov Decision Process, we learn non-trivial expert pipelines that adaptively combine strengths across models. Experiments show that Image-POSER outperforms baselines, including frontier models, across industry-standard and custom benchmarks in alignment, fidelity, and aesthetics, and is consistently preferred in human evaluations. These results highlight that reinforcement learning can endow AI systems with the capacity to autonomously decompose, reorder, and combine visual models, moving towards general-purpose visual assistants.

cs.CV↗

Simplifying Bayesian Optimization Via In-Context Direct Optimum Sampling

The optimization of expensive black-box functions is ubiquitous in science and engineering. A common solution to this problem is Bayesian optimization (BO), which is generally comprised of two components: (i) a surrogate model and (ii) an acquisition function, which generally require expensive re-training and optimization steps at each iteration, respectively. Although recent work enabled in-context surrogate models that do not require re-training, virtually all existing BO methods still require acquisition function maximization to select the next observation, which introduces many knobs to tune, such as Monte Carlo samplers and multi-start optimizers. In this work, we propose a completely in-context, zero-shot solution for BO that does not require surrogate fitting or acquisition function optimization. This is done by using a pre-trained deep generative model to directly sample from the posterior over the optimum point. We show that this process is equivalent to Thompson sampling and demonstrate the capabilities and cost-effectiveness of our foundation model on a suite of real-world benchmarks. We achieve an efficiency gain of more than 35x in terms of wall-clock time when compared with Gaussian process-based BO, enabling efficient parallel and distributed BO, e.g., for high-throughput optimization.

cs.LG↗