arXiv

From Context to Skills: Can Language Models Learn from Context Skillfully?

Title: From Context to Skills: Can Language Models Learn from Context Skillfully?

Abstract:

In many practical applications, language models (LMs) must reason through intricate contexts that surpass their internal parametric knowledge. This necessity gives rise to context learning, a process where LMs acquire relevant information directly from the provided context. A straightforward approach to this problem is inference-time skill augmentation, which involves extracting rules and procedures from the context and converting them into natural-language skills. However, implementing this approach for context learning presents two significant hurdles: the exorbitant expense of manually annotating skills for lengthy, technically dense contexts, and the absence of external feedback to guide automated skill construction.

To address these issues, we introduce Ctx2Skill, a self-evolving framework capable of autonomously discovering, refining, and selecting context-specific skills without requiring human supervision or external feedback. The framework’s foundation is a multi-agent self-play loop comprising three key components: a Challenger, which generates probing tasks and rubrics; a Reasoner, which attempts to solve these tasks using an evolving skill set; and a neutral Judge, which delivers binary feedback.

A critical feature of this system is the evolution of both the Challenger and the Reasoner through accumulated skills. Dedicated Proposer and Generator agents analyze failure cases and synthesize them into targeted skill updates for both parties, facilitating automated skill discovery and refinement. To mitigate the risk of adversarial collapse—resulting from increasingly extreme task generation and over-specialized skill accumulation—we introduce a Cross-time Replay mechanism. This mechanism identifies the skill set that achieves the optimal balance across representative cases for the Reasoner, thereby ensuring robust and generalizable skill evolution.

The skills generated by this process can be integrated into any language model to enhance its context learning capabilities. Evaluations on four context learning tasks from CL-bench demonstrate that Ctx2Skill consistently improves solving rates across various backbone models.


Source: arXiv Generated at: 2026-06-03 00:00:00 UTC

Related Articles

TikTok Billionaire Tops Ambani as Asia’s Second-Richest
Bloomberg

TikTok Billionaire Tops Ambani as Asia’s Second-Richest

TikTok founder surpasses Mukesh Ambani to become Asia’s second-richest person, marking a significant shift in the region...

Publishers in UK can opt out of Google AI search results
BBC News

Publishers in UK can opt out of Google AI search results

UK publishers can now opt out of Google’s AI search summaries, a CMA ruling designed to boost their bargaining power and...

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.
Bloomberg

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.

Kioxia’s market cap nears Toyota’s, signaling a major shift in Japan’s corporate hierarchy. This narrowing gap highlight...

Reuters

Morning Bid: Marvell, a fitting name for the latest AI darling

Reuters highlights Marvell as a top AI stock, noting its name perfectly suits its status as the newest market darling.

Financial Times

Tim Hayward: I built the Jaguar E-Type of computer keyboards

Tim Hayward compares his bespoke keyboard designs to the Jaguar E-Type. He explores high-end customization for personal ...

Financial Times

AI Labs: Zuckerberg’s $100bn gamble

Meta’s $100 billion AI investment aims to secure AI dominance, but questions remain whether sheer spending can outpace c...