arXiv Science⌕ Search

arXiv subjects

Ruiyi Li

Publications and source records attributed to Ruiyi Li.

4 recordsLinked to original sources

MemRSI: Learning Self-Improving Memory Agents via Recursive Policy-Harness Evolution

Effective memory management enables personalized agents to use historical interactions and adapt to evolving user needs, and recent advances in reinforcement learning (RL) have opened new opportunities for learning memory management policies. However, memory policy learning typically relies on a harness designed in advance. As the policy improves, its remaining failure modes and learning needs change, while a fixed harness continues to organize interaction, feedback, and optimization according to its original design, which can limit further improvement. To address this challenge, this paper introduces MemRSI, a framework for learning self-improving personal memory agents through recursive policy-harness evolution. MemRSI builds a multimodal Memory Environment with a structured Memory Bank, validated operations, source evidence, and outcome feedback; initializes the manager through Memory Policy Learning with SFT and State-Conditioned GRPO (SC-GRPO); and applies Recursive Policy-Harness Evolution, in which the manager diagnoses its own failures, revises the harness, and keeps a revision only when further learning improves memory utility. On three main multimodal long-term conversational memory benchmarks, MemRSI raises the average judge score by 8.6 points over the strongest controlled baseline. A policy trained only on Mem-Gallery also improves over its untrained manager in all seven unseen evaluation settings without adaptation, by up to 11.3 points. The benefits hold across 4B, 9B, and 27B memory managers and extend to diverse answer models, including proprietary LLMs such as GPT and Claude.

cs.CL↗

TreeFlex: Agents Navigating Their Own Search Trees

A ReAct-style agent accumulates observations, intermediate results, and failed attempts in a single context. As this context grows, stale and off-path information consumes its limited capacity and obscures relevant evidence, making focused reasoning increasingly difficult. We introduce TreeFlex, a framework in which the agent's own policy decides where to search. The agent records each intermediate state, with a short summary, as a node in a search tree maintained by the harness. The policy is a single language model that acts in two roles. In the Reflection role, it has a global view of the tree through these summaries and picks a node to resume, together with an instruction. In the Execution role, the harness restores the path that led to that node, and the model carries out the instruction with the usual task tools until it saves a new node or proposes a solution, which Reflection then approves or sends back to another node. Through these choices, the policy decides whether to deepen the current line, branch from or revisit an earlier state, verify a proposal, or stop, without a fixed traversal order or a score for each node. We train navigation, task actions, checkpointing, and proposal review jointly with a tree-aware adaptation of GRPO, using task-level outcome rewards augmented by process rewards. After small-scale RL of a 4B model, with the same active-context limit for all methods, TreeFlex reaches 48.8% accuracy on a challenging deep-research benchmark, versus 41.5% for flat ReAct and 42.8% for FoldAgent, and its Pass@8 is about ten points higher than either. On SWE-bench Verified, with all three systems trained with RL from the same 9B model, TreeFlex resolves 54.9% of tasks, versus 43.3% for FoldAgent and 45.2% for its step-wise variant.

cs.AI↗

Persistent Negatives for Adversarial Black-Box On-Policy Distillation

Black-box On-Policy Distillation (OPD) seeks to improve a student from its own generations when the teacher provides sampled responses but not token probabilities. Adversarial distillation offers one route: it learns a discriminator over prompt-matched teacher and student responses and uses its score as the policy reward. However, sampling discriminator negatives from the latest student at each step couples the learned reward to a negative distribution that changes after every policy update. We address this moving-target problem with persistent-negative adversarial distillation, a live-pool method that replaces a fraction of each discriminator batch with historical, prompt-matched teacher--student comparisons. Under matched discriminator compute, historical comparisons train the discriminator, while GRPO remains on-policy with fresh student responses. Our analysis identifies the Bayes-optimal reward as a teacher-to-negative log-density ratio and, under explicit assumptions, shows how persistent negatives anchor the discriminator and reduce reward-estimation MSE relative to fresh-negative training. Across two student families, three judges, and four judged-chat benchmarks, persistent-negative adversarial distillation consistently improves performance over current methods at matched discriminator compute. It also yields smoother fresh-policy discriminator trajectories, with fewer below-chance dips. These findings identify the discriminator's negative distribution as an important design axis in black-box on-policy distillation.

cs.CL↗

Gaze-Assisted Human-Centric Domain Adaptation for Cardiac Ultrasound Image Segmentation

Domain adaptation (DA) for cardiac ultrasound image segmentation is clinically significant and valuable. However, previous domain adaptation methods are prone to be affected by the incomplete pseudo-label and low-quality target to source images. Human-centric domain adaptation has great advantages of human cognitive guidance to help model adapt to target domain and reduce reliance on labels. Doctor gaze trajectories contains a large amount of cross-domain human guidance. To leverage gaze information and human cognition for guiding domain adaptation, we propose gaze-assisted human-centric domain adaptation (GAHCDA), which reliably guides the domain adaptation of cardiac ultrasound images. GAHCDA includes following modules: (1) Gaze Augment Alignment (GAA): GAA enables the model to obtain human cognition general features to recognize segmentation target in different domain of cardiac ultrasound images like humans. (2) Gaze Balance Loss (GBL): GBL fused gaze heatmap with outputs which makes the segmentation result structurally closer to the target domain. The experimental results illustrate that our proposed framework is able to segment cardiac ultrasound images more effectively in the target domain than GAN-based methods and other self-train based methods, showing great potential in clinical application.

cs.CV↗