arXiv Science⌕ Search

arXiv subjects

Chenkai Pan

Publications and source records attributed to Chenkai Pan.

3 recordsLinked to original sources

CoPlay: Learning When to Speak and What to Say as Game Companions

A game companion watches the player's screen and must decide both what to say and whether to speak at all. A warning about an incoming threat is useful only while the player can still act on it, and for most of a session silence is the right response. Question-driven video benchmarks score answers to questions that accompany a clip or a stream. They evaluate the answer rather than the decision to intervene, and a posed question marks when a reply is expected. We formulate game companionship as two complementary modes, reactive answering and proactive intervention, and build CoPlayBench: 818 first-person videos from nine games with 5,153 event-level annotations of speaking windows, success criteria and reference replies, plus a disjoint 1,635-video Train split. Evaluation covers grounded advice, situated support, response timeliness and intervention judgment in both modes. CoPlayer, trained with shared supervised fine-tuning and separate track-specific reinforcement learning, gives correct advice with fitting support on 34.3% of advice questions, against 14.5% for the best of eight frontier models. Its unprompted lines also land inside annotated speaking windows more often than a frequency-matched random speaker. GitHub link: https://github.com/openraiser/CoPlayer.

cs.AI↗

Generative reasoning emulating expert curation moves protein functional annotation beyond pattern matching at scale

Protein functional annotation remains a bottleneck despite rapid advances in genomic sequencing and structure prediction. Expert curators integrate heterogeneous computational evidence and resolve biological conflicts, whereas automated pattern-matching tools often yield fragmented labels lacking mechanistic context. We ask whether this integrative reasoning can be emulated computationally at scale. We introduce SeqStudio, a generative system that integrates sequence homology, domain architecture, three-dimensional structural similarity, and membrane topology within a large language model reasoning framework. Benchmarked against expert-curated Swiss-Prot records, SeqStudio achieves over 91% annotation consistency, with performance maintained on a temporal benchmark of 1,057 Swiss-Prot entries first released in 2025. Applied to over 20 million UniProtKB proteins, most with minimal or absent functional characterization, SeqStudio increases median annotation completeness from 1-3 to 5-6 functional fields per protein and produces coherent mechanistic explanations. Confidence-based quality auditing yields estimated expert annotation cost reductions of 99.6% and a greater than 2,300-fold speedup relative to manual curation. Case studies illustrate evidence weighting by functional relevance, reconstruction of multi-domain functional logic, and detection of remote homologs missed by sequence-based search. These results support evidence-grounded generative reasoning as a scalable approach to extending expert protein annotation and characterizing the unannotated proteome.

q-bio.QM↗

Programming with Data: Test-Driven Data Engineering for Self-Improving LLMs from Raw Corpora

Reliably transferring specialized human knowledge from text into large language models remains a fundamental challenge in artificial intelligence. Fine-tuning on domain corpora has enabled substantial capability gains, but the process operates without feedback: when a model fails on a domain task, there is no method to diagnose what is deficient in the training data, and the only recourse is to add more data indiscriminately. Here we show that when a structured knowledge representation extracted from the source corpus serves as the shared foundation for both training data and evaluation, the complete data-engineering lifecycle maps onto the software development lifecycle in a precise and operative way: training data becomes source code specifying what the model should learn, model training becomes compilation, benchmarking becomes unit testing, and failure-driven data repair becomes debugging. Under this correspondence, model failures decompose into concept-level gaps and reasoning-chain breaks that can be traced back to specific deficiencies in the data and repaired through targeted patches, with each repair cycle producing consistent improvements across model scales and architectures without degrading general capabilities. We formalize this principle as Programming with Data and instantiate it across sixteen disciplines spanning the natural sciences, engineering, biomedicine, and the social sciences, releasing a structured knowledge base, benchmark suite, and training corpus as open resources. By demonstrating that the relationship between training data and model behaviour is structurally traceable and systematically repairable, this work establishes a principled foundation for the reliable engineering of human expertise into language models.

cs.SE↗