paper-with-me

홈 › Papers

Strategies for Improving NL-to-FOL Translation with LLMs: Data Generation, Incremental Fine-Tuning, and Verification

2024-09-24 · Ramya Keerthy Thatikonda, Jiuzhou Han, Wray Buntine, Ehsan Shareghi

Logical reasoning is a fundamental task in natural language processing that presents significant challenges to Large Language Models (LLMs). The inherent characteristics of logical reasoning makes it well-suited for symbolic representations such as first-order logic (FOL). Research in symbolic logical reasoning explored FOL generation using state-of-the-art LLMs (i.e., GPT-4) to produce FOL translations of natural language (NL) statements, but errors in translation are usually not the focus. We address this by categorizing the translation errors in FOL statements generated by LLMs. To make progress towards improving the quality of FOL translations for smaller language models such as LLaMA-2 13B and Mistral 7B, we create ProofFOL, a high-quality FOL-annotated subset of ProofWriter dataset using GPT-4o. The models fine-tuned on this silver standard data achieve a significant gain in performance when compared to larger language models such as LLaMA-2 70B. In addition to improving the model using large data, we also tackle the issue of data scarcity and introduce an incremental framework encompassing of data augmentation and verification steps. In the augmentation process, a single pair of (premises, conclusion) is split into multiple new instances based on the predicates and FOLs. This data is used for fine-tuning, and the inference on this model generates FOLs with fewer errors over the model trained on the original data. Our investigation on the translation errors leads to generation of a perturbation dataset, which is used to train a verifier that corrects potential syntactic and semantic FOL translation errors. We demonstrate an efficient method for making the most of a limited existing human-annotated dataset. Our results show state-of-the-art performance for ProofWriter and ProntoQA datasets using ProofFOL on LLaMA-2 and Mistral models.

📄 PDF Abstract BibTeX arXiv:2409.16461

Code (1)

RamyaKeerthy/Translation-NL2FOL 공식 구현 pytorch

Tasks

Data AugmentationLogical ReasoningTranslation

Similar Papers 제목 키워드 기반

Take One Step at a Time to Know Incremental Utility of Demonstration: An Analysis on Reranking for Few-Shot In-Context Learning

2023-11-16 · Kazuma Hashimoto, Karthik Raman, Michael Bendersky

In-Context Learning (ICL) is an emergent capability of Large Language Models (LLMs). Only a few demonstrations enable LLMs to be used as blackbox for new tasks. Previous studies have shown that using LLMs' outputs as lab…

In-Context LearningMulti-class ClassificationRerankingTranslation

Is LLM the Silver Bullet to Low-Resource Languages Machine Translation?

2025-03-31 · Yewei Song, Lujun Li, Cedric Lothritz, Saad Ezzini 외

Low-Resource Languages (LRLs) present significant challenges in natural language processing due to their limited linguistic resources and underrepresentation in standard datasets. While recent advancements in Large Langu…

ArticlesKnowledge DistillationMachine TranslationNMT+1

Incremental Segmentation and Decoding Strategies for Simultaneous Translation

2013-10-01 · IJCNLP 2013 10 · Mahsa Yarmohammadi, Vivek Kumar Rangarajan Sridhar, Srinivas Bangalore, Baskaran Sankaran
ChunkingMachine TranslationSpoken Language UnderstandingTranslation

Re-Translation Strategies For Long Form, Simultaneous, Spoken Language Translation

2019-12-06 · Naveen Arivazhagan, Colin Cherry, Te I, Wolfgang Macherey 외

We investigate the problem of simultaneous machine translation of long-form speech content. We target a continuous speech-to-text scenario, generating translated captions for a live audio feed, such as a lecture or play-…

FormMachine Translationspeech-recognitionSpeech Recognition+2

SimulS2S-LLM: Unlocking Simultaneous Inference of Speech LLMs for Speech-to-Speech Translation

2025-04-22 · Keqi Deng, Wenxi Chen, Xie Chen, Philip C. Woodland

Simultaneous speech translation (SST) outputs translations in parallel with streaming speech input, balancing translation quality and latency. While large language models (LLMs) have been extended to handle the speech mo…

Simultaneous Speech-to-Speech TranslationSpeech-to-Speech TranslationTranslation