SearcharxivSearch

arXiv subjects

Tommaso Castellani

Publications and source records attributed to Tommaso Castellani.

8 recordsLinked to original sources

LatentGym: A Testbed For Cross-Task Experiential Learning With Controllable Latent Structure

We envision continually learning agentic systems that become more useful over time: as they encounter sequences of related tasks, they should infer the hidden structure shared across those tasks and use it to improve future decisions. This cross-task experiential learning capability is pivotal in domains such as personalization and interactive assistance, but existing training/evaluation frameworks do not provide shared, controllable latent structures and cannot measure whether or why agents improve. We introduce LatentGym: a controllable suite in which each environment is organized around a ground-truth latent variable governing the structure across tasks. Our construction yields metrics that separate exploration (whether the agent's actions gather information about the latent) from exploitation (whether the agent uses what it has gathered). We demonstrate our suite on empirical studies addressing three questions: how and why frontier models fail to adapt across related tasks; whether post-training on related task sequences improves general cross-task adaptation, and where those gains come from; and how design choices such as inter-task feedback shape training dynamics and generalization. Together, these results establish a controlled foundation for studying how LLM agents learn from experience across tasks, and for designing agents that adapt more reliably in sequential, personalized, and interactive settings.

cs.LG

SynthTools: A Framework for Scaling Synthetic Tools for Agent Development

For agentic systems to use external tools to solve complex, long-horizon tasks, we need a large set of diverse and controllable tool-use environments. We introduce SynthTools, a fully LLM-based pipeline spanning the entire lifecycle: environment generation, simulation, validation and task construction. By operating end-to-end through LLMs, our framework complements other tool-use environments bottlenecked by the complexity of real APIs, and ensures scalability and controllability by design. The framework consists of three components: top-down environment generation, which hierarchically constructs diverse, domain-grounded tool environments; environment simulation and validation, which ensures tools can be reliably emulated and filters out those that cannot; and bottom-up task and trajectory generation, which produces solvable and verifiable tasks together with multi-step trajectories, exposing control over difficulty, length, trajectory composition, and domain focus to guarantee flexibility. As a concrete instantiation, we release the dataset comprising $73{,}883$ validated tools across $6{,}800$ environments and $100$ fields, $79{,}925$ verifiable tasks as well as the pipeline to generate trajectories at scale. Training Qwen3 models of various sizes on a corpus of trajectories generated from these tasks yields gains across multiple tool-use benchmarks, including real APIs, indicating tool-use capabilities trained on synthetic data may transfer to some real environments. Together, these results suggest that SynthTools can serve as a useful infrastructure for large-scale training of tool-use agents.

cs.AI

Collective Awareness Platforms and Digital Social Innovation Mediating Consensus Seeking in Problem Situations

In this paper we show the results of our studies carried out in the framework of the European Project SciCafe2.0 in the area of Participatory Engagement models. We present a methodological approach built on participative engagements models and holistic framework for problem situation clarification and solution impacts assessment. Several online platforms for social engagement have been analysed to extract the main patterns of participative engagement. We present our own experiments through the SciCafe2.0 Platform and our insights from requirements elicitation.

cs.HC

A model for discussing entropy and time reversibility

In this article we discuss a model used to introduce the concept of entropy with secondary school students. It can be used to discuss with students the reversibility of time, the tendency towards homogeneity and the link between probability theory and second law of thermodynamics. The model is useful to introduce crucial epistemological issues and helps student to understand the deep connection between the macroscopic and the microscopic.

physics.ed-ph

Off-equilibrium confined dynamics in a glassy system with level-crossing states

We study analytically the dynamics of a generalized p-spin model, starting with a thermalized initial condition. The model presents birth and death of states, hence the dynamics (even starting at equilibrium) may go out of equilibrium when the temperature is varied. We give a full description of this constrained out of equilibrium behavior and we clarify the connection to the thermodynamics by computing (sub-dominant) TAP states, constrained to the starting equilibrium configuration.

cond-mat.dis-nn

Spin glass models with ferromagnetically biased couplings on the Bethe lattice: analytic solutions and numerical simulations

We derive the zero-temperature phase diagram of spin glass models with a generic fraction of ferromagnetic interactions on the Bethe lattice. We use the cavity method at the level of one-step replica symmetry breaking (1RSB) and we find three phases: A replica-symmetric (RS) ferromagnetic one, a magnetized spin glass one (the so-called mixed phase), and an unmagnetized spin glass one. We are able to give analytic expressions for the critical point where the RS phase becomes unstable with respect to 1RSB solutions: we also clarify the mechanism inducing such a phase transition. Finally we compare our analytical results with the outcomes of a numerical algorithm especially designed for finding ground states in an efficient way, stressing weak points in the use of such numerical tools for discovering RSB effects. Some of the analytical results are given for generic connectivity.

cond-mat.dis-nn

Spin-Glass Theory for Pedestrians

In these notes the main theoretical concepts and techniques in the field of mean-field spin-glasses are reviewed in a compact and pedagogical way, for the benefit of the graduate and undergraduate student. One particular spin-glass model is analyzed (the p-spin spherical model) by using three different approaches. Thermodynamics, covering pure states, overlaps, overlap distribution, replica symmetry breaking, and the static transition. Dynamics, covering the generating functional method, generalized Langevin equation, equations for the correlation and the response, the Mode Coupling approximation, and the dynamical transition. And finally complexity, covering the mean-field (TAP) free energy, metastable states, entropy crisis, threshold energy, and saddles. Particular attention has been paid on the mutual consistency of the results obtained from the different methods.

cond-mat.dis-nn

Bicoloring Random Hypergraphs

We study the problem of bicoloring random hypergraphs, both numerically and analytically. We apply the zero-temperature cavity method to find analytical results for the phase transitions (dynamic and static) in the 1RSB approximation. These points appear to be in agreement with the results of the numerical algorithm. In the second part, we implement and test the Survey Propagation algorithm for specific bicoloring instances in the so called HARD-SAT phase.

cond-mat.dis-nn