{"slug": "show-hn-time-to-text-time-series-ai-to-limitate-llm-hallucinations", "title": "Show HN: Time-to-text time-series AI to limitate LLM hallucinations", "summary": "An open-source hybrid local framework, RobinHood, combines TCN, LSTM, and Attention deep learning with Captum Integrated Gradients feature attribution to generate deterministic numerical weights for time-series data, which are then sent to open-source LLMs on Hugging Face to produce financial text reports, aiming to eliminate hallucinations in automated financial reporting. The framework runs 100% on-device for raw data processing and training, sending only anonymized weights to the cloud for text synthesis, and includes a sample gold price dataset for immediate testing.", "body_md": "An open-source, hybrid local framework designed to analyze multi-asset time-series data. It leverages a deep learning architecture (TCN + LSTM + Attention) combined with a mathematical feature attribution layer (Captum Integrated Gradients) to eliminate hallucinations in automated financial reports.\n\n📊\n\nQuick Start:A ready-to-use`gld_price_data.csv`\n\ndataset is included in the repository so you can test the framework instantly.\n\nTraditional Large Language Models (LLMs) tend to be baffling—they are great at reasoning but poor at raw math. When processing raw numerical tables or dense time-series, autoregressive models often invent trends or hallucinate metrics, breaking structural analytical trust.\n\nBy reversing the usual approach and feeding the language interface with deterministic prediction attributes, we can force the model to strictly explain each of the AI's choices.\n\nThis framework isolates raw mathematical feature attributions **on-device**, delivering a cold, objective, and unbiased look at multi-asset data across custom horizons without computational guesswork or statistical fabrication.\n\n**Local Compute (100% On-Device):** Your raw time-series data, deep learning training loops (TCN + LSTM), and Captum mathematical feature attributions run entirely locally on your hardware.**Text Synthesis (Hybrid Cloud):** Only the final, anonymized deterministic numerical weights are sent via API to open-source LLMs on Hugging Face to generate the human-readable text report.**Your raw data never leaves your machine.**\n\nFollow these precise steps to deploy and execute the pipeline locally on your machine:\n\n```\ngh repo clone ikaruz050309/RobinHood\ncd RobinHood\n```\n\nEnsure you have Python installed, then run the installation command to fetch all background packages:\n\n```\npip install -r requirements.txt\n```\n\nTo enable natural language synthesis from your local evaluation weights via Hugging Face Serverless Inference, export your API token:\n\n```\nexport HUGGINGFACE_API_KEY=\"your_huggingface_api_key_here\"\npython3 main.py\n```\n\nIf you want to upload your own custom data, your `.csv`\n\ndataset must match the following technical parameters to prevent matrix dimensions or compliance checks from halting the pipeline:\n\n-\n**CSV Format Only:** The system exclusively parses structured`.csv`\n\nfiles. -\n**Single Company Constraint:** The architecture evaluates standalone data matrices. Do not include a 'Ticker' column or mix data from multiple corporations, or the engine will immediately halt the execution loop. -\n**Purely Numerical Time-Series:** Except for a single chronologically sequential date column, all tracking columns must contain pure continuous float or integer sequences. -\n**Data Density (The Richer, The Better):** High data density directly translates to robust mathematical attribution maps. Ensure your historical record counts vastly exceed your configured context windows ($N$ ) and prediction horizons ($K$ ).", "url": "https://wpnews.pro/news/show-hn-time-to-text-time-series-ai-to-limitate-llm-hallucinations", "canonical_source": "https://github.com/ikaruz050309/RobinHood", "published_at": "2026-08-28 14:39:11+00:00", "updated_at": "2026-08-28 14:48:18.843554+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "large-language-models", "ai-tools", "ai-infrastructure"], "entities": ["RobinHood", "Hugging Face", "Captum", "TCN", "LSTM", "Attention", "ikaruz050309"], "alternates": {"html": "https://wpnews.pro/news/show-hn-time-to-text-time-series-ai-to-limitate-llm-hallucinations", "markdown": "https://wpnews.pro/news/show-hn-time-to-text-time-series-ai-to-limitate-llm-hallucinations.md", "text": "https://wpnews.pro/news/show-hn-time-to-text-time-series-ai-to-limitate-llm-hallucinations.txt", "jsonld": "https://wpnews.pro/news/show-hn-time-to-text-time-series-ai-to-limitate-llm-hallucinations.jsonld"}}