[KongchangAI]
· 1 min read· 775 words

Free Training Labels Hiding in Chat Logs: A New Approach to Mining Agent Training Samples

Free Training Labels Hiding in Chat Logs: A New Approach to Mining Agent Training Samples

Use users' @Agent behavior in chat logs to generate training labels at zero cost.

The article introduces a low-cost method for building AI Agent training data from chat history. The core observation is: the user first sends a requirement message and then @ mentions a certain Agent, which implies that the original Agent did not meet the need and the mentioned Agent is the expected responder. When constructing samples, the first message is used as input and the mentioned Agent as the target label, which can be directly used for training. This method uses user behavior for automatic annotation and combines both negative feedback (the original Agent failed) and positive feedback (the target Agent was selected), reflecting true intent better than clicks or dwell time. The article also points out its boundaries, such as mistaken mentions and multi-Agent competition, which are not discussed, but emphasizes that the annotation value of chat logs is worth trying for teams.

When building training data for AI Agents, the most expensive part is often not compute power but high-quality annotation. However, one technical sharer has proposed a clever idea: your chat logs may already contain ready-made training labels.

The Overlooked Signal: When Users Actively @ an Agent

The first message is the actual content

The sharer describes a specific pattern for identifying training samples. In a conversation instance containing two messages, the first message is the user's actual requirement content, and the second message contains a mention of a certain Agent.

This scenario is not uncommon in reality: after a user sends a request, the Agent that should have responded does not reply, so the user turns to @ another Agent, or points to a specific Agent in a subsequent message. This seemingly ordinary interaction actually contains a very strong annotation signal—the user tells you through action which Agent is the responder they expect.

The user may mention a new Agent because the original Agent did not reply

How to Turn Conversations into Training Samples

Keep the first message as input

Based on this observation, the sharer provides a sample construction method: keep the first message as the input content, set the Agent mentioned in the second message as the target agent, and this pair of data directly constitutes a training sample.

This sample can be used directly for training

The brilliance of this method lies in obtaining labels at zero cost. The user's behavior itself has already completed the annotation work; developers do not need to hire additional annotators, nor do they need to design complex annotation processes. Every "switch to another" in the chat history is a potential combination of negative feedback and positive feedback: the original Agent failed to meet the need, while the target Agent was identified by the user as the more suitable choice.

Target agent in a multi-Agent system refers to the specific Agent that the user expects to respond, usually identified through @ mentions or explicit specification. In training samples, the target agent serves as the label for the supervision signal and forms an (input, label) pair with the input message. This construction method is similar to a classification task in supervised learning, where the input is the user's need and the label is the Agent that should respond.

Why This Signal Deserves Attention

From the perspective of data quality, the behavior of a user actively mentioning a certain Agent reflects true intent better than simple clicks or dwell time. It carries clear selectivity—the user designates one among multiple possible responders, and this expression of preference is a scarce signal in recommendation systems and Agent routing training.

Of course, this method also has its boundaries. The material does not discuss how to handle complex situations such as mistaken mentions, multi-Agent competition, or interference from user emotions. But as an idea for "panning for gold" from existing data, it reminds us that the source of training data is not necessarily an annotation platform; it may also be in the conversation logs generated every day by the product. For teams building Agent systems, re-examining the annotation value of chat history may be a low-cost path worth trying.

Implicit feedback in recommendation systems refers to preference signals inferred not directly from user ratings or annotations, but from user behavior (such as clicks, dwell time, skips, and switches). The behavior of a user actively @ mentioning another Agent is strong implicit feedback because it requires additional operational cost and reflects true intent better than passive behavior. In Agent routing training, such signals can be used to learn matching strategies between users and Agents.

One-line Summary

Use the behavior of users @ mentioning Agents in chat logs to generate training labels at zero cost.

Paragraph Summary

The article introduces a low-cost method for building AI Agent training data from chat history. The core observation is: the user first sends a requirement message and then @ mentions a certain Agent, which implies that the original Agent did not meet the need and the mentioned Agent is the expected responder. When constructing samples, the first message is used as input and the mentioned Agent as the target label, which can be directly used for training. This method uses user behavior for automatic annotation and combines both negative feedback (the original Agent failed) and positive feedback (the target Agent was selected), reflecting true intent better than clicks or dwell time. The article also points out its boundaries, such as mistaken mentions and multi-Agent competition, which are not discussed, but emphasizes that the annotation value of chat logs is worth trying for teams.

#Agent training data#chat log annotation#implicit feedback#target agent#zero-cost labeling
Share:

Related articles