Sign in

Jirui Qi

@jiruiqi.bsky.social
85 followers 60 following 32 posts

Ph.D Candidate @GroNLP, University of Groningen #NLProc betswish.github.io

PostsRepliesMedia
Jirui Qi @jiruiqi.bsky.social · 05/03/2026
Excited to kick off a 3-month research visit at Rycolab (ETH Zurich)! 🇨🇭 My research focuses on RL, alignment, multilingual LMs, reasoning, and RAG. If you're exploring any of these areas, feel free to reach out or say hi! #NLP #RL #AIAlignment #Multilinguality
060
Reposted by Jirui Qi
Arianna Bisazza @arianna-bis.bsky.social · 31/10/2025
InCLow topics #EMNLP2025: - MT error prediction techniques & its reception by professional translators (@gsarti.com) - thinking language in Large Reasoning Models (@jiruiqi.bsky.social) - effect of stereotypes on LLM’s implicit personalization (@veraneplenbroek.bsky.social) ....
151
Jirui Qi @jiruiqi.bsky.social · 20/08/2025
Our paper on multilingual reasoning is accepted to Findings of #EMNLP2025! 🎉 (OA: 3/3/3.5/4) We show SOTA LMs struggle with reasoning in non-English languages; prompt-hack & post-training improve alignment but trade off accuracy. 📄 arxiv.org/abs/2505.22888 See you in Suzhou! #EMNLP
arxiv.org
When Models Reason in Your Language: Controlling Thinking Trace Language Comes at the Cost of Accuracy
Recent Large Reasoning Models (LRMs) with thinking traces have shown strong performance on English reasoning tasks. However, their ability to think in other languages is less studied. This capability ...
073
Reposted by Jirui Qi
Gabriele Sarti @gsarti.com · 30/05/2025
📢 New paper: Can unsupervised metrics extracted from MT models detect their translation errors reliably? Do annotators even *agree* on what constitutes an error? 🧐 We compare uncertainty- and interp-based WQE metrics across 12 directions, with some surprising findings! 🧵 1/
1163
Reposted by Jirui Qi
Francesca Padovani @frap98.bsky.social · 30/05/2025
“Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Models” I’m happy to share that the preprint of my first PhD project is now online! 🎊 Paper: arxiv.org/abs/2505.23689
arxiv.org
Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Models
Seminal work by Huebner et al. (2021) showed that language models (LMs) trained on English Child-Directed Language (CDL) can reach similar syntactic abilities as LMs trained on much larger amounts of ...
26117
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[12/] Grateful to all collaborators for their contributions! @shan23chen.bsky.social @Zidi_Xiong @Raquel Fernández @daniellebitterman.bsky.social @arianna-bis.bsky.social Github repo: github.com/Betswish/mCo... Benchmark: huggingface.co/collections/... Trained LRMs: huggingface.co/collections/...
huggingface.co
XReasoning - models - a shanchen Collection
multilingualness - Dataset for XReasoning ds - means continue post-training on deepseek distilled qwen math 7b limo-{language}-{amount of data}
010
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[11/] Besides, increasing the instances doesn't reliably mitigate the issue. When increasing from 100 to 250 training instances, the post-trained LRMs suffer from a drop in matching rate, while accuracy exhibits only marginal recovery, far below the accuracy of the original LRM.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[10/] The results show that post-training on merely 100 instances sharply increases the matching rate to nearly 100% for TH and TE and to 80% for JA, but decreases accuracy, demonstrating the effectiveness of post-training to improve language matching, but the trade-off persists.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[9/] To see whether further training can help, we post-train on Distilled-R1-7B using mini training sets of 100 or 250 instances per poor-matching language (Japanese, Thai, Telugu), resulting in six post-trained LRMs. The training data are filtered and translated from LIMO.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[8/] Corresponding to the heatmaps, we further analyze the actual thinking languages of the LRM, where a clear mismatch is observed. Besides, all mismatches (i.e., red marks) fall into English or Chinese, suggesting the impact of thinking data on the model’s reasoning capability.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[7/] Interestingly, reasoning in English consistently results in higher accuracy, especially after prompt hacking. This aligns with concurrent work on improving answer accuracy via cross-lingual reasoning, supporting the reliability of our experiments and XReasoning benchmark.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[6/] Heatmaps by query/thinking language show the 32B LRM fails to generate traces in the prompted language—e.g., asked to think in FR, it defaults to EN. Motivating LRM to reason with hacking increases the matching from 46% to 98%, but introduces a noticeable accuracy decrement.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[5/] Overall, LRMs struggle to follow instructions to think in user-specified languages with standard prompts. Motivating LRMs to generate traces in user query language with prompt hacking boosts language matching, but decreases accuracy, which shrinks as model size increases.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[4/] Besides the standard prompting with explicitly specified thinking language in the instruction, we introduce and leverage the prompt hacking technique to induce the LRM to generate the thinking traces in the user-expected languages.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[3/] We comprehensively evaluate six SOTA LRMs belonging to two families: Distilled-R1 and Skywork-OR1. Due to the lack of multilingual reasoning datasets, we introduce a novel benchmark named XReasoning, covering easy MGSM and translated challenging AIME2024, AIME2025, and GPQA_Diamond.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[2/] The matching of thinking language is as important as accuracy because it makes the traces more readable and easier for users to verify. Even correct answers can feel untrustworthy if users can’t understand how the model gets there, especially as task complexity increases.
100
Jirui Qi @jiruiqi.bsky.social · 30/05/2025
[1/]💡New Paper Large reasoning models (LRMs) are strong in English — but how well do they reason in your language? Our latest work uncovers their limitation and a clear trade-off: Controlling Thinking Trace Language Comes at the Cost of Accuracy 📄Link: arxiv.org/abs/2505.22888
185
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[8/] Taken together, our findings reveal the LLMs' capability of consistently utilizing multilingual contexts, with a barrier in decoding answers in the user language. These deepen the understanding of how LLMs work in mRAG systems, providing directions for future improvements.
000
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[7/] Including distractors, our analysis with both accuracy and feature attribution techniques further shows that distracting passages negatively impact answer quality regardless of their language. However, distractors in the query language exert a slightly stronger influence.
100
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[6/] This finding suggests that generating in the target language is the major bottleneck, which could dominate, if not hide, the effect of similarity with the passage language.
110
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[5/] Detailed heatmaps further showcase that answer accuracy is relatively consistent within each row, more so than within each column. In other words, the query language is much more predictive of accuracy than the passage language.
100
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[4/] Our experiments with 4 LLMs across 3 QA datasets, covering 48 languages, reveal a surprising ability of LLMs to extract relevant information from passages in different languages than the query, but a weaker ability to formulate an answer in the correct language (shading bars).
100
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[3/] Through accuracy and feature attribution analysis, we assess LLMs’ ability to make consistent use of a relevant passage regardless of its language, respond in expected languages, and focus on relevant passages even when distractors in different languages are provided.
100
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
[2/] Multilingual RAG (mRAG) has been shown to be beneficial, particularly for low-resource languages. However, the extent to which LLMs can leverage multilingual contexts to generate accurate answers, independently from retrieval quality, remains understudied.
100
Jirui Qi @jiruiqi.bsky.social · 11/04/2025
✨ New Paper ✨ [1/] Retrieving passages from many languages can boost retrieval augmented generation (RAG) performance, but how good are LLMs at dealing with multilingual contexts in the prompt? 📄 Check it out: arxiv.org/abs/2504.00597 (w/ @arianna-bis.bsky.social @Raquel_Fernández) #NLProc
145
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
Many thanks to all collaborators for their contributions! Tianyu Liu, Paul He, Arianna Bisazza, @mrinmaya.bsky.social, Ryan Cotterell.
000
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[8/8] 🌟Take-home msg: p(question) can gauge LM performance in RAG QA. Considering we are taking the first step to prompt optimization without LM decoding, we follow the previous setup and mainly adopt document reordering. Thus, other prompt modifications are left for the future.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[7/8] Based on the above analysis, we propose two methods to optimize the prompt of the QA task with RAG. Experimental results show that both methods boost the model performance of the baseline prompt with documents in random order, supporting our hypothesis and claims above.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[6/8] The observations may explain instance-level correlation: a higher likelihood indicates the prompt is less surprising to/better understood by LM (e.g. have seen it in pretraining). Thus, LM tends to assign a higher probability to the gold answer, leading to better performance after decoding.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[5/8] We also observe an overlap between LM performance and question likelihoods by reproducing the U-shape accuracy curve of Lost-in-the-Middle paper and plotting the corresponding p(question) in the same figure. Meanwhile, gold answer likelihoods change synchronously with them.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[4/8] Zooming into the instance level, we find that each question is more likely to be correctly answered when it reaches the highest likelihood via document reordering with other segments unchanged in RAG pipelines.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[3/8] Starting from corpus-level validation, we find that the questions with higher likelihoods in the dataset can be better answered than the ones with medium or low likelihoods.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[2/8] LLM performance varies with changes in the prompt. However, lacking in-depth analysis limits the use of this phenomenon for prompt engineering in practice. In this study, we hypothesize and reveal that question likelihood can be a good performance gauge in RAG applications.
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
[1/8] Seeking a faster approach to assess prompt quality in RAG QA? Our latest work may be a good fit for you. We find that prompt quality can be measured using question likelihoods, a computation that’s parallelizable on the input side of LLMs! 📄http://arxiv.org/abs/2411.07773 #NLProc
100
Jirui Qi @jiruiqi.bsky.social · 24/01/2025
🎉 First post on Blue: Our paper on **efficient prompt engineering** has been accepted by NAACL2025 Main Conference! 🎉 Key Point: LLMs tend to generate better responses when the likelihood of the question segment is higher. I.e. p(question) ∝ Performance Paper available at: arxiv.org/abs/2411.07773
arxiv.org
Likelihood as a Performance Gauge for Retrieval-Augmented Generation
Recent work finds that retrieval-augmented generation with large language models is prone to be influenced by the order of retrieved documents in the context. However, the lack of in-depth analysis li...
120