Papers for

chatbot development teams

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Social interaction challenges independence in large language model agents

Social Interaction Breaks Replicate Independence in Controlled-Clone LLM Agents

Abstract: Multi-agent LLM evaluations and social simulations create many agents from one model and treat them as independent replicates, even after the agents interact. This assumption remains untested with matched controls. We introduce SocCogEval, a controlled-clone assay for Social Cognitive Transfer (SCT). Clones share the base model, system prompt, and decoding parameters and differ only in a private brief, and a factorial protocol separates the brief, 30 rounds of interaction, and initialization noise. On Qwen3-122B-FP8, interaction with the briefs held fixed raises off-topic BFI-10 response-profile drift by $\barΔ=+0.917$ and $+0.912$ in two topically disjoint scenarios (exact $p=0.0008$ and $0.0039$). The drift is larger than under the brief alone, persists under temperature-zero re-probing, and stays positive without typed memory extraction in exploratory tests. Matched solo generation reproduces part of it, and social interaction remains highest. Across five more model variants, every scenario-averaged interaction contrast is positive. Each interacting population is therefore one replicate, and treating its agents as independent requires paired no-interaction controls. Our code and data are publicly available at https://github.com/koanatakiyo/SocCogEval.

Sun 22 NovMultiagent Systems
The gist
When many virtual agents from the same AI model interact, they are often treated as independent copies. The authors show that these agents actually influence each other’s behavior in measurable ways. They design a method called SocCogEval to test how social interaction changes the agents compared to when they operate alone. This means that treating interacting agents as independent may not be accurate without special controls. The work helps understand limitations in testing multiple AI agents together.
Open → 2611.29581v1

Analysis method exposes how group chat causes ai errors

Explaining and interrupting collective misalignment in language model systems

Abstract: In collectives, language model agents can exchange individually innocuous messages that together support a policy violation. Understanding and preventing collective misalignment requires answering the question of which messages sufficiently influenced and necessarily enabled the violation. Collective Dependence Analysis (CDA) operationalises necessity and sufficiency to explain decisions and find the fewest removals interrupting support within tested combinations. Tests covered constructed violations, unscripted agent conversations, and recorded interactions, with selected message removals reducing violations from 93% to 6% in controlled cases. Using O(N) model evaluations for N messages, CDA achieves the same violation reduction with half the deletions of a frontier LLM judge given the transcript and asked for all supporting messages in eligible operational cases. CDA also proposes the mechanism through which the collective misalignment emerged. Nonetheless, complete explanations remain difficult on unfamiliar tasks and some removals can inadvertently disrupt correct decisions. CDA unifies explanations of collective misalignment with experimentally tested interventions.

Mon 9 NovComputation and LanguageArtificial Intelligence
The gist
Sometimes groups of AI chatbots send harmless-seeming messages that together cause them to break rules. The authors made a method called Collective Dependence Analysis (CDA) that finds which messages are key to causing these problems and which ones must be removed to stop the errors. They tested CDA on different conversations and showed it cuts down rule-breaking from 93% to 6% by removing fewer messages than a human judge. This helps understand how groups of AI systems can misbehave and how to fix it, though it is not perfect on totally new tasks.
Open → 2611.11724v1

Language model compute adjusts automatically based on latency and quality

Latency-Aware Adaptive Best-of-$N$

Abstract: Test-time compute (TTC) improves language model responses by spending additional computation at inference time, and the right amount of compute depends on the prompt. Adaptive TTC methods allocate compute based on signals of response quality such as observed rewards, often by stopping once the signal exceeds a fixed threshold, and generally measure cost by the number of generations or tokens. But in online serving, latency is also a cost: it grows with server load, so a method using a fixed threshold spends too little compute when generation is fast and too much when it is slow. For Best-of-$N$ sampling, a widely used TTC method, we propose a two-stage adaptive algorithm that draws an initial batch, then uses the observed rewards and the batch's latency to decide whether to draw a second batch and at what size by comparing expected improvement against predicted cost: it draws one when the first batch's best reward is below a threshold that decreases with the first batch's latency, without explicitly measuring server load. We map each reward to its value under the cumulative distribution function (CDF) of the prompt's reward distribution, so the same tradeoff parameters can be reused across tasks; a regression fitted offline on other prompts predicts a distribution for the CDF value of the first batch's best reward, giving the expected improvement in closed form. We evaluate the method by simulation on a preference-based alignment benchmark, measuring generations-equivalent cost: generations plus latency, converted to generations. The method reaches Best-of-$N$'s reward at lower generations-equivalent cost, and conditioning on the measured first-batch latency saves at least as much of that cost as fixed-threshold (latency-unaware) baselines, and more when latency is highly variable, when it grows with batch size, and when the second batch's latency is highly predictable from the first's.

Thu 5 NovComputation and LanguageMachine Learning
The gist
Some language models improve answers by spending more computing time at use, but deciding how much extra effort to spend can be tricky, especially when servers get busy and responses slow down. The authors created a two-step method that first checks some answers and then uses how good they are and how long they took to decide if more answers should be generated. This approach changes its expectations based on how fast the server is working without needing to directly measure server load. Their tests show it gets similar quality answers while spending less computing effort on average, especially when latency varies a lot.
Open → 2611.07453v1

Language models get smarter at test time by fixing shortcuts

Counterfactual Test-Time Augmentation for Shortcut Removal in Language Models

Abstract: Large language models (LLMs) can exploit shortcuts, i.e., correlations present in training data that may not hold at test time. This can lead to poor predictions when correlations shift. Most existing solutions for removing shortcuts operate at training time, requiring labeled training data, model weight access, and significant computational resources. Here, we study the problem of test-time shortcut removal. We propose a family of counterfactual test-time augmentation (CTTA) methods: given an example, each method uses an auxiliary model to generate counterfactual edits in which the shortcut value is changed, and then takes a weighted average of the LLM's predictions across these edits. We prove that the optimal shortcut-invariant predictor is a member of this CTTA family, and we characterize its weights. The weights depend on the training distribution, and therefore are, in general, not identifiable from the trained model and unlabeled test data. However, we present assumptions under which the weights can be obtained using the token probabilities of the trained LLM, and propose tests to detect violations of these assumptions. We use these tests to develop Select-CTTA, an aggregate method that selects among CTTA methods. Empirically, we find that Select-CTTA outperforms test-time baselines and approaches the performance of models fine-tuned on shortcut-balanced data.

Sat 24 OctMachine LearningArtificial IntelligenceComputation and Language
The gist
Language models sometimes rely on easy clues called shortcuts that worked during training but don't hold up later, causing mistakes. The authors propose a way to fix these problems right when the model is tested, without retraining it. They do this by creating changed versions of the input where these shortcuts are altered and combining the model’s answers from those versions. Their method comes close to the performance of fully retrained models but works without needing extra labeled data or heavy computing.
Open → 2610.33904v1

ThreadRAG improves multi-step question answering with context aware graphs

Graph Topology Meets Energy-Driven Pathfinding: Preserving Contextual Consistency in Retrieval-Augmented Generation

Abstract: Retrieval-augmented generation (RAG) frequently integrates knowledge graphs (KGs) for complex multi-hop question answering. However, their performance is increasingly bottlenecked by the knowledge structuring and reasoning processes. (i) Severe semantic loss: Distilling continuous texts into discrete symbols strips away contextual nuances and narrative coherence. (ii) Pronounced modality mismatch: Fragmented graph structures clash with the continuous texts LLMs are pre-trained on, while rewriting them into natural language introduces generative noise and omits information. To address these limitations, we propose ThreadRAG, a semantic-topology-based RAG framework for context-preserving knowledge structuring and modality-native evidence reasoning. ThreadRAG introduces a Semantic Topology Mapper (STM), which organizes retrieved documents into context-intact Semantic Nodes and constructs a Semantic Topology Graph (STG) through narrative, semantic, and lexical edges. It further incorporates Energy-Driven Pathfinding (EDP), which identifies query-relevant subgraphs via energy diffusion and deterministically linearizes them into coherent textual evidence paths. Experiments on three multi-hop QA benchmarks demonstrate that ThreadRAG consistently outperforms strong baselines. Notably, it achieves a 14.4% EM improvement over text-centric methods on HotpotQA and surpasses the best baseline by 5.8% EM on 2WikiMultihop, while reducing token cost to 23.3% of the strongest baseline.

Wed 21 OctComputation and LanguageArtificial Intelligence
The gist
Current question-answering systems struggle because they turn rich text into simple symbols, losing important details, and because knowledge graphs don’t fit well with how large language models process text. The authors present ThreadRAG, which keeps the meaning and flow of information by organizing documents into connected groups called Semantic Nodes and linking them with meaningful relationships. It then finds the most relevant information paths to answer questions more accurately and efficiently. Tests show ThreadRAG improves accuracy on multiple challenging datasets while using fewer tokens.
Open → 2610.29933v1

Large reasoning models safer with new alignment method Beacon

Rethinking GRPO for Large Reasoning Model Safety Alignment

Abstract: Large reasoning models (LRMs) exhibit strong reasoning capabilities but remain vulnerable to unsafe outputs. While Group Relative Policy Optimization (GRPO) is widely used for safety alignment, its group-relative optimization may provide insufficient safety-directed learning signals. In this paper, we identify two failure modes: advantage collapse, where homogeneous rollout groups yield vanishing advantages, and unsafe diversification, where unsafe behaviors persist and become increasingly diverse. Our theoretical analysis reveals that behavioral consistency weakens within-group safety contrasts, while entropy regularization can diversify unsafe responses when relative signals vanish. To address these challenges, we propose Beacon, comprising Safety Signal Recovery (SSR) and Safety-Utility Decoupled Alignment (SUDA). SSR combines advantage-guided trajectory filtering and safe reference supervision to recover effective safety learning signals, while SUDA employs category-aware rewards and benign-only KL anchoring to mitigate over-refusal without compromising safety. Experiments across four Qwen3 and DeepSeek-R1-Distill variants and eight benchmarks show that our framework achieves the best average safety and reasoning performance, reducing average safety error by up to 32.83 percentage points while maintaining low over-refusal.

Fri 16 OctArtificial Intelligence
The gist
Large reasoning models are impressive at solving problems but can sometimes produce unsafe or harmful answers. The authors found issues in a popular safety tuning method where models either lose safety learning signals or show many unsafe behaviors. They created a new approach called Beacon that recovers these safety signals and reduces overly cautious refusals without losing safety. Tests showed Beacon lowered unsafe outputs significantly while keeping good reasoning skills.
Open → 2610.23085v1

Compact ai model improves long-term memory writing across frameworks

Hy-Memory-30B-A3B: Attributed Reinforcement Learning for Long-Term Memory Writing

Abstract: External-memory systems extend language-model applications beyond a context window, but their quality depends critically on the model executing the write path: deciding what to retain, how precisely to represent it, and how new evidence should update persistent state. Existing frameworks typically place a general-purpose large language model behind framework-specific prompts. This raises serving cost, and a writer specialized for one protocol does not transfer directly to another; a unified model that can operate across established memory frameworks remains largely unexplored. We present Hy-Memory-30B-A3B, a compact long-term-memory writer trained across Mem0, MemOS, and Hy-Memory. Memory On-Policy Distillation teaches framework-specific write protocols on student-generated states; Memory RL then optimizes downstream answerability using dense per-chunk probes, attributed cross-chunk rewards, over-storage controls, and chunk-level GRPO. Carrying policy-written banks across windows keeps training aligned with deployment. On fixed 20% benchmark subsamples, Hy-Memory-30B-A3B ranks first on all four evaluated harnesses, including held-out EverMemOS, with a 55.49% macro average versus 54.62% for Claude Opus 5.

Thu 15 OctComputation and Language
The gist
Language models have a limited memory window, so they rely on external memory systems to remember important information over time. The authors present a new model called Hy-Memory-30B-A3B that learns to decide what to remember and how to store it effectively across different memory systems. This model is trained using reinforcement learning and performs better than some existing large models on multiple tests. Their approach helps keep the model’s training aligned with how it is used in practice.
Open → 2610.22196v1

Adaptive test method improves conversational agent policy compliance checking

AdaT$^2$: Adaptive Test Transformations for Black-Box Boundary Testing of Conversational Agents

Abstract: Conversational agents based on large language models (LLMs) must comply with policies. Each condition in a policy draws a boundary between user requests, and the agent must behave differently on its two sides. We present AdaT$^2$, which extracts statements from the agent's replies in exploratory conversations with an LLM acting as the user, and uses the statements to guide boundary test generation. Each statement describes one condition and the behavior expected when the condition holds. Besides plain tests guided by single statements, AdaT$^2$ writes transformed tests guided by pairs of a statement and a test transformation instruction, such as "omit one required input". The instruction of a pair can move a test to the other side of the statement's boundary or to another boundary. The statements and instructions form far more pairs than a run can try, and many pairs are not applicable. Adaptive pair selection therefore chooses the statement of each pair by novelty and the instruction with the bandit algorithm Bayes-UCB, which learns from whether earlier pairs yielded a test and whether the agent passed it according to an LLM judge. Our benchmark counts the two sides of each boundary separately and distinguishes boundaries explicitly defined by the agent's prompt, tool code, or knowledge base from boundaries that the agent's LLM infers from domain knowledge. On four domains of $τ^3$-bench, 62.7% to 83.3% of AdaT$^2$'s tests are valid boundary tests whose expected behavior is explicitly defined, higher in every domain than AgentEval's (47.7% to 68.1%). Transformed tests add 13 to 46 explicitly defined boundaries that plain tests miss. As regression tests, AdaT$^2$'s test suites detect all eight seeded policy faults in the airline domain and four of eight in the retail domain, and AgentEval's test suites, with fewer than a third as many tests, detect five and two, respectively.

Wed 7 OctSoftware Engineering
The gist
Conversational agents need to follow certain rules depending on what users ask them. The authors developed a method called AdaT² that creates tests to check if these agents behave correctly on both sides of those rules. AdaT² uses conversations with the agent to find rule boundaries and then generates tests that try to cross these boundaries to see if the agent reacts appropriately. It also adapts test generation by learning which tests are most useful, finding more rule violations than previous methods. This helps ensure that the agents follow their policies more reliably.
Open → 2610.10141v1

Continuous context management reduces language model context size with tradeoffs

Continuous Context Management

Abstract: Long-horizon large language model (LLM) agents commonly retain their complete interaction history until compaction is triggered at a predefined threshold. We study Continuous Context Management (CCM), which performs compaction at every turn to prevent interaction history from accumulating in the active prompt. At each turn, a CCM agent emits an updated memory together with an environment action; its next prompt contains the original task, retained memory, and newest observation rather than the complete transcript. We first evaluate CCM without fine-tuning on TerminalBench-2 using Claude Sonnet 4.6, Claude Opus 4.6, GLM-5, and Kimi K3. CCM substantially reduces cumulative input usage and active-prompt size, although it lowers task success for most models while preserving performance for Kimi K3. We use GRPO with privileged full-history distillation to improve CCM in open-weight models. A frozen copy of the student's initial model scores each sampled student action under the complete history reconstructed from that student's rollout, providing dense action-token supervision without a separate teacher rollout or reference solution. On WebShop, this objective substantially improves CCM over GRPO at both evaluated model scales and surpasses full-history GRPO for Qwen3-4B-Instruct, though not for Qwen3-8B. On Endless Terminals, the augmented method provides a modest improvement over GRPO, with both CCM policies outperforming the untrained full-history baseline. These results demonstrate that CCM is a viable inference paradigm for agents operating with substantially reduced retained context and that its performance can be improved through reinforcement learning with privileged full-history distillation.

Mon 28 SeptArtificial Intelligence
The gist
Language model agents usually keep their full conversation history, which makes the context large and slow over time. The authors study a method called Continuous Context Management (CCM) that shrinks this history after every step, keeping only a summary and the latest observation. This approach cuts down how much information the model processes but can also reduce task success depending on the model used. They improve CCM by training models with extra feedback so CCM performs better, making it a promising way to keep language models efficient with less memory.
Open → 2609.35540v1

Simulation improves customer service AI agents without risking customers

Screen Before You Serve: Simulation for Production Customer Experience AI Agents at 140M Scale

Abstract: Customer experience (CX) agents use tools and large language models to address customer requests and guide conversational interactions with an organization's products. Improving these agents, especially in regulated industries, is difficult: they must detect intent, follow complex operational policies and use tools reliably. Manual end-to-end testing offers limited coverage, while live experiments expose customers to failures that can erode trust. We present a hypothesis-driven simulation workflow for screening candidate CX agents before deployment. Synthetic customers react to agent responses and simulated tool outputs enable multi-step agentic workflows without invoking production backends. We use the Snowglobe simulator on Nubank's Card Delivery agent and its expanded successor, Card Management - Nubank's highest-volume chat-support agent in Brazil. Across 4 deployed versions, simulated and production version-level binary evaluator scores show high correlation. Simulation-guided iteration increased transactional net promoter score (tNPS) by 36.69 points in a live A/B test. We also screened open-weight configurations in over 16,000 simulated conversations. In a subsequent live A/B test, the selected model increased self-service rate (SSR) by 8.82 percentage points to the highest level observed at Nubank, with no statistically significant change in tNPS. Simulation made broad exploration of models, reasoning settings, and prompts feasible without customer exposure, enabling production improvements that would have been impractical to pursue through live experimentation alone.

Thu 24 SeptArtificial IntelligenceComputation and Language
The gist
Customer service chatbots need to handle complex requests carefully, especially in sensitive industries. The authors created a way to test these chatbots using fake customers and simulated tools, so they don't cause problems for real users. By doing this, they could try many versions and improve the chatbot's quality before letting it interact with actual customers. Their method helped increase positive customer feedback and the use of self-service options without harming customer trust.
Open → 2609.30137v1