Skip to content

CoGenesis: A Safety Context-Aware Instruction-Following Framework Collaborating Large Language Models and Small Language ModelsCoGenesis: A Framework Collaborating Large and Small Language Models for Secure Context-Aware Instruction Following

arXiv· arXiv:2403.03129· Kaiyan Zhang, Jianyu Wang, Ermo Hua, Biqing Qi, Ning Ding, Bowen Zhou·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The CoGenesis framework coordinates cloud large language models with local small language models to balance privacy and context-aware instruction following. The study constructs a personalized writing instruction dataset with rich context and proposes two variants based on sketch and logits. On a synthetic dataset and two open-source datasets, large models perform well with context and struggle without it, fine-tuned small models still lag behind, and CoGenesis mixed-scale models are competitive.

Read originalarxiv.org