AI & ML Papers
33K subscribers
7.11K photos
533 videos
24 files
7.78K links
Advancing research in Machine Learning – practical insights, tools, and techniques for researchers.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
AI & ML Papers
Photo
🔥 DeepCode: Open Agentic Coding

💡 The paper introduces DeepCode, a fully autonomous framework that addresses the challenge of converting documents into codebases, such as turning scientific papers into code. The existing methods for doing this have significant limitations due to the large amount of information in documents and the limited context that large language models can handle. DeepCode solves this problem by optimizing the flow of information through four key operations: source compression, structured indexing, knowledge injection, and error correction.

The source compression operation uses blueprint distillation to reduce the amount of information in the document. The structured indexing operation uses stateful code memory to organize the information in a way that makes it easier to access and use. The knowledge injection operation uses retrieval-augmented generation to add relevant knowledge to the code. The error correction operation uses closed-loop error correction to ensure that the code is accurate and reliable.

The paper evaluates DeepCode on a benchmark called PaperBench and finds that it achieves state-of-the-art performance, outperforming leading commercial agents and even surpassing PhD-level human experts. This means that DeepCode can take a scientific paper and turn it into code that is comparable in quality to code written by a human expert. The results of this paper have significant implications for the field of autonomous scientific reproduction, as they demonstrate the potential for AI systems to accelerate research evaluation and discovery by automating the process of converting scientific papers into code. Overall, the paper presents a major breakthrough in the field of document-to-codebase synthesis and has the potential to revolutionize the way that scientific research is conducted.


📅 Published on Dec 8, 2025

🔗 Links:
• arXiv: https://arxiv.org/abs/2512.07921
• PDF: https://arxiv.org/pdf/2512.07921
• GitHub: https://github.com/HKUDS/DeepCode 15.4k
• Project Page: https://huggingface.co/papers/2511.03404

━━━━━━━━━━━━━━━━━━━━━━━━
📢 By: https://xn--r1a.website/PaperNexus

#AgenticCoding #AutonomousCodeGeneration #DocumentToCode #CodeMemoryArchitecture #LargeLanguageModelOptimization
1
AI & ML Papers
Photo
🔥 HRM-Text: Efficient Pretraining Beyond Scaling

💡 The current approach to training large language models requires massive computational power and large amounts of raw text, creating a significant barrier to research. Inspired by the efficient learning processes of biological systems, the authors propose a new approach called HRM-Text, which uses a Hierarchical Recurrent Model architecture. This architecture decouples computation into two layers, a slow-evolving strategic layer and a fast-evolving execution layer, allowing for more efficient processing. To stabilize this model, the authors introduce two new techniques, MagicNorm and warmup deep credit assignment.

Instead of training on raw text, HRM-Text is trained exclusively on instruction-response pairs using a task-completion objective. The model is also trained with PrefixLM masking, which helps to improve its performance. The results show that a 1 billion parameter HRM-Text model, trained from scratch on only 40 billion unique tokens and with a budget of 1500 dollars, achieves competitive performance on several benchmarks, including MMLU, ARC-C, DROP, GSM8K, and MATH.

Notably, HRM-Text achieves this performance while utilizing significantly fewer training tokens and less estimated compute than standard baselines. Specifically, it uses 100-900 times fewer training tokens and 96-432 times less estimated compute. This demonstrates that co-designing architectures and objectives can radically reduce the compute-to-performance ratio, making it possible to train large language models from scratch with limited resources. The authors' approach makes pretraining more accessible to the broader research community, which could lead to further advancements in the field of natural language processing.


📅 Published on May 20

🔗 Links:
• GitHub: https://github.com/huggingface
• arXiv: https://arxiv.org/abs/2605.20613
• PDF: https://arxiv.org/pdf/2605.20613
• Project Page: https://github.com/sapientinc/HRM-Text

🤖 Models citing this paper:
https://huggingface.co/sapientinc/HRM-Text-1B

📊 Datasets citing this paper:
https://huggingface.co/datasets/sapientinc/HRM-Text-data-io-cleaned-20260515

🚀 Spaces citing this paper:
https://huggingface.co/spaces/nikravan/HRM-Text-1B
https://huggingface.co/spaces/Bhaddy392/GPT_AI
https://huggingface.co/spaces/bunnycore/HRM-Text-1B

━━━━━━━━━━━━━━━━━━━━━━━━
📢 By: https://xn--r1a.website/PaperNexus

#HierarchicalRecurrentModels #EfficientPretrainingMethods #LargeLanguageModelOptimization #InstructionResponsePairLearning #NeuralArchitectureInnovation
AI & ML Papers
Photo
🔥 SimpleMem: Efficient Lifelong Memory for LLM Agents

💡 The paper introduces SimpleMem, an efficient memory framework for lifelong learning in large language models. The problem addressed is the need for reliable long-term interaction in complex environments, which requires memory systems that efficiently manage historical experiences. Existing approaches either retain full interaction histories, leading to substantial redundancy, or rely on iterative reasoning to filter noise, incurring high token costs.

The proposed method, SimpleMem, is based on semantic lossless compression and consists of a three-stage pipeline designed to maximize information density and token utilization. The first stage, Semantic Structured Compression, applies entropy-aware filtering to distill unstructured interactions into compact, multi-view indexed memory units. The second stage, Recursive Memory Consolidation, is an asynchronous process that integrates related units into higher-level abstract representations to reduce redundancy. The third stage, Adaptive Query-Aware Retrieval, dynamically adjusts retrieval scope based on query complexity to construct precise context efficiently.

The experiments on benchmark datasets show that SimpleMem consistently outperforms baseline approaches in accuracy, retrieval efficiency, and inference cost. The method achieves an average F1 improvement of 26.4% while reducing inference-time token consumption by up to 30-fold, demonstrating a superior balance between performance and efficiency. The code is available for further research and development. Overall, SimpleMem provides an efficient and effective solution for lifelong learning in large language models, enabling reliable long-term interaction in complex environments.


📅 Published on Jan 5

🔗 Links:
• GitHub: https://github.com/huggingface
• arXiv: https://arxiv.org/abs/2601.02553
• PDF: https://arxiv.org/pdf/2601.02553
• Project Page: https://aiming-lab.github.io/SimpleMem-Page/

📊 Datasets citing this paper:
https://huggingface.co/datasets/molmohsen/awesome-ai-agent-papers
https://huggingface.co/datasets/zhongweixie/A-Survey-on-AI-Agent-Harness

━━━━━━━━━━━━━━━━━━━━━━━━
📢 By: https://xn--r1a.website/PaperNexus

#LifelongLearningAlgorithms #EfficientMemoryFrameworks #LargeLanguageModelOptimization #SemanticCompressionTechniques #LifelongMemoryManagement
3
AI & ML Papers
Photo
🔥 TRACER: Trace-Based Adaptive Cost-Efficient Routing for LLM Classification

💡 The paper introduces TRACER, a system that uses production traces to train machine learning surrogates for large language model classification. The problem addressed is that large language models can be costly to deploy and may not always be necessary for every input. The authors propose a method where a lightweight surrogate model is trained on the production logs of the large language model, which can absorb a significant portion of future traffic at near-zero marginal inference cost.

The TRACER system trains the surrogate model on the production traces and governs its deployment through a parity gate, which activates the surrogate only when its agreement with the large language model exceeds a user-specified threshold. This approach provides interpretability into the handling boundaries of the surrogate model, describing which input regions it handles, where it plateaus, and why it defers.

The results show that TRACER achieves significant surrogate coverage on a 77-class intent benchmark, with coverage ranging from 83 to 100 percent depending on the quality target. On a 150-class benchmark, the surrogate fully replaces the teacher model. Additionally, the parity gate correctly refuses deployment on a natural language inference task when the embedding representation cannot support reliable separation. The TRACER system is available as open-source software, providing a cost-efficient and interpretable solution for large language model classification.


📅 Published on Apr 16

🔗 Links:
• GitHub: https://github.com/huggingface
• arXiv: https://arxiv.org/abs/2604.14531
• PDF: https://arxiv.org/pdf/2604.14531
• Project Page: https://www.tracer.deeprecall.io

━━━━━━━━━━━━━━━━━━━━━━━━
📢 By: https://xn--r1a.website/PaperNexus

#LLMClassification #TraceBasedRouting #AdaptiveCostEfficientRouting #LargeLanguageModelOptimization #MachineLearningSurrogates