paper-with-me

Papers

XPrompt:Explaining Large Language Model's Generation via Joint Prompt Attribution

2024-05-30 · Yurui Chang, Bochuan Cao, Yujia Wang, Jinghui Chen, Lu Lin

Large Language Models (LLMs) have demonstrated impressive performances in complex text generation tasks. However, the contribution of the input prompt to the generated content still remains obscure to humans, underscoring the necessity of elucidating and explaining the causality between input and output pairs. Existing works for providing prompt-specific explanation often confine model output to be classification or next-word prediction. Few initial attempts aiming to explain the entire language generation often treat input prompt texts independently, ignoring their combinatorial effects on the follow-up generation. In this study, we introduce a counterfactual explanation framework based on joint prompt attribution, XPrompt, which aims to explain how a few prompt texts collaboratively influences the LLM's complete generation. Particularly, we formulate the task of prompt attribution for generation interpretation as a combinatorial optimization problem, and introduce a probabilistic algorithm to search for the casual input combination in the discrete space. We define and utilize multiple metrics to evaluate the produced explanations, demonstrating both faithfulness and efficiency of our framework.

📄 PDF Abstract BibTeX arXiv:2405.20404

Code (0)

등록된 구현이 없습니다.

Tasks

Combinatorial OptimizationcounterfactualCounterfactual ExplanationText Generation

Similar Papers 제목 키워드 기반

XPrompt: Exploring the Extreme of Prompt Tuning

2022-10-10 · Fang Ma, Chen Zhang, Lei Ren, Jingang Wang 외

Prompt tuning learns soft prompts to condition frozen Pre-trained Language Models (PLMs) for performing downstream tasks in a parameter-efficient manner. While prompt tuning has gradually reached the performance level of…

SQLPrompt: In-Context Text-to-SQL with Minimal Labeled Data

2023-11-06 · Ruoxi Sun, Sercan Ö. Arik, Rajarishi Sinha, Hootan Nakhost 외

Text-to-SQL aims to automate the process of generating SQL queries on a database from natural language text. In this work, we propose "SQLPrompt", tailored to improve the few-shot prompting capabilities of Text-to-SQL fo…

In-Context LearningText to SQLText-To-SQL

ELIXIR: Efficient and LIghtweight model for eXplaIning Recommendations

2025-08-27 · Ben Kabongo, Vincent Guigue, Pirmin Lemberger arxiv

Collaborative filtering drives many successful recommender systems but struggles with fine-grained user-item interactions and explainability. As users increasingly seek transparent recommendations, generating textual exp…

Collaborative FilteringText Generation

From Passive Perception to Active Memory: A Weakly Supervised Image Manipulation Localization Framework Driven by Coarse-Grained Annotations

2025-11-25 · Zhiqing Guo, Dongdong Xi, Songlin Li, Gaobo Yang arxiv

Image manipulation localization (IML) faces a fundamental trade-off between minimizing annotation cost and achieving fine-grained localization accuracy. Existing fully-supervised IML methods depend heavily on dense pixel…

Image Manipulation LocalizationKnowledge Distillation

Explaining the Reasoning of Large Language Models Using Attribution Graphs

2025-12-17 · Chase Walker, Rickard Ewetz arxiv

Large language models (LLMs) exhibit remarkable capabilities, yet their reasoning remains opaque, raising safety and trust concerns. Attribution methods, which assign credit to input features, have proven effective for e…

Decision Making