SearcharxivSearch

arXiv subjects

Xiayang Shi

Publications and source records attributed to Xiayang Shi.

2 recordsLinked to original sources

Refining Translations with LLMs: A Constraint-Aware Iterative Prompting Approach

Large language models (LLMs) have demonstrated remarkable proficiency in machine translation (MT), even without specific training on the languages in question. However, translating rare words in low-resource or domain-specific contexts remains challenging for LLMs. To address this issue, we propose a multi-step prompt chain that enhances translation faithfulness by prioritizing key terms crucial for semantic accuracy. Our method first identifies these keywords and retrieves their translations from a bilingual dictionary, integrating them into the LLM's context using Retrieval-Augmented Generation (RAG). We further mitigate potential output hallucinations caused by long prompts through an iterative self-checking mechanism, where the LLM refines its translations based on lexical and semantic constraints. Experiments using Llama and Qwen as base models on the FLORES-200 and WMT datasets demonstrate significant improvements over baselines, highlighting the effectiveness of our approach in enhancing translation faithfulness and robustness, particularly in low-resource scenarios.

cs.CL

Multiple solutions of double phase variational problems with variable exponent

This paper deals with the existence of multiple solutions for the quasilinear equation $-\mathrm{div}\,\mathbf{A}(x,\nabla u)| u| ^{α(x)-2}u=f(x,u)$ in $ \mathbb{R} ^{N}$, which involves a general variable exponent elliptic operator $\mathbf{ A}$ in divergence form. The problem corresponds to double phase anisotropic phenomena, in the sense that the differential operator has behaviors like $ | ξ| ^{q(x)-2}ξ$ for small $| ξ| $ and like $| ξ| ^{p(x)-2}ξ$ for large $ | ξ| $, where $1<α(\cdot )\leq p(\cdot )<q(\cdot )<N$. Our aim is to approach variationally the problem by using the tools of critical points theory in generalized Orlicz-Sobolev spaces with variable exponent. Our results extend the previous works Azzollini, d'Avenia, and Pomponio (2014) and Chorfi and Rădulescu (2016), from the case when exponents $p$ and $q$ are constant, to the case when $p(\cdot )$ and $% q(\cdot )$ are functions. We also substantially weaken some of their hypotheses overcome the lack of compactness by using the weighting method.

math.AP