SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.13132 · 2023

Better to Ask in English: Cross-Lingual Evaluation of Large Language Models for Healthcare Queries

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 10 functions out of this paper's own repositories and ran 8 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
claws-lab/XLingEval canonical 8 of 10
FunctionStatusWhere it lives
format_question Ran claws-lab/XLingEval/consistency/consistency_get_medalpaca_answer.py
code served (permissive licence) · get_code("b4bf5a8362f1b8a1")
get_consistency_results_path Ran claws-lab/XLingEval/consistency/data_consistency.py
code served (permissive licence) · get_code("862b92b43e3f1274")
get_topic_mean_std Ran claws-lab/XLingEval/consistency/consistency_answer_evaluation.py
code served (permissive licence) · get_code("5c71aa86a1321285")
jaccard_similarity Ran claws-lab/XLingEval/consistency/consistency_answer_evaluation.py
code served (permissive licence) · get_code("9a52e4e9f92b3c06")
prompt_consistency Ran claws-lab/XLingEval/consistency/prompts.py
code served (permissive licence) · get_code("89fa36f811db1e8c")
prompt_type Ran claws-lab/XLingEval/correctness/correctness_answer_evaluation.py
code served (permissive licence) · get_code("6f941b073ff9115d")
starts_with_capital_letter Ran claws-lab/XLingEval/consistency/consistency_get_medalpaca_answer.py
code served (permissive licence) · get_code("19437fe46b756fdc")
strip_special_chars Ran claws-lab/XLingEval/consistency/consistency_get_medalpaca_answer.py
code served (permissive licence) · get_code("fc353be025870298")
load_results_consistency Not yet run claws-lab/XLingEval/consistency/data_consistency.py
code served (permissive licence) · get_code("94dd8c74f64544e7")
split_multilingual_paragraph Not yet run claws-lab/XLingEval/consistency/language_consistency.py
code served (permissive licence) · get_code("4b4485552b993f41")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models (LLMs) are transforming the ways the general public accesses and consumes information. Their influence is particularly pronounced in pivotal sectors like healthcare, where lay individuals are increasingly appropriating LLMs as conversational agents for everyday queries. While LLMs demonstrate impressive language understanding and generation proficiencies, concerns regarding their safety remain paramount in these high-stake domains. Moreover, the development of LLMs is disproportionately focused on English. It remains unclear how these LLMs perform in the context of non-English languages, a gap that is critical for ensuring equity in the real-world use of these systems.This paper provides a framework to investigate the effectiveness of LLMs as multi-lingual dialogue systems for healthcare queries. Our empirically-derived framework XlingEval focuses on three fundamental criteria for evaluating LLM responses to naturalistic human-authored health-related questions: correctness, consistency, and verifiability. Through extensive experiments on four major global languages, including English, Spanish, Chinese, and Hindi, spanning three expert-annotated large health Q&A datasets, and through an amalgamation of algorithmic and human-evaluation strategies, we found a pronounced disparity in LLM responses across these languages, indicating a need for enhanced cross-lingual capabilities. We further propose XlingHealth, a cross-lingual benchmark for examining the multilingual capabilities of LLMs in the healthcare context. Our findings underscore the pressing need to bolster the cross-lingual capacities of these models, and to provide an equitable information ecosystem accessible to all.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.13132")
get_code_for_paper("2310.13132")
have("2310.13132")

Connect an agent — have() is free.