paper-with-me

Papers

CoS: Enhancing Personalization and Mitigating Bias with Context Steering

2024-05-02 · Jerry Zhi-Yang He, Sashrika Pandey, Mariah L. Schrum, Anca Dragan

When querying a large language model (LLM), the context, i.e. personal, demographic, and cultural information specific to an end-user, can significantly shape the response of the LLM. For example, asking the model to explain Newton's second law with the context "I am a toddler" yields a different answer compared to the context "I am a physics professor." Proper usage of the context enables the LLM to generate personalized responses, whereas inappropriate contextual influence can lead to stereotypical and potentially harmful generations (e.g. associating "female" with "housekeeper"). In practice, striking the right balance when leveraging context is a nuanced and challenging problem that is often situation-dependent. One common approach to address this challenge is to fine-tune LLMs on contextually appropriate responses. However, this approach is expensive, time-consuming, and not controllable for end-users in different situations. In this work, we propose Context Steering (CoS) - a simple training-free method that can be easily applied to autoregressive LLMs at inference time. By measuring the contextual influence in terms of token prediction likelihood and modulating it, our method enables practitioners to determine the appropriate level of contextual influence based on their specific use case and end-user base. We showcase a variety of applications of CoS including amplifying the contextual influence to achieve better personalization and mitigating unwanted influence for reducing model bias. In addition, we show that we can combine CoS with Bayesian Inference to quantify the extent of hate speech on the internet. We demonstrate the effectiveness of CoS on state-of-the-art LLMs and benchmarks.

📄 PDF Abstract BibTeX arXiv:2405.01768

Code (1)

sashrikap/context-steering 공식 구현 pytorch

Tasks

Bayesian InferenceLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

AM 설명 없음

Similar Papers 제목 키워드 기반

Mitigating Content Effects on Reasoning in Language Models through Fine-Grained Activation Steering

2025-05-18 · Marco Valentino, Geonhee Kim, Dhairya Dalal, Zhixue Zhao 외

Large language models (LLMs) frequently demonstrate reasoning limitations, often conflating content plausibility (i.e., material inference) with logical validity (i.e., formal inference). This can result in biased infere…

Language ModelingLanguage Modelling

Cautious Context Steering for Language Model Personalization

2026-08-06 · Gihoon Kim, Jeyoung Lee, Suhan Woo, Sekwon Oh 외 arxiv

Personalizing language models (LMs) to individual user preferences is essential for aligning responses with diverse goals and backgrounds. Existing methods typically train a separate adapter for each user or learn a rewa…

When Personalization Misleads: Understanding and Mitigating Hallucinations in Personalized LLMs

2026-01-16 · Zhongxiang Sun, Yi Zhan, Chenglei Shen, Weijie Yu 외 arxiv

Personalized large language models (LLMs) adapt model behavior to individual users to enhance user satisfaction, yet personalization can inadvertently distort factual reasoning. We show that when personalized LLMs face f…

Question Answering

Toward Natural Language Mitigation Strategies for Cognitive Biases in Recommender Systems

2020-11-01 · ACL (NL4XAI, INLG) 2020 11 · Alisa Rieger, Mariët Theune, Nava Tintarev

Cognitive biases in the context of consuming online information filtered by recommender systems may lead to sub-optimal choices. One approach to mitigate such biases is through interface and interaction design. This surv…

Recommendation SystemsSurveyText Generation

A Causal Explainable Guardrails for Large Language Models

2024-05-07 · Zhixuan Chu, Yan Wang, Longfei Li, Zhibo Wang 외

Large Language Models (LLMs) have shown impressive performance in natural language tasks, but their outputs can exhibit undesirable attributes or biases. Existing methods for steering LLMs toward desired attributes often…