paper-with-me

Papers

Enhancing Contextual Understanding in Large Language Models through Contrastive Decoding

2024-05-04 · Zheng Zhao, Emilio Monti, Jens Lehmann, Haytham Assem

Large language models (LLMs) tend to inadequately integrate input context during text generation, relying excessively on encoded prior knowledge in model parameters, potentially resulting in generated text with factual inconsistencies or contextually unfaithful content. LLMs utilize two primary knowledge sources: 1) prior (parametric) knowledge from pretraining, and 2) contextual (non-parametric) knowledge from input prompts. The study addresses the open question of how LLMs effectively balance these knowledge sources during the generation process, specifically in the context of open-domain question answering. To address this issue, we introduce a novel approach integrating contrastive decoding with adversarial irrelevant passages as negative samples to enhance robust context grounding during generation. Notably, our method operates at inference time without requiring further training. We conduct comprehensive experiments to demonstrate its applicability and effectiveness, providing empirical evidence showcasing its superiority over existing methodologies. Our code is publicly available at: https://github.com/amazon-science/ContextualUnderstanding-ContrastiveDecoding.

📄 PDF Abstract BibTeX arXiv:2405.02750

Code (1)

amazon-science/contextualunderstanding-contrastivedecoding 공식 구현 pytorch

Tasks

Open-Domain Question AnsweringQuestion AnsweringText Generation

Similar Papers 제목 키워드 기반

Hierarchical Contextual Grounding LVLM: Enhancing Fine-Grained Visual-Language Understanding with Robust Grounding

2025-08-23 · Leilei Guo, Antonio Carlos Rivera, Peiyu Tang, Haoxuan Ren 외 arxiv

Large Language Models (LLMs) and Vision-Language Large Models (LVLMs) have achieved remarkable progress in natural language processing and multimodal understanding. Despite their impressive generalization capabilities, c…

Referring ExpressionVisual Reasoning

Context-Aware Semantic Segmentation: Enhancing Pixel-Level Understanding with Large Language Models for Advanced Vision Applications

2025-03-25 · Ben Rahman

Semantic segmentation has made significant strides in pixel-level image understanding, yet it remains limited in capturing contextual and semantic relationships between objects. Current models, such as CNN and Transforme…

Autonomous DrivingSemantic Segmentation

Enhancing Semantic Understanding with Self-supervised Methods for Abstractive Dialogue Summarization

2022-09-01 · Hyunjae Lee, Jaewoong Yun, Hyunjin Choi, Seongho Joe 외

Contextualized word embeddings can lead to state-of-the-art performances in natural language understanding. Recently, a pre-trained deep contextualized text encoder such as BERT has shown its potential in improving natur…

Abstractive Dialogue SummarizationAbstractive Text SummarizationArticlesDecoder+5

VisChronos: Revolutionizing Image Captioning Through Real-Life Events

2026-06-23 · Phuc-Tan Nguyen, Hieu Nguyen, Minh-Triet Tran, Trung-Nghia Le arxiv

This paper aims to bridge the semantic gap between visual content and natural language understanding by leveraging historical events in the real world as a source of knowledge for caption generation. We propose VisChrono…

Natural Language UnderstandingDense CaptioningImage Captioning

TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents

2025-02-17 · Geon Lee, Wenchao Yu, Kijung Shin, Wei Cheng 외

Time series data is essential in various applications, including climate modeling, healthcare monitoring, and financial analytics. Understanding the contextual information associated with real-world time series data is o…

Language ModelingLanguage ModellingLarge Language ModelTime Series