paper-with-me

Papers

Plan with Code: Comparing approaches for robust NL to DSL generation

2024-08-15 · Nastaran Bassamzadeh, Chhaya Methani

Planning in code is considered a more reliable approach for many orchestration tasks. This is because code is more tractable than steps generated via Natural Language and make it easy to support more complex sequences by abstracting deterministic logic into functions. It also allows spotting issues with incorrect function names with the help of parsing checks that can be run on code. Progress in Code Generation methodologies, however, remains limited to general-purpose languages like C, C++, and Python. LLMs continue to face challenges with custom function names in Domain Specific Languages or DSLs, leading to higher hallucination rates and syntax errors. This is more common for custom function names, that are typically part of the plan. Moreover, keeping LLMs up-to-date with newer function names is an issue. This poses a challenge for scenarios like task planning over a large number of APIs, since the plan is represented as a DSL having custom API names. In this paper, we focus on workflow automation in RPA (Robotic Process Automation) domain as a special case of task planning. We present optimizations for using Retrieval Augmented Generation (or RAG) with LLMs for DSL generation along with an ablation study comparing these strategies with a fine-tuned model. Our results showed that the fine-tuned model scored the best on code similarity metric. However, with our optimizations, RAG approach is able to match the quality for in-domain API names in the test set. Additionally, it offers significant advantage for out-of-domain or unseen API names, outperforming Fine-Tuned model on similarity metric by 7 pts.

📄 PDF Abstract BibTeX arXiv:2408.08335

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationHallucinationRAGRetrieval-augmented GenerationTask Planning

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
WordPiece 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

Evaluating Model Explanations without Ground Truth

2025-05-15 · Kaivalya Rawal, Zihao Fu, Eoin Delaney, Chris Russell

There can be many competing and contradictory explanations for a single model prediction, making it difficult to select which one to use. Current explanation evaluation frameworks measure quality by comparing against ide…

Feature ImportancemodelSensitivity

Towards Evaluating Plan Generation Approaches with Instructional Texts

2020-01-13 · Debajyoti Paul Chowdhury, Arghya Biswas, Tomasz Sosnowski, Kristina Yordanova

Recent research in behaviour understanding through language grounding has shown it is possible to automatically generate behaviour models from textual instructions. These models usually have goal-oriented structure and a…

Blueprint-Bench: Comparing spatial intelligence of LLMs, agents and image models

2025-09-24 · Lukas Petersson, Axel Backlund, Axel Wennstöm, Hanna Petersson 외 arxiv

We introduce Blueprint-Bench, a benchmark designed to evaluate spatial reasoning capabilities in AI models through the task of converting apartment photographs into accurate 2D floor plans. While the input modality (phot…

Instruction FollowingSpatial ReasoningImage Generation

SSIG: A Visually-Guided Graph Edit Distance for Floor Plan Similarity

2023-09-08 · Casper van Engelenburg, Seyran Khademi, Jan van Gemert

We propose a simple yet effective metric that measures structural similarity between visual instances of architectural floor plans, without the need for learning. Qualitatively, our experiments show that the retrieval re…

Graph MatchingMetric LearningRecommendation SystemsRetrieval

Do Vision & Language Decoders use Images and Text equally? How Self-consistent are their Explanations?

2024-04-29 · Letitia Parcalabescu, Anette Frank

Vision and language model (VLM) decoders are currently the best-performing architectures on multimodal tasks. Next to answers, they are able to produce natural language explanations, either in post-hoc or CoT settings. H…

Answer GenerationBenchmarkingExplanation GenerationLanguage Modelling