2 min readfrom Machine Learning

Open-weight 4B models approach o3-level medical question answering in Swedish [P]

Our take

Recent experiments demonstrate significant progress in AI-powered medical question answering within the Swedish language. Small, open-weight 4B models are now achieving impressive results on the MedQA-SWE dataset, with Qwen3.5-4B reaching 87% accuracy—surpassing even GPT-4’s 2024 score. Notably, Qwen3.5-4B performs this reasoning entirely in English, suggesting language is less critical than previously assumed. Further insights into bias evaluations across frontier models can be found in our related article, "Evaluated 6 frontier LLMs…”. Explore the implementation and detailed findings here: [https://github.com

The rapid advancements in open-weight large language models (LLMs) continue to reshape the landscape of AI accessibility and capability, and a recent experiment detailed on Reddit highlights this trend strikingly. Researchers are demonstrating that even relatively small models, like those in the 4B parameter range, are approaching impressive performance levels in specialized domains. This particular study focuses on Swedish medical licensing exams, a challenging benchmark where GPT-4 achieved 84% accuracy in 2024. The subsequent progress of o3 to 88% on a smaller, overlapping dataset underscores the accelerating pace of development. This builds upon ongoing conversations around the evolving role of LLMs, as explored in "AI Root Cause Analysis Shifts from Model Reasoning to Context Engineering" [/post/ai-root-cause-analysis-shifts-from-model-reasoning-to-contex-cms0bhz3b09khdjxxw4ukzr0p], suggesting that the key to unlocking better performance increasingly lies in effective prompt design and context engineering rather than solely in scaling model size. It also echoes the findings presented in "Evaluated 6 frontier LLMs (GPT-5.4, Claude Sonnet 4.6, Claude Opus 4.7, Gemini Pro/Flash, Grok 4.3) on political, gender, and racial bias across 8 benchmarks (~20,600 examples) [R]" [/post/evaluated-6-frontier-llms-gpt-5-4-claude-sonnet-4-6-claude-o-cms4lyepe00dbwjtf4asuji7o], demonstrating that performance isn't solely about the largest models, but also about targeted training and evaluation.

The success of fine-tuning MedGemma-1.5-4B to achieve a passing score on the exam – and the even more remarkable performance of Gemma4-E4B and Qwen3.5-4B without any post-training – is particularly noteworthy. The fact that Qwen3.5-4B conducts all its reasoning in English, despite receiving Swedish prompts, questions, and answer options, challenges assumptions about language being a significant barrier for LLMs. This suggests a surprising degree of cross-lingual understanding and transferability within these models, hinting at deeper underlying linguistic representations. The researchers' experimentation with “early exit” interventions to manage repetitive reasoning loops further illustrates the iterative nature of optimizing LLM performance, a process that goes beyond simply increasing model size and involves sophisticated techniques for controlling their behavior. While reinforcement learning yielded only minor gains in this instance, it highlights the potential for further refinement through targeted training approaches.

This development carries significant implications for specialized AI applications. The ability to achieve high accuracy on complex tasks like medical licensing exams using relatively small, open-weight models democratizes access to advanced AI capabilities. Organizations and researchers with limited resources can now explore and adapt these models to tackle domain-specific challenges, fostering innovation beyond the reach of those with access to exclusively proprietary, larger models. The emphasis on fine-tuning and prompt engineering also shifts the focus towards more accessible and cost-effective methods of improving AI performance, rather than solely relying on the brute force of scaling. This is particularly relevant in fields like healthcare, where specialized knowledge and regulatory constraints often necessitate customized solutions. The KDnuggets Weekly Roundup: Week of July 20, 2026 [/post/kdnuggets-weekly-roundup-week-of-july-20-2026-cms0od1fe00dbwjxxkiy4uevc] further underscores the continuing trend of specialized AI development and the growing importance of efficient and adaptable models.

Looking ahead, it will be crucial to monitor the continued evolution of these smaller, open-weight models and their ability to tackle increasingly complex, domain-specific tasks. The demonstrated cross-lingual capabilities raise questions about the potential for truly universal LLMs that can operate effectively across multiple languages and cultural contexts with minimal adaptation. Furthermore, the challenges encountered with reasoning loops and the efficacy of interventions like “early exit” highlight the ongoing need for research into more robust and controllable AI reasoning processes. Will we see a future where specialized, smaller models outperform larger, general-purpose models in specific domains, and what new techniques will emerge to unlock their full potential?

I have been running some experiments with smaller open-weight LLMs on multiple-choice questions of Swedish medical licensing exams. On a dataset called MedQA-SWE, GPT-4 scored 84% accuracy in 2024 and o3 scored 88% in 2025 on a smaller, overlapping dataset.

With post-training (SFT) on data from earlier years, I got MedGemma-1.5-4B to a passing score of 60% on the final year’s exam. Find the implementation here: https://github.com/tarolangner/medqaswe_medgemma_sft

But even though they were released just three months later, Gemma4-E4B and Qwen3.5-4B are flat out superior already, at 77% with no post-training at all. With reasoning enabled, the latter can get to 87% accuracy.

It can even push a bit further if no length cap is put on the reasoning traces, but some of them spiral into repetitive loops about formatting that fill the entire context length without giving any answer. Here, I found it helpful to use an ‘early exit’ thinking intervention proposed in the S-GRPO paper that simply injects a phrase and closes the thinking trace at a predetermined sequence length. I also tried their proposed reinforcement learning method to get shorter reasoning traces, but with only minor gains (probably somewhat underdimensioned training setup).

Curiously, Qwen3.5-4B does all reasoning in English despite the Swedish prompt, questions and answer options. But it really seems like the language is no obstacle, even though it’s often estimated to be just 1% of LLM training data.

I also have a more detailed write-up on the details and experiments here for anyone interested: https://tensorlabbet.com/2026/07/19/medqaswe_post_training/

submitted by /u/AccomplishedCat4770
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article