Small AI models can match their bigger siblings' smarts, with this paper's teaching tricks.
ZeroG introduces a knowledge distillation framework that reduces hallucinations in LLMs while maintaining high performance. It uses a teacher-student model architecture where a smaller model learns from a larger one, creating a distilled dataset for efficient, accurate responses.
-----
https://arxiv.org/abs/2411.05936
π€ **Original Problem**:
Traditional document management systems struggle with hallucinations and high latency when processing complex documents. LLMs often produce unreliable responses when handling sensitive business data, making them unsuitable for enterprise use.
-----
π§ **Solution in this Paper**:
β ZeroG employs a black-box distillation approach where a smaller model replicates a larger teacher model's behavior without accessing intermediate features.
β The system converts PowerPoint presentations into markdown format and uses graph databases for semantic management.
β It implements MMR-based similarity search instead of traditional cosine similarity, improving retrieval accuracy by 12%.
β The architecture uses Phi-3-mini as the student model and Qwen2-7b as the teacher model for generating QnA pairs.
-----
π‘ **Key Insights**:
β Knowledge distillation can effectively reduce hallucinations without compromising response quality
β MMR search outperforms cosine similarity in document retrieval
β Black-box distillation achieves better results than traditional RAG approaches
-----
π **Results**:
β Accuracy improved from 73% to 87.5% compared to traditional RAG
β Response latency reduced from 17 seconds to under 6 seconds
β Comprehensibility increased from 91% to 97%










