An unofficial, read-only Hacker News reader.

Does Task Framing Change How Claude Code Works? A Preliminary Study (opens external site)

975 points by abedelez 1 day ago | xinyadu.github.io | 390 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. If you check rather than assuming, you'll find LLMs actually do work that way. For example, https://arxiv.org/abs/2501.11120, dated 19 Jan 2025.

    > We study behavioral self-awareness — an LLM's ability to articulate its behaviors without requiring in-context examples. We finetune LLMs on datasets that exhibit particular behaviors, such as (a) making high-risk economic decisions, and (b) outputting insecure code. Despite the datasets containing no explicit descriptions of the associated behavior, the finetuned LLMs can explicitly describe it. For example, a model trained to output insecure code says, “The code I write is insecure.” Indeed, models show behavioral self-awareness for a range of behaviors and for diverse evaluations. Note that while we finetune models to exhibit behaviors like writing insecure code, we do not finetune them to articulate their own behaviors — models do this without any special training or examples.

    > Behavioral self-awareness is relevant for AI safety, as models could use it to proactively disclose problematic behaviors. In particular, we study backdoor policies, where models exhibit unexpected behaviors only under certain trigger conditions. We find that models can sometimes identify whether or not they have a backdoor, even without its trigger being present. However, models are not able to directly output their trigger by default.

    (Of course, Anthropic is aware of this and things won't be so simple or straightforward with Claude.)