# Machine Learning

Machine learning techniques for financial data analysis and automation

85 posts [View all tags](https://beancount.io/bean-labs/research-logs/tags) [Back to All Posts](https://beancount.io/bean-labs/research-logs)

May 11, 2026 6 min read

## [DSPy: Replacing Brittle Prompt Engineering with Compiled LLM Pipelines](https://beancount.io/bean-labs/research-logs/2026/05/11/dspy-compiling-declarative-language-model-calls-self-improving-pipelines)

DSPy's compiler lifted Llama2-13b from 9.4% to 46.9% on GSM8K, pointing finance AI pipelines toward maintainable declarative LLM calls.

Mike Thrift

ai llm machine-learning

May 10, 2026 5 min read

## [LATS: Language Agent Tree Search — Reasoning, Acting, and Planning in One Framework](https://beancount.io/bean-labs/research-logs/2026/05/10/lats-language-agent-tree-search-reasoning-acting-planning)

LATS unifies ReAct, Tree of Thoughts, and Reflexion in one MCTS framework, hitting 92.7% pass\@1 on HumanEval with GPT-4.

Mike Thrift

ai llm machine-learning

May 9, 2026 6 min read

## [Self-RAG: Adaptive Retrieval and Self-Critique for LLMs](https://beancount.io/bean-labs/research-logs/2026/05/09/self-rag-learning-to-retrieve-generate-critique-self-reflection)

Self-RAG trains an LLM to decide when to retrieve and self-grade results, hitting 55.8% on PopQA and 80.2 FactScore — beating ChatGPT on five benchmarks.

Mike Thrift

ai machine-learning llm

May 8, 2026 6 min read

## [Voyager: skill libraries unlock 3.3× more item discovery](https://beancount.io/bean-labs/research-logs/2026/05/08/voyager-open-ended-embodied-agent-lifelong-learning)

Voyager's persistent code skill library discovers 3.3× more Minecraft items than prior SOTA without fine-tuning—the reuse pattern ledger agents need.

Mike Thrift

ai llm machine-learning

May 7, 2026 5 min read

## [HippoRAG: 89.1% Recall@5 on 2Wiki vs 68.2% ColBERT](https://beancount.io/bean-labs/research-logs/2026/05/07/hipporag-neurobiologically-inspired-long-term-memory-llms)

HippoRAG's OpenIE+PageRank memory hits 89.1% Recall\@5 on 2WikiMultiHopQA versus 68.2% ColBERTv2—path-aware retrieval for multi-year ledgers.

Mike Thrift

llm ai machine-learning

May 6, 2026 5 min read

## [AgentBench: Evaluating LLMs as Agents — Lessons for Financial AI Reliability](https://beancount.io/bean-labs/research-logs/2026/05/06/agentbench-evaluating-llms-as-agents)

AgentBench scored GPT-4 4.01 versus 0.96 for the best open-source LLM. Those failures are exactly what breaks a Beancount write-back agent on a live ledger.

Mike Thrift

ai llm machine-learning

May 5, 2026 6 min read

## [BloombergGPT and the Limits of Domain-Specific LLMs in Finance](https://beancount.io/bean-labs/research-logs/2026/05/05/bloomberggpt-large-language-model-finance)

BloombergGPT trained on 569B financial tokens, yet GPT-4 matched it with no finance pretraining. For accounting agents, tool-use beats model internals.

Mike Thrift

llm ai machine-learning

May 3, 2026 6 min read

## [Gorilla: How Retrieval-Aware Training Reduces LLM API Hallucinations from 78% to 11%](https://beancount.io/bean-labs/research-logs/2026/05/03/gorilla-llm-retrieval-augmented-api-calling)

Gorilla's Retriever-Aware Training cuts LLM API hallucination rates from 78% to 11%, making tool calls reliable enough for finance agents that write entries.

Mike Thrift

ai llm machine-learning

May 2, 2026 6 min read

## [MemGPT: 92.5% multi-session recall vs 32.1% baseline](https://beancount.io/bean-labs/research-logs/2026/05/02/memgpt-towards-llms-as-operating-systems)

MemGPT's OS-style memory tiers push GPT-4 multi-session chat accuracy to 92.5% versus 32.1% fixed-context—needed for multi-year ledger agents.

Mike Thrift

ai llm machine-learning

May 1, 2026 6 min read

## [SWE-agent: How Interface Design Unlocks Automated Software Engineering](https://beancount.io/bean-labs/research-logs/2026/05/01/swe-agent-agent-computer-interfaces-automated-software-engineering)

SWE-agent's Agent-Computer Interfaces lifted GPT-4 Turbo from raw shell to 12.47% on SWE-bench, a 10.7-point gain from interface design alone.

Mike Thrift

ai llm automation

April 30, 2026 6 min read

## [SWE-bench: Can Language Models Resolve Real-World GitHub Issues?](https://beancount.io/bean-labs/research-logs/2026/04/30/swe-bench-can-language-models-resolve-real-world-github-issues)

SWE-bench tests language models on 2,294 real GitHub issues; at publication Claude 2 resolved only 1.96%. Retrieval and patch-length limits shape coding agents.

Mike Thrift

ai llm machine-learning

April 29, 2026 5 min read

## [CodeAct: Why Executable Python Code Makes LLM Agents 20% More Accurate](https://beancount.io/bean-labs/research-logs/2026/04/29/codeact-executable-code-actions-llm-agents)

CodeAct replaces JSON tool calls with executable Python, lifting GPT-4 agent success by \~20 points and cutting turns 30%.

Mike Thrift

ai llm automation

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
